summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* xorg-3.eclass: conditionalize autotools deps on XORG_EAUTORECONFSam James2024-05-031-3/+2
| | | | | | | | | | | | | | | xorg-3.eclass only calls autoreconf if XORG_EAUTORECONF is set, although the logic got cleaned up more in fae3e3b3eeec2d252ad42afeba11ac8ffeb70c42. We therefore don't need to depend on autoconf, automake, etc unless XORG_EAUTORECONF is set. Set AUTOTOOLS_AUTO_DEPEND from autotools.eclass to opt-out of the auto dependencies and use the AUTOTOOLS_DEPEND variable it sets when XORG_EAUTORECONF. Note that libtool.eclass still adds a dep on elt-patches so we're OK for that part (we call elibtoolize where we can). Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: cleanup autotools logic a bit moreSam James2024-05-031-2/+0
| | | | | | | EAUTORECONF_DEPENDS is always empty since 3db70e9c014e415ae38a713b47cf7b299fd11945. Fixes: 3db70e9c014e415ae38a713b47cf7b299fd11945 Signed-off-by: Sam James <sam@gentoo.org>
* Move {sys-devel → dev-build}/libtoolMichał Górny2024-01-151-2/+2
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34807 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xorg-3.eclass: Fetch xcb-util-* distfiles from lib/Matt Turner2023-10-201-1/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: cleanup XORG_EAUTORECONF furtherSam James2023-06-101-3/+5
| | | | | | | | | | | | | | | The current/previous logic is: * if `XORG_EAUTORECONF` is explicitly no, just elibtoolize. * if `XORG_EAUTORECONF` is yes/unset, automagic it based on configure.{ac,in} presence * if `XORG_EAUTORECONF` is unset, autoreconf I don't see the point in the automagic, so clean it up. At best, it papered over broken ebuilds. (And it's also dangerous if the deps aren't guaranteed to be installed.) Closes: https://github.com/gentoo/gentoo/pull/31279 Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: drop dead prefix targetsSam James2023-06-101-16/+1
| | | | | | Followup to 3db70e9c014e415ae38a713b47cf7b299fd11945. Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: drop removed x86-winnt refSam James2023-05-291-5/+0
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: Quote argument of ":" commandUlrich Müller2023-03-261-12/+12
| | | | | | This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass: standardize prologue/epilogueDavid Seifert2023-03-171-14/+14
| | | | | Closes: https://github.com/gentoo/gentoo/pull/30061 Signed-off-by: David Seifert <soap@gentoo.org>
* xorg-3.eclass: remove useless || die on emakeDavid Seifert2022-12-271-4/+4
| | | | | | Signed-off-by: David Seifert <soap@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28787 Signed-off-by: David Seifert <soap@gentoo.org>
* xorg-3.eclass: add FONT_OPENTYPE_COMPAT supportSam James2022-11-201-1/+7
| | | | | Bug: https://bugs.gentoo.org/698922 Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: fix typo in --disable-dependency-tracking grepSam James2022-07-151-1/+1
| | | | | | Interestingly goes back to 2012 in xorg-2.eclass! Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: strip -fno-plt from *FLAGSNiklāvs Koļesņikovs2022-06-181-3/+6
| | | | | | | | | | | | As discussed in #778494, the GCC flag -fno-plt will break lazy binding, which appears to still be necessary for Xorg. Stripping the offending flag out is the next best solution for reliable user experience on Gentoo. Closes: https://github.com/gentoo/gentoo/pull/20166 Closes: https://bugs.gentoo.org/778494 Signed-off-by: Niklāvs Koļesņikovs <89q1r14hd@relay.firefox.com> Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: Don't indent eclass documentationUlrich Müller2022-05-121-11/+13
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* xorg-3.eclass: Fix unsetting GIT_ECLASSMatt Turner2022-04-031-5/+3
| | | | | | | Apparently I cannot remember how bash works. Closes: https://bugs.gentoo.org/836727 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Unset GIT_ECLASS laterMatt Turner2022-04-021-1/+3
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Fix undocumented variable warningsMatt Turner2022-04-021-3/+2
| | | | | | | | - drop WANT_AUTOCONF/WANT_AUTOMAKE declarations: these are the default values - unset other variables after use so they don't leak to consumers Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Drop EXPORTED_FUNCTIONS variableMatt Turner2022-04-021-2/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Drop app-doc/doxygen as a doc dependencyMatt Turner2022-04-021-1/+0
| | | | | Closes: https://bugs.gentoo.org/700308 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Support EAPI 8Matt Turner2022-04-021-3/+3
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-241-9/+9
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* xorg-3.eclass: don't override XORG_EAUTORECONF from ebuilds in 9999Sam James2021-12-011-1/+1
| | | | | Closes: https://bugs.gentoo.org/827941 Signed-off-by: Sam James <sam@gentoo.org>
* xorg-3.eclass: pass --with-fontrootdir to configureMike Gilbert2021-10-241-5/+10
| | | | | | | | | | | | | | The XORG_FONTROOTDIR autoconf macro calls pkg-config to obtain the fontrootdir path defined in fontutil.pc. pkgconf automatically prepends SYSROOT to variable values that start with a "/". For installation paths, we don't want SYSROOT prepended. Passing --with-fontrootdir bypasses the pkg-config call and avoids the problem with SYSROOT. Bug: https://bugs.gentoo.org/815520 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* xorg-3.eclass: Set @PROVIDESMichał Górny2021-09-021-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xorg-3.eclass: add @PRE_INHERIT to various variablesSam James2021-03-311-1/+10
| | | | Signed-off-by: Sam James <sam@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-3.eclass: Explicitly disable static librariesMatt Turner2021-01-091-0/+6
| | | | 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>
* eclass/*: drop ppc-aix m68k-mintFabian Groffen2020-12-271-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* xorg-3.eclass: Require --disable-all-encodings for fontsMatt Turner2020-10-021-23/+5
| | | | | | | Presumably in the distant past all font packages did not support this option. They do today, so we can simplify our logic. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Drop font IUSE=nls handlingMatt Turner2020-10-021-2/+0
| | | | | | | | | | | | | The previous logic incorrectly added IUSE=nls for font-bitstream-100dpi, font-bitstream-75dpi, font-cronyx-cyrillic, font-misc-cyrillic, font-screen-cyrillic, and font-winitzki-cyrillic. This caused "QA Notice: Unrecognized configure options: ..." with USE=-nls. Instead, we'll simply have IUSE="nls" in the packages' ebuilds that need it. Closes: https://bugs.gentoo.org/745756 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: set XORG_MODULE for xcb-util packagesDavid Michael2020-08-161-9/+10
| | | | | | | | | | Other packages like xcb-proto and libxcb are also under xcb/, but they are duplicated under proto/ and lib/ and are already working there, so this only affects xcb-util packages. Signed-off-by: David Michael <fedora.dm0@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17133 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Add missing spaceMatt Turner2020-08-071-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Fix inherits and BDEPENDMike Lothian2020-08-071-2/+2
| | | | | | | | | | Remove duplicate flag-o-matic and re-add ${GIT_ECLASS} to allow xorg-3 git ebuilds to work again Don't overwrite BDEPEND variable Signed-off-by: Mike Lothian <mike@fireburn.co.uk> Closes: https://github.com/gentoo/gentoo/pull/17043 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Add support for handling fontsHenrik Pihl2020-08-061-4/+172
| | | | | Signed-off-by: Henrik Pihl <ahvenas@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* Remove MULTILIB_USEDEP from all virtual/pkgconfig dependenciesMike Gilbert2020-06-131-6/+2
| | | | | Bug: https://bugs.gentoo.org/723112 Signed-off-by: Mike Gilbert <floppym@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>
* xorg-3.eclass: Add XORG_TARBALL_SUFFIXMatt Turner2019-08-131-1/+7
| | | | | | To allow overriding the tarball type. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: EAUTORECONF_DEPENDS belong to BDEPENDMichael Haubenwallner2019-06-141-1/+2
| | | | | | | EAUTORECONF_DEPENDS is non-empty for ppc-aix and x86-winnt only. Also, unset variable 'arch' after use. Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
* xorg-2.eclass, xorg-3.eclass: Depend on ↵Arfrever Frehtes Taifersar Arahesis2019-04-291-1/+5
| | | | | | | | virtual/pkgconfig[${MULTILIB_USEDEP}] when multilib support is enabled. Fixes: https://bugs.gentoo.org/684494 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Remove parent directories of ${D}/usr/share/man/man3 when empty.Arfrever Frehtes Taifersar Arahesis2019-04-261-0/+1
| | | | | | Bug: https://bugs.gentoo.org/595936 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: BDEPEND on virtual/pkgconfigMatt Turner2019-04-261-1/+1
| | | | | Closes: https://bugs.gentoo.org/683866 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Don't delete man pages if XORG_DOC=doc is missingMatt Turner2019-04-241-1/+1
| | | | | | | | There's an eqawarn to warn us about this case a few lines above, but in case we forget, don't delete the man pages. Suggested by Arfrever. Bug: https://bugs.gentoo.org/595936 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Remove only library call man pages if USE=-docMatt Turner2019-04-241-1/+5
| | | | | | | | Arfrever rightly pointed out that there are some useful man pages, and that the issue is about installing thousands of *developer* man pages. Closes: https://bugs.gentoo.org/595936 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Remove developer documentation unless requestedMatt Turner2019-04-071-0/+5
| | | | | Closes: https://bugs.gentoo.org/595936 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-2.eclass, xorg-3.eclass: Update HOMEPAGE and EGIT_REPO_URI.Arfrever Frehtes Taifersar Arahesis2019-03-161-2/+3
| | | | | | Fixes: https://bugs.gentoo.org/680192 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Remove unnecessary eutils inheritMatt Turner2019-03-101-2/+1
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: Copy from xorg-2.eclass and add EAPI 7 supportMatt Turner2019-02-271-0/+372
Nearly all the work is just removing uses of autotools-multilib and autotools-utils. I dropped font support for a couple of reasons: 1) it's not a small amount of code 2) font.eclass does not support EAPI 7 3) none of the fonts packages have changed since the git import Closes: https://bugs.gentoo.org/619832 Signed-off-by: Matt Turner <mattst88@gentoo.org>