[arch-commits] Commit in ladspa/repos (10 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Sep 26 05:02:07 UTC 2012


    Date: Wednesday, September 26, 2012 @ 01:02:07
  Author: foutrelis
Revision: 167138

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  ladspa/repos/extra-i686/PKGBUILD
    (from rev 167137, ladspa/trunk/PKGBUILD)
  ladspa/repos/extra-i686/fallback-ladspa-path.patch
    (from rev 167137, ladspa/trunk/fallback-ladspa-path.patch)
  ladspa/repos/extra-i686/fix-memleak-in-plugin-scanning.patch
    (from rev 167137, ladspa/trunk/fix-memleak-in-plugin-scanning.patch)
  ladspa/repos/extra-x86_64/PKGBUILD
    (from rev 167137, ladspa/trunk/PKGBUILD)
  ladspa/repos/extra-x86_64/fallback-ladspa-path.patch
    (from rev 167137, ladspa/trunk/fallback-ladspa-path.patch)
  ladspa/repos/extra-x86_64/fix-memleak-in-plugin-scanning.patch
    (from rev 167137, ladspa/trunk/fix-memleak-in-plugin-scanning.patch)
Deleted:
  ladspa/repos/extra-i686/PKGBUILD
  ladspa/repos/extra-i686/hardcode-path.patch
  ladspa/repos/extra-x86_64/PKGBUILD
  ladspa/repos/extra-x86_64/hardcode-path.patch

---------------------------------------------------+
 extra-i686/PKGBUILD                               |   67 ++++++++++----------
 extra-i686/fallback-ladspa-path.patch             |   27 ++++++++
 extra-i686/fix-memleak-in-plugin-scanning.patch   |   11 +++
 extra-i686/hardcode-path.patch                    |   28 --------
 extra-x86_64/PKGBUILD                             |   67 ++++++++++----------
 extra-x86_64/fallback-ladspa-path.patch           |   27 ++++++++
 extra-x86_64/fix-memleak-in-plugin-scanning.patch |   11 +++
 extra-x86_64/hardcode-path.patch                  |   28 --------
 8 files changed, 146 insertions(+), 120 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-09-26 05:01:40 UTC (rev 167137)
+++ extra-i686/PKGBUILD	2012-09-26 05:02:07 UTC (rev 167138)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: damir <damir at archlinux.org>
-
-pkgname=ladspa
-pkgver=1.13
-pkgrel=3
-pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://www.ladspa.org/"
-depends=('gcc-libs')
-source=("http://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz"
-        'hardcode-path.patch')
-md5sums=('671be3e1021d0722cadc7fb27054628e'
-         '27743258232d828575d66940e6de2858')
-
-build() {
-  cd "${srcdir}/${pkgname}_sdk/src"
-  patch -Np1 -i "${srcdir}/hardcode-path.patch"
-  sed \
-    -e 's/mkdirhier/mkdir -p/' \
-    -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
-    -i makefile
-  make targets
-}
-
-package() {
-  cd "${srcdir}/${pkgname}_sdk/src"
-  make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \
-       INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \
-       INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install
-}

Copied: ladspa/repos/extra-i686/PKGBUILD (from rev 167137, ladspa/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-09-26 05:02:07 UTC (rev 167138)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: damir <damir at archlinux.org>
+
+pkgname=ladspa
+pkgver=1.13
+pkgrel=4
+pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.ladspa.org/"
+depends=('gcc-libs')
+source=("http://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz"
+        'fix-memleak-in-plugin-scanning.patch'
+        'fallback-ladspa-path.patch')
+md5sums=('671be3e1021d0722cadc7fb27054628e'
+         '478c400e04c9db9cfd6ee1198beec9c5'
+         '8a0ad7d442662af160381e7302c6ed4c')
+
+build() {
+  cd "${srcdir}/${pkgname}_sdk/src"
+  patch -Np1 -i "${srcdir}/fix-memleak-in-plugin-scanning.patch"
+  patch -Np2 -i "${srcdir}/fallback-ladspa-path.patch"
+  sed \
+    -e 's/mkdirhier/mkdir -p/' \
+    -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
+    -i makefile
+  make targets
+}
+
+package() {
+  cd "${srcdir}/${pkgname}_sdk/src"
+  make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \
+       INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \
+       INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install
+}

Copied: ladspa/repos/extra-i686/fallback-ladspa-path.patch (from rev 167137, ladspa/trunk/fallback-ladspa-path.patch)
===================================================================
--- extra-i686/fallback-ladspa-path.patch	                        (rev 0)
+++ extra-i686/fallback-ladspa-path.patch	2012-09-26 05:02:07 UTC (rev 167138)
@@ -0,0 +1,27 @@
+diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c
+--- ladspa_sdk.orig/src/load.c	2012-09-26 07:37:24.000000000 +0300
++++ ladspa_sdk/src/load.c	2012-09-26 07:38:58.000000000 +0300
+@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in
+        to search. */
+ 
+     pcLADSPAPath = getenv("LADSPA_PATH");
++    if (! pcLADSPAPath)
++      pcLADSPAPath = "/usr/lib/ladspa";
+     
+     if (pcLADSPAPath) {
+ 
+diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c
+--- ladspa_sdk.orig/src/search.c	2012-09-26 07:37:24.000000000 +0300
++++ ladspa_sdk/src/search.c	2012-09-26 07:38:46.000000000 +0300
+@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal
+ 
+   pcLADSPAPath = getenv("LADSPA_PATH");
+   if (!pcLADSPAPath) {
+-    fprintf(stderr,
+-	    "Warning: You do not have a LADSPA_PATH "
+-	    "environment variable set.\n");
+-    return;
++    pcLADSPAPath = "/usr/lib/ladspa";
+   }
+   
+   pcStart = pcLADSPAPath;

Copied: ladspa/repos/extra-i686/fix-memleak-in-plugin-scanning.patch (from rev 167137, ladspa/trunk/fix-memleak-in-plugin-scanning.patch)
===================================================================
--- extra-i686/fix-memleak-in-plugin-scanning.patch	                        (rev 0)
+++ extra-i686/fix-memleak-in-plugin-scanning.patch	2012-09-26 05:02:07 UTC (rev 167138)
@@ -0,0 +1,11 @@
+--- src/search.c.orig	2008-11-07 00:38:18.000000000 +0100
++++ src/search.c	2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ 	dlclose(pcFilename);
+ 	free(pcFilename);
+       }
++    } else {
++      free(pcFilename);
+     }
+   }
+ }

