[proaudio] [1953] Very crude workaround against failing fltk test during configure.

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1953
Author:   dominique
Date:     2011-04-30 09:14:07 +0200 (Sat, 30 Apr 2011)
Log Message:
-----------
Very crude workaround against failing fltk test during configure. Introduce a bug in configure, but at least rakarrack compile, install and work in my system.

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/rakarrack/ChangeLog
    trunk/overlays/proaudio/media-sound/rakarrack/Manifest
    trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-0.5.8.ebuild
    trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-9999.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/rakarrack/files/
    trunk/overlays/proaudio/media-sound/rakarrack/files/rakarrack-0.5.8_configure.patch

Modified: trunk/overlays/proaudio/media-sound/rakarrack/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/rakarrack/ChangeLog	2011-04-29 08:21:10 UTC (rev 1952)
+++ trunk/overlays/proaudio/media-sound/rakarrack/ChangeLog	2011-04-30 07:14:07 UTC (rev 1953)
@@ -2,6 +2,11 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  30 Apr 2011; Dominique Michel <dominique@xxxxxxxxxxxxx>
+  rakarrack-9999 + 0.5.8: Very crude "workaround" against failing fltk test during configure.
+  In fact, it introduce a bug in configure, so don't complain if it fail.
+  The real bug is somewhere else, in fltk, in pkgconfig or on the moon...
+
   25 Mar 2011; Hakan Demiralp <keenblade@xxxxxxxxxxxxx> rakarrack-9999.ebuild:
   rakarrack-0.5.8: fltk slot changed from 1.1 to 1
 

Modified: trunk/overlays/proaudio/media-sound/rakarrack/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/rakarrack/Manifest	2011-04-29 08:21:10 UTC (rev 1952)
+++ trunk/overlays/proaudio/media-sound/rakarrack/Manifest	2011-04-30 07:14:07 UTC (rev 1953)
@@ -1,3 +1,4 @@
+AUX rakarrack-0.5.8_configure.patch 553 RMD160 f5aea975b8cbe165a7cb89d233f4ee891c81817e SHA1 0cf10deab9812838f5aa4446873793454fa1575f SHA256 6e10039db3be6c301bd30f28262dde6295bf1458f51c2b11dfd81181f0966dc3
 DIST rakarrack-0.1.2.tar.gz 670397 RMD160 0ba977f6b8489c4b3d326cbe5cd17fd40a56f100 SHA1 b5b3ea2af95b795b5bb38e0ee185897566abe132 SHA256 571006b5674b50b6f7512b8f981f228785597b77735620846c84962efe12904f
 DIST rakarrack-0.3.0.tar.gz 783197 RMD160 1b20ea23726c07c03d5708eb96878cce43d48cdf SHA1 b91173a6d3b55be20e08deec29b46ae94bcafc9b SHA256 05195a164e9724d5837eac81f5cd27b6268a4fad7bbe41bd497c1404d4cddd5c
 DIST rakarrack-0.5.8_Equinox.tar.bz2 2180616 RMD160 fa2919f1566de4188ceca5421db41dd7b131a70f SHA1 618b9ac9671e6d328e92a579038f414bcdac7357 SHA256 98dc1b4ee1d83fbefe4e6e59ad5c201c8e6d000853a2b452a29a1c3453ea07de
@@ -3,6 +4,6 @@
 EBUILD rakarrack-0.1.2.ebuild 618 RMD160 6efa4365384828f0131e30fade9ff42281fb2cc4 SHA1 7516234e837a18e163e08e128694a963c7bdf772 SHA256 c3bc60bcf73d3e52187c269886b10d61cbc051ccdb0db25cb071c9d47d7056d6
 EBUILD rakarrack-0.3.0.ebuild 626 RMD160 e4862d18befecef5ea25df711354e2c7b64cd6ba SHA1 2b0151ccbc5d0fee3af522274594b112cf032546 SHA256 914fc432a40f110940ab9810e88ecbc2b430694a232f7d369d27a25442ed3301
-EBUILD rakarrack-0.5.8.ebuild 836 RMD160 162365b5b4174c31d0129f3949554c508383171b SHA1 105126d13f1173a7a145e186e88bd9efb078a90b SHA256 d4d84db2deb898b0fcea6f0d13c5535be0c372474d284ad19c2460c64f569370
-EBUILD rakarrack-9999.ebuild 862 RMD160 b8afe2063bbd0b7f4cbb0d0438d04d6b0833577f SHA1 5e8c9ce3e0ff94f8cd9e444d05f84b27cb480d81 SHA256 b3cf2b4effb17a3ba56db9224f9032502b7461f42ae4f335b198586e5627a047
-MISC ChangeLog 772 RMD160 5a8201e0522857b88ce562440dbe41c1e8de246c SHA1 003b6b8e26ce2078fff1bb12e120a031398d3654 SHA256 ae29e3609004ca17950d0ab2650ff3eebe50c419c9d984fdfe6a2865d4ea8be5
+EBUILD rakarrack-0.5.8.ebuild 936 RMD160 59596d41c49a8ea0215c332a94b0fc51562eae4a SHA1 eb4cd05efc157c01e2b73b615e37a359bda11d33 SHA256 c69ee51fc392f11c313382519919fe9cd62e7fd60d565367be5f331cc2a46b32
+EBUILD rakarrack-9999.ebuild 950 RMD160 1d89059d0a40143d3aa91825485a1ea750330727 SHA1 b8d93560db6962eb455bea55c0ec2e88f2bc1443 SHA256 5bee6990317bf041d68761769e19a2c9481f71ef5795a7835d210dc28de4123c
+MISC ChangeLog 1073 RMD160 bdf63bb976df71eff3129f4d528372262fe1d2f1 SHA1 9aa643f6e06c19722f0504760bbd255e9695986f SHA256 a91048e101a47c68aae8d36e1660d52ed3202f5f5cd134f5c7cebe140b2b8d73
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/rakarrack/files/rakarrack-0.5.8_configure.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/rakarrack/files/rakarrack-0.5.8_configure.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/rakarrack/files/rakarrack-0.5.8_configure.patch	2011-04-30 07:14:07 UTC (rev 1953)
@@ -0,0 +1,19 @@
+*** configure	2010-06-11 00:14:49.000000000 +0200
+--- configure.mod	2011-04-30 08:26:39.000000000 +0200
+***************
+*** 5434,5440 ****
+  if ac_fn_c_try_link "$LINENO"; then :
+    ac_cv_lib_fltk_main=yes
+  else
+!   ac_cv_lib_fltk_main=no
+  fi
+  rm -f core conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext
+--- 5434,5440 ----
+  if ac_fn_c_try_link "$LINENO"; then :
+    ac_cv_lib_fltk_main=yes
+  else
+!   ac_cv_lib_fltk_main=yes
+  fi
+  rm -f core conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext

Modified: trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-0.5.8.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-0.5.8.ebuild	2011-04-29 08:21:10 UTC (rev 1952)
+++ trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-0.5.8.ebuild	2011-04-30 07:14:07 UTC (rev 1953)
@@ -4,7 +4,7 @@
 
 EAPI="2"
 
-inherit base autotools flag-o-matic
+inherit base autotools flag-o-matic eutils
 
 MY_P="${P}_Equinox"
 
@@ -31,8 +31,12 @@
 
 #DOCS="AUTHORS ChangeLog NEWS README TODO"
 
-src_configure() {
-	append-ldflags -L/usr/lib/fltk-1.1
-	"${S}/configure"
+src_prepare() {
+	epatch "${FILESDIR}/${P}_configure.patch" || die "conf patch failed"
 }
 
+#src_configure() {
+#	append-ldflags -L/usr/lib/fltk-1.1
+#	"${S}/configure"
+#}
+

Modified: trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-9999.ebuild	2011-04-29 08:21:10 UTC (rev 1952)
+++ trunk/overlays/proaudio/media-sound/rakarrack/rakarrack-9999.ebuild	2011-04-30 07:14:07 UTC (rev 1953)
@@ -4,7 +4,7 @@
 
 EAPI="2"
 
-inherit base autotools git flag-o-matic
+inherit base autotools git flag-o-matic eutils
 
 #MY_P="${P}_Equinox"
 
@@ -33,10 +33,11 @@
 
 src_prepare() {
 	"${S}/autogen.sh"
+	epatch "${FILESDIR}/${PN}-0.5.8_configure.patch" || die "conf patch failed"
 }
 
-src_configure() {
-	append-ldflags -L/usr/lib/fltk-1.1
-	"${S}/configure"
-}
+#src_configure() {
+#	append-ldflags -L/usr/lib/fltk-1.1
+#	"${S}/configure"
+#}
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/