summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* git-r3.eclass: Fix var names for packages starting with digits, #596912Michał Górny2016-10-221-0/+1
| | | | | | Fix live variable names for packages whose names start with digits. Since variable names can not start with digits in bash, just prepend an underscore to them.
* toolchain-funcs.eclass: Add tc-check-openmp() functionDavid Seifert2016-10-221-0/+21
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/2547 Signed-off-by: David Seifert <soap@gentoo.org>
* git-r3.eclass: Make git[curl] warning non-fatal, extend to HTTP, #597356Michał Górny2016-10-171-7/+12
| | | | | | | | | | | | Make the warning about missing dev-vcs/git[curl] for HTTP(S) support non-fatal since the ebuild can specify non-HTTP(S) fallback URIs which would otherwise be ignored. The eclass will die if all URIs fail anyway. Extend the check to cover both HTTPS and plain HTTP. Reported by Coacher. Bug: https://bugs.gentoo.org/597356
* 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-pkg-simple.eclass: Implemented auto classpathWilliam L. Thomson Jr2016-10-171-0/+3
| | | | | | | | | Added call to java-pkg_gen-cp EANT_GENTOO_CLASSPATH in java-pkg-simple_src_compile. This has no effect unless CP_DEPEND is set in an ebuild. Closes: https://github.com/gentoo/gentoo/pull/2286 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* java-pkg-2.eclass: Implemented auto classpathWilliam L. Thomson Jr2016-10-171-0/+3
| | | | | | | | | Added call to java-pkg_gen-cp EANT_GENTOO_CLASSPATH in java-pkg-2_src_compile. This has no effect unless CP_DEPEND is set in an ebuild. Closes: https://github.com/gentoo/gentoo/pull/2286 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* 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>
* toolchain-binutils.eclass: Don't use bundled zlib (bug #591516).Lars Wendler2016-10-171-1/+3
|
* eclass/mozcoreconf-v4 : append flags for gcc-6 supportJory A. Pratt2016-10-161-0/+5
|
* kde4-meta-pkg.eclass: Remove last-rited eclassJohannes Huber2016-10-131-28/+0
|
* php-ext-source-r3.eclass: Add src_test functionThomas Deutschmann2016-10-121-1/+13
| | | | | | | php-ext-source-r3 eclass currently does not provide FEATURES=test support like php-ext-pecl-r3 eclass does. This commit will add and export the src_test function from php-ext-pecl-r3 eclass to php-ext-source-r3 eclass to allow testing of PHP standalone extensions as well.
* eclass/freebsd.eclass: added FreeBSD 11.0 support.Yuta Satoh2016-10-111-7/+50
|
* eclass/bsdmk.eclass: Pass all of arguments to mkinstall.Yuta Satoh2016-10-111-1/+1
|
* systemd.eclass: Add systemd_tmpfiles_create functionMike Gilbert2016-10-091-0/+21
| | | | Bug: https://bugs.gentoo.org/462118
* Remove some masked for removal eclassesPacho Ramos2016-10-083-706/+0
|
* Remove masked for removal eclassesPacho Ramos2016-10-083-300/+0
|
* kde5.eclass: add overlay-specific logicMichael Palimaka2016-10-061-1/+54
| | | | | | While this overlay-specific logic is never expected to actually be used in the main tree, it makes tracking and merging future updates from the overlay a lot easier.
* kde5.eclass: Add warning for kf5 applications in Plasma-4Andreas Sturmlechner2016-10-061-0/+17
| | | | Copied and adapted from kde4-base.eclass.
* kde5.eclass: KDE Plasma 5.8 requires >=KF-5.26Andreas Sturmlechner2016-10-061-4/+7
|
* kde5.eclass: Update commentAndreas Sturmlechner2016-10-061-1/+1
|
* kde5-functions.eclass: Drop 15.12.3 exceptionAndreas Sturmlechner2016-10-061-1/+1
|
* eclass/freebsd.eclass: Move a special 32bit CFLAGS from profile.Yuta Satoh2016-10-051-0/+3
| | | | https://bugs.gentoo.org/show_bug.cgi?id=596044
* eclass/freebsd.eclass: If CC=clang, force use clang-cpp.Yuta Satoh2016-10-031-0/+11
| | | | https://bugs.gentoo.org/show_bug.cgi?id=595878
* depend.apache.eclass: Fix warning outputAndreas K. Hüttel2016-10-011-1/+1
|
* depend.apache.eclass: output a fat warning if used with EAPI=6Andreas K. Hüttel2016-10-011-0/+15
| | | | We would really need a PMS-supplied eqawarn here...
* kde4-base.eclass: 15.08.0 tarballs moved to AtticAndreas Sturmlechner2016-09-291-1/+1
|
* mysql-multilib-r1.eclass: Fix password reading from my.cnfThomas Deutschmann2016-09-261-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are reading multiple sections from my.cnf at once from my.cnf when looking for the password for the mysql root user in mysql-multilib-r1_pkg_config(). If each section has set a password option this will result in the following invalid password value (with "set -x"): ++ local extra_options= ++ //usr/bin/my_print_defaults client mysql ++ sed -n '/^--password=/s,--password=,,gp' + MYSQL_ROOT_PASSWORD='***** *****' + [[ ***** ***** == \*\*\*\*\* ]] + set +x Like you can see the two passwords are concatenated via newline in one string which is not what we want. With this commit we will no longer read all sections at once instead we read section per section. We are now also telling the user where we are looking for the password and where we found one. In addition this commit adds a sanity check for newline to catch scenarios where the user for example has inadvertently set multiple password options in one section which we can't handle: In that case it is better to prompt for a password like no password was set in my.cnf instead of initializing mysqld with a mysql root password the user is not expecting. Gentoo-Bug: https://bugs.gentoo.org/510724
* mysql-multilib-r1.eclass: Use *_is_at_least from versionator eclassThomas Deutschmann2016-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | Since dev-db/percona-server was bumped to EAPI=6 usage mysql_fx eclass is no longer inherited [Link1] which results in an error like > # emerge --config dev-db/percona-server > > Configuring pkg... > > * Creating the mysql database and setting proper permissions on it ... > /var/tmp/portage/dev-db/percona-server-5.6.32.78.0/temp/environment: line 4697: mysql_version_is_at_least: command not found To fix this problem I replaced the call to "mysql_version_is_at_least" function from mysql_fx eclass with a call to "version_is_at_least" function from versionator eclass we are already inheriting [Link2]. Link1: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n46 Link2: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n43 Gentoo-Bug: https://bugs.gentoo.org/594298
* eclass/gstreamer.eclass: Fix typo in documentation commentMart Raudsepp2016-09-251-1/+1
|
* python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_localeMike Gilbert2016-09-231-1/+1
|
* python-utils-r1.eclass: override LC_ALL in _python_check_locale_sanityMike Gilbert2016-09-231-1/+1
|
* www-client/firefox: version bump to 49.0, security bug 594616Ian Stakenvicius2016-09-211-7/+6
| | | | Package-Manager: portage-2.2.28
* kde4-base.eclass: remove reference to old kdelibs versionsMichael Palimaka2016-09-191-1/+1
| | | | Signed-off-by: layman <layman@localhost>
* kernel-2.eclass: add global EAPI checkMike Gilbert2016-09-181-0/+2
| | | | This eclass has not been ported for EAPI 6 yet.
* haskell-cabal.eclass: drop unused CABAL_FEATURES="alex happy c2hs cpphs"Sergei Trofimovich2016-09-132-81/+27
| | | | | | | | | | | | | | | | | | | | | | While at it: - dropped internal 'ghc-sanecabal()' helper - factored out parallelism setup to new 'ghc-make-args()' function - building initial Setup binary now also uses 'ghc-make-args()' - dropped unused CABAL_MIN_VERSION global variable Fixed bug in 'ghc-make-args()' to work on NOSMP ports of GHC: We use 'qb0' to enable parallel GC. Parallel GC requires SMP support and threaded runtime. Reported by iota__ on arm/ghc-8 where there is support for parallel make but not the SMP support: ,("Host platform","arm-unknown-linux") ,("Support SMP","NO") ,("Support parallel --make","YES") ,("RTS ways","l debug thr... Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: add support for gcc 6.x with no spec filesMagnus Granberg2016-09-131-31/+56
|
* toolchain.eclass: add use pch for gcc 6.x supportMagnus Granberg2016-09-131-2/+7
|
* java-ant-2.eclass: Prefix support.Benda Xu2016-09-091-5/+5
| | | | Bug: 591160
* mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498Ian Stakenvicius2016-09-081-4/+2
|
* Revert "cmake-utils.eclass: print feature summary"Lars Wendler2016-09-081-7/+0
| | | | | | | This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5. Makes packages with custom FEATURE_SUMMARY fail as can be seen in https://bugs.gentoo.org/593230
* cmake-utils.eclass: print feature summaryChristoph Junghans2016-09-081-0/+7
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/2139 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* chromium-2.eclass: add special handling for sr-MEMike Gilbert2016-09-061-1/+15
| | | | Bug: https://bugs.gentoo.org/583762
* chromium-2.eclass: replace a few leftover refs to LINGUASMike Gilbert2016-09-061-4/+4
|
* multilib.eclass: get_exeext for mingw/cygwin exe suffix, #588330Michał Górny2016-09-031-0/+14
| | | | | | | | | Add a get_exeext function that can be used to obtain executable program suffix specific to the platform, in line with get_libname and get_modname. It is necessary to correctly reference built programs on non-standard platforms where executables use some suffix (like .exe). Original author: Gerhard Bräunlich
* haskell-cabal.eclass: unleash full parallelism of parallel ghcSergei Trofimovich2016-09-021-12/+8
| | | | | | | | | | | | | | | | | | | I've explored scalability of 'ghc --make -j' a bit in https://ghc.haskell.org/trac/ghc/ticket/9221 Some takeaways: - never specify -j<N> with N > CPU. garbage collector threads waste kernel time running sched_yield() - GHC allocates A Lot: large nursery decreases GC interruptions. We fix it with '-A256M' - for large nursery enabling work-stealing makes GC finish faster on each collection cycle. We fix it with -qb0 While at it move HCFLAGS setup after parallel defaults. That allows user to override defaults with own HCFLAGS. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eutils.eclass: Show death notice only when user patches were really appliedThomas Deutschmann2016-08-311-1/+7
| | | | | | | | | | | | | | | | | As part of the user requested feature from [Gentoo-Bug #543878] eutils.eclass shows a warning regarding user applied patches in case of an error [Link 1]. However this warning will always be shown even if no user patch were applied at all (example: empty /etc/portage/<cat>/<pkg> directory). This commit adds a new global variable "EPATCH_N_APPLIED_PATCHES" which tracks the number of applied user patches. This allows us to only show the notice when user patches were really applied. Link: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.443&r2=1.444 Gentoo-Bug: https://bugs.gentoo.org/543878
* kde5.eclass: a step close to becoming Turing completeMichael Palimaka2016-09-011-1/+2
|
* kde5.eclass: Fix SRC_URI, kdevelop missing trailing .0 in first releaseAndreas Sturmlechner2016-09-011-0/+32
| | | | Add kdevelop-pg-qt SRC_URIs