summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-05-19 14:27:29 +0000
committerVlastimil Babka <caster@gentoo.org>2010-05-19 14:27:29 +0000
commit50685938cf57cde3b6a30975ea666720ee960bcd (patch)
tree0851062e56c08ffcfb3f3b1bcaa37dd3e309f958 /dev-java/qtjambi
parentadd keyword ~x86-linux (diff)
downloadhistorical-50685938cf57cde3b6a30975ea666720ee960bcd.tar.gz
historical-50685938cf57cde3b6a30975ea666720ee960bcd.tar.bz2
historical-50685938cf57cde3b6a30975ea666720ee960bcd.zip
Fix building with ant 1.8, bug #319597.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-java/qtjambi')
-rw-r--r--dev-java/qtjambi/ChangeLog6
-rw-r--r--dev-java/qtjambi/Manifest15
-rw-r--r--dev-java/qtjambi/files/ant180-4.5.2.patch195
-rw-r--r--dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild5
4 files changed, 206 insertions, 15 deletions
diff --git a/dev-java/qtjambi/ChangeLog b/dev-java/qtjambi/ChangeLog
index c2d4a427baad..8895ebc31b7f 100644
--- a/dev-java/qtjambi/ChangeLog
+++ b/dev-java/qtjambi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/qtjambi
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/ChangeLog,v 1.24 2010/02/16 06:46:27 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/ChangeLog,v 1.25 2010/05/19 14:27:28 caster Exp $
+
+ 19 May 2010; Vlastimil Babka <caster@gentoo.org> qtjambi-4.5.2_p1.ebuild,
+ +files/ant180-4.5.2.patch:
+ Fix building with ant 1.8, bug #319597.
16 Feb 2010; Jonathan Callen <abcd@gentoo.org>
-files/configuration-4.4.3.patch, -files/generator-4.4.3.patch:
diff --git a/dev-java/qtjambi/Manifest b/dev-java/qtjambi/Manifest
index 4966e9434569..0721f6a8bfd2 100644
--- a/dev-java/qtjambi/Manifest
+++ b/dev-java/qtjambi/Manifest
@@ -1,17 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX ant180-4.5.2.patch 9642 RMD160 48a5a4583f3c2f54a853424fa950ee1b8c4b1192 SHA1 420bb2eda70d44970b4181d6b27112eed859664d SHA256 ff49395de312a829a2c4574cbd69f051e137493b7330f28355a41a61b6004dbf
AUX configuration-4.5.0_p1.patch 3975 RMD160 4e3e32f4a9c02c977b3fe7416cb8e92ea48289dd SHA1 ab483d3122a5f98d10b321511de6794bd57f5885 SHA256 6fff370711c319a6e070569405172a27af039f1dcdd064d37bbfaf3261e5a0a5
AUX gcc4.4-4.5.0_p1.patch 1108 RMD160 b0b54f12d32fcc47a4c8846ad2183dcfd0efa3fd SHA1 4c834eb9795fb1e09bd8fe349cc05db4d4caa900 SHA256 eb6669bc0937a3147a4089c9de376b4fc783ff093340453d461fbf08216b0bfe
AUX generator-4.5.0_p1.patch 1352 RMD160 cdec9732e2a7d5421451b8e7e3e60de1c195fdee SHA1 9bfdca02dc220508ebe7255f8aff9780c99ed824 SHA256 80adfa473b386bcec10b861ba76759b3554167e3a81108b5e8d2d5ffc04d1e57
DIST qtjambi-src-lgpl-4.5.2_01.tar.gz 4952790 RMD160 85070abfa33d530128b60c7377dde75f84a510b8 SHA1 7d144a280ae7ea3cfa2ef1edde43097a0c19c9db SHA256 1ce66dc56a633ee54c47a4ce3dc4939fd0bd04fd2726a4d85a28727ceee669e6
-EBUILD qtjambi-4.5.2_p1.ebuild 5058 RMD160 f1966672b642ba6ab8ed959f55ae0938a13de084 SHA1 d2ff2c974654afce52ea2caad5b6e26bb0371c1d SHA256 7b7c56fb43171798e1e8ddb46ad91312ec6bdcbe484a61c2d3836af2437ae634
-MISC ChangeLog 4534 RMD160 c23d01f6489607b49c053d93d170567444fc92ac SHA1 f28eda14e939ff887b747a029ad9ced61d65ab89 SHA256 f88125f810039c1dd45ecd8e525fb1f62a5888d25bffa0ae3ebbcbb313a69ea1
+EBUILD qtjambi-4.5.2_p1.ebuild 5095 RMD160 e2288f2974ea15bed615bea53d976df6769a2d5a SHA1 37dbc0fe286b818657482a251e31585e44e34ca2 SHA256 3d87362bc4f8ea69527c940db26b91363cfde47de8e16cf70de2884818aa8a3c
+MISC ChangeLog 4684 RMD160 d49af744c5452780bbdb98d2fc9ce07888aa6b84 SHA1 0077e6311cec11162a56ea377085289d7adf5843 SHA256 1e6fa6699aedac143457123f328f4c14913eb216d52014a89bdb19f66d6331c0
MISC metadata.xml 374 RMD160 554c518b96dd5681f778395c1888891649e6ed55 SHA1 ae068aac6ddef644ebcd32899ec79e6bcc879282 SHA256 5e303995da64782af3b8e13149e0d4ba849fdd84c4967ac4a429b12e5a9ac50f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkt6P0kACgkQOypDUo0oQOpnmwCgoymklwebKeu9ZRigGx9SLyOK
-HyAAoMcSdlknAgF0aFPyxXLV3djjqYZR
-=lcjG
------END PGP SIGNATURE-----
diff --git a/dev-java/qtjambi/files/ant180-4.5.2.patch b/dev-java/qtjambi/files/ant180-4.5.2.patch
new file mode 100644
index 000000000000..966055dcdd75
--- /dev/null
+++ b/dev-java/qtjambi/files/ant180-4.5.2.patch
@@ -0,0 +1,195 @@
+diff --git a/com/trolltech/tools/ant/InitializeTask.java b/com/trolltech/tools/ant/InitializeTask.java
+index 7872328..14a470c 100755
+--- a/com/trolltech/tools/ant/InitializeTask.java
++++ b/com/trolltech/tools/ant/InitializeTask.java
+@@ -145,14 +145,14 @@ public class InitializeTask extends Task {
+
+ public void execute() throws BuildException {
+ props = PropertyHelper.getPropertyHelper(getProject());
+- props.setNewProperty(null, OSNAME, decideOSName());
+- props.setNewProperty(null, LIBSUBDIR, decideLibSubDir());
+- props.setNewProperty(null, QTDIR, decideQtDir());
++ props.setNewProperty((String)null, OSNAME, decideOSName());
++ props.setNewProperty((String)null, LIBSUBDIR, decideLibSubDir());
++ props.setNewProperty((String)null, QTDIR, decideQtDir());
+
+ // TODO: Find a better way to get a hold of version...
+- props.setNewProperty(null, VERSION, Version.STRING);
++ props.setNewProperty((String)null, VERSION, Version.STRING);
+
+- props.setNewProperty(null, COMPILER, decideCompiler());
++ props.setNewProperty((String)null, COMPILER, decideCompiler());
+
+ checkCompilerDetails();
+
+@@ -168,43 +168,43 @@ public class InitializeTask extends Task {
+ }
+ }
+
+- props.setNewProperty(null, CONFIGURATION, decideConfiguration());
++ props.setNewProperty((String)null, CONFIGURATION, decideConfiguration());
+
+ // These depend on both qtdir, libsubdir and configration, so
+ // run rather late...
+ String phonon = decidePhonon();
+ if ("true".equals(phonon)) {
+- props.setNewProperty(null, PHONON, phonon);
++ props.setNewProperty((String)null, PHONON, phonon);
+ switch (OSInfo.os()) {
+ case Windows:
+- props.setNewProperty(null, PHONON_DS9, "true");
++ props.setNewProperty((String)null, PHONON_DS9, "true");
+ break;
+ case Linux:
+- props.setNewProperty(null, PHONON_GSTREAMER, "true");
++ props.setNewProperty((String)null, PHONON_GSTREAMER, "true");
+ if (doesQtLibExist("QtDBus", 4))
+- props.setNewProperty(null, DBUS, "true");
++ props.setNewProperty((String)null, DBUS, "true");
+ break;
+ case MacOS:
+- props.setNewProperty(null, PHONON_QT7, "true");
++ props.setNewProperty((String)null, PHONON_QT7, "true");
+ if (doesQtLibExist("QtDBus", 4))
+- props.setNewProperty(null, DBUS, "true");
++ props.setNewProperty((String)null, DBUS, "true");
+ break;
+ }
+ }
+
+- props.setNewProperty(null, SQLITE, decideSqlite());
++ props.setNewProperty((String)null, SQLITE, decideSqlite());
+
+ String webkit = decideWebkit();
+ if ("true".equals(webkit) && "true".equals(phonon))
+- props.setNewProperty(null, WEBKIT, webkit);
++ props.setNewProperty((String)null, WEBKIT, webkit);
+
+ String patterns = decideXMLPatterns();
+ if ("true".equals(patterns))
+- props.setNewProperty(null, XMLPATTERNS, patterns);
++ props.setNewProperty((String)null, XMLPATTERNS, patterns);
+
+ String opengl = decideOpenGL();
+ if ("true".equals(opengl))
+- props.setNewProperty(null, OPENGL, opengl);
++ props.setNewProperty((String)null, OPENGL, opengl);
+ }
+
+ private void checkCompilerDetails() {
+@@ -216,7 +216,7 @@ public class InitializeTask extends Task {
+ String vcdir = System.getenv("VSINSTALLDIR");
+ if (vcdir == null)
+ throw new BuildException("missing required environment variable 'VSINSTALLDIR' used to locate MSVC redistributables");
+- props.setNewProperty(null, VSINSTALLDIR, vcdir);
++ props.setNewProperty((String)null, VSINSTALLDIR, vcdir);
+
+ String redistDir;
+ if (compiler == Compiler.MSVC2005_64 || compiler == Compiler.MSVC2008_64)
+@@ -225,7 +225,7 @@ public class InitializeTask extends Task {
+ redistDir = vcdir + "/vc/redist/x86";
+ if (!new File(redistDir).exists())
+ throw new BuildException("MSVC redistributables not found in '" + redistDir + "'");
+- props.setNewProperty(null, VSREDISTDIR, redistDir);
++ props.setNewProperty((String)null, VSREDISTDIR, redistDir);
+
+ break;
+ }
+@@ -365,7 +365,7 @@ public class InitializeTask extends Task {
+
+ private boolean doesQtLibExist(String name, int version) {
+ StringBuilder path = new StringBuilder();
+- path.append(props.getProperty(null, QTDIR));
++ path.append(props.getProperty((String)null, QTDIR));
+ path.append("/");
+ path.append(LibraryEntry.formatQtName(name, debug, version));
+ return new File(path.toString()).exists();
+@@ -373,7 +373,7 @@ public class InitializeTask extends Task {
+
+ private boolean doesQtPluginExist(String name, String subdir) {
+ StringBuilder path = new StringBuilder();
+- path.append(props.getProperty(null, QTDIR));
++ path.append(props.getProperty((String)null, QTDIR));
+ path.append("/plugins/");
+ path.append(subdir);
+ path.append("/");
+diff --git a/com/trolltech/tools/ant/LibraryEntry.java b/com/trolltech/tools/ant/LibraryEntry.java
+index 575ef0b..d84d409 100755
+--- a/com/trolltech/tools/ant/LibraryEntry.java
++++ b/com/trolltech/tools/ant/LibraryEntry.java
+@@ -129,11 +129,11 @@ public class LibraryEntry extends Task {
+
+ PropertyHelper h = PropertyHelper.getPropertyHelper(getProject());
+
+- boolean debug = "debug".equals(h.getProperty(null, InitializeTask.CONFIGURATION));
++ boolean debug = "debug".equals(h.getProperty((String)null, InitializeTask.CONFIGURATION));
+
+ // Change subdir...
+ if (subdir.equals("auto"))
+- subdir = (String) h.getProperty(null, InitializeTask.LIBSUBDIR);
++ subdir = (String) h.getProperty((String)null, InitializeTask.LIBSUBDIR);
+
+ // Fix name...
+ if (type.equals(TYPE_PLUGIN)) name = formatPluginName(name, debug);
+diff --git a/com/trolltech/tools/ant/MakeTask.java b/com/trolltech/tools/ant/MakeTask.java
+index 6211cb3..3046107 100755
+--- a/com/trolltech/tools/ant/MakeTask.java
++++ b/com/trolltech/tools/ant/MakeTask.java
+@@ -60,7 +60,7 @@ public class MakeTask extends Task {
+ switch(OSInfo.os()){
+ case Windows:
+ PropertyHelper props = PropertyHelper.getPropertyHelper(getProject());
+- String compiler = (String) props.getProperty(null, InitializeTask.COMPILER);
++ String compiler = (String) props.getProperty((String)null, InitializeTask.COMPILER);
+ if (compiler.equals(InitializeTask.Compiler.MinGW.toString())) {
+ return "mingw32-make";
+ }
+diff --git a/com/trolltech/tools/ant/PlatformJarTask.java b/com/trolltech/tools/ant/PlatformJarTask.java
+index 25fdeb6..9c1f6ac 100755
+--- a/com/trolltech/tools/ant/PlatformJarTask.java
++++ b/com/trolltech/tools/ant/PlatformJarTask.java
+@@ -107,7 +107,7 @@ public class PlatformJarTask extends Task {
+ public void execute_internal() throws BuildException {
+ props = PropertyHelper.getPropertyHelper(getProject());
+
+- debugConfiguration = "debug".equals(props.getProperty(null, InitializeTask.CONFIGURATION));
++ debugConfiguration = "debug".equals(props.getProperty((String)null, InitializeTask.CONFIGURATION));
+
+ if (outdir == null)
+ throw new BuildException("Missing required attribute 'outdir'. This directory is used for building the .jar file...");
+@@ -148,7 +148,7 @@ public class PlatformJarTask extends Task {
+ }
+
+ writer.println("<qtjambi-deploy"
+- + " system=\"" + props.getProperty(null, InitializeTask.OSNAME).toString()
++ + " system=\"" + props.getProperty((String)null, InitializeTask.OSNAME).toString()
+ + "\">");
+ writer.println("\n <cache key=\"" + cacheKey + "\" />");
+
+@@ -237,7 +237,7 @@ public class PlatformJarTask extends Task {
+
+
+ private void processSystemLibs() {
+- String compiler = String.valueOf(props.getProperty(null, InitializeTask.COMPILER));
++ String compiler = String.valueOf(props.getProperty((String)null, InitializeTask.COMPILER));
+ InitializeTask.Compiler c = InitializeTask.Compiler.resolve(compiler);
+
+ String vcnumber = "80";
+@@ -256,7 +256,7 @@ public class PlatformJarTask extends Task {
+ break;
+ }
+
+- File crt = new File(props.getProperty(null, InitializeTask.VSREDISTDIR).toString(),
++ File crt = new File(props.getProperty((String)null, InitializeTask.VSREDISTDIR).toString(),
+ "Microsoft.VC" + vcnumber + ".CRT");
+
+ String files[] = new String[] { "Microsoft.VC" + vcnumber + ".CRT.manifest",
+@@ -330,7 +330,7 @@ public class PlatformJarTask extends Task {
+ throw new BuildException("Runtime library '" + name + "' was not found in library path...");
+ }
+
+- String libDir = props.getProperty(null, InitializeTask.LIBSUBDIR).toString();
++ String libDir = props.getProperty((String)null, InitializeTask.LIBSUBDIR).toString();
+
+ try {
+ Util.copy(rt, new File(outdir, libDir + "/" + name));
diff --git a/dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild b/dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild
index 0f9e69a1ef7f..df34b4f3d2b9 100644
--- a/dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild
+++ b/dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild,v 1.2 2010/01/03 01:29:04 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/qtjambi/qtjambi-4.5.2_p1.ebuild,v 1.3 2010/05/19 14:27:29 caster Exp $
EAPI="2"
@@ -43,7 +43,8 @@ src_prepare() {
epatch \
"${FILESDIR}"/generator-4.5.0_p1.patch \
"${FILESDIR}"/configuration-4.5.0_p1.patch \
- "${FILESDIR}"/gcc4.4-4.5.0_p1.patch
+ "${FILESDIR}"/gcc4.4-4.5.0_p1.patch \
+ "${FILESDIR}"/ant180-4.5.2.patch
# Respect MAKEOPTS
sed -i -e "/String arguments =/s|=.*|=\" ${MAKEOPTS}\";|" \