summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* java-utils-2.eclass: use is not available in the global scope.Benda Xu2017-02-091-2/+2
| | | | | Java ebuilds using EAPI<3 will not be correctly prefixified. We will deal with that by bumping EAPI per package.
* eclass/java-utils-2.eclass: support Prefix.Benda Xu2017-02-091-9/+12
| | | | | | | Reintroduce fbdddd87ff9 with EAPI gatekeeping code. Credit: Martin Mokrejš Bug: 595002
* Revert "eclass/java-utils-2.eclass: support Prefix."James Le Cuirot2017-02-091-9/+9
| | | | | This reverts commit fbdddd87ff997e74644c2d5feb56c2e2d915860b. It didn't take account of older EAPIs.
* eclass/java-utils-2.eclass: support Prefix.Benda Xu2017-02-091-9/+9
| | | | | Credit: Martin Mokrejš Bug: 595002
* java-utils-2.eclass: Call eapply_user and drop java_prepare for EAPI 6James Le Cuirot2016-10-171-2/+9
| | | | | | | | | | | | | Although simply calling default sounds like a good idea, if an ebuild needs to use multiple eclasses that call default then patching will break as PATCHES will be applied more than once. eapply_user, on the other hand, is idempotent. If an ebuild needs to apply PATCHES then it should define src_prepare and call default explicitly. This will probably be improved in EAPI 7. java_prepare is being dropped because non-Java people find it confusing and it isn't consistent. Other eclasses don't do this and we don't apply the same rule to other phases either.
* java-utils-2.eclass: Remove reference to long dead ant_src_unpackJames Le Cuirot2016-10-171-4/+0
|
* java-utils-2.eclass: Rework wltjr's new java-pkg_gen-cpJames Le Cuirot2016-10-171-10/+11
| | | | | | | | * Use an accurate regexp rather than naive string manipulation. * Join the entries with , for a single call to java-config. * Don't export the given variable as we haven't previously. * die if the atom is invalid, particularly if the SLOT is missing. * Avoid adding duplicates because this may get called more than once.
* java-utils-2.eclass: Added new function java-pkg_gen-cpWilliam L. Thomson Jr2016-10-171-0/+25
| | | | | | | | | | | Java package generate classpath will create a classpath based on special variable CP_DEPEND in the ebuild. This allows for automatic classpath creation based on depends. Reduces chance of error in ebuild with slots in deps not matching slots in classpath variable, etc. Not to most elegant. Elected for multiple passes using bash vs external sed or awk. Closes: https://github.com/gentoo/gentoo/pull/2286 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* java-utils-2.eclass: DESTTREE querying -> /usr, #566480Michał Górny2016-05-141-3/+3
|
* java-utils-2.eclass: DESTTREE assignment -> into, #566480Michał Górny2016-05-141-1/+4
|
* java-utils-2.eclass: Use insinto & insopts instead of vars, #566480Michał Górny2016-05-141-9/+17
| | | | | Replace INSDESTTREE and INSOPTIONS internal variable references with correct calls to insinto & insopts, using a subshell to scope them.
* java-*.eclass: Bump java-config dependency to avoid bug #580504James Le Cuirot2016-04-191-1/+1
| | | | | People may remove java-config-wrapper without updating java-config, leading to a broken setup.
* eclass/java-utils-2.eclass: Added -r to xargs in java-pkg_addresWilliam L. Thomson Jr2016-02-221-1/+1
| | | | | | The -r option is necessary in case find does not output anything. Which makes the jar uf command fail. This has no effect otherwise and should be safe to add right away. It prevents potential issues/bug.
* java-utils-2.eclass: Write package.env unconditionallyJames Le Cuirot2016-02-101-55/+47
| | | | | | | | | | | Fixes dev-db/sqldeveloper-4.1.3.20.78-r1. This is a case where all the jars are installed without dojar and none of the dependencies are mandatory. Although our regular launcher scripts aren't used, gjl is still invoked to determine the appropriate JVM so package.env is therefore necessary. The conditions didn't make much sense anyway as package.env is only written off the back of functions that satisfy them anyway. sqldeveloper has to call java-pkg_do_write_ manually to force package.env to be written.
* java-utils-2.eclass: Don't leave junk in /tmp after ejunit callsJames Le Cuirot2015-12-041-2/+2
| | | | Put the junk in ${T} instead.
* java-utils-2.eclass: add missing '|| die' on pushd/popdJulian Ospald2015-10-251-5/+5
| | | | | Reviewed-By: James Le Cuirot <chewi@gentoo.org> Reviewed-By: Patrice Clement <monsieurp@gentoo.org>
* java-utils-2.eclass: Remove eend calls. Remove javadoc_executable variable.Patrice Clement2015-10-201-7/+3
| | | | Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* java-utils-2.eclass: Also improve java-pkg_do{javadoc,jar,src} logging.Patrice Clement2015-10-201-1/+29
| | | | Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* java-utils-2.eclass: Document JAVA_PKG_DEBUG variable. Tweak logging ↵Patrice Clement2015-10-201-2/+33
| | | | | | according to JAVA_PKG_DEBUG in ejavac and ejavadoc. Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* fix broken headers in a few random filesMike Frysinger2015-10-051-8/+2
|
* java-utils-2.eclass: Fix this untested java-pkg_clean crapJames Le Cuirot2015-10-031-3/+4
|
* eclass/java-utils-2: Allows a list of directories to be specified.Patrice Clement2015-09-291-1/+1
| | | | Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
* Merge remote-tracking branch 'remotes/github/pr/116'.Patrice Clement2015-09-291-0/+9
|\
| * eclass/java-utils-2: Added proposed function to remove *.class and *.jar ↵William L. Thomson Jr2015-09-211-0/+9
| | | | | | | | files from sources. Long term should be called automatically all the time with optional override via JAVA_PKG_NO_CLEAN.
* | eclass: gentoo.org has https per defaultJustin Lecher2015-09-251-3/+3
|/ | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* java-utils-2.eclass: Make java-pkg_init-compiler_ output to stderrJames Le Cuirot2015-09-041-4/+4
| | | | | It was corrupting the result of java-pkg_get-javac in rare cases. Fixes bug #559230.
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+2826
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed