summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2010-01-22 14:25:11 +0000
committerBen de Groot <yngwin@gentoo.org>2010-01-22 14:25:11 +0000
commit86599374dfcb7218c0a1cd8fedf92fe101abfec5 (patch)
tree269769afeff178290189f38eed2c4b8d3e4ec461 /www-plugins/gecko-mediaplayer
parentAdd some elog instructions messages (diff)
downloadhistorical-86599374dfcb7218c0a1cd8fedf92fe101abfec5.tar.gz
historical-86599374dfcb7218c0a1cd8fedf92fe101abfec5.tar.bz2
historical-86599374dfcb7218c0a1cd8fedf92fe101abfec5.zip
Add xulrunner detection patch to prevent breakage when seamonkey-1 is installed. Thanks to Anarchy and ssuominen.
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'www-plugins/gecko-mediaplayer')
-rw-r--r--www-plugins/gecko-mediaplayer/ChangeLog8
-rw-r--r--www-plugins/gecko-mediaplayer/Manifest5
-rw-r--r--www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8_p347-xulrunner-detection.patch46
-rw-r--r--www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild10
4 files changed, 64 insertions, 5 deletions
diff --git a/www-plugins/gecko-mediaplayer/ChangeLog b/www-plugins/gecko-mediaplayer/ChangeLog
index a2ccba529547..e488da743224 100644
--- a/www-plugins/gecko-mediaplayer/ChangeLog
+++ b/www-plugins/gecko-mediaplayer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-plugins/gecko-mediaplayer
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/ChangeLog,v 1.26 2010/01/22 14:01:39 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/ChangeLog,v 1.27 2010/01/22 14:25:11 yngwin Exp $
+
+ 22 Jan 2010; Ben de Groot <yngwin@gentoo.org>
+ gecko-mediaplayer-0.9.8_p347.ebuild,
+ +files/gecko-mediaplayer-0.9.8_p347-xulrunner-detection.patch:
+ Add xulrunner detection patch to prevent breakage when seamonkey-1 is
+ installed. Thanks to Anarchy and ssuominen.
22 Jan 2010; Ben de Groot <yngwin@gentoo.org>
gecko-mediaplayer-0.9.8_p347.ebuild:
diff --git a/www-plugins/gecko-mediaplayer/Manifest b/www-plugins/gecko-mediaplayer/Manifest
index 66b1984388a5..8e641c18f68b 100644
--- a/www-plugins/gecko-mediaplayer/Manifest
+++ b/www-plugins/gecko-mediaplayer/Manifest
@@ -1,10 +1,11 @@
AUX gecko-mediaplayer-0.9.6-xul.patch 687 RMD160 f31e072487afa241cd35d9649b5284c7ead24167 SHA1 25ce0ce8b1b1f33c4dc5ba5be8118b120c53553f SHA256 a618947606fd92efa779d6939146c2e5b6b49541c1f6520f1d34a4a2ca40f856
AUX gecko-mediaplayer-0.9.8-asneeded.patch 3787 RMD160 afcfb3d75fdfadab10903b622d386921651096a9 SHA1 a8f0dcbe369c2bfbbf0d3ebfcdf01d2f6d18aada SHA256 0ac9d19b1e44195b19a3c0afde58bf3b150b65b07d1f9055655c9d2bb6df4ea1
+AUX gecko-mediaplayer-0.9.8_p347-xulrunner-detection.patch 1836 RMD160 8de663362775dc62540840e24ae636fd84f5b045 SHA1 3b36bce7877996379b1ada74aab457699004ea47 SHA256 b81ae81f2e03cd5c38b87a7133f4dd02e8bb13781aca8e7ef8502f8dbbb56cf3
DIST gecko-mediaplayer-0.9.6.tar.gz 389598 RMD160 d50463aeec54ac25404b915f7e659e41b2070e5c SHA1 8de13d93a92729ad9ea2e9e0ccaa1f019c7a44ac SHA256 27fba7e5c1ff53d7b88742a40e85d045a25b9da05b6e3d77fd9de4b4c39687a0
DIST gecko-mediaplayer-0.9.8.tar.gz 257788 RMD160 46ae679d112f7853b58268de7d6e5a4444a4797d SHA1 a1f90176c0447374ac6518f1eb23984bc2a88ae3 SHA256 a51ebf00021b1d5d43837edebd0fb28d8f6d2626111c4c391e8b0f6515004aa1
DIST gecko-mediaplayer-r347.tar.bz2 207434 RMD160 75b1ca46b2170aca7ec1a9b5177f37ed0a538ec0 SHA1 c556ffb11dcd893e63e7fa7ccd963b51e14e6c46 SHA256 46155b01f8c1af03db93dd85464f01562d5231d21fd4082b6b8f2451cd78de41
EBUILD gecko-mediaplayer-0.9.6.ebuild 1341 RMD160 440b0015de715bf32ecad0b0408834f0bde06109 SHA1 77df1397664c6ce9fbd71abc700f2813ef87ced1 SHA256 2043db79bbeb558b3b716743493c0a7674f9dac853db609a41a63db5de24042f
EBUILD gecko-mediaplayer-0.9.8.ebuild 1573 RMD160 0b6f2bc227f7ce8668b8b2e8bf6aded2a92c83a8 SHA1 a6d51fb17f5f845e35be4f60002565a71a9f697a SHA256 036a0537f500f86afb7489eb9551810c961364ec1322ba1e8e4c00a7b1f59857
-EBUILD gecko-mediaplayer-0.9.8_p347.ebuild 1441 RMD160 21852e53bff0b9afeb0066981ac587084b3ccee1 SHA1 5e21f622bf17ad6dd008c136086671d4abf333f4 SHA256 f1fd28097ab5483d99190fccf5c854966b14e9e6121bd8b25b77b034633449cc
-MISC ChangeLog 5736 RMD160 75107addf24d4200f2d8b45fc1472b6c136c3f4c SHA1 0dc5ec96a7ccf6c78c014d06301e0318801be2b6 SHA256 a82765bdf4aedc461f1030b0af1b108b6211b6a6c3919b0eb67ce0cfbacd6ba3
+EBUILD gecko-mediaplayer-0.9.8_p347.ebuild 1556 RMD160 0b862c5f11f35c6701a8e39bb7e3cb41c3a0ac63 SHA1 8b8a7583a77d9676342dbbea3c9105ced499183f SHA256 719c5aa052f479db5efead720dbdffc13f58b0e96d61153dde79829f17c823d2
+MISC ChangeLog 6007 RMD160 7673533514d9fc57e55773a0d0519dc0d19ad5ce SHA1 97c810f2f8f443681193b84748b8c0c99d5734f2 SHA256 52203b88790bdc8fa2622b4ee6ece0147f3de8cb4c18b7fb39eb1507ac0af16c
MISC metadata.xml 228 RMD160 3071d739d8e15041d594882afdfc434453568466 SHA1 06e3ee83b7a5a910d2d63ea77afb2e5a292606f6 SHA256 060670a1a67923937e4bf55598ae59368d5e716b0b618dedaf12b15f45e8e234
diff --git a/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8_p347-xulrunner-detection.patch b/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8_p347-xulrunner-detection.patch
new file mode 100644
index 000000000000..96b881e9a67a
--- /dev/null
+++ b/www-plugins/gecko-mediaplayer/files/gecko-mediaplayer-0.9.8_p347-xulrunner-detection.patch
@@ -0,0 +1,46 @@
+--- gecko-mediaplayer-r347/configure.in-orig 2010-01-22 08:08:06.672212390 -0600
++++ gecko-mediaplayer-r347/configure.in 2010-01-22 08:09:11.427185920 -0600
+@@ -40,6 +40,21 @@
+ ],
+ [])
+
++
++if test "$GECKO_CFLAGS" = ""; then
++PKG_CHECK_MODULES(GECKO, [libxul < 1.9.2],[ AC_MSG_NOTICE([libxul < 1.9.2 found])
++ ],[AC_MSG_WARN([libxul < 1.9.2 not found, trying another])])
++fi
++if test "$GECKO_CFLAGS" = ""; then
++PKG_CHECK_MODULES(GECKO, [libxul >= 1.9.2],[ AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 1.9.2 or higher]) AC_MSG_NOTICE([libxul >= 1.9.2 found])
++ ],[AC_MSG_NOTICE([libxul >= 1.9.2 not found, trying another])])
++fi
++
++if test "$GECKO_CFLAGS" = ""; then
++PKG_CHECK_MODULES(GECKO, [libxul-unstable],[
++ ],[AC_MSG_WARN([libxul-unstable not found, trying another])])
++fi
++
+ if test "$GECKO_CFLAGS" = ""; then
+ PKG_CHECK_MODULES(GECKO, [mozilla-plugin mozilla-xpcom],[
+ ],[AC_MSG_WARN([mozilla-plugin not found, trying another])])
+@@ -61,21 +76,6 @@
+ fi
+
+ if test "$GECKO_CFLAGS" = ""; then
+-PKG_CHECK_MODULES(GECKO, [libxul < 1.9.2],[ AC_MSG_NOTICE([libxul < 1.9.2 found])
+- ],[AC_MSG_WARN([libxul < 1.9.2 not found, trying another])])
+-fi
+-if test "$GECKO_CFLAGS" = ""; then
+-PKG_CHECK_MODULES(GECKO, [libxul >= 1.9.2],[ AC_DEFINE([HAVE_NEW_XULRUNNER],[1],[Define to 1 if using libxul 1.9.2 or higher]) AC_MSG_NOTICE([libxul >= 1.9.2 found])
+- ],[AC_MSG_NOTICE([libxul >= 1.9.2 not found, trying another])])
+-fi
+-
+-if test "$GECKO_CFLAGS" = ""; then
+-PKG_CHECK_MODULES(GECKO, [libxul-unstable],[
+- ],[AC_MSG_WARN([libxul-unstable not found, trying another])])
+-fi
+-
+-
+-if test "$GECKO_CFLAGS" = ""; then
+ PKG_CHECK_MODULES(GECKO, [iceape-plugin iceape-xpcom],[
+ ],[AC_MSG_WARN([iceape-plugin not found, trying another])])
+ fi \ No newline at end of file
diff --git a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild
index 2033a04ee1d2..9f0c6bc265f8 100644
--- a/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild
+++ b/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild,v 1.2 2010/01/22 14:01:39 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-plugins/gecko-mediaplayer/gecko-mediaplayer-0.9.8_p347.ebuild,v 1.3 2010/01/22 14:25:11 yngwin Exp $
EAPI=2
GCONF_DEBUG=no
-inherit eutils flag-o-matic gnome2 multilib
+inherit autotools eutils flag-o-matic gnome2 multilib
MY_P=${PN}-r${PV##*p}
@@ -37,6 +37,12 @@ pkg_setup() {
DOCS="ChangeLog DOCS/tech/javascript.txt"
}
+src_prepare() {
+ gnome2_src_prepare
+ epatch "${FILESDIR}"/${P}-xulrunner-detection.patch
+ eautoreconf
+}
+
src_configure() {
gnome2_src_configure
}