- Code: Select all
cd /path/to/downloaded/rpms
sudo yum localinstall --nogpgcheck *vlc*
thanks for the terminal lesson
Moderator: billb
cd /path/to/downloaded/rpms
sudo yum localinstall --nogpgcheck *vlc*
rpm -e vlc --nodeps
rpm -e vlc-core --nodeps
rpm -e mozilla-vlc --nodeps



uncholowapo wrote:No prob Noons. I tested out MP3 playback and it was super smooth. So was MP4 playback where I used a video from my iPod. So far everything seems to be going well. I did find that my mov movies aren't showing but the sound works. I am thinking it is my problem and not VLC's but I am not quite sure. Either way it's one good start on rpm building.




Billb wrote:OK ... let's see if I can walk you thru building one without any trouble ... helps to see how the process goes before reading all the docs.
If you have updated some of the shared libraries on your system beyond what's available in ps3bodega or the other repos, we might run into trouble doing it this way, but will try anyway ...
Also keep in mind that there's still a lot I haven't researched regarding this process -- I know just enough to be dangerous. LOL
We want megamario rebuilt for YDL 6.1. There's an SRPM package (source RPM that you can use to rebuild) over on Dribble. Get that here:
http://dribble.org.uk/repo/7/SRPMS/mega ... rb.src.rpm
Now you need to setup your system for building RPMs using your regular user account (not root). Are you using an external hard drive with an ext2 or ext3 partition? If so that's good -- if not you can do this in your home directory provided you have enough space available. You don't want to run out of space while building an RPM.
Assuming you're going to do this in your home directory ...
Create a folder called "rpmbuild" there:
Code: Select all
mkdir ~/rpmbuild
Change to that folder and create some more folders ...
Code: Select all
cd ~/rpmbuild
Code: Select all
mkdir BUILD RPMS SOURCES SPECS SRPMS
Set up an .rpmmacros file in your home directory which points to your rpmbuild folder created earlier ... that file should contain at a minimum something like this:
Code: Select all
%_topdir /home/jay/rpmbuild
(replace jay with your actual username)
This is what mine looks like (using an external drive mounted at /media/usbdrive):
Code: Select all
[bill@localhost SPECS]$ more ~/.rpmmacros
%_topdir /media/usbdrive/rpmbuild
Copy the megamario SRPM you downloaded from Dribble to the SRPMS folder:
Code: Select all
cd SRPMS
Code: Select all
cp ~/Desktop/megamario-1.5-1.fc7.drb.src.rpm .
Install the SRPM:
Code: Select all
rpm -ivh megamario-1.5-1.fc7.drb.src.rpm
You should now have the source code archive and any patches in the SOURCES folder, the megamario.spec file in SPECS ...
You're going to need the rpmbuild command if you don't already have it ... get that with:
Code: Select all
yum install rpm-build
Change to the SPECS folder and open the megamario.spec file in your favorite text editor:
Code: Select all
cd ../SPECS
Code: Select all
gedit megamario.spec &
Change the Release line to look like this:
Code: Select all
Release: 1.ydl6.bdg
(I think this is something you can set in your .rpmmacros file but I haven't done it)
At the bottom there's a changelog ... above the first change listed, add something like this:
* Fri Feb 27 2009 Bill Blake <billb*AT*ydl.net> 1.5-1.ydl6.bdg
- Rebuild for YDL 6.1
(replace name and email address with yours)
It should look something like this now:
Code: Select all
%changelog
* Fri Feb 27 2009 Bill Blake <billb*AT*ydl.net> 1.5-1.ydl6.bdg
- Rebuild for YDL 6.1
---
The formatting of the date is very important and rpmbuild will bitch at you if it's not exactly right.
Also, look at the BuildRequires lines ...
Code: Select all
BuildRequires: SDL_mixer-devel SDL_image-devel SDL_ttf-devel
BuildRequires: ImageMagick desktop-file-utils
If you don't have any of these, the build will fail immediately. Just to make sure you have them:
Code: Select all
yum install SDL_mixer-devel SDL_image-devel SDL_ttf-devel ImageMagick desktop-file-utils
Save your edited megamario.spec file over the old version.
OK ... now ready to start the build process ...
Assuming you're still in the SPECS folder:
Code: Select all
setarch ppc rpmbuild -ba --ppc megamario.spec
(we nearly always want to build for 32-bit ppc, so that's what the setarch ppc and --ppc parts are for ...)
If all goes well, the new RPM should be created in the RPMS/ppc folder ...
Then you can try installing the new RPM by browsing to that folder and double-clicking on it. It should add a new menu item for megamario in Applications -> Games if you're using GNOME or E17. If not, use megamario to launch from terminal or add a Fluxbox menu item with that.
If you look in your BUILD folder you'll see where rpmbuild compiled megamario (in the megamario-1.5 folder). This is just like you had compiled it from source yourself, but the spec file tells rpmbuild how to do it instead. And this is where it pulls the files it needs to package the RPM (it also uses a megamario.desktop file the SRPM installed to your SOURCE folder -- as noted on the Source1 line in the spec file).





I'm working hard to get this package built, So I can move on to other things currently my list of of to do's, Include gnash 0.8.4 and swfdec 0.8.4 I would really like to get the latest flash support available to us built.

Jaybps3 wrote:5. VLC now uses QT4 need to remove qt4 and add support for wxWidgets again same as the old vlc.

Users browsing this forum: No registered users and 1 guest