summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* mozconfig-v6.60: remove obsolete sandbox detectionstefson2018-09-231-3/+0
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/9954 Closes: https://bugs.gentoo.org/663040 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* meson.eclass: add EAPI 7 supportMarty E. Plummer2018-09-231-4/+8
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* cuda.eclass: Add version and sandbox helper methodsJason Zaman2018-09-221-0/+42
| | | | | | | | cuda_toolkit_version returns the version of dev-util/nvidia-cuda-toolkit cuda_cudnn_version returns the version of dev-libs/cudnn cuda_add_sandbox adds the nvidia dev nodes to the sandbox Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* cuda.eclass: update to EAPI7, remove 0-4Jason Zaman2018-09-221-34/+47
| | | | | | | | | | | | | cuda.eclass is only used from EAPI5,6 currently so remove support for older EAPIs. Updating to EAPI7 means removing versionator. It was only used to sort the cuda versions. Instead first try the current GCC version, if that fails try best_version, if that still fails just pick the last in the list that works. They are already sorted and hopefully stay that way so version_sort is not required. Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* check-reqs.eclass: update to EAPI7Jason Zaman2018-09-221-2/+2
| | | | Signed-off-by: Jason Zaman <perfinion@gentoo.org>
* linux-mod.eclass: fix use of variables for EAPI=7Thomas Deutschmann2018-09-211-8/+8
| | | | | | | | Since EAPI 7, variables like "D" no longer have a trailing slash. However, linux-mod_pkg_preinst relied on a traling slash. Due to that, any EAPI=7 ebuilds using linux-mod eclass to install kernel modules didn't run DEPMOD and weren't added to MODULESDB.
* font.eclass: Add EAPI guardian block, bug 666635Andreas K. Hüttel2018-09-201-0/+5
| | | | Bug: https://bugs.gentoo.org/666635
* enlightenment.eclass: last-riteJoonas Niilola2018-09-181-0/+6
| | | | | Bug: https://bugs.gentoo.org/666460 Closes: https://github.com/gentoo/gentoo/pull/9902
* python-utils-r1.eclass: Revert "Block also pythonX.Y in wrappers"Michał Górny2018-09-181-11/+1
| | | | | | | This turned out to be overzealous and broke calling external programs that were using different Python version. Reverts: 7f291f5759959bc338ca0b52b169871f0dccf9a9
* git-r3.eclass: Undocument deprecated EGIT_LIVE_* APIMichał Górny2018-09-181-8/+1
|
* git-r3.eclass: Print possible override vars for user convenienceMichał Górny2018-09-181-1/+11
|
* python-utils-r1.eclass: Block also pythonX.Y in wrappersMichał Górny2018-09-181-1/+11
| | | | | | | | | | | | Improve the wrapper blocking logic to block specific Python versions as well rather than just 2/3. In other words, for eselected pythonX.Y both pythonZ (Z = X^1) and python*.* (!= X.Y) will be blocked. Hopefully this will catch more build systems that hardcode Python versions rather than respecting what we're giving them. This will work only for build systems respecting PATH. Build systems (and ebuilds) using /usr/bin path directly will still be able to use other Python versions.
* scsh.eclass: remove last-rited eclassJoonas Niilola2018-09-171-77/+0
| | | | | Closes: https://bugs.gentoo.org/658284 Closes: https://github.com/gentoo/gentoo/pull/9841
* bsdmk.eclass: Add verbose output of bmake callsMichał Górny2018-09-171-2/+6
|
* toolchain.eclass: filter out -fdiagnostics-show-option on gcc-4.0 and olderSergei Trofimovich2018-09-161-0/+3
| | | | | | -fdiagnostics-show-option was added in gcc-4.1.0. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* cmake-utils.eclass: Move CMAKE_USER_MAKE_RULES_OVERRIDE to gentoo configAndreas Sturmlechner2018-09-161-1/+1
| | | | Closes: https://bugs.gentoo.org/631522
* eclass: libtool - Update to the latest stable elt-patchesBrian Evans2018-09-101-2/+2
| | | | | | As suggested by Chewi on the gentoo-dev ML Signed-off-by: Brian Evans <grknight@gentoo.org>
* eclass: autotools - Mark compatible EAPIs and introduce BDEPENDBrian Evans2018-09-101-1/+10
| | | | | | | | | | The autotools commands are run on the build host. As such, their packages needs to be in BDEPEND for EAPI 7. Also taking this opportunity to list compatible EAPIs to consider future adjustments. Signed-off-by: Brian Evans <grknight@gentoo.org>
* eclass: libtool - Mark compatible EAPIs and introduce BDEPENDBrian Evans2018-09-101-2/+7
| | | | | | | | The eltpatch command is run on the build host. As such, it needs to be in BDEPEND for EAPI 7. Also taking this opportunity to list compatible EAPIs to consider future adjustments.
* kde5-functions.eclass: Sync with kde overlayAndreas Sturmlechner2018-09-081-3/+7
| | | | | | QT_MINIMAL=5.11.1 default for kde-plasma/* ~arch FRAMEWORKS_MINIMAL=5.49.0 default for kde-apps/* ~arch Keep stable minimums to avoid metadata regeneration.
* www-client/firefox: install language packs as XPI fileIan Stakenvicius2018-09-072-2/+42
| | | | | | | | Unpacked extensions are no longer supported. [Link 1] Link 1: https://blog.mozilla.org/addons/2018/02/22/removing-support-unpacked-extensions/ Closes: https://bugs.gentoo.org/665352 Package-Manager: Portage-2.3.49, Repoman-2.3.10
* mozcoreconf-v6.eclass: synchronize with changes from mozilla overlayThomas Deutschmann2018-09-061-3/+15
|
* waf-utils.eclass: Fix handling WAF_VERBOSE=OFFMichał Górny2018-08-291-1/+1
| | | | Patch-by: Joke Junkie
* Revert "leechcraft.eclass: add support for EAPI 7"Sergey Popov2018-08-291-2/+2
| | | | | | | This reverts commit 58228e9d709dcb2e3174daf75f3d5086b2451a87. cmake-utils eclass is not available for EAPI 7 now, so we can not use it in leechcraft eclass
* leechcraft.eclass: add support for EAPI 7Sergey Popov2018-08-291-2/+2
|
* eclass: db-use - Update to eapi7-verBrian Evans2018-08-271-3/+7
| | | | | | | | | | | | This is a very simple eclass which only calls these functions from eclasses: ver_cut (EAPI 0-6) get_libdir (EAPI 0-5) get_libname (ALL EAPI) I see no little reason to place die statements for unknown EAPIs. Just changing the eclasses to better suit the latest EAPI should be OK. Signed-off-by: Brian Evans <grknight@gentoo.org>
* eclass/unpacker.eclass: Add support for makeself 2.4.0Christian Ruppert2018-08-251-1/+1
|
* flag-o-matic.eclass: allow -fuse-ld=* in filter flagsDavid C. Manuelda2018-08-241-0/+3
| | | | Closes: https://bugs.gentoo.org/662718
* toolchain-funcs.eclass: Update tc-is-softfloat for new ARM tuplesJames Le Cuirot2018-08-211-14/+60
| | | | | | | | | | | | | | | | | ARM tuples will change from armv7a-hardfloat-linux-gnueabi to armv7a-unknown-linux-gnueabihf or similar in the 17.0 profiles. The function already treated the latter as hardfloat but this commit will now treat ambiguous tuples such as arm-unknown-linux-gnueabi as softfloat rather than hardfloat. This brings Gentoo in line with most of the ARM Linux community. However, the function will now check existing toolchains to avoid breaking existing systems, if possible. This has been achieved by splitting the function in three, tc-detect-is-softfloat for checking existing toolchains, tc-tuple-is-softfloat for checking just the tuple, and the new tc-is-softfloat that calls the first two. The output from the first two could be compared to inform the user that they are not using a recommended tuplet.
* toolchain-funcs.eclass: tc-cpp-is-true function to simplify helpersJames Le Cuirot2018-08-211-28/+25
| | | | | CTARGET is used, if defined, otherwise CHOST. CHOST was previously assumed but this should not affect existing usage of these helpers.
* toolchain-funcs.eclass: New tc-getTARGET_CPP functionJames Le Cuirot2018-08-211-0/+11
| | | | | | | | | | | This returns the name of the C preprocessor for the toolchain being built if CTARGET is defined, or the toolchain being used otherwise. It is primarily intended to determine characteristics about an existing toolchain's target as these may differ from what the tuple suggests. It is not necessary to add the full set of tc-getTARGET_* helper functions as this is probably the only reason we would ever invoke a toolchain in the context of CTARGET.
* gnustep-2.eclass: add @SUPPORTED_EAPISBernard Cafarelli2018-08-201-1/+2
|
* gnustep-base.eclass: update check to call default src_prepareBernard Cafarelli2018-08-201-2/+3
| | | | | This now filters older EAPIs to support EAPI 7 Also add @SUPPORTED_EAPIS
* epatch.eclass: drop 'estack.eclass' usageSergei Trofimovich2018-08-191-6/+5
| | | | | | | | | | | | | | | | Avoid use of eshopts_push / eshopts_pop functions as they don't preserve expand_aliases shell option and get detected by QA warning as: * QA Notice: Global shell options changed and were not restored while calling 'src_prepare' Ssee bug #662586 for details. Tested as: $ EPATCH_USER_EXCLUDE="*" ebuild gcc-8.2.0.ebuild clean prepare Bug: https://bugs.gentoo.org/662586 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* cmake-utils.eclass: EAPI future-proof inherit-stopAndreas Sturmlechner2018-08-151-2/+1
|
* cmake-utils.eclass: Stop inheriting eapi7-ver.eclassArfrever Frehtes Taifersar Arahesis2018-08-151-1/+1
| | | | eapi7-ver.eclass is not used since commit b0a9a1202bbd68857aeffcfb7b1715962a39cc7c.
* cmake-utils.eclass: Drop remaining support for <cmake-3.4.0_rc1Arfrever Frehtes Taifersar Arahesis2018-08-151-26/+5
| | | | Default value of CMAKE_MIN_VERSION is already set to "3.9.6".
* cmake-utils.eclass: Fix usage of has_versionArfrever Frehtes Taifersar Arahesis2018-08-151-6/+6
| | | | | | has_version has no output, and its result is provided by exit status. Fixes: a8d5b1da360ab6e7a09bceda8a34d37e2182b963
* cmake-utils.eclass: Port has_version usage handle EAPI=7Michael Palimaka2018-08-151-4/+25
|
* kde5-functions.eclass: Drop obsolete KDE Applications 17.12.3 depsAndreas Sturmlechner2018-08-151-6/+0
|
* kde*.eclass: Drop var KDE_SCMJohannes Huber2018-08-152-50/+29
| | | | | No consumers and provided only git as option, which won't change anytime soon.
* gtk-sharp-module.eclass: RemoveMichał Górny2018-08-151-569/+0
| | | | Closes: https://bugs.gentoo.org/653460
* go-mono.eclass: RemoveMichał Górny2018-08-151-142/+0
| | | | Closes: https://bugs.gentoo.org/653460
* git-2.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
| | | | Closes: https://github.com/gentoo/gentoo/pull/9545
* git-2.eclass: Extend the ban to all future EAPIsMichał Górny2018-08-151-4/+5
|
* toolchain.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* toolchain-binutils.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* toolchain-autoconf.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* perl-app.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* ninja-utils.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|