Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263636 - dev-java/jarjar-1.4 version bump
Summary: dev-java/jarjar-1.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://code.google.com/p/jarjar/
Whiteboard:
Keywords: InOverlay
: 226197 (view as bug list)
Depends on: 263637
Blocks: 97004
  Show dependency tree
 
Reported: 2009-03-24 17:53 UTC by Ralph Sennhauser (RETIRED)
Modified: 2015-05-01 01:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
An ebuild (jarjar-1.0_rc8.ebuild,1.41 KB, text/plain)
2009-03-24 17:54 UTC, Ralph Sennhauser (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Sennhauser (RETIRED) gentoo-dev 2009-03-24 17:53:57 UTC
Jarjar is a build dependency of the spring framework, the jarjar ebuild currently in portage relays on a no jarjar hack and therefore the built archive is not the same as the shipped one. Jarjar-1.0_rc8 fixes this issue and expands on functionality.

Also the project has moved to googlecode, changed it's license to Apache-2.0 and now needs java 5 or newer.

Reproducible: Always
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2009-03-24 17:54:58 UTC
Created attachment 186129 [details]
An ebuild
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2009-04-05 16:00:10 UTC
jarjar version 1.0 is the same as jarjar-1.0_rc8. A bumped and improved version can be found here: https://overlays.gentoo.org/proj/java/browser/java-experimental/dev-java/jarjar/jarjar-1.0.ebuild

Make sure to use also the maven-plugin-api from the same overlay.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-04-25 19:29:38 UTC
Doesn't compile here, build.xml seems to set empty bootclasspath?
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-04-30 20:02:33 UTC
*** Bug 226197 has been marked as a duplicate of this bug. ***
Comment 5 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-09-03 17:04:48 UTC
1.4 was relased in Nov 2012
Comment 6 Rafał Mużyło 2014-10-05 13:25:03 UTC
(In reply to Johann Schmitz (ercpe) from comment #5)
> 1.4 was relased in Nov 2012

With minor changes to the old ebuild (and the obligatory EAPI=5 migration), build completes successfully - not sure if it actually works though:
- jre must be at least 1.5
- dev-java/asm bumped to slot 4 in deps + relevant change in src_prepare
- 'rm -vr src/main/gnu || die' line removed (no such dir)

Somewhat surprisingly, after all this time, the patches still apply - not sure if they're still needed though.
Comment 7 Patrice Clement gentoo-dev 2015-04-28 02:06:10 UTC
+*jarjar-1.4 (28 Apr 2015)
+
+  28 Apr 2015; Patrice Clement <monsieurp@gentoo.org> +jarjar-1.4.ebuild:
+  Version bump. Drop ia64 ppc ppc64 x86-fbsd KEYWORDS. Fix bug 263636.
+

Thank you.
Comment 8 Patrice Clement gentoo-dev 2015-05-01 01:06:18 UTC
+  01 May 2015; Patrice Clement <monsieurp@gentoo.org> jarjar-1.4.ebuild:
+  Adjust SLOTs in CDEPEND.
+

should fix this

[18:59:19] [ @fordfrog ] i found that his jarjar-1.4 ebuild is not perfect :-)
[18:59:21] [ @fordfrog ]  * ERROR: dev-java/jarjar-1.4::gentoo failed (unpack phase):
[18:59:21] [ @fordfrog ]  *   The ebuild is attempting to use gnu-regexp-1, which is not declared with a SLOT in DEPEND.
[18:59:50] [ @fordfrog ] monsieurp is probably not strict yet :-)

Not on my laptop indeed. It's fixed now (I have Chewi's super duper patch).