Minitube packaged
Minitube, the youtube video client is now in rpmfusion, I am having some difficulties with the fedora 12 build, but that will come soon.
The packages reside in rpmfusion-free-updates-testing, try them out!
yum install minitube --enablerepo=rpmfusion-free-updates-testing
Dropbox Servicemenu
I was looking for a new project to package, and I found this: http://kde-apps.org/content/show.php?action=content&content=124416 .
Then I made this: http://magnu5.fedorapeople.org/review/dropbox-servicemenu/

dropbox-servicemenu
I haven’t tested this yet, and the RPM’s lack documentation, will query upstream to make some. In the meantime, you can enjoy this with your fedora kde!
Requires: dropbox, python, sqlite and kde.
Skype on Fedora 12
Howto install Skype on 64bit Fedora 12.
1. Set up the skype.repo
vi /etc/yum.repos.d/skype.repo
[skype]
name=Skype Repository
baseurl=http://download.skype.com/linux/repos/fedora/updates/i586/
#gpgkey=http://www.skype.com/products/skype/linux/rpm-public-key.asc
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-skype
enabled=1
gpgcheck=1
2. run
yum install qt-x11.i686 qt.i686 libXScrnSaver.i686 libXv.i686
3. run
yum install --nogpgcheck skype
This will get you Skype 2.1.0.81
Source from http://fedorasolved.org/multimedia-solutions/installing-skype
kopete-facebook 0.1.4
New version released by Duncan Mac-Vicar.
See http://duncan.mac-vicar.com/blog/archives/597 for details.
Installation instructions for fedora 11:
64 bit:
wget http://rubbad.com/files/fedora/11/RPM/x86_64/libqjson0-0.6.0-1.fc11.x86_64.rpm
wget http://rubbad.com/files/fedora/11/RPM/x86_64/kopete-facebook-0.1.4-1.fc11.x86_64.rpm
su -c 'yum install --nogpgcheck libqjson0-0.6.0-1.fc11.x86_64.rpm kopete-facebook-0.1.4-1.fc11.x86_64.rpm'
32bit:
wget http://rubbad.com/files/fedora/11/RPM/i586/libqjson0-0.6.0-1.fc11.i586.rpm
wget http://rubbad.com/files/fedora/11/RPM/i586/kopete-facebook-0.1.4-1.fc11.i586.rpm
su -c 'yum install --nogpgcheck libqjson0-0.6.0-1.fc11.i586.rpm kopete-facebook-0.1.4-1.fc11.i586.rpm'
vbox-runner on fedora 11
I just built my first RPM for fedora! w000t!
In this post I will document the steps I took to make it build. I’ll start from the very beginning.
Tools used:
yum groupinstall "Development Tools"
yum install rpmdevtools
as stated here.
Then I installed rpmlint because I wanted to check on my .spec file to make sure it was in good condition, usage:
rpmlint -i specfile
Ran rpmbuild-setuptree which will create an “rpmbuild” directory in your $HOME directory. Underneath “rpmbuild” are a set of subdirectories (such as SPECS and BUILD), which you will use for creating your packages. The “rpmdev-setuptree” also creates an “~/.rpmmacros” file which will cause rpm and rpmbuild to use them when appropriate. /quote
Got the source from Kde-Look and put it in ~/rpmbuild/SOURCES, and then cd to ~/rpmbuild/SPECS folder and ran
rpmdev-newspec vbox-runner
This creates the file vboxrunner.spec file, that need to be edited to suit the program. Since I had no idea about how to install a package without a configure and/or make file (this one doesn’t) I grabbed another file from the archlinux user repositories (AUR), because I have used that one before when I was using Archlinux, had a look at the PKGBUILD for clues of what to fill the spec file with.
This is the PKGBUILD:
Contributor: Jan Zitnik <jan@zitnik.org>
pkgname=vbox-runner
pkgver=0.2
pkgrel=1
arch=(i686 x86_64)
pkgdesc="Run Virtualbox machines in KRunner"
url="http://www.kde-look.org/content/show.php/VBox+Runner?content=107926"
license="GPL"
depends=('kdebase')
makedepends=('cmake' 'gcc' 'automoc4')
source=(http://www.kde-look.org/CONTENT/content-files/107926-vbox-runner-$pkgver.tar.gz)
md5sums=('0c9c34bed0001b17ee882a3764ef047d')
build() {
cd $startdir/src/vbox-runner-$pkgver
mkdir build
cd build
cmake ../ || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
And this is the vbox-runner.spec file before:
Name: test
Version:
Release: 1%{?dist}
Summary:
Group:
License:
URL:
Source0:
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:
Requires:
%description
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc
%changelog
And the completed one, after I scratched my head a while:
Name: vbox-runner
Version: 0.2
Release: 1%{?dist}
Summary: Run Virtualbox machines in KRunner
Group: User Interface/Desktops
License: GPL
URL: http://www.kde-look.org/content/show.php/VBox+Runner?content=107926
Source0: http://www.kde-look.org/CONTENT/content-files/107926-vbox-runner-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake gcc automoc4 kdebase-devel
Requires: kdebase
%description
vbox-runner is a plugin for krunner, virtualbox machines can be started directly from krunner with this plugin.
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
cmake -DCMAKE_INSTALL_PREFIX=/usr
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
%{_libdir}/kde4/krunner_vbox.so
%{_datadir}/kde4/services/*.desktop
%{_datadir}/pixmaps/*
%changelog
* Sun Jul 26 2009 Magnus Tuominen magnus.tuominen@gmail.com 0.2-1
- Initial RPM for fedora.
The build will complain about some rpath issue with krunner_vbox.so so it has to be built with these options:
QA_RPATHS=$[0x0001|0x0010 ] rpmbuild -ba vbox-runner.spec
otherwise it will fail with this error message:
ERROR 0001: file '/usr/lib/kde4/krunner_vbox.so' contains a standard rpath '/usr/lib' in [/usr/lib:/usr/lib/kde4/devel]
error: Bad exit status from /var/tmp/rpm-tmp.gL6Psw (%install)
The result is this:
Pretty sweet huh?
You can grab the RPMs with the source from here.
http://rubbad.com/files/fedora/11/
Remember, all commands are to be run as user, except for the installation of the tools part, do NOT run these as root, ever!
Many thanks to Konqui and Jan Zitnik, whom without this would never had been built..
That's all folks! Comments and pointers appreciated, this is my first attempt at building RPMs after all, and I'm sure there are some things that could have been done differently?
UPDATE: version 0.2-2 is done, I fixed the issue with rpath and rebuilt the rpm according to the fedora package guidelines.
Added
chrpath --delete %{buildroot}%{_libdir}/kde4/krunner_vbox.so to the %install section in the spec file.
UPDATE2 version 0.2-3: addedd
%doc, %post, %postun and %find_lang to spec file.
UPDATE3 (heh) version 0.2-4 is done, now rpmlint and mock are really happy.
some changes to spec file to make rpmlint and mock happy.
Installing 64bit flash in Archlinux 64bit.
Howto install flash in 64bit archlinux.
#pacman -S flashplugin
done! I was surprised when I did that by mistake, that it actually seems to have installed the 64bit flash-plugin rather than the 32bit one with nspluginwrapper & co. No more manually moving files around!
Android
The Android livecd v.02 is out. I grabbed a copy from http://code.google.com/p/live-android/ and booted it up inside virtualbox to have a look.
Seems pretty sweet to me! Now I want a Android phone…
Settings to use for creating the virtualmachine should be Linux and Linux2.6, I gave it 256MB of memory and enabled 3d acceleration, but it surely works with far less than that.
I’m impressed and I’m looking forward to see how this develops!
Running Spotify on Fedora 11
I had some problem getting Spotify to run on my 64bit Fedora 11 laptop, fonts were missing and some graphics rendered horribly or was totally missing:
Lucky for me I remembered that I have a free Crossover download waiting for me! So I got that, and it threw a bunch of missing dependencys in my face while configuring the first bottle:
This is what to install
# yum install cups-libs.i586 fontconfig.i586 gnutls.i586 hal-libs.i586 libXcomposite.i586 libpng.i586 sane-backends-libs.i586 libXcursor.i586 libXinerama.i586 libXrandr.i586 libXrender.i586
It pulls in some dependencys of their own, install those too.
Then you can install Spotify using Crossover, or if you don’t have that one, you can just use wine. Wine should render everything correctly once all of that stuff is installed.
Please comment if you try this and tell me how it went! Now for some more coffee…
VirtualBox 3.0 in Fedora 11
How to get VirtualBox 3.0 installed with USB support on Fedora 11.
We need to install a little something to get the module to actually build before we install Virtualbox.
As root:
# yum install dkms kernel-devel make automake autoconf gcc
Then install VirtualBox:
32bit:
# rpm -Uhv http://download.virtualbox.org/virtualbox/3.0.0/VirtualBox-3.0.0_49315_fedora11-1.i586.rpm
64bit
# rpm -Uhv http://download.virtualbox.org/virtualbox/3.0.0/VirtualBox-3.0.0_49315_fedora11-1.x86_64.rpm
Right, now for the usb part. Got to find out the Group ID for vboxusers now. Go to Administration -> Users and Groups.
Select the vboxusers group and press properties, add yourself to this group.
Now we just have to add this little line to /etc/fstab
none /sys/bus/usb/drivers usbfs devgid=501,devmode=664 0 0
note that 501 was the Group ID for vboxusers, which you are a member of, this grants you usb inside VirtualBox.
Now, reboot and try out your virtual boxes!
Thanks to readysleep for the fstab info!
Fullscreen flash in firefox 3.5
Firefox 3.5 crashes when trying to view a flash video in fullscreen.
Not to worry, for there is a workaround.
in /usr/lib/firefox-3.5.1pre/firefox.sh
EDIT: the path on Fedora 11 is: /usr/lib/firefox-3.5/run-mozilla.sh
you add export LD_PRELOAD=/usr/lib/libGL.so.1 at the beginning of the file, but underneath #!/bin/sh
So it looks like this:
#!/bin/sh
#fix the goddamn flash bug.
export LD_PRELOAD=/usr/lib/libGL.so.1# Firefox launcher containing a Profile migration helper for
# temporary profiles used during alpha and beta phases.…
Save, and try out some flash video in fullscreen.
This should work for Archlinux, Fedora and Ubuntu. The path to firefox.sh might vary though.
Workaround taken from https://bugs.launchpad.net/firefox/+bug/333127/comments/13















