summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* nvidia-driver.eclass: ModerniseDavid Seifert2021-01-101-128/+108
| | | | | | | | | | | | | * Prefer [[ ]] over [ ] * Add EAPI whitelist * Add inherit guard * sys-apps/pciutils needs to be present on CBUILD * Prefer https over http * Drop reference to eselect-opengl * document NV_KV_MAX_PLUS Closes: https://github.com/gentoo/gentoo/pull/19017 Signed-off-by: David Seifert <soap@gentoo.org>
* acct-user.eclass: allow opt-out of user modificationThomas Deutschmann2021-01-101-0/+27
| | | | | | | | | | | | | | | In some setups where users are changed/managed not only via ebuilds, for example through configuration management systems, it could be problematic if acct-user.eclass will restore user/group settings to values set in ebuild. Setting ACCT_USER_NO_MODIFY to a non-zero value will allow system administrator to disable modification of any existing user. Note: Lock/unlock when acct-* package will be installed/removed will still happen. Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* acct-user.eclass: fix styleThomas Deutschmann2021-01-101-5/+5
| | | | Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
* qt5-build.eclass: Drop obsolete pre-5.15.2 quirkAndreas Sturmlechner2021-01-101-3/+0
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* xorg-3.eclass: Call einstalldocs when not using XORG_MULTILIBDavid Michael2021-01-091-0/+1
| | | | | | | | | | DOCS only got installed from the multilib-minimal_src_install call, so they were missing from non-multilib packages. This corrects a behavior difference from xorg-2.eclass where autotools-utils.eclass installed DOCS for the non-multilib case. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-2.eclass: Explicitly disable static librariesMatt Turner2021-01-091-0/+6
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Explicitly disable static librariesMatt Turner2021-01-091-0/+6
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-2.eclass: Remove XORG_STATICMatt Turner2021-01-091-22/+1
| | | | | | | Statically linking X libraries into your program is an extremely bad idea. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Remove XORG_STATICMatt Turner2021-01-091-22/+0
| | | | | | | Statically linking X libraries into your program is an extremely bad idea. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* acct-group.eclass: Support ACCT_GROUP_ID overrideMichał Górny2021-01-091-10/+29
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Support ACCT_USER_ID overrideMichał Górny2021-01-091-11/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Support var overrides for user propertiesMichał Górny2021-01-091-24/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a few variables to allow easy overrides of common user account proprerties, that is: - ACCT_USER_<username>_SHELL - ACCT_USER_<username>_HOME - ACCT_USER_<username>_HOME_OWNER - ACCT_USER_<username>_HOME_PERMS - ACCT_USER_<username>_GROUPS - ACCT_USER_<username>_GROUPS_ADD The first five variables override the respective ACCT_USER_* variables, with ACCT_USER_*_GROUPS being a space-separated list. The *_GROUPS_ADD variable appends to groups present in the ebuild, as this seems a common necessity. We do realize that the original requirement of overriding ebuilds in a local repository was inconvenient. This new logic should permit easy updates via make.conf. Additionally, it has the advantage of clearly reporting the changes made in the build logs. This does not preclude other solutions to the problem. However, this is probably the best one and it should become the current recommendation. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* linux-mod.eclass: Add a prebuilt-kernel rebuild flagMichał Górny2021-01-071-3/+10
| | | | | | | | Add a 'prebuilt-kernel' USE flag that controls a bound-slot dependency on virtual/prebuilt-kernel. If the flag is enabled, it should ensure that the module will be rebuilt automatically on future kernel upgrades. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/acct-group.eclass: drop x86-macosFabian Groffen2021-01-061-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* eclass/acct-user: drop x86-macosFabian Groffen2021-01-061-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* toolchain-funcs.eclass: fix or1k* tuple detectionSergei Trofimovich2021-01-052-2/+3
| | | | | | | | | | Before the change the only recognised CHOST was 'or1k'. After the change CHOSTs like 'or1k-linux-musl' are also recognised as 'openrisc'. Reported-by: adam@pimentel.space Bug: https://bugs.gentoo.org/763606 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Revert "systemd.eclass: remove SYSROOT from pkg-config output"Mike Gilbert2021-01-041-1/+0
| | | | | | | | | After discussion on the mailing list, it was determined that pkgconfig and pkgconf differ in behavior. Revert this eclass change until we have a more clear path forward. Reverts: ac07a890dd55813eee120b328a17ee413e5c3489. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/pam.eclass: remove deprecated functionalityMikle Kolyada2021-01-031-45/+2
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* systemd.eclass: remove SYSROOT from pkg-config outputMike Gilbert2021-01-021-0/+1
| | | | | | | | | | When cross-compiling, users will typically have PKG_CONFIG_SYSROOT=${SYSROOT} defined via pkg-config wrapper. When PKG_CONFIG_SYSROOT is set, all paths included in pkg-config output get prefixed with this value. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* kernel-2.eclass: Handle stricter bash 5.1 expansion rulesMike Pagano2021-01-011-2/+2
| | | | | | | | | Set default value in the case that STRICT_COUNT is unset. Thanks to jospezial for reporting Closes: https://bugs.gentoo.org/762319 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* mozlinguas-v2.eclass: Adjust for new object dir in seamonkey-2.53.6Lars Wendler2020-12-311-0/+5
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* kernel-2.eclass: update K_PREPATCHED descriptionJoonas Niilola2020-12-291-5/+5
| | | | | | - include examples that are still present in the repository. Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* meson.eclass: use meson-format-arrayMike Gilbert2020-12-281-15/+4
| | | | | Closes: https://bugs.gentoo.org/759433 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass: [QA] Revert multiple meaningless doc changesMichał Górny2020-12-2856-558/+71
| | | | | | | | | | | Revert multiple meaningless eclass documentation changes, notably adding a lot of placeholders and documenting implementation details. These changes were aimed at silencing (valid) documentation warnings without actually providing valuable documentation to the end users. While some of these changes were beneficial, it would take a lot of effort to review them all and the author is unwilling to fix his mistakes. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ruby-utils.eclass: add support for ruby30Hans de Graaff2020-12-281-1/+5
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/*: drop ppc-aix m68k-mintFabian Groffen2020-12-274-4/+4
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmake-utils.eclass: Ban qmake-utils_find_pro_file() as wellAndreas Sturmlechner2020-12-261-30/+3
| | | | | | Always marked as @INTERNAL and no remaining users in gentoo.git. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qmake-utils.eclass: Drop obsolete EAPI-6 support, ban qt4* functionsAndreas Sturmlechner2020-12-261-159/+33
| | | | | | Last consumer in Gentoo ebuild repository was dropped. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* */*: Update copyright line for files touched in 2019 and 2020.Ulrich Müller2020-12-2330-30/+30
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* python-r1.eclass: Support PYTHON_SINGLE_USEDEP in any-dep APIMichał Górny2020-12-231-7/+33
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Support PYTHON_SINGLE_USEDEPMichał Górny2020-12-231-10/+38
| | | | | Closes: https://bugs.gentoo.org/713894 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-r1.eclass: Update PYTHON_USEDEP in python_gen_any_dep()Michał Górny2020-12-231-10/+10
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* python-any-r1.eclass: Update PYTHON_USEDEP to match python-r1Michał Górny2020-12-231-15/+14
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* waf-utils.eclass: support EAPI-7Marek Szuba2020-12-221-2/+2
| | | | | | | | | Trivial bump. Tested with a modified media-video/mpv ebuild (which package requires this change before it can be migrated to Lua eclasses), seems to work fine. Closes: https://bugs.gentoo.org/743826 Signed-off-by: Marek Szuba <marecki@gentoo.org>
* unpacker.eclass: add zst supporthalcon742020-12-211-1/+5
| | | | | | | Closes: https://bugs.gentoo.org/760905 Closes: https://github.com/gentoo/gentoo/pull/18738 Signed-off-by: Alexey Mishustin <halcon@tuta.io> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* haskell-cabal.eclass: unconditionally use bundled haddock for USE=docSergei Trofimovich2020-12-201-9/+0
| | | | | | Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/760863#c10 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* fdo-mime.eclass: Remove last-rited eclassDavid Seifert2020-12-171-43/+0
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* eclass/games: fixup documentationAaron Bauman2020-12-161-0/+4
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/fortran-2: fixup documentationAaron Bauman2020-12-161-0/+10
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/font: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/fixheadtails: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/fcaps: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/estack: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/epatch: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/emboss: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/ecm: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/distutils-r1: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/desktop: fixup documentationAaron Bauman2020-12-161-0/+5
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/depend.apache: fixup documentationAaron Bauman2020-12-161-0/+15
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>
* eclass/db: fixup documentationAaron Bauman2020-12-161-0/+24
| | | | Signed-off-by: Aaron Bauman <bman@gentoo.org>