summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* ada.eclass: add export of GNATTupone Alfredo2019-09-171-2/+6
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* ada.eclass: fix mispelling of ada_targetTupone Alfredo2019-09-171-1/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* common-lisp-3.eclass: fix various @USAGE inconsistenciesBen Kohler2019-09-161-4/+6
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* qmail.eclass: minor @USAGE fixBen Kohler2019-09-161-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* ruby-fakegem.eclass: fix misspelled function name & minor @USAGE syntaxBen Kohler2019-09-161-7/+7
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* autotools-utils.eclass: Update @SUPPORTED_EAPISMichał Górny2019-09-151-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* sgml-catalog-r1.eclass: define @SUPPORTED_EAPISMichał Górny2019-09-151-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* savedconfig.eclass: define @SUPPORTED_EAPISMichał Górny2019-09-151-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde5.eclass: Add @SUPPORTED_EAPISMichał Górny2019-09-151-0/+1
| | | | | | | The EAPI list is implicitly defined by kde5-functions inherit, so just copy it over. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* bazel.eclass: Add @SUPPORTED_EAPISMichał Górny2019-09-151-1/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ada.eclass: Add @SUPPORTED_EAPISMichał Górny2019-09-151-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* ant-tasks.eclass: Add @SUPPORTED_EAPISMichał Górny2019-09-151-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* freebsd.eclass: Switch to mirror://gentooMichał Górny2019-09-151-2/+2
| | | | | | | | | FreeBSD upstream removed the distfiles for 11.1 release from their servers. Switch to mirror://gentoo to provide those old files. While using upstream's servers would be correct for new releases, the packages are last rited anyway. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/mozcoreconf-v6: revert lto hack for ppc/armJory Pratt2019-09-141-31/+9
| | | | Signed-off-by: Jory Pratt <anarchy@gentoo.org>
* eclass/ada.eclass: Adding gnatchop wrapperTupone Alfredo2019-09-141-10/+19
| | | | | | Took also in account comments from mgorny Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* kde5.eclass: Add KDE_DESIGNERPLUGIN handling for kde-frameworks/Andreas Sturmlechner2019-09-141-3/+11
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5.eclass: kde-frameworks/kdesignerplugin moved to portingAidsAndreas Sturmlechner2019-09-141-0/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* eclass/ada.eclass: Adding gnatprep launcherTupone Alfredo2019-09-131-2/+11
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* toolchain-funcs: Add tc-ld-is-lld helper.Manoj Gupta2019-09-131-0/+30
| | | | | | | | LLD is a new linker for LLVM project. Add tc-ld-is-lld helper to be able to detect it. Signed-off-by: Manoj Gupta <manojgupta@google.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* ada.eclass: New eclass for dev-ada packagesTupone Alfredo2019-09-121-0/+435
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* sgml-catalog-r1.eclass: New eclass to handle SGML catalogsMichał Górny2019-09-111-0/+73
| | | | | | | | | Create a new, simpler eclass to handle SGML catalog installation. Rather than relying on external tool to add/remove catalogs in postinst/postrm, let ebuilds install interim catalogs and just register all installed catalogs. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* s6.eclass: minor @USAGE clarificationsBen Kohler2019-09-101-3/+3
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* perl-app.eclass: remove uneeded @USAGE linesBen Kohler2019-09-101-3/+0
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* prefix.eclass: minor @USAGE fixBen Kohler2019-09-091-1/+1
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* elisp.eclass: Use EAPI defaults where possible.Ulrich Müller2019-09-091-14/+11
| | | | | | | | | | | | src_unpack: Call default instead of explicit unpack. src_prepare: Call default, so that the PATCHES variable will be respected in EAPIs 6 and 7. src_install: Call einstalldocs in EAPIs where it is supported. Drop unnecessary die statements, because helpers die by themselves in all supported EAPIs. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* bzr.eclass: Respect the EVCS_UMASK variable.Ulrich Müller2019-09-091-2/+20
| | | | | Bug: https://bugs.gentoo.org/497798 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* tmpfiles.eclass: fix @USAGE to not include function namesBen Kohler2019-09-081-3/+3
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* udev.eclass: minor @USAGE fixesBen Kohler2019-09-081-2/+2
| | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org>
* mozcoreconf-v6.eclass: seamonkey doesn't use ltoLars Wendler2019-09-081-16/+20
| | | | | Closes: https://bugs.gentoo.org/693666 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* acct-user.eclass: Document primary/supplementary groupsMichał Górny2019-09-081-1/+2
| | | | | Closes: https://bugs.gentoo.org/692964 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: drop PATH and ROOTPATH from /etc/env.d/gcc/Sergei Trofimovich2019-09-051-2/+0
| | | | | | | | | | | | | toolchain.eclass constructs correct GCC_PATH since 2007: commit 7d9f89700a2ee50674c0d871ec6d21b468ac6206 ("start moving to GCC_PATH for env.d #174422 and cleanup " "gcc-config logic so that it doesnt matter what the ROOT value is") gcc-config moved over as well. Let's leave GCC_PATH as the only available variable to locate gcc's whereabouts. Bug: https://bugs.gentoo.org/174422 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* Revert ada.eclass modification as requestedTupone Alfredo2019-09-051-435/+0
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass/ada.eclass: Better fix for empty unsupportedTupone Alfredo2019-09-051-1/+5
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* eclass/ada.eclass: Put in IUSE all implementationsTupone Alfredo2019-09-051-1/+1
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* ada.eclass: New eclass for dev-ada packagesTupone Alfredo2019-09-041-0/+431
| | | | Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
* mozcoreconf-v6.eclass: don't force -mminimal-toc on ppc64Georgy Yakovlev2019-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a really old flag which was needed to compile with GCC <4.6 I've traced down the existence of this flag here up to commit 5980a31194da3376ea9dcf804139a2999199508c Author: Raúl Porcel <armin76@gentoo.org> Date: Sat Mar 15 18:09:25 2008 +0000 Add eclasses for mozilla-firefox-3 and xulrunner-1.9 probably it also was in earlier eclasses. it was there to fix this kind of bugs: https://bugs.gentoo.org/241900 Problem WAS that on ppc64 .toc1 section could be at most 64KB in size It's true on GCC versions prior to 4.6 or if mminimal-toc passed on modern gcc However, since GCC4.6[1] they implemented 3 new TOC models -mcmodel=small uses 16-bit toc offsets, ie. what we had before. -mcmodel=medium [ the new default ] uses 32-bit toc offsets and addresses static data, string constants etc. relative to the toc pointer. Limits data to around 2G. -mcmodel=large uses 32-bit toc offsets, no limit on static data. By passing -mminimal-toc on modern GCC we force -mcmodel=small it means The TOC is limited to 64k. The default for gcc currently is -mcmodel=medium, with it TOC static data may grow up to 4G But here's the problem: current mozilla builds (thunderbird and firefox) force -O3 optimization by default, making it very easy to overflow TOC section {standard input}:1344252: Error: operand out of range \ (0x00000000000178b8 is not between 0xffffffffffff8000 and 0x0000000000007ffc) Passing -O3 is THE DEFAULT configuration, unless USE=custom-optimization is set, which voids the warranty =) So I propose removing this flag from eclass and building with default model on modern toolchain. Quite unlikely someone tries to build FF/TB using gcc-4.5, and if they do - they have other problems to solve. [1] https://gcc.gnu.org/ml/gcc-patches/2010-06/msg00747.html Acked-by: Jory Pratt <anarchy@gentoo.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* mozcoreconf-v6.eclass: fix lto on arm and ppc64Georgy Yakovlev2019-08-291-2/+2
| | | | | | Closes: https://bugs.gentoo.org/692500 Acked-by: Jory Pratt <anarchy@gentoo.org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* cargo.eclass: add cargo_live_src_unpack()Georgy Yakovlev2019-08-291-1/+26
| | | | | | | | | | | | | | | | | | | | | | | This function will allow using 'cargo fetch' during src_unpack Since only new cargo supports vendoring, all live packages will have to depend on >=rust-1.37.0 This enables us to ship live rust packages, cargo fetch will download all crates and vendor them for offline phases. here's an example of src_unpack() src_unpack() { if [[ "${PV}" == *9999* ]]; then git-r3_src_unpack cargo_live_src_unpack else cargo_src_unpack fi } Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* kodi-addon.eclass: EAPI=7 support, fix warningCraig Andrews2019-08-261-4/+8
| | | | | | | Fix CMAKE_INSTALL_LIBDIR warning, see: https://github.com/xbmc/xbmc/blob/18.3-Leia/cmake/scripts/common/AddonHelpers.cmake#L308 Signed-off-by: Craig Andrews <candrews@gentoo.org>
* libretro-core.eclass: Update copyrightCraig Andrews2019-08-261-1/+1
| | | | Signed-off-by: Craig Andrews <candrews@gentoo.org>
* libretro-core.eclass: replace CXXFLAGS in src_prepare stageYuri Konotopov2019-08-261-0/+1
| | | | | Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org> Signed-off-by: Craig Andrews <candrews@gentoo.org>
* libretro-core.eclass: make $LIBRETRO_CORE_LIB_FILE variable localYuri Konotopov2019-08-261-6/+15
| | | | | | | | | Default $LIBRETRO_CORE_LIB_FILE variable value depends on $S which should be set after "inherit" section according to skel.ebuild. Also this variable is used in libretro-core_src_install function only. Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org> Signed-off-by: Craig Andrews <candrews@gentoo.org>
* libretro-core.eclass: replace hyphens in default $LIBRETRO_CORE_NAMEYuri Konotopov2019-08-261-4/+8
| | | | | | | | | Libretro cores are named with underscores instead of hyphens. E.g. genesis_plus_gx or vba_next. Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org> Closes: https://github.com/gentoo/gentoo/pull/12738 Signed-off-by: Craig Andrews <candrews@gentoo.org>
* xorg-3.eclass: Add media-fonts/ to a couple casesMatt Turner2019-08-251-0/+2
| | | | | | | | media-fonts/font-util doesn't require all of the extra logic xorg-2 contains for fonts. Adding these two lines are needed for new font-util to use xorg-3. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* toolchain.eclass: cleanup create_revdep_rebuild_entry()Sergei Trofimovich2019-08-251-2/+2
| | | | | | | | | | | | | From #gentoo-toolchain: """ <+[Arfrever]> It will cause that empty /etc/revdep-rebuild directory will be installed by gcc. Please move dodir to after 'is_crosscompile || return 0'. <+[Arfrever]> ${revdep_rebuild_file} should be quoted. """ Reported-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eclass/toolchain.eclass: mask LIBPATH for cross-case, bug #692844Sergei Trofimovich2019-08-251-0/+15
| | | | | | | | | | | | | | | | | /usr/lib/gcc/${CTARGET}/${GCC_CONFIG_VER} contains libraries destined to be used by ${CTARGET}. revdep-rebuild complains about missing dependencies against them as we don't populate LDPATH (or anything else) for them. The change populates /etc/revdep-rebuild/05cross-${CTARGET}-${GCC_CONFIG_VER} with a single entry: SEARCH_DIRS_MASK="/usr/lib/gcc/${CTARGET}/${GCC_CONFIG_VER}" crossdev will still own root's SEARCH_DIRS_MASK="/usr/${CTARGET}". Reported-by: crocket Closes: https://bugs.gentoo.org/692844 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* acct-user.eclass: Fix typo in eislocked()Michał Górny2019-08-241-2/+2
| | | | | | Reported by Hello71. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: Add support for gcc 9.1 CPU optimization patchMike Pagano2019-08-231-6/+20
| | | | | | | See bug #692320 See https://github.com/graysky2/kernel_gcc_patch Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* check-reqs.eclass: Remove duplicate slash in path.Ulrich Müller2019-08-231-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* check-reqs.eclass: Drop unused code for EAPIs without MERGE_TYPE.Ulrich Müller2019-08-231-9/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>