[arch-commits] CVS update of extra/multimedia/audacious-plugins (PKGBUILD)

Travis Willard travis at archlinux.org
Tue Jul 3 12:56:57 UTC 2007


    Date: Tuesday, July 3, 2007 @ 08:56:57
  Author: travis
    Path: /home/cvs-extra/extra/multimedia/audacious-plugins

Modified: PKGBUILD (1.23 -> 1.24)

upgpkg: audacious-plugins 1.3.5-5
Finally figured out the source of playlist corruption.
The old player was built with the older version of GCC, without the -mtune
option.  When -player and -plugins are compiled with different flags, very
odd stuff happens.


----------+
 PKGBUILD |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)


Index: extra/multimedia/audacious-plugins/PKGBUILD
diff -u extra/multimedia/audacious-plugins/PKGBUILD:1.23 extra/multimedia/audacious-plugins/PKGBUILD:1.24
--- extra/multimedia/audacious-plugins/PKGBUILD:1.23	Mon Jul  2 15:48:49 2007
+++ extra/multimedia/audacious-plugins/PKGBUILD	Tue Jul  3 08:56:57 2007
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD,v 1.23 2007/07/02 19:48:49 travis Exp $
+# $Id: PKGBUILD,v 1.24 2007/07/03 12:56:57 travis Exp $
 # Maintainer: Travis Willard <travisw at wmpub.ca>
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=audacious-plugins
 pkgver=1.3.5
-pkgrel=4
+pkgrel=5
 pkgdesc="Plugins for the audacious media player."
 arch=('i686' 'x86_64')
 url="http://audacious-media-player.org/"
@@ -30,23 +30,22 @@
 
 build() {
 
-  # This odd little hack seems to be needed to ensure audacious playlists
-  # don't corrupt themselves on exit.  Without, each file URI ends up with
-  # a ?xspf appended, which screws the whole playlist over, since it can't
-  # find the files anymore.
-  # Seems to me a wierd kinda bug to be fixed with a compiler flag tuning 
-  # change, but what do I know?
-  #CFLAGS=${CFLAGS/-mtune=generic/}
-  #CXXFLAGS=${CXXFLAGS/-mtune=generic/}
-  CFLAGS=
-  CXXFLAGS=
+  # NOTE TO ANYONE BUILDING THIS PKG!
+  # 
+  # Audacious-player and Audacious-plugins must both be built with
+  # the same CFLAGS and CXXFLAGS.  
+  # If ever strange, unexplainable playlist corruption happens, this
+  # is likely the cause - make sure both packages were built with
+  # the same flags and same version of GCC.
+
+
 
   cd ${startdir}/src/${pkgname}-${pkgver}
   ./configure --prefix=/usr \
-        --disable-esd --enable-jack \
-        --disable-timidity --enable-amidiplug \
-        --enable-chardet --enable-modplug \
-        --enable-sid
+              --disable-esd --enable-jack \
+              --disable-timidity --enable-amidiplug \
+              --enable-chardet --enable-modplug \
+              --enable-sid
 
   make || return 1
   make DESTDIR=${startdir}/pkg install




More information about the arch-commits mailing list