Re: [Mplayerplug-in-devel] CVS Testing
Brought to you by:
kdekorte
From: Michael R. <mi...@mi...> - 2006-11-05 00:08:46
|
Hi Kevin, I have a debian related patch which solves one bug in the script, one =20 debian policy related bug and a nice to have feature. 1) bug: pkg-config for debian is wrong 2) policy bug: debian should have prefix=3D/usr 3) nice to have: now automatically finds correct path for =20 with-mozilla-home --- whatoptions.sh 2006-07-20 17:53:02.000000000 +0200 +++ whatoptions-new.sh 2006-11-05 01:01:20.000000000 +0100 @@ -25,7 +25,9 @@ else if [ `ldd ${MOZHOME}/firefox-bin | grep gtk-x11 | wc -l` !=3D 0 ]; =20 then gtk2=3Dyes; fi; fi -pkg-config --exists mozilla-plugin +if [ $debian =3D=3D yes ]; then pkg-config --exists xulrunner-plugin +else pkg-config --exists mozilla-plugin +fi if [ $? =3D=3D 0 ]; then geckosdk=3Dno; fi echo "Run configure with the following options" @@ -33,7 +35,7 @@ echo -n "./configure" if [ $gtk1 =3D=3D yes ]; then echo -n " --enable-gtk1"; fi if [ $gtk2 =3D=3D no -a $gtk1 =3D=3D no ]; then echo -n " --enable-x"; fi -if [ $debian =3D=3D yes ]; then echo -n " =20 --with-mozilla-home=3D{/usr/lib/mozilla or /usr/lib/firefox}"; fi +if [ $debian =3D=3D yes ]; then echo -n " --prefix=3D/usr =20 --with-mozilla-home=3D$MOZHOME"; fi if [ $geckosdk =3D=3D yes ]; then echo " --with-gecko-sdk=3D{path to geck= o =20 sdk}"; echo ; echo "You need to install the gecko-sdk"; fi echo --=20 Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://keyserver.veridis.com:11371/pks/lookup?op=3Dget&search=3D0xD3C9A00E mir <at> datanom <dot> net http://keyserver.veridis.com:11371/pks/lookup?op=3Dget&search=3D0xE501F51C mir <at> miras <dot> org http://keyserver.veridis.com:11371/pks/lookup?op=3Dget&search=3D0xE3E80917 -------------------------------------------------------------- Use the fundamental control flow constructs. - The Elements of Programming Style (Kernighan & Plaugher) |