summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gnome2-utils.eclass: skip executing cross-compiled toolsDavid Michael2020-12-071-23/+75
| | | | | | | | | | | | | | | | | | | | | | Executing tools installed in ROOT will fail when cross-compiling, so this prints a warning about manually running the command instead in that case. The warning is copied from dev-libs/glib. This also reorders the exception handling by increasing severity so that the "nothing to do" non-error returns first, otherwise the expected problem of unexecutable cross-compiled commands returns, otherwise the unexpected problem of missing commands returns. The immodule cache functions were updated to handle a different problem. They run native tools from BROOT, but they are not guaranteed to exist while cross-compiling (e.g. gtk+ can't BDEPEND on itself, so the cross-compiled gtk+ can be installed before the native gtk+, which fails from gtk-query-immodules not existing). Closes: https://bugs.gentoo.org/611030 Closes: https://bugs.gentoo.org/757483 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Drop EAPI < 5 supportMatt Turner2020-12-071-18/+7
| | | | | Closes: https://bugs.gentoo.org/566728 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Inherit eutils.eclass for emktemp().Arfrever Frehtes Taifersar Arahesis2020-04-071-2/+3
| | | | | | Bug: https://bugs.gentoo.org/694012 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Fix missing "/" with EAPI >= 7.Arfrever Frehtes Taifersar Arahesis2020-04-071-9/+9
| | | | | | Bug: https://bugs.gentoo.org/694012 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: Fix double "/" with EAPI < 7.Arfrever Frehtes Taifersar Arahesis2020-04-071-10/+10
| | | | | | Bug: https://bugs.gentoo.org/694012 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils.eclass: remove redundant @USAGE linesBen Kohler2020-04-071-5/+0
| | | | | Signed-off-by: Ben Kohler <bkohler@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
* gnome2-utils: enable EAPI 7Mart Raudsepp2019-02-111-2/+2
| | | | Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* gnome2-utils: adapt env_reset for EAPI-7Mart Raudsepp2019-02-111-1/+1
| | | | Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* gnome2-utils: Don't inherit eutils with EAPI-7Mart Raudsepp2019-02-111-1/+2
| | | | Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* gnome2-utils: Remove sed DEPEND, it's guaranteed by PMSMart Raudsepp2019-02-111-2/+0
| | | | | | | | sed is always guaranteed to be there by PMS and @system, don't depend on it for the regular sedding purposes at build time. Avoids having to worry about DEPEND vs BDEPEND. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* gnome2-utils: Don't provide icon cache functions with EAPI-7Mart Raudsepp2019-02-111-22/+28
| | | | | | | They are in xdg-utils now, so EAPI-7 bump is a good time to move over to the xdg versions by those that need it. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* gnome2-utils: move icon functions into xdg-utilsMarty E. Plummer2019-02-111-54/+3
| | | | | | | | | Kept some dummy stub functions in place in order to maintain functionality of existing ebuilds. Package-Manager: Portage-2.3.51, Repoman 2.3.11 Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* gnome2-utils.eclass: add @SUPPORTED_EAPISMichał Górny2018-08-151-0/+1
|
* gnome2-utils.eclass: Fix the documentation for cache update functionsMichał Górny2018-06-131-5/+7
| | | | | Fix the documentation for recently changed cache update functions that no longer rely on their _savelist() counterpart to indicate that.
* gnome2*.eclass: Move the preinst conditional out of gnome2_schemas_updateMichał Górny2017-09-081-5/+0
| | | | | | | | | | | | | | | Move the GNOME2_ECLASS_GLIB_SCHEMAS conditional from gnome2_schemas_update straight into the implementation of gnome2.eclass postinst/postrm. This variable is set in preinst to indicate whether any files were installed. However, the updater itself does not use the list in any way and updates all the schemas anyway. Therefore, avoid requiring the ebuilds to explicitly define preinst/postinst when it is known that the package installs schemas, and instead let gnome2_schemas_update called in postinst/postrm update schemas unconditionally.
* gnome2-utils.eclass: Remove GNOME2_ICONS conditional (moved to gnome2)Michał Górny2017-04-251-5/+0
|
* gnome2-utils.eclass: Make gnome2_icon_cache_update update all themesMichał Górny2017-04-251-9/+9
| | | | | | | | Make the gnome2_icon_cache_update function update all icon themes rather than depending on gnome2_icon_savelist to select themes to update. This makes the function easier to use whenever the developer needs it explicitly (i.e. knows that themes are installed), while the overhead of regenerating multiple caches is neglible.
* Drop trailing whitespacesJustin Lecher2017-03-191-2/+2
| | | | Signed-off-by: Justin Lecher <jlec@gentoo.org>
* Drop $Id$ per council decision in bug #611234.Robin H. Johnson2017-02-281-1/+0
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* gnome2.eclass/gnome2-utils.eclass: implement eapi6 support and take ↵Pacho Ramos2016-04-031-0/+8
| | | | advantage of that for finally fixing many bugs/enhancements that were waiting for this (#571378)
* eclass/gnome2-utils.eclass: fix DGSEAL_ENABLE sed (#530490 by Alexander Tsoy)Pacho Ramos2016-01-301-1/+1
|
* eclass/gnome2-utils.eclass: prevent spurious warnings (#448822)Pacho Ramos2016-01-301-2/+2
|
* gnome2-utils.eclass: enable EAPI 6 supportMichael Palimaka2016-01-271-2/+3
| | | | Gentoo-bug: 423878
* gnome2-utils.eclass: add gnome2_giomodule_cache_update function, bug #518422Gilles Dartiguelongue2016-01-021-0/+23
|
* eclass/gnome2-utils.eclass: Ensure we don't rely on dconf/gconf while ↵Pacho Ramos2015-12-141-0/+3
| | | | building, bug #511946
* gnome2-utils.eclass: make sure configure exists before try to sed itGilles Dartiguelongue2015-11-241-1/+1
| | | | | | | | Would cause error messages, see bug #566202. Thanks to Gregory Turner for reporting. https://bugs.gentoo.org/show_bug.cgi?id=566202
* gnome2-utils.eclass: don't mask stderr of pushd/popdGilles Dartiguelongue2015-11-241-10/+10
|
* gnome2-utils.eclass: add missing '|| die' on pushd/popdJulian Ospald2015-11-241-10/+10
| | | | Signed-off-by: Gilles Dartiguelongue <eva@gentoo.org>
* gnome2-utils.eclass: use xdg_environment_resetGilles Dartiguelongue2015-11-241-14/+4
|
* convert `mktemp` to `emktemp` from eutilsMike Frysinger2015-10-101-2/+2
|
* eclass: fix gnome2_query_immodules_gtk{2,3} when ROOT != "/"Alexandre Rostovtsev2015-08-231-2/+8
| | | | | Thanks-to: Risimi Gentoo-Bug: 558506
* proj/gentoo: Initial commitRobin H. Johnson2015-08-081-0/+502
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed