[Frugalware-git] frugalware-current: arts-1.5.8-2-i686

crazy crazy at frugalware.org
Tue Nov 13 15:03:42 CET 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=78c8e7b04dc903a576f6532ba4129109c91608a0

commit 78c8e7b04dc903a576f6532ba4129109c91608a0
Author: crazy <crazy at frugalware.org>
Date:   Tue Nov 13 15:02:26 2007 +0100

arts-1.5.8-2-i686
* rebuild with latest glib2
* fix CXXFLAGS
* make the BACKEND look for .so and not .la files

diff --git a/source/xmultimedia/arts/FrugalBuild b/source/xmultimedia/arts/FrugalBuild
index 03491e6..d3d38e7 100644
--- a/source/xmultimedia/arts/FrugalBuild
+++ b/source/xmultimedia/arts/FrugalBuild
@@ -4,14 +4,22 @@

pkgname=arts
pkgver=1.5.8
-pkgrel=1
+pkgrel=2
pkgdesc="Analog realtime synthesizer"
groups=('xmultimedia')
archs=('i686' 'x86_64')
depends=('libstdc++' 'qt>=3.3.8-3' 'libvorbis' 'libmad' 'glib2' 'jack' 'alsa-lib' 'audiofile')
+_F_kde_reconf=1
Finclude kde
-Fconfopts="$Fconfopts --with-alsa --without-esd --with-jack --with-audiofile"
-sha1sums=('190162c2075ee4ebaac569c61b161147c3505690')
+source=($source avoid_la_files.diff)
+Fconfopts="$Fconfopts --with-alsa --without-esd \
+	--with-jack --enable-threading \
+	--disable-rpath"
+sha1sums=('190162c2075ee4ebaac569c61b161147c3505690' \
+          '2ac2a82d06057e8c3dbca12a4ffa41d2bd3fcde0')

+# lol
+export CXXFLAGS="$CXXFLAGS -DNDEBUG"
+export CFLAGS="$CXXFLAGS"

# optimization OK
diff --git a/source/xmultimedia/arts/avoid_la_files.diff b/source/xmultimedia/arts/avoid_la_files.diff
new file mode 100644
index 0000000..7c592d6
--- /dev/null
+++ b/source/xmultimedia/arts/avoid_la_files.diff
@@ -0,0 +1,26 @@
+--- artsc/Makefile.am
++++ artsc/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.la"'
++AM_CFLAGS = -DARTSC_BACKEND='"$(libdir)/libartscbackend.so"'
+ AM_CPPFLAGS = -DCOMPILING_ARTSC
+ lib_LTLIBRARIES = libartsc.la libartscbackend.la libartsdsp.la libartsdsp_st.la
+ FLOWLIBS = $(top_builddir)/flow/libartsflow.la
+--- mcop/extensionloader.cc
++++ mcop/extensionloader.cc
+@@ -56,7 +56,14 @@
+ 	/* this will catch all startup classes here */
+ 	StartupManager::setExtensionLoader(this);
+
+-    lt_dlinit();
++    	lt_dlinit();
++
++	string::size_type len = dlfilename.length();
++	if (len > 0 && dlfilename[len-1] == 'a' && dlfilename[len-2] == 'l') {
++          dlfilename[len-1] = 'o';
++          dlfilename[len-2] = 's';
++        }
++
+ 	handle = lt_dlopen(dlfilename.c_str());
+
+ 	StartupManager::setExtensionLoader(0);


More information about the Frugalware-git mailing list