Deleted: extra-i686/hardcode-path.patch
===================================================================
--- extra-i686/hardcode-path.patch	2012-09-26 05:01:40 UTC (rev 167137)
+++ extra-i686/hardcode-path.patch	2012-09-26 05:02:07 UTC (rev 167138)
@@ -1,28 +0,0 @@
---- src/search.c.orig	2008-11-07 00:38:18.000000000 +0100
-+++ src/search.c	2008-11-07 00:50:51.000000000 +0100
-@@ -83,6 +83,8 @@
- 	dlclose(pcFilename);
- 	free(pcFilename);
-       }
-+    } else {
-+      free(pcFilename);
-     }
-   }
- }
-@@ -99,13 +101,10 @@
- 
-   pcLADSPAPath = getenv("LADSPA_PATH");
-   if (!pcLADSPAPath) {
--    fprintf(stderr,
--	    "Warning: You do not have a LADSPA_PATH "
--	    "environment variable set.\n");
--    return;
-+    pcStart = "/usr/lib/ladspa/";
-+  } else {
-+    pcStart = pcLADSPAPath;
-   }
--  
--  pcStart = pcLADSPAPath;
-   while (*pcStart != '\0') {
-     pcEnd = pcStart;
-     while (*pcEnd != ':' && *pcEnd != '\0')

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-09-26 05:01:40 UTC (rev 167137)
+++ extra-x86_64/PKGBUILD	2012-09-26 05:02:07 UTC (rev 167138)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: damir <damir at archlinux.org>
-
-pkgname=ladspa
-pkgver=1.13
-pkgrel=3
-pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://www.ladspa.org/"
-depends=('gcc-libs')
-source=("http://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz"
-        'hardcode-path.patch')
-md5sums=('671be3e1021d0722cadc7fb27054628e'
-         '27743258232d828575d66940e6de2858')
-
-build() {
-  cd "${srcdir}/${pkgname}_sdk/src"
-  patch -Np1 -i "${srcdir}/hardcode-path.patch"
-  sed \
-    -e 's/mkdirhier/mkdir -p/' \
-    -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
-    -i makefile
-  make targets
-}
-
-package() {
-  cd "${srcdir}/${pkgname}_sdk/src"
-  make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \
-       INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \
-       INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install
-}

Copied: ladspa/repos/extra-x86_64/PKGBUILD (from rev 167137, ladspa/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-09-26 05:02:07 UTC (rev 167138)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: damir <damir at archlinux.org>
+
+pkgname=ladspa
+pkgver=1.13
+pkgrel=4
+pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://www.ladspa.org/"
+depends=('gcc-libs')
+source=("http://www.ladspa.org/download/${pkgname}_sdk_${pkgver}.tgz"
+        'fix-memleak-in-plugin-scanning.patch'
+        'fallback-ladspa-path.patch')
+md5sums=('671be3e1021d0722cadc7fb27054628e'
+         '478c400e04c9db9cfd6ee1198beec9c5'
+         '8a0ad7d442662af160381e7302c6ed4c')
+
+build() {
+  cd "${srcdir}/${pkgname}_sdk/src"
+  patch -Np1 -i "${srcdir}/fix-memleak-in-plugin-scanning.patch"
+  patch -Np2 -i "${srcdir}/fallback-ladspa-path.patch"
+  sed \
+    -e 's/mkdirhier/mkdir -p/' \
+    -e "s#-O3#${CFLAGS} ${LDFLAGS/,--as-needed/}#" \
+    -i makefile
+  make targets
+}
+
+package() {
+  cd "${srcdir}/${pkgname}_sdk/src"
+  make INSTALL_PLUGINS_DIR="${pkgdir}/usr/lib/ladspa/" \
+       INSTALL_INCLUDE_DIR="${pkgdir}/usr/include/" \
+       INSTALL_BINARY_DIR="${pkgdir}/usr/bin/" install
+}

Copied: ladspa/repos/extra-x86_64/fallback-ladspa-path.patch (from rev 167137, ladspa/trunk/fallback-ladspa-path.patch)
===================================================================
--- extra-x86_64/fallback-ladspa-path.patch	                        (rev 0)
+++ extra-x86_64/fallback-ladspa-path.patch	2012-09-26 05:02:07 UTC (rev 167138)
@@ -0,0 +1,27 @@
+diff -upr ladspa_sdk.orig/src/load.c ladspa_sdk/src/load.c
+--- ladspa_sdk.orig/src/load.c	2012-09-26 07:37:24.000000000 +0300
++++ ladspa_sdk/src/load.c	2012-09-26 07:38:58.000000000 +0300
+@@ -54,6 +54,8 @@ dlopenLADSPA(const char * pcFilename, in
+        to search. */
+ 
+     pcLADSPAPath = getenv("LADSPA_PATH");
++    if (! pcLADSPAPath)
++      pcLADSPAPath = "/usr/lib/ladspa";
+     
+     if (pcLADSPAPath) {
+ 
+diff -upr ladspa_sdk.orig/src/search.c ladspa_sdk/src/search.c
+--- ladspa_sdk.orig/src/search.c	2012-09-26 07:37:24.000000000 +0300
++++ ladspa_sdk/src/search.c	2012-09-26 07:38:46.000000000 +0300
+@@ -99,10 +99,7 @@ LADSPAPluginSearch(LADSPAPluginSearchCal
+ 
+   pcLADSPAPath = getenv("LADSPA_PATH");
+   if (!pcLADSPAPath) {
+-    fprintf(stderr,
+-	    "Warning: You do not have a LADSPA_PATH "
+-	    "environment variable set.\n");
+-    return;
++    pcLADSPAPath = "/usr/lib/ladspa";
+   }
+   
+   pcStart = pcLADSPAPath;

Copied: ladspa/repos/extra-x86_64/fix-memleak-in-plugin-scanning.patch (from rev 167137, ladspa/trunk/fix-memleak-in-plugin-scanning.patch)
===================================================================
--- extra-x86_64/fix-memleak-in-plugin-scanning.patch	                        (rev 0)
+++ extra-x86_64/fix-memleak-in-plugin-scanning.patch	2012-09-26 05:02:07 UTC (rev 167138)
@@ -0,0 +1,11 @@
+--- src/search.c.orig	2008-11-07 00:38:18.000000000 +0100
++++ src/search.c	2008-11-07 00:50:51.000000000 +0100
+@@ -83,6 +83,8 @@
+ 	dlclose(pcFilename);
+ 	free(pcFilename);
+       }
++    } else {
++      free(pcFilename);
+     }
+   }
+ }

Deleted: extra-x86_64/hardcode-path.patch
===================================================================
--- extra-x86_64/hardcode-path.patch	2012-09-26 05:01:40 UTC (rev 167137)
+++ extra-x86_64/hardcode-path.patch	2012-09-26 05:02:07 UTC (rev 167138)
@@ -1,28 +0,0 @@
---- src/search.c.orig	2008-11-07 00:38:18.000000000 +0100
-+++ src/search.c	2008-11-07 00:50:51.000000000 +0100
-@@ -83,6 +83,8 @@
- 	dlclose(pcFilename);
- 	free(pcFilename);
-       }
-+    } else {
-+      free(pcFilename);
-     }
-   }
- }
-@@ -99,13 +101,10 @@
- 
-   pcLADSPAPath = getenv("LADSPA_PATH");
-   if (!pcLADSPAPath) {
--    fprintf(stderr,
--	    "Warning: You do not have a LADSPA_PATH "
--	    "environment variable set.\n");
--    return;
-+    pcStart = "/usr/lib/ladspa/";
-+  } else {
-+    pcStart = pcLADSPAPath;
-   }
--  
--  pcStart = pcLADSPAPath;
-   while (*pcStart != '\0') {
-     pcEnd = pcStart;
-     while (*pcEnd != ':' && *pcEnd != '\0')




More information about the arch-commits mailing list