summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-09-22 18:51:08 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-09-22 18:51:08 +0000
commit4a02fc9a3bcb0291aad15d0428b7240a7fe353f9 (patch)
tree818cbe7f482865b562380a03011f1e41ccb0ef48 /media-sound/alsamixergui
parentVersion version bump bump (diff)
downloadhistorical-4a02fc9a3bcb0291aad15d0428b7240a7fe353f9.tar.gz
historical-4a02fc9a3bcb0291aad15d0428b7240a7fe353f9.tar.bz2
historical-4a02fc9a3bcb0291aad15d0428b7240a7fe353f9.zip
Variable quoting, fix broken patch for bug #238397, remove no longer used patch (bug #226759), properly eautoreconf instead of patching configure directly.
Package-Manager: portage-2.2_rc9/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'media-sound/alsamixergui')
-rw-r--r--media-sound/alsamixergui/ChangeLog10
-rw-r--r--media-sound/alsamixergui/Manifest19
-rw-r--r--media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild15
-rw-r--r--media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-fltk-1.1.patch13
-rw-r--r--media-sound/alsamixergui/files/fltk-1.1+gcc3.diff72
-rw-r--r--media-sound/alsamixergui/files/gentoo.diff67
-rw-r--r--media-sound/alsamixergui/files/segfault-on-exit.patch2
7 files changed, 45 insertions, 153 deletions
diff --git a/media-sound/alsamixergui/ChangeLog b/media-sound/alsamixergui/ChangeLog
index 9eb407140686..a12f8d114bb5 100644
--- a/media-sound/alsamixergui/ChangeLog
+++ b/media-sound/alsamixergui/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-sound/alsamixergui
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/ChangeLog,v 1.27 2008/02/29 19:57:54 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/ChangeLog,v 1.28 2008/09/22 18:51:08 aballier Exp $
+
+ 22 Sep 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/alsamixergui-0.9.0.1.2-fltk-1.1.patch, -files/fltk-1.1+gcc3.diff,
+ -files/gentoo.diff, files/segfault-on-exit.patch,
+ alsamixergui-0.9.0.1.2-r4.ebuild:
+ Variable quoting, fix broken patch for bug #238397, remove no longer used
+ patch (bug #226759), properly eautoreconf instead of patching configure
+ directly.
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org>
alsamixergui-0.9.0.1.2-r4.ebuild:
diff --git a/media-sound/alsamixergui/Manifest b/media-sound/alsamixergui/Manifest
index 65ac56645714..f8fe1ff81cfe 100644
--- a/media-sound/alsamixergui/Manifest
+++ b/media-sound/alsamixergui/Manifest
@@ -1,8 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX alsamixergui-0.9.0.1.2-fltk-1.1.patch 456 RMD160 7792d0c39f01a92999142939aed56eed300ffedf SHA1 950789f78cff44ca0366b0a2b46f3ff3a59d816c SHA256 d24d6cdcbb1f6ef4002a08ba4a2636ce3d6388b25e803c425a4d71de1fc93ac8
AUX alsamixergui-0.9.0.1.2-gcc34.patch 557 RMD160 588982df42da951c0cf54bdbf29d81222e45287d SHA1 baf3d92e091e8fff2f74eb2c1c2604e2d3e36b39 SHA256 384e952086eed73e2b09f0dfda3e43a3bf7f708f249e4bad8f18536e1850fba4
-AUX fltk-1.1+gcc3.diff 2950 RMD160 ec81e699c24d5aa03e3459bf18a9eefadce7329b SHA1 64e0cdcc2e7a4b4c551844ac98afca8e39ae961e SHA256 6f5e53c9079223cf641137e6b6c3526689eff790a3b365d313e56568b5c22f6b
-AUX gentoo.diff 2907 RMD160 1e39541f741d3890a0bc162eda0ea3a576c013c1 SHA1 83b530d03ce7a11595c5405a61fd5f3a675a15b7 SHA256 1bae439b1c79f37a3ff566b7c9514f8a98f4976f859e4c8094f160f3c3506e84
-AUX segfault-on-exit.patch 402 RMD160 129847d1ffb354d81c3e29882c40e0ebed7eb772 SHA1 c59e4eae12bdddadd4dd555959a155743bca2555 SHA256 cd9596f8f0b192c99a8fda16f8065c2705b551b57fb21948fddad5e9e1f2db29
+AUX segfault-on-exit.patch 393 RMD160 d190e33177d440b8d1cdded21259afeaf9475b47 SHA1 26c52ecec012b5dbc4e6f10447c7377b29da9f9d SHA256 065befb2594f2a91cb2580f3d4a1fee69ee39e3f485b21e0f1db9e6309a8797c
DIST alsamixergui-0.9.0rc1-2.tar.gz 70255 RMD160 497abaa3624e410968746413417f9aab4641c46f SHA1 74727334543b3f0755b32b3f2e858cc46d905826 SHA256 6053a352580fa90fc5d35a2edce138759726acd72283ff6797cf7720632481cd
-EBUILD alsamixergui-0.9.0.1.2-r4.ebuild 1237 RMD160 8b7fbec5ca0d2a084800666fd2035d8e76a22fb6 SHA1 39ea98be07cc5c3f173b69cfbf5b85f9e1701ac8 SHA256 d2266e0472b91724e0ccdb405c6efb4d0982c4be7ad37b7ecfe1a41a1b5a4213
-MISC ChangeLog 4032 RMD160 416de827e41fea2016e57c98c084538c96801859 SHA1 ffa53acedae38eddaf7874ebadf23d3872dfb478 SHA256 1251fd80219bd48617ec0d40d17dc23fbfefb563e38323f184d6d186722665d0
+EBUILD alsamixergui-0.9.0.1.2-r4.ebuild 1279 RMD160 321dafd19b7221d275b347fc7ab93d7ff94d2404 SHA1 759b3e67d674f7f2cd7e70705919c2bc9a4cfa9d SHA256 aae905b28097a0cea8d5df37cd4cf7b7c2a5bbe61c0072a4e50f73a6180be37d
+MISC ChangeLog 4413 RMD160 953531992b7b0f42bf45fcc086c43a1f09d51f5f SHA1 a3b07ff706812fc82d0376fcea5d665c03eed5c9 SHA256 649c1f1b8283ab84230db669e438220d2ae53f58df66fe283e80ea8cb501fa51
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjX6SIACgkQvFcC4BYPU0qidgCeNluhEacjv9pikTQkU/5R/L02
+u9kAnR3owD6HRJsQEyMi9Z/sK2C0ozIH
+=1Mst
+-----END PGP SIGNATURE-----
diff --git a/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild b/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
index 6a7ceacba957..cdb811caadb5 100644
--- a/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
+++ b/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild,v 1.12 2008/02/29 19:57:54 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsamixergui/alsamixergui-0.9.0.1.2-r4.ebuild,v 1.13 2008/09/22 18:51:08 aballier Exp $
-IUSE=""
-inherit eutils
+inherit eutils autotools
NATIVE_VER=0.9.0rc1-2
S=${WORKDIR}/${PN}-${NATIVE_VER}
@@ -16,6 +15,7 @@ SRC_URI="ftp://www.iua.upf.es/pub/mdeboer/projects/alsamixergui/${PN}-${NATIVE_V
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc ppc64 sparc x86"
+IUSE=""
DEPEND=">=media-libs/alsa-lib-0.9.0_rc1
>=media-sound/alsa-utils-0.9.0_rc1
@@ -23,10 +23,11 @@ DEPEND=">=media-libs/alsa-lib-0.9.0_rc1
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/gentoo.diff
- epatch ${FILESDIR}/${P}-gcc34.patch
- epatch ${FILESDIR}/segfault-on-exit.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc34.patch"
+ epatch "${FILESDIR}/segfault-on-exit.patch"
+ epatch "${FILESDIR}/${P}-fltk-1.1.patch"
+ eautoreconf
}
src_compile() {
diff --git a/media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-fltk-1.1.patch b/media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-fltk-1.1.patch
new file mode 100644
index 000000000000..d1581d06e90d
--- /dev/null
+++ b/media-sound/alsamixergui/files/alsamixergui-0.9.0.1.2-fltk-1.1.patch
@@ -0,0 +1,13 @@
+Index: alsamixergui-0.9.0rc1-2/configure.in
+===================================================================
+--- alsamixergui-0.9.0rc1-2.orig/configure.in
++++ alsamixergui-0.9.0rc1-2/configure.in
+@@ -11,7 +11,7 @@ AC_PROG_INSTALL
+ AC_PROG_LN_S
+
+ dnl Checks for libraries.
+-AC_CHECK_LIB(fltk,numericsort,,AC_MSG_ERROR("missing fltk"))
++AC_CHECK_LIB(fltk,fl_numericsort,,AC_MSG_ERROR("missing fltk"))
+ AM_PATH_ALSA(0.9.0)
+
+ dnl Checks for header files.
diff --git a/media-sound/alsamixergui/files/fltk-1.1+gcc3.diff b/media-sound/alsamixergui/files/fltk-1.1+gcc3.diff
deleted file mode 100644
index 6b0463d66fcd..000000000000
--- a/media-sound/alsamixergui/files/fltk-1.1+gcc3.diff
+++ /dev/null
@@ -1,72 +0,0 @@
-diff -urN alsamixergui-0.9.0rc1-2/Makefile.am alsamixergui-0.9.0rc1-2-modified/Makefile.am
---- alsamixergui-0.9.0rc1-2/Makefile.am Fri Apr 26 05:16:23 2002
-+++ alsamixergui-0.9.0rc1-2-modified/Makefile.am Fri Sep 20 13:59:06 2002
-@@ -1,2 +1,2 @@
--SUBDIRS=src
-+SUBDIRS = src
- DISTCLEANFILES = configure Makefile.in missing install-sh mkinstalldirs COPYING INSTALL
-diff -urN alsamixergui-0.9.0rc1-2/configure alsamixergui-0.9.0rc1-2-modified/configure
---- alsamixergui-0.9.0rc1-2/configure Fri May 3 04:40:38 2002
-+++ alsamixergui-0.9.0rc1-2-modified/configure Fri Sep 20 14:08:14 2002
-@@ -1469,8 +1469,8 @@
- fi
-
-
--echo $ac_n "checking for numericsort in -lfltk""... $ac_c" 1>&6
--echo "configure:1474: checking for numericsort in -lfltk" >&5
-+echo $ac_n "checking for fl_numericsort in -lfltk""... $ac_c" 1>&6
-+echo "configure:1474: checking for fl_numericsort in -lfltk" >&5
- ac_lib_var=`echo fltk'_'numericsort | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-@@ -1483,10 +1483,10 @@
- /* Override any gcc2 internal prototype to avoid an error. */
- /* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
--char numericsort();
-+char fl_numericsort();
-
- int main() {
--numericsort()
-+fl_numericsort()
- ; return 0; }
- EOF
- if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-diff -urN alsamixergui-0.9.0rc1-2/configure.in alsamixergui-0.9.0rc1-2-modified/configure.in
---- alsamixergui-0.9.0rc1-2/configure.in Fri May 3 04:40:21 2002
-+++ alsamixergui-0.9.0rc1-2-modified/configure.in Fri Sep 20 13:42:05 2002
-@@ -11,7 +11,7 @@
- AC_PROG_LN_S
-
- dnl Checks for libraries.
--AC_CHECK_LIB(fltk,numericsort,,AC_MSG_ERROR("missing fltk"))
-+AC_CHECK_LIB(fltk,fl_numericsort,,AC_MSG_ERROR("missing fltk"))
- AM_PATH_ALSA(0.9.0)
-
- dnl Checks for header files.
-diff -urN alsamixergui-0.9.0rc1-2/src/Fl_AM.cxx alsamixergui-0.9.0rc1-2-modified/src/Fl_AM.cxx
---- alsamixergui-0.9.0rc1-2/src/Fl_AM.cxx Fri May 3 04:37:27 2002
-+++ alsamixergui-0.9.0rc1-2-modified/src/Fl_AM.cxx Fri Sep 20 13:41:59 2002
-@@ -215,7 +215,7 @@
- Fl::add_timeout(0.05,gui_idle_cb,0);
-
- #if FL_MAJOR_VERSION == 1 && FL_MINOR_VERSION >= 1
-- Fl::visible_focus(0);
-+// Fl::visible_focus(0);
- #endif
-
- Fl::run();
-diff -urN alsamixergui-0.9.0rc1-2/src/Fl_Pixmap_Button.H alsamixergui-0.9.0rc1-2-modified/src/Fl_Pixmap_Button.H
---- alsamixergui-0.9.0rc1-2/src/Fl_Pixmap_Button.H Fri Apr 26 03:23:39 2002
-+++ alsamixergui-0.9.0rc1-2-modified/src/Fl_Pixmap_Button.H Fri Sep 20 13:42:07 2002
-@@ -48,8 +48,8 @@
- #endif
-
- if (pw<0) {
--#if FL_MAJOR_VERSION == 1 && FL_MINOR_VERSION == 0
-- fl_measure_pixmap(p->data,pw,ph);
-+#if FL_MAJOR_VERSION == 1 && FL_MINOR_VERSION >= 0
-+ fl_measure_pixmap(p->data(),pw,ph);
- #else
- fl_measure_pixmap(p->data(),pw,ph);
- #endif
diff --git a/media-sound/alsamixergui/files/gentoo.diff b/media-sound/alsamixergui/files/gentoo.diff
deleted file mode 100644
index 3dc5239600d9..000000000000
--- a/media-sound/alsamixergui/files/gentoo.diff
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -urN alsamixergui-0.9.0rc1-2/configure alsamixergui-0.9.0rc1-2-modified/configure
---- alsamixergui-0.9.0rc1-2/configure 2002-05-03 04:40:38.000000000 -0500
-+++ alsamixergui-0.9.0rc1-2-modified/configure 2003-01-02 19:35:55.000000000 -0600
-@@ -1468,10 +1468,10 @@
- echo "$ac_t""no" 1>&6
- fi
-
--
--echo $ac_n "checking for numericsort in -lfltk""... $ac_c" 1>&6
--echo "configure:1474: checking for numericsort in -lfltk" >&5
--ac_lib_var=`echo fltk'_'numericsort | sed 'y%./+-%__p_%'`
-+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-+echo $ac_n "checking for main in -lfltk""... $ac_c" 1>&6
-+echo "configure:1474: checking for main in -lfltk" >&5
-+ac_lib_var=`echo fltk'_'main | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-@@ -1481,12 +1481,12 @@
- #line 1482 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
--/* We use char because int might match the return type of a gcc2
-- builtin and then its argument prototype would still apply. */
--char numericsort();
-+/* We use char because int might match the return type of a gcc2 */
-+/* builtin and then its argument prototype would still apply. */
-+/* char main(); */
-
- int main() {
--numericsort()
-+main()
- ; return 0; }
- EOF
- if { (eval echo configure:1493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-@@ -1656,10 +1656,10 @@
- ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- cross_compiling=$ac_cv_prog_cc_cross
-
--
--echo $ac_n "checking for snd_seq_create_event in -lasound""... $ac_c" 1>&6
--echo "configure:1662: checking for snd_seq_create_event in -lasound" >&5
--ac_lib_var=`echo asound'_'snd_seq_create_event | sed 'y%./+-%__p_%'`
-+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-+echo $ac_n "checking for main in -lasound""... $ac_c" 1>&6
-+echo "configure:1662: checking for main in -lasound" >&5
-+ac_lib_var=`echo asound'_'main | sed 'y%./+-%__p_%'`
- if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
-@@ -1669,12 +1669,12 @@
- #line 1670 "configure"
- #include "confdefs.h"
- /* Override any gcc2 internal prototype to avoid an error. */
--/* We use char because int might match the return type of a gcc2
-- builtin and then its argument prototype would still apply. */
--char snd_seq_create_event();
-+/* We use char because int might match the return type of a gcc2 */
-+/* builtin and then its argument prototype would still apply. */
-+/* char main(); */
-
- int main() {
--snd_seq_create_event()
-+main()
- ; return 0; }
- EOF
- if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
diff --git a/media-sound/alsamixergui/files/segfault-on-exit.patch b/media-sound/alsamixergui/files/segfault-on-exit.patch
index c1e1cc19deab..0435146d7d7a 100644
--- a/media-sound/alsamixergui/files/segfault-on-exit.patch
+++ b/media-sound/alsamixergui/files/segfault-on-exit.patch
@@ -1,5 +1,5 @@
--- src/alsamixer.cxx 2004-12-07 00:02:52.649159520 +1100
-+++ /home/jjezak/alsamixer.cxx 2004-12-07 00:00:26.385394992 +1100
++++ src/alsamixer.cxx 2004-12-07 00:00:26.385394992 +1100
@@ -1869,7 +1869,7 @@
if (procWindow) delete procWindow;
if (mainWindow) delete mainWindow;