delete old packages
This commit is contained in:
@@ -1,62 +0,0 @@
|
||||
# ChangeLog for dev-python/flup
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flup/ChangeLog,v 1.15 2010/04/15 10:04:27 the_paya Exp $
|
||||
|
||||
19 Nov 2011; Mario Fetka <mario.fetka@gmail.com> metadata.xml:
|
||||
Testing on arm
|
||||
|
||||
27 Jul 2010; Mario Fetka <mario.fetka@gmail.com> flup-1.0.2.ebuild:
|
||||
add arm keyword
|
||||
|
||||
15 Apr 2010; Javier Villavicencio <the_paya@gentoo.org> flup-1.0.2.ebuild:
|
||||
Added ~x86-fbsd keyword.
|
||||
|
||||
12 Jan 2010; nixnut <nixnut@gentoo.org> flup-1.0.2.ebuild:
|
||||
ppc stable #298902
|
||||
|
||||
05 Jan 2010; <hwoarang@gentoo.org> flup-1.0.2.ebuild:
|
||||
Stable on amd64 wrt bug #298902
|
||||
|
||||
03 Jan 2010; Christian Faulhammer <fauli@gentoo.org> flup-1.0.2.ebuild:
|
||||
stable x86, bug 298902
|
||||
|
||||
26 Dec 2009; Raúl Porcel <armin76@gentoo.org> flup-1.0.2.ebuild:
|
||||
Add ~sparc wrt #295088
|
||||
|
||||
10 Oct 2009; Fabian Groffen <grobian@gentoo.org> flup-1.0.2.ebuild:
|
||||
Merge from Prefix
|
||||
|
||||
08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
flup-1.0.2.ebuild:
|
||||
Set SUPPORT_PYTHON_ABIS.
|
||||
|
||||
*flup-1.0.2 (07 Sep 2009)
|
||||
|
||||
07 Sep 2009; Patrick Lauer <patrick@gentoo.org> +flup-1.0.2.ebuild:
|
||||
Bump
|
||||
|
||||
*flup-1.0.1 (07 Dec 2008)
|
||||
|
||||
07 Dec 2008; Patrick Lauer <patrick@gentoo.org> +flup-1.0.1.ebuild:
|
||||
Bumping to 1.0.1, closing #246548
|
||||
|
||||
*flup-1.0 (25 Oct 2007)
|
||||
|
||||
25 Oct 2007; Tiziano Müller <dev-zero@gentoo.org> +flup-1.0.ebuild:
|
||||
Version bump
|
||||
|
||||
26 Jul 2007; Markus Rothe <corsair@gentoo.org> flup-0.5_p2307.ebuild:
|
||||
Added ~ppc64; bug #186188
|
||||
|
||||
09 Apr 2007; Matti Bickel <mabi@gentoo.org> flup-0.5_p2307.ebuild:
|
||||
~ppc added (bug #100784)
|
||||
|
||||
27 Mar 2007; Raúl Porcel <armin76@gentoo.org> flup-0.5_p2307.ebuild:
|
||||
Add ~ia64 wrt bug 100784
|
||||
|
||||
*flup-0.5_p2307 (13 Jan 2007)
|
||||
|
||||
13 Jan 2007; Tiziano Müller <dev-zero@gentoo.org> +metadata.xml,
|
||||
+flup-0.5_p2307.ebuild:
|
||||
New ebuild for bug #100784.
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
DIST flup-1.0.2.tar.gz 49051 RMD160 d50e2dc85c767449f17af1eff2c31cba1fec0597 SHA1 29cec06ee28f44b8d6713f4da3d5b793eba6cf21 SHA256 4bad317a5fc1ce3d4fe5e9b6d846ec38a8023e16876785d4f88102f2c8097dd9
|
||||
EBUILD flup-1.0.2.ebuild 662 RMD160 f98128477e4458ffa318fa02be2dfb4e526a8278 SHA1 cbd32cae9b246177dbd59c84a4e0ad653e525948 SHA256 1ed90a190f142ded51b822287b2179a7aeb9e62707f802cdbf499c8ab53c13cc
|
||||
MISC ChangeLog 1870 RMD160 442161e3e15d5ff2d6bf07901bb4a47d273b38de SHA1 0f1b19499c981450681d4109c9f6eef02d0a872e SHA256 aaf84684b19e175c3a21abaca0b817a01d0fbedc45a14700cb0074b716f11da5
|
||||
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
|
||||
@@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/flup/flup-1.0.2.ebuild,v 1.9 2010/04/15 10:04:27 the_paya Exp $
|
||||
|
||||
EAPI="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Random assortment of WSGI servers"
|
||||
HOMEPAGE="http://trac.saddi.com/flup http://pypi.python.org/pypi/flup"
|
||||
SRC_URI="http://www.saddi.com/software/${PN}/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
||||
@@ -1,118 +0,0 @@
|
||||
# ChangeLog for dev-python/genshi
|
||||
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/ChangeLog,v 1.20 2009/10/25 15:59:31 arfrever Exp $
|
||||
|
||||
19 Nov 2011; Mario Fetka <mario.fetka@gmail.com> genshi-0.6.ebuild:
|
||||
testing on arm
|
||||
|
||||
31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
ad armk keyword
|
||||
|
||||
31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> -genshi-0.6_pre1.ebuild:
|
||||
remove devel ebuild
|
||||
|
||||
27 Jul 2010; Mario Fetka <mario.fetka@gmail.com> +genshi-0.6.ebuild:
|
||||
Bump
|
||||
|
||||
26 Feb 2010; Mario Fetka <mario.fetka@gmail.com> ChangeLog:
|
||||
add arm keyword
|
||||
|
||||
18 Feb 2010; Mario Fetka <mario.fetka@gmail.com> genshi-0.6_pre1.ebuild:
|
||||
add arm keyword
|
||||
|
||||
25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
genshi-0.5.1.ebuild:
|
||||
Set SUPPORT_PYTHON_ABIS.
|
||||
|
||||
10 Oct 2009; Fabian Groffen <grobian@gentoo.org> genshi-0.5.1.ebuild:
|
||||
Merge from Prefix
|
||||
|
||||
22 Jul 2009; Jesus Rivero <neurogeek@gentoo.org> genshi-0.5.1.ebuild:
|
||||
Readded dev-python/setuptools to RDEPEND.
|
||||
|
||||
22 Jul 2009; Jesus Rivero <neurogeek@gentoo.org> genshi-0.5.1.ebuild,
|
||||
+files/genshi-0.5.1_test_fix.patch:
|
||||
Fixed tests. Closes bug #276299
|
||||
|
||||
16 Nov 2008; Markus Meier <maekke@gentoo.org> genshi-0.5.1.ebuild:
|
||||
amd64/x86 stable, bug #246130
|
||||
|
||||
15 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org> genshi-0.5.1.ebuild:
|
||||
ppc stable, bug #246130
|
||||
|
||||
25 Jul 2008; Friedrich Oslage <bluebird@gentoo.org> genshi-0.5.1.ebuild:
|
||||
Add ~sparc keyword, bug #232008
|
||||
|
||||
17 Jul 2008; Markus Rothe <corsair@gentoo.org> genshi-0.5.1.ebuild:
|
||||
Added ~ppc64; bug #232008
|
||||
|
||||
*genshi-0.5.1 (13 Jul 2008)
|
||||
|
||||
13 Jul 2008; Rob Cakebread <pythonhead@gentoo.org> -genshi-0.4.4.ebuild,
|
||||
-genshi-0.5.ebuild, +genshi-0.5.1.ebuild:
|
||||
Version bump, removed older. Closes bug #231501
|
||||
|
||||
*genshi-0.5 (23 Jun 2008)
|
||||
|
||||
23 Jun 2008; Rob Cakebread <pythonhead@gentoo.org> genshi-0.4.4.ebuild,
|
||||
+genshi-0.5.ebuild:
|
||||
Version bump, added RDEPEND back because pkg_resources is imported. Closes
|
||||
#225889
|
||||
|
||||
22 Apr 2008; Luca Longinotti <chtekk@gentoo.org> genshi-0.4.4.ebuild:
|
||||
Empty RDEPEND.
|
||||
|
||||
22 Apr 2008; Luca Longinotti <chtekk@gentoo.org> genshi-0.4.4.ebuild:
|
||||
setuptools is not needed as RDEPEND, thanks to gentoofan23 and ciaranm for
|
||||
the info.
|
||||
|
||||
22 Apr 2008; Luca Longinotti <chtekk@gentoo.org> metadata.xml,
|
||||
-genshi-0.4.3.ebuild, genshi-0.4.4.ebuild:
|
||||
Cleanup ebuild, drop old version.
|
||||
|
||||
*genshi-0.4.4 (29 Oct 2007)
|
||||
|
||||
29 Oct 2007; Markus Ullmann <jokey@gentoo.org> +genshi-0.4.4.ebuild:
|
||||
Version bump, just minor upstream fixes
|
||||
|
||||
*genshi-0.4.3 (21 Jul 2007)
|
||||
|
||||
21 Jul 2007; Lukasz Strzygowski <lucass@gentoo.org>
|
||||
-genshi-0.4.2-r1.ebuild, +genshi-0.4.3.ebuild:
|
||||
Version bump. Dropped old version.
|
||||
|
||||
*genshi-0.4.2-r1 (04 Jul 2007)
|
||||
|
||||
04 Jul 2007; Rob Cakebread <pythonhead@gentoo.org> -genshi-0.4.2.ebuild,
|
||||
+genshi-0.4.2-r1.ebuild:
|
||||
Removed setuptools-related sed. bug #183977 Thanks for the report Gergan
|
||||
Penkov <gpp666_999@yahoo.de>
|
||||
|
||||
*genshi-0.4.2 (21 Jun 2007)
|
||||
|
||||
21 Jun 2007; Lukasz Strzygowski <lucass@gentoo.org> -genshi-0.4.ebuild,
|
||||
-genshi-0.4.1.ebuild, +genshi-0.4.2.ebuild:
|
||||
Version bump: cleanup, added doc use-flag. Dropped old versions.
|
||||
|
||||
*genshi-0.4.1 (22 May 2007)
|
||||
|
||||
22 May 2007; Rob Cakebread <pythonhead@gentoo.org> -genshi-0.3.6.ebuild,
|
||||
genshi-0.4.ebuild, +genshi-0.4.1.ebuild:
|
||||
Change setuptools to RDEPEND because its used for the plugin system at
|
||||
runtime. Version bump, dropped old version.
|
||||
|
||||
*genshi-0.4 (18 Apr 2007)
|
||||
|
||||
18 Apr 2007; Rob Cakebread <pythonhead@gentoo.org> +genshi-0.4.ebuild:
|
||||
Version bump. Added postinst about upgrading from 0.3.n
|
||||
|
||||
05 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> genshi-0.3.6.ebuild:
|
||||
Added ~amd64 keyword
|
||||
|
||||
03 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> genshi-0.3.6.ebuild:
|
||||
Added NEED_PYTHON=2.3
|
||||
|
||||
03 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> genshi-0.3.6.ebuild,
|
||||
+metadata.xml:
|
||||
New ebuild for bug #159441 (thanks to Brad Walker)
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
AUX genshi-0.5.1_test_fix.patch 518 RMD160 5251d00a472620a3ed092a9cda543f9bedd23fcb SHA1 7e58aa391e58a511a41444a1c3959e442556c4bd SHA256 13723a9d30cc0dcd892b35a1a11df10eb7e4209425afe2e5148c1ea0d59c3a05
|
||||
DIST Genshi-0.6.tar.gz 433946 RMD160 bca068da7956f03358d2f46cb4616e06506b8ae9 SHA1 8b4d5d43dc614bc83de49c5be1c3b8a3908a8062 SHA256 32aaf76a03f88efa04143bf80700399e6d84eead818fdd19d763fd76af972a4b
|
||||
EBUILD genshi-0.6.ebuild 970 RMD160 a1516379a5be061a13dd2f091895c2ea980f6470 SHA1 62fba239f20f471ff37d2dc2aa09984fa6ff3596 SHA256 9077ce2b3c81c3047b2724d1e7185236599ebd76eec70aa1300c3eefc5f2fa9a
|
||||
MISC ChangeLog 3974 RMD160 56fbe72941451f7bec93e247863c39dacc215bf3 SHA1 ef9fc6c8fdfd00c732edd3329d6fc174daa9ffe4 SHA256 18dde8e27ff75eff87b689e50234092b8a6ca547cad85bfeef2dbd0546510d7d
|
||||
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
|
||||
@@ -1,16 +0,0 @@
|
||||
Added by: neurogeek@gentoo.org
|
||||
Reported to upstream: 21-Jul-2009
|
||||
Upstream ticket: http://genshi.edgewall.org/ticket/324
|
||||
|
||||
diff -uNr Genshi-0.5.1.orig/genshi/template/eval.py Genshi-0.5.1/genshi/template/eval.py
|
||||
--- Genshi-0.5.1.orig/genshi/template/eval.py 2009-07-21 23:56:48.000000000 +0000
|
||||
+++ Genshi-0.5.1/genshi/template/eval.py 2009-07-21 23:56:59.000000000 +0000
|
||||
@@ -229,8 +229,6 @@
|
||||
>>> foo = Undefined('foo')
|
||||
>>> bool(foo)
|
||||
False
|
||||
- >>> list(foo)
|
||||
- []
|
||||
>>> print foo
|
||||
undefined
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.6.ebuild,v 1.5 2010/06/11 18:42:32 phajdan.jr Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit eutils distutils
|
||||
|
||||
MY_P="Genshi-${PV}"
|
||||
|
||||
DESCRIPTION="Python toolkit for stream-based generation of output for the web."
|
||||
HOMEPAGE="http://genshi.edgewall.org/ http://pypi.python.org/pypi/Genshi"
|
||||
SRC_URI="ftp://ftp.edgewall.com/pub/genshi/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dodoc doc/*.txt
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
||||
@@ -1,134 +0,0 @@
|
||||
# ChangeLog for dev-python/gtkmozembed-python
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/ChangeLog,v 1.28 2010/08/01 10:35:44 fauli Exp $
|
||||
|
||||
01 Aug 2010; Christian Faulhammer <fauli@gentoo.org>
|
||||
gtkmozembed-python-2.25.3.ebuild:
|
||||
x86 stable, bug 324077
|
||||
|
||||
31 Jul 2010; Pacho Ramos <pacho@gentoo.org>
|
||||
gtkmozembed-python-2.25.3.ebuild:
|
||||
amd64 stable, bug 324077
|
||||
|
||||
16 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r12.ebuild:
|
||||
ppc64 stable wrt #305287
|
||||
|
||||
11 Jul 2010; Pacho Ramos <pacho@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Drop hppa keyword per bug #324511.
|
||||
|
||||
*gtkmozembed-python-2.25.3 (14 Jun 2010)
|
||||
|
||||
14 Jun 2010; Pacho Ramos <pacho@gentoo.org>
|
||||
+gtkmozembed-python-2.25.3.ebuild,
|
||||
+files/gtkmozembed-python-2.25.3-xulrunner19.patch:
|
||||
Version bump with lots of bugfixes over current stable.
|
||||
|
||||
02 Jun 2010; Gilles Dartiguelongue <eva@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild,
|
||||
gtkmozembed-python-2.19.1-r12.ebuild:
|
||||
Update to use EAPI=2 due to eclass changes.
|
||||
|
||||
11 Apr 2010; <nixnut@gentoo.org> gtkmozembed-python-2.19.1-r12.ebuild:
|
||||
ppc stable #305287
|
||||
|
||||
22 Mar 2010; Pacho Ramos <pacho@gentoo.org>
|
||||
-gtkmozembed-python-2.19.1.ebuild:
|
||||
Remove old gtkmozembed-python since it's no longer required by any package
|
||||
on ~x86-fbsd, this also solves bug 300439
|
||||
|
||||
07 Mar 2010; Raúl Porcel <armin76@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r12.ebuild:
|
||||
alpha/ia64/sparc stable wrt #305287
|
||||
|
||||
07 Mar 2010; Pacho Ramos <pacho@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r12.ebuild:
|
||||
amd64 stable, bug 305287
|
||||
|
||||
24 Feb 2010; Christian Faulhammer <fauli@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r12.ebuild:
|
||||
stable x86, bug 305287
|
||||
|
||||
26 Dec 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
sparc stable wrt #258040
|
||||
|
||||
*gtkmozembed-python-2.19.1-r12 (24 Dec 2009)
|
||||
|
||||
24 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
|
||||
+gtkmozembed-python-2.19.1-r12.ebuild,
|
||||
+files/gtkmozembed-python-2.19.1-include-nspr.patch:
|
||||
Add nspr includes, fixes bug 296924
|
||||
|
||||
25 Aug 2009; Alexis Ballier <aballier@gentoo.org>
|
||||
gtkmozembed-python-2.19.1.ebuild:
|
||||
keyword ~x86-fbsd
|
||||
|
||||
24 Aug 2009; Gilles Dartiguelongue <eva@gentoo.org>
|
||||
gtkmozembed-python-2.19.1.ebuild, -gtkmozembed-python-2.19.1-r10.ebuild:
|
||||
Clean up old revisions per bug #282294.
|
||||
|
||||
10 Apr 2009; Friedrich Oslage <bluebird@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Re-add ~sparc keyword, bug #253541
|
||||
|
||||
23 Mar 2009; Jeroen Roovers <jer@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Stable for HPPA (bug #258040).
|
||||
|
||||
17 Mar 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
ia64/sparc stable wrt #258040
|
||||
|
||||
08 Mar 2009; Markus Meier <maekke@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
amd64/x86 stable, bug #258040
|
||||
|
||||
05 Mar 2009; Brent Baude <ranger@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Marking gtkmozembed-python-2.19.1-r11 ppc stable for bug 258040
|
||||
|
||||
03 Mar 2009; Brent Baude <ranger@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Marking gtkmozembed-python-2.19.1-r11 ppc64 stable for bug 258040
|
||||
|
||||
14 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Stable on alpha, bug #258040
|
||||
|
||||
06 Jan 2009; Jesus Rivero <neurogeek@gentoo.org>
|
||||
gtkmozembed-python-2.19.1.ebuild, gtkmozembed-python-2.19.1-r10.ebuild,
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Updated DESCRIPTION var
|
||||
|
||||
04 Jan 2009; Raúl Porcel <armin76@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r10.ebuild,
|
||||
gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Mark -sparc the revisions that use xulrunner-1.9, bug #253541
|
||||
|
||||
*gtkmozembed-python-2.19.1-r11 (14 Dec 2008)
|
||||
|
||||
14 Dec 2008; Gilles Dartiguelongue <eva@gentoo.org>
|
||||
+files/gtkmozembed-python-2.19.1-libtool2.patch,
|
||||
+files/gtkmozembed-python-2.19.1-xulrunner19.patch,
|
||||
+gtkmozembed-python-2.19.1-r11.ebuild:
|
||||
Actually build and install against xulrunner 1.9, close bug #249470.
|
||||
|
||||
19 Nov 2008; Daniel Gryniewicz <dang@gentoo.org>
|
||||
gtkmozembed-python-2.19.1-r10.ebuild:
|
||||
Fix configure option that I borked
|
||||
|
||||
*gtkmozembed-python-2.19.1-r10 (19 Nov 2008)
|
||||
|
||||
19 Nov 2008; Daniel Gryniewicz <dang@gentoo.org>
|
||||
+gtkmozembed-python-2.19.1-r10.ebuild:
|
||||
Add a version depending on xulrunner 1.9
|
||||
|
||||
*gtkmozembed-python-2.19.1 (16 Oct 2008)
|
||||
|
||||
16 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org> +metadata.xml,
|
||||
+gtkmozembed-python-2.19.1.ebuild:
|
||||
Initial import of gnome-python-extras split ebuilds. This package installs
|
||||
bindings for the gtkmozembed library.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
AUX gtkmozembed-python-2.19.1-include-nspr.patch 1229 RMD160 0f61cc8cf238367eb9b0f9d73ba8b5a0b6ee6ba2 SHA1 198f4f15fa1f0fcff0c03cdea126299b21da1752 SHA256 faabdfefebc986ad88455ccd0b1a5e169bd5c2c88f60194ed59ee56fe30e4baa
|
||||
AUX gtkmozembed-python-2.19.1-libtool2.patch 258 RMD160 fde8da7619505c900a4e6bda65c53ed513ede654 SHA1 4572d47c6249fa9625ff9ed9bd1fee03ccb94f92 SHA256 4fc38245da2ce74f6c89d78230dda5aadd8dd1fc1c20756d58ffd4b448bb1259
|
||||
AUX gtkmozembed-python-2.19.1-xulrunner19.patch 7617 RMD160 abc760201ea7039f98fd6e2d45433580c314e66b SHA1 f777b30b1fbb0aece97e31f096fec3dc3f798e53 SHA256 45ce580e62b0c541adc1ff85c3359c22282a1ecaf2bb24187ce3de664ae6ad45
|
||||
AUX gtkmozembed-python-2.25.3-xulrunner19.patch 8842 RMD160 3c069ada7bd2a87fe43a4ff5974ba37cc3794d88 SHA1 8773f776b93b08cfe8a988c981c99398d4c18443 SHA256 07da62cd2e6aa3a44249df3f74cc455c4943af17683d615f7808398f6625039f
|
||||
DIST gnome-python-extras-2.25.3.tar.bz2 370489 RMD160 e09bc0152512e2caa61626a7dc788d7336f24e46 SHA1 e69e5288466c960ed6f985bb10c9969b21ed85a4 SHA256 ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c
|
||||
EBUILD gtkmozembed-python-2.25.3.ebuild 1152 RMD160 27cb7d63088c23ce7fa18577533f0e662cdef6a6 SHA1 7c263d1fe05230235006103fabd1a4bb5b789bca SHA256 48647c0ca567f3eb6e57019fcb7afbbb2c15d017b755d75bb57304ae59e41438
|
||||
MISC ChangeLog 4632 RMD160 62bbb7f6db259ead628ddef8e99da09939c9a6f9 SHA1 d95e32eb4e50dd605c2ae25abf9e32241cabc5bb SHA256 11c05dd830e681f5b6c9935b25172a3e869e38adffcdd1bdd19efe9f1c7bdea8
|
||||
MISC metadata.xml 178 RMD160 52828e1ca616ad731f2ab1ed2890d6d3a7cc8043 SHA1 a42d68a6c263ea8d8cbb678548e209aa9642a74e SHA256 aeea09173ed30175422e4f951e369e1882919be3d56e655468e5d4bffea0fc3c
|
||||
@@ -1,39 +0,0 @@
|
||||
Fix building with xulrunner-1.9.2 by including nspr CFLAGS as well
|
||||
|
||||
http://bugs.gentoo.org/296924
|
||||
|
||||
---
|
||||
--- a/gtkmozembed/Makefile.am
|
||||
+++ b/gtkmozembed/Makefile.am
|
||||
@@ -1,7 +1,7 @@
|
||||
# require automake-1.5
|
||||
AUTOMAKE_OPTIONS = 1.5
|
||||
|
||||
-INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(GTKMOZEMBED_CFLAGS)
|
||||
+INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(GTKMOZEMBED_CFLAGS) $(NSPR_CFLAGS)
|
||||
|
||||
defsdir = $(datadir)/pygtk/2.0/defs
|
||||
defs_DATA = gtkmozembed.defs
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -24,6 +24,7 @@
|
||||
m4_define(gksu_required_version, 1.2.5)
|
||||
m4_define(gksu2_required_version, 2.0.4)
|
||||
m4_define(gksuui_required_version, 1.0.3)
|
||||
+m4_define(nspr_required_version, 4.7.4)
|
||||
|
||||
AC_INIT(gnome-python-extras, gnome_python_extras_version,
|
||||
[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python])
|
||||
@@ -62,6 +63,11 @@
|
||||
AM_PATH_PYTHON(2.3)
|
||||
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
|
||||
|
||||
+dnl check for nspr
|
||||
+AC_MSG_CHECKING(for system nspr >= nspr_required_version )
|
||||
+PKG_CHECK_MODULES(NSPR, nspr >= nspr_required_version)
|
||||
+AC_SUBST(NSPR_CFLAGS)
|
||||
+
|
||||
dnl check for pygtk
|
||||
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version)
|
||||
AC_SUBST(PYGTK_CFLAGS)
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/configure.ac 2008-07-01 14:01:35.000000000 +0200
|
||||
+++ b/configure.ac 2008-07-01 14:02:08.000000000 +0200
|
||||
@@ -43,6 +43,8 @@
|
||||
|
||||
AC_DISABLE_STATIC
|
||||
AC_PROG_LIBTOOL
|
||||
+AC_PROG_CXX
|
||||
+m4_ifdef([LT_OUTPUT],[LT_OUTPUT])
|
||||
|
||||
dnl check for python
|
||||
AM_PATH_PYTHON(2.3)
|
||||
@@ -1,209 +0,0 @@
|
||||
---
|
||||
Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=532856
|
||||
Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=223265
|
||||
Ubuntu: http://patches.ubuntu.com/by-release/extracted/ubuntu/g/gnome-python-extras/2.19.1-0ubuntu13/02_xul19.dpatch
|
||||
|
||||
Ubuntu patch updated to apply on top of our "split gnome-python-extras" patch
|
||||
|
||||
diff -Nuar a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2008-12-12 17:15:44.000000000 +0100
|
||||
+++ b/configure.ac 2008-12-12 17:23:45.000000000 +0100
|
||||
@@ -19,6 +19,7 @@
|
||||
m4_define(mozilla_required_version, 1.2b)
|
||||
m4_define(firefox_required_version, 1.0)
|
||||
m4_define(xulrunner_required_version, 1.8)
|
||||
+m4_define(xulrunner19_required_version, 1.9)
|
||||
m4_define(libgda_required_version, 2.99.6)
|
||||
m4_define(gksu_required_version, 1.2.5)
|
||||
m4_define(gksu2_required_version, 2.0.4)
|
||||
@@ -186,46 +187,80 @@
|
||||
dnl should we build the gtkmozembed module?
|
||||
AC_ARG_BINDING([gtkmozembed], [ON], [gtkmozembed])
|
||||
AC_ARG_WITH(gtkmozembed, AS_HELP_STRING(
|
||||
- [--with-gtkmozembed=mozilla|firefox|xulrunner],
|
||||
+ [--with-gtkmozembed=mozilla|firefox|xulrunner|xulrunner-1.9],
|
||||
[package that provides libgtkmozembed]),
|
||||
[mozpackage=$withval], [mozpackage=any])
|
||||
|
||||
if "$build_gtkmozembed"; then
|
||||
if test $mozpackage = any ; then
|
||||
|
||||
+PKG_CHECK_MODULES(GTKMOZEMBED, [libxul-embedding >= xulrunner19_required_version
|
||||
+ gtk+-2.0 >= gtk_required_version],
|
||||
+ [build_gtkmozembed=true; mozpackage=xulrunner-1.9; mozpkgconfig=libxul-embedding],
|
||||
+ [
|
||||
PKG_CHECK_MODULES(GTKMOZEMBED, [xulrunner-gtkmozembed >= xulrunner_required_version
|
||||
gtk+-2.0 >= gtk_required_version],
|
||||
- [build_gtkmozembed=true; mozpackage=xulrunner],
|
||||
+ [build_gtkmozembed=true; mozpackage=xulrunner; mozpkgconfig=$mozpackage-gtkmozembed],
|
||||
[
|
||||
PKG_CHECK_MODULES(GTKMOZEMBED, [firefox-gtkmozembed >= firefox_required_version
|
||||
gtk+-2.0 >= gtk_required_version],
|
||||
- [build_gtkmozembed=true; mozpackage=firefox],
|
||||
+ [build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed],
|
||||
[
|
||||
PKG_CHECK_MODULES(GTKMOZEMBED, [mozilla-gtkmozembed >= mozilla_required_version
|
||||
gtk+-2.0 >= gtk_required_version],
|
||||
- [build_gtkmozembed=true; mozpackage=mozilla],
|
||||
+ [build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed],
|
||||
build_gtkmozembed=false)
|
||||
])
|
||||
])
|
||||
+ ])
|
||||
|
||||
else
|
||||
|
||||
case $mozpackage in
|
||||
- xulrunner) mozpackage_required_version=xulrunner_required_version ;;
|
||||
- firefox) mozpackage_required_version=firefox_required_version ;;
|
||||
- mozilla) mozpackage_required_version=mozilla_required_version ;;
|
||||
- *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'])
|
||||
+ xulrunner-1.9) mozpackage_required_version=xulrunner19_required_version ; mozpkgconfig=libxul-embedding ;;
|
||||
+ xulrunner) mozpackage_required_version=xulrunner_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
|
||||
+ firefox) mozpackage_required_version=firefox_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
|
||||
+ mozilla) mozpackage_required_version=mozilla_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
|
||||
+ *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', 'xulrunner-1.9' or 'xulrunner'])
|
||||
esac
|
||||
|
||||
-PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
|
||||
- gtk+-2.0 >= gtk_required_version],
|
||||
+PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpkgconfig >= $mozpackage_required_version,
|
||||
+ gtk+-2.0 >= gtk_required_version],
|
||||
build_gtkmozembed=true,
|
||||
build_gtkmozembed=false)
|
||||
|
||||
fi # if mozpackage = any
|
||||
|
||||
+if test $mozpackage = xulrunner-1.9; then
|
||||
+GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS $(pkg-config --cflags --define-variable=includetype=unstable libxul-embedding)"
|
||||
+GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS $(pkg-config --libs libxul-embedding)"
|
||||
+
|
||||
+else
|
||||
+
|
||||
MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
|
||||
AC_SUBST(MOZILLA_HOME)
|
||||
+fi
|
||||
+
|
||||
+AC_SUBST(GTKMOZEMBED_CFLAGS)
|
||||
+AC_SUBST(GTKMOZEMBED_LIBS)
|
||||
+AM_CONDITIONAL(BUILD_GTKMOZEMBED, $build_gtkmozembed)
|
||||
+
|
||||
+AC_LANG_PUSH(C++)
|
||||
+_SAVE_CPPFLAGS=$CPPFLAGS
|
||||
+_SAVE_CXXFLAGS=$CXXFLAGS
|
||||
+CXXFLAGS=$GTKMOZEMBED_CFLAGS
|
||||
+CPPFLAGS=
|
||||
+AC_COMPILE_IFELSE([AC_LANG_SOURCE(
|
||||
+[[#ifndef XPCOM_GLUE
|
||||
+#error "no xpcom glue"
|
||||
+#endif]])],
|
||||
+[have_xpcom_glue=yes], [have_xpcom_glue=yes]
|
||||
+)
|
||||
+CPPFLAGS=$_SAVE_CPPFLAGS
|
||||
+CXXFLAGS=$_SAVE_CXXFLAGS
|
||||
+AC_LANG_POP(C++)
|
||||
+
|
||||
+AM_CONDITIONAL(HAVE_XPCOM_GLUE, [test $have_xpcom_glue=yes])
|
||||
|
||||
fi # if build_gtkmozembed
|
||||
|
||||
diff -Nuar a/gtkmozembed/gtkmozembedmodule.cpp b/gtkmozembed/gtkmozembedmodule.cpp
|
||||
--- a/gtkmozembed/gtkmozembedmodule.cpp 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ b/gtkmozembed/gtkmozembedmodule.cpp 2008-12-12 17:19:32.000000000 +0100
|
||||
@@ -0,0 +1,73 @@
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include "config.h"
|
||||
+#endif
|
||||
+
|
||||
+/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
+#include <pygobject.h>
|
||||
+#include <pygtk/pygtk.h>
|
||||
+
|
||||
+#ifdef XPCOM_GLUE
|
||||
+#include "gtkmozembed_glue.cpp"
|
||||
+#endif
|
||||
+
|
||||
+G_BEGIN_DECLS
|
||||
+void initgtkmozembed(void);
|
||||
+void pygtkmozembed_add_constants(PyObject *module, const gchar *strip_prefix);
|
||||
+void pygtkmozembed_register_classes (PyObject *d);
|
||||
+G_END_DECLS
|
||||
+
|
||||
+extern PyMethodDef pygtkmozembed_functions[];
|
||||
+
|
||||
+void
|
||||
+initgtkmozembed(void)
|
||||
+{
|
||||
+ PyObject *m, *d;
|
||||
+ int argc = 0;
|
||||
+
|
||||
+ init_pygobject ();
|
||||
+
|
||||
+#ifdef XPCOM_GLUE
|
||||
+ static const GREVersionRange greVersion = {
|
||||
+ "1.9b", PR_TRUE,
|
||||
+ "1.9.*", PR_TRUE
|
||||
+ };
|
||||
+ char xpcomLocation[4096];
|
||||
+ nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, 4096);
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ printf("failed 1\n");
|
||||
+ return;
|
||||
+ } else printf("location: %s \n", xpcomLocation);
|
||||
+
|
||||
+ // Startup the XPCOM Glue that links us up with XPCOM.
|
||||
+ XPCOMGlueStartup(xpcomLocation);
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ printf("failed 2\n");
|
||||
+ return;
|
||||
+ }
|
||||
+ printf("before 3\n");
|
||||
+
|
||||
+ rv = GTKEmbedGlueStartup();
|
||||
+ if (NS_FAILED(rv)) {printf("location: %s \n", xpcomLocation);
|
||||
+ printf("failed 3\n");
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ //gtk_moz_embed_set_comp_path(xpcomLocation);
|
||||
+
|
||||
+ char *lastSlash = strrchr(xpcomLocation, '/');
|
||||
+ if (lastSlash)
|
||||
+ *lastSlash = '\0';
|
||||
+
|
||||
+ gtk_moz_embed_set_path(xpcomLocation);
|
||||
+#endif
|
||||
+
|
||||
+ m = Py_InitModule ("gtkmozembed", pygtkmozembed_functions);
|
||||
+ d = PyModule_GetDict (m);
|
||||
+
|
||||
+ pygtkmozembed_add_constants(m, "GTK_MOZ_EMBED_");
|
||||
+ pygtkmozembed_register_classes (d);
|
||||
+
|
||||
+ if (PyErr_Occurred ()) {
|
||||
+ Py_FatalError ("can't initialise module gtkmozembed");
|
||||
+ }
|
||||
+}
|
||||
diff -Nuar a/gtkmozembed/Makefile.am b/gtkmozembed/Makefile.am
|
||||
--- a/gtkmozembed/Makefile.am 2008-12-12 17:15:44.000000000 +0100
|
||||
+++ b/gtkmozembed/Makefile.am 2008-12-12 17:19:32.000000000 +0100
|
||||
@@ -13,9 +13,17 @@
|
||||
pkgpyexec_LTLIBRARIES = gtkmozembed.la
|
||||
gtkmozembed_la_LDFLAGS = -module -avoid-version \
|
||||
-export-symbols-regex initgtkmozembed \
|
||||
- -R$(MOZILLA_HOME)
|
||||
+ $(NULL)
|
||||
+
|
||||
+# only use rpath for non-glue builds
|
||||
+if HAVE_XPCOM_GLUE
|
||||
+gtkmozembed_la_LDFLAGS += $(NULL)
|
||||
+else
|
||||
+gtkmozembed_la_LDFLAGS += -R$(MOZILLA_HOME)
|
||||
+endif
|
||||
+
|
||||
gtkmozembed_la_LIBADD = $(GTKMOZEMBED_LIBS)
|
||||
-gtkmozembed_la_SOURCES = gtkmozembedmodule.c
|
||||
+gtkmozembed_la_SOURCES = gtkmozembedmodule.cpp
|
||||
nodist_gtkmozembed_la_SOURCES = gtkmozembed.c
|
||||
gtkmozembed.c: gtkmozembed.defs gtkmozembed.override
|
||||
CLEANFILES = gtkmozembed.c
|
||||
@@ -1,225 +0,0 @@
|
||||
Index: gnome-python-extras-2.25.3/configure.ac
|
||||
===================================================================
|
||||
--- gnome-python-extras-2.25.3.orig/configure.ac 2009-02-15 23:20:23.000000000 +0100
|
||||
+++ gnome-python-extras-2.25.3/configure.ac 2009-03-09 17:43:01.417674203 +0100
|
||||
@@ -19,6 +19,7 @@ m4_define(gtkhtml2_required_version,
|
||||
m4_define(mozilla_required_version, 1.2b)
|
||||
m4_define(firefox_required_version, 1.0)
|
||||
m4_define(xulrunner_required_version, 1.8)
|
||||
+m4_define(xulrunner19_required_version, 1.9)
|
||||
m4_define(libgda_required_version, 3.99.11)
|
||||
m4_define(gksu_required_version, 1.2.5)
|
||||
m4_define(gksu2_required_version, 2.0.4)
|
||||
@@ -230,65 +231,88 @@ AM_CONDITIONAL(BUILD_EGG, $build_eggrece
|
||||
dnl should we build the gtkmozembed module?
|
||||
AC_ARG_BINDING([gtkmozembed], [ON], [gtkmozembed])
|
||||
AC_ARG_WITH(gtkmozembed, AS_HELP_STRING(
|
||||
- [--with-gtkmozembed=mozilla|firefox|xulrunner],
|
||||
+ [--with-gtkmozembed=mozilla|firefox|xulrunner|xulrunner-1.9],
|
||||
[package that provides libgtkmozembed]),
|
||||
[mozpackage=$withval], [mozpackage=any])
|
||||
|
||||
if "$build_gtkmozembed"; then
|
||||
if test $mozpackage = any ; then
|
||||
|
||||
+PKG_CHECK_MODULES(GTKMOZEMBED, [libxul-embedding >= xulrunner19_required_version
|
||||
+ gtk+-2.0 >= gtk_required_version],
|
||||
+ [build_gtkmozembed=true; mozpackage=xulrunner-1.9; mozpkgconfig=libxul-embedding],
|
||||
+ [
|
||||
PKG_CHECK_MODULES(GTKMOZEMBED, [xulrunner-gtkmozembed >= xulrunner_required_version
|
||||
gtk+-2.0 >= gtk_required_version],
|
||||
- [build_gtkmozembed=true; mozpackage=xulrunner],
|
||||
+ [build_gtkmozembed=true; mozpackage=xulrunner; mozpkgconfig=$mozpackage-gtkmozembed],
|
||||
[
|
||||
PKG_CHECK_MODULES(GTKMOZEMBED, [firefox-gtkmozembed >= firefox_required_version
|
||||
gtk+-2.0 >= gtk_required_version],
|
||||
- [build_gtkmozembed=true; mozpackage=firefox],
|
||||
+ [build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed],
|
||||
[
|
||||
PKG_CHECK_MODULES(GTKMOZEMBED, [mozilla-gtkmozembed >= mozilla_required_version
|
||||
gtk+-2.0 >= gtk_required_version],
|
||||
- [build_gtkmozembed=true; mozpackage=mozilla],
|
||||
+ [build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed],
|
||||
build_gtkmozembed=false)
|
||||
])
|
||||
])
|
||||
+ ])
|
||||
|
||||
else
|
||||
|
||||
+GTKMOZEMBED_CODEGEN_DEFINES=""
|
||||
case $mozpackage in
|
||||
- xulrunner) mozpackage_required_version=xulrunner_required_version ;;
|
||||
- firefox) mozpackage_required_version=firefox_required_version ;;
|
||||
- mozilla)
|
||||
- mozpackage_required_version=mozilla_required_version
|
||||
- AC_MSG_CHECKING([for extra gtkmozembed code generation flags])
|
||||
- PKG_CHECK_MODULES(XUL19, mozilla-gtkmozembed >= 0.21 gtk+-2.0,
|
||||
- GTKMOZEMBED_CODEGEN_DEFINES="-DHAVE_XUL19",
|
||||
- GTKMOZEMBED_CODEGEN_DEFINES="")
|
||||
- AC_MSG_RESULT([$GTKMOZEMBED_CODEGEN_DEFINES])
|
||||
- ;;
|
||||
- *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'])
|
||||
+ xulrunner-1.9) mozpackage_required_version=xulrunner19_required_version ; mozpkgconfig=libxul-embedding ; GTKMOZEMBED_CODEGEN_DEFINES="-DHAVE_XUL19" ;;
|
||||
+ xulrunner) mozpackage_required_version=xulrunner_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
|
||||
+ firefox) mozpackage_required_version=firefox_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
|
||||
+ mozilla) mozpackage_required_version=mozilla_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
|
||||
+ *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', 'xulrunner-1.9' or 'xulrunner'])
|
||||
esac
|
||||
AC_SUBST(GTKMOZEMBED_CODEGEN_DEFINES)
|
||||
|
||||
-PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
|
||||
- gtk+-2.0 >= gtk_required_version],
|
||||
+PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpkgconfig >= $mozpackage_required_version,
|
||||
+ gtk+-2.0 >= gtk_required_version],
|
||||
build_gtkmozembed=true,
|
||||
build_gtkmozembed=false)
|
||||
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(BUILD_GTKMOZEMBED, $build_gtkmozembed)
|
||||
-if test -n "$export_dynamic"; then
|
||||
- GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
|
||||
-fi
|
||||
-MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
|
||||
-if test -z "$MOZILLA_HOME"; then
|
||||
- MOZILLA_HOME="`$PKG_CONFIG --variable=sdkdir $mozpackage-gtkmozembed`/lib"
|
||||
-fi
|
||||
-AC_SUBST(MOZILLA_HOME)
|
||||
+if test $mozpackage = xulrunner-1.9; then
|
||||
+ GTKMOZEMBED_CFLAGS="$(pkg-config --cflags --define-variable=includetype=unstable libxul-embedding gtk+-2.0)"
|
||||
+else
|
||||
+ MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
|
||||
+ if test -z "$MOZILLA_HOME"; then
|
||||
+ MOZILLA_HOME="`$PKG_CONFIG --variable=sdkdir $mozpackage-gtkmozembed`/lib"
|
||||
+ fi
|
||||
+ AC_SUBST(MOZILLA_HOME)
|
||||
+fi # $mozpackage = xulrunner-1.9
|
||||
|
||||
fi # if build_gtkmozembed
|
||||
|
||||
AM_CONDITIONAL(BUILD_GTKMOZEMBED, $build_gtkmozembed)
|
||||
+
|
||||
+AC_LANG_PUSH(C++)
|
||||
+_SAVE_CPPFLAGS=$CPPFLAGS
|
||||
+_SAVE_CXXFLAGS=$CXXFLAGS
|
||||
+CXXFLAGS=$GTKMOZEMBED_CFLAGS
|
||||
+CPPFLAGS=
|
||||
+AC_COMPILE_IFELSE([AC_LANG_SOURCE(
|
||||
+[[#ifndef XPCOM_GLUE
|
||||
+#error "no xpcom glue"
|
||||
+#endif]])],
|
||||
+[have_xpcom_glue=yes], [have_xpcom_glue=yes]
|
||||
+)
|
||||
+CPPFLAGS=$_SAVE_CPPFLAGS
|
||||
+CXXFLAGS=$_SAVE_CXXFLAGS
|
||||
+AC_LANG_POP(C++)
|
||||
+
|
||||
+AM_CONDITIONAL(HAVE_XPCOM_GLUE, [test $have_xpcom_glue=yes])
|
||||
+if test "$have_xpcom_glue" = "yes"; then
|
||||
+ AC_DEFINE(HAVE_XPCOM_GLUE, 1,
|
||||
+ [Define to 1 if libxpcomglue is being used.])
|
||||
+fi
|
||||
+
|
||||
if test -n "$export_dynamic"; then
|
||||
GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
|
||||
fi
|
||||
Index: gnome-python-extras-2.25.3/gtkmozembed/Makefile.am
|
||||
===================================================================
|
||||
--- gnome-python-extras-2.25.3.orig/gtkmozembed/Makefile.am 2008-12-12 02:06:29.000000000 +0100
|
||||
+++ gnome-python-extras-2.25.3/gtkmozembed/Makefile.am 2009-03-09 17:11:56.390812130 +0100
|
||||
@@ -13,9 +13,15 @@ pkgpyexecdir = $(pyexecdir)/gtk-2.0
|
||||
pkgpyexec_LTLIBRARIES = gtkmozembed.la
|
||||
gtkmozembed_la_LDFLAGS = -module -avoid-version \
|
||||
-export-symbols-regex initgtkmozembed \
|
||||
- -R$(MOZILLA_HOME) -L$(MOZILLA_HOME)
|
||||
+ $(NULL)
|
||||
+
|
||||
+# only use rpath for non-glue builds
|
||||
+if !HAVE_XPCOM_GLUE
|
||||
+ gtkmozembed_la_LDFLAGS + = -R$(MOZILLA_HOME) -L$(MOZILLA_HOME)
|
||||
+endif
|
||||
+
|
||||
gtkmozembed_la_LIBADD = $(GTKMOZEMBED_LIBS)
|
||||
-gtkmozembed_la_SOURCES = gtkmozembedmodule.c
|
||||
+gtkmozembed_la_SOURCES = gtkmozembedmodule.cpp
|
||||
nodist_gtkmozembed_la_SOURCES = gtkmozembed.c
|
||||
gtkmozembed.c: gtkmozembed.defs gtkmozembed.override
|
||||
CLEANFILES = gtkmozembed.c
|
||||
Index: gnome-python-extras-2.25.3/gtkmozembed/gtkmozembedmodule.cpp
|
||||
===================================================================
|
||||
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ gnome-python-extras-2.25.3/gtkmozembed/gtkmozembedmodule.cpp 2009-03-09 16:47:51.857680474 +0100
|
||||
@@ -0,0 +1,72 @@
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+#include "config.h"
|
||||
+#endif
|
||||
+
|
||||
+/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||
+#include <pygobject.h>
|
||||
+#include <pygtk/pygtk.h>
|
||||
+
|
||||
+#ifdef XPCOM_GLUE
|
||||
+#include "gtkmozembed_glue.cpp"
|
||||
+#endif
|
||||
+
|
||||
+G_BEGIN_DECLS
|
||||
+void initgtkmozembed(void);
|
||||
+void pygtkmozembed_add_constants(PyObject *module, const gchar *strip_prefix);
|
||||
+void pygtkmozembed_register_classes (PyObject *d);
|
||||
+G_END_DECLS
|
||||
+
|
||||
+extern PyMethodDef pygtkmozembed_functions[];
|
||||
+
|
||||
+void
|
||||
+initgtkmozembed(void)
|
||||
+{
|
||||
+ PyObject *m, *d;
|
||||
+ int argc = 0;
|
||||
+
|
||||
+ init_pygobject ();
|
||||
+
|
||||
+#ifdef XPCOM_GLUE
|
||||
+ static const GREVersionRange greVersion = {
|
||||
+ "1.9b", PR_TRUE,
|
||||
+ "1.9.*", PR_TRUE
|
||||
+ };
|
||||
+ char xpcomLocation[4096];
|
||||
+ nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, 4096);
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ printf("GRE_GetGREPathWithProperties failed\n");
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ // Startup the XPCOM Glue that links us up with XPCOM.
|
||||
+ XPCOMGlueStartup(xpcomLocation);
|
||||
+ if (NS_FAILED(rv)) {
|
||||
+ printf("XPCOMGlueStartup failed\n");
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ rv = GTKEmbedGlueStartup();
|
||||
+ if (NS_FAILED(rv)) {printf("location: %s \n", xpcomLocation);
|
||||
+ printf("GTKEmbedGlueStartup failed\n");
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
+ //gtk_moz_embed_set_comp_path(xpcomLocation);
|
||||
+
|
||||
+ char *lastSlash = strrchr(xpcomLocation, '/');
|
||||
+ if (lastSlash)
|
||||
+ *lastSlash = '\0';
|
||||
+
|
||||
+ gtk_moz_embed_set_path(xpcomLocation);
|
||||
+#endif
|
||||
+
|
||||
+ m = Py_InitModule ("gtkmozembed", pygtkmozembed_functions);
|
||||
+ d = PyModule_GetDict (m);
|
||||
+
|
||||
+ pygtkmozembed_add_constants(m, "GTK_MOZ_EMBED_");
|
||||
+ pygtkmozembed_register_classes (d);
|
||||
+
|
||||
+ if (PyErr_Occurred ()) {
|
||||
+ Py_FatalError ("can't initialise module gtkmozembed");
|
||||
+ }
|
||||
+}
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/gtkmozembed-python-2.25.3.ebuild,v 1.3 2010/08/01 10:35:44 fauli Exp $
|
||||
|
||||
EAPI="2"
|
||||
G_PY_PN="gnome-python-extras"
|
||||
|
||||
inherit confutils gnome-python-common
|
||||
|
||||
PVP="$(get_version_component_range 1-2)"
|
||||
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
|
||||
|
||||
DESCRIPTION="Python bindings for the GtkMozEmbed Gecko library"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=net-libs/xulrunner-1.9"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
gnome-python-common_pkg_setup
|
||||
|
||||
G2CONF="${G2CONF} --with-gtkmozembed=xulrunner-1.9"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Accomodate new releases of libtool
|
||||
epatch "${FILESDIR}/${PN}-2.19.1-libtool2.patch"
|
||||
|
||||
# Allow building with xulrunner 1.9, bug #
|
||||
rm "${S}/gtkmozembed/gtkmozembedmodule.c"
|
||||
epatch "${FILESDIR}/${P}-xulrunner19.patch"
|
||||
|
||||
# Fix building with xulrunner-1.9.2, bug 296924
|
||||
epatch "${FILESDIR}/${PN}-2.19.1-include-nspr.patch"
|
||||
|
||||
eautoreconf
|
||||
gnome-python-common_src_prepare
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user