* [gentoo-commits] repo/gentoo:master commit in: xfce-base/exo/, xfce-base/exo/files/
@ 2016-08-17 10:51 Jason Zaman
0 siblings, 0 replies; 3+ messages in thread
From: Jason Zaman @ 2016-08-17 10:51 UTC (permalink / raw
To: gentoo-commits
commit: 7d4ec2ab360118d4ec587688342a7038d3a5a315
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 10:41:47 2016 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 10:50:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4ec2ab
xfce-base/exo: bump and drop old
Package-Manager: portage-2.2.28
xfce-base/exo/Manifest | 2 +-
.../{exo-0.11.0-r1.ebuild => exo-0.11.1.ebuild} | 2 --
xfce-base/exo/files/exo-0.11.0-env.patch | 26 ----------------------
3 files changed, 1 insertion(+), 29 deletions(-)
diff --git a/xfce-base/exo/Manifest b/xfce-base/exo/Manifest
index b1cfef1..dc84a7b 100644
--- a/xfce-base/exo/Manifest
+++ b/xfce-base/exo/Manifest
@@ -1,3 +1,3 @@
DIST exo-0.10.6.tar.bz2 1276178 SHA256 1cc0e5a432e050a5e5aa64d126b988f4440da4f27474aaf42a4d8e13651d0752 SHA512 be537145ea0f0ea87566908f3ed4850ee3b20caf292d27dd752a9eaba7047598b585b398c2a6e4c925d832b5b2f76e0b9cc763ee3c955f08d47c6ac8bf3a2805 WHIRLPOOL 8daa7a8021faea4b87a5204d2a6604fde732efd183aa3d7404b6b0b52444edbceab28ac636a254f145c705689baa3996a4ccd39256edd4a3ae148b7b40dc9034
DIST exo-0.10.7.tar.bz2 1262301 SHA256 521581481128af93e815f9690020998181f947ac9e9c2b232b1f144d76b1b35c SHA512 5a872e6895595da027f403fb7951922c40481d53242cb4d9c3da2d36690c61dce2fdb34ba0eb39367558a5e3055733af25432d1f3a8f60984b7e2ed997408b60 WHIRLPOOL 4c8a71b70e67f0db0bfaa752b0b1f01a80a83cbe84d754b44b3d45811743cf4276abe5d9cde40cef13f87f6013666255ccc5a1cc64afe129a55fe813b4dbcb1e
-DIST exo-0.11.0.tar.bz2 1231778 SHA256 bd168a4dd4eb1ee8ef960d7adb36b64162b1c4611d7ab71dec1b2281a4bf655b SHA512 de97cb8d06393a2de826e252b141c6119001d9daa5fc0f1b9c50bdc21b10028f2b1ee89e47dbab0e23e333ff276f32e0e1008f9489785e7724809e45d2a2adbd WHIRLPOOL c5adac9765d9de08043afa2346125004edea948c65d5b44aaaca3f3c30095c8c3b74cd978b41476a8c25bf7fce8a4ae1781312b6dd4c42d31bb326dc1b3c0ae4
+DIST exo-0.11.1.tar.bz2 1231288 SHA256 c70c47f690284a5cb4f507dd89088efbdd8123506f924e33a5f97aab74eb97d4 SHA512 626640c135f316ceb9e9cdff7c1ae4f537737ac71a2e0b242dd723e35cc7a3119ba198c894d22f373b58c49c4b1640eaf64658a27c3341a6efbb0c52807c67cf WHIRLPOOL ae0c0b3f8993fdf463bc0936a9565e12cb11e815c6202ad2234fecb63498fbf3e5a7b8a848516bb38bba2a78453e2bda4e10c8ba9ecc8032fb8f94ae81908c64
diff --git a/xfce-base/exo/exo-0.11.0-r1.ebuild b/xfce-base/exo/exo-0.11.1.ebuild
similarity index 96%
rename from xfce-base/exo/exo-0.11.0-r1.ebuild
rename to xfce-base/exo/exo-0.11.1.ebuild
index 824d3e9..194f783 100644
--- a/xfce-base/exo/exo-0.11.0-r1.ebuild
+++ b/xfce-base/exo/exo-0.11.1.ebuild
@@ -27,8 +27,6 @@ DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
-PATCHES=( ${FILESDIR}/${P}-env.patch )
-
pkg_setup() {
XFCONF=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}
diff --git a/xfce-base/exo/files/exo-0.11.0-env.patch b/xfce-base/exo/files/exo-0.11.0-env.patch
deleted file mode 100644
index 67ad54f..0000000
--- a/xfce-base/exo/files/exo-0.11.0-env.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/exo-helper/exo-helper.c b/exo-helper/exo-helper.c
-index ce5ef9e..7b4b9c2 100644
---- a/exo-helper/exo-helper.c
-+++ b/exo-helper/exo-helper.c
-@@ -406,7 +406,7 @@ exo_helper_execute (ExoHelper *helper,
- envp = g_environ_setenv (envp, "DISPLAY", display, TRUE);
-
- /* try to run the command */
-- succeed = g_spawn_async (NULL, argv, envp, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, &err);
-+ succeed = g_spawn_async (NULL, argv, NULL, G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH, NULL, NULL, &pid, &err);
-
- /* cleanup */
- g_strfreev (argv);
-diff --git a/exo/exo-execute.c b/exo/exo-execute.c
-index 1fabf57..f6016cf 100644
---- a/exo/exo-execute.c
-+++ b/exo/exo-execute.c
-@@ -150,7 +150,7 @@ exo_execute_preferred_application_on_screen (const gchar *category,
- envp = g_environ_setenv (envp, "DISPLAY", display, TRUE);
-
- /* launch the command */
-- success = g_spawn_async (working_directory, argv, envp, 0, NULL, NULL, NULL, error);
-+ success = g_spawn_async (working_directory, argv, NULL, 0, NULL, NULL, NULL, error);
-
- g_free (display);
- g_strfreev (envp);
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: xfce-base/exo/, xfce-base/exo/files/
@ 2020-09-18 9:45 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2020-09-18 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 62bf811e3a63501fc48e45534e5c1c54ff150c96
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 09:40:16 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 09:45:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62bf811e
xfce-base/exo: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
xfce-base/exo/Manifest | 1 -
xfce-base/exo/exo-4.15.1.ebuild | 43 ----
xfce-base/exo/files/exo-4.15.1-parallel-make.patch | 219 ---------------------
3 files changed, 263 deletions(-)
diff --git a/xfce-base/exo/Manifest b/xfce-base/exo/Manifest
index 8955709d541..38593801750 100644
--- a/xfce-base/exo/Manifest
+++ b/xfce-base/exo/Manifest
@@ -1,3 +1,2 @@
DIST exo-0.12.11.tar.bz2 1333227 BLAKE2B 4e95809c58b6db26ecdf524663c06df9cd70007726091e381a1f0dd58be52efee85ad9721c421c0df6438073bb9de97d56cd039f520e2f7c0f5722a1839ba167 SHA512 ecbf20feddf86178d34a5c70212f0c2310ab1d6ce25291846d6d1d3045270ae3e68102065d7b3d8840137406f826f9bc37fed92a16c1268c3d14f2833a97d533
-DIST exo-4.15.1.tar.bz2 1049760 BLAKE2B 365a51a6be44b36290d1bbe7100bc4e9a164436b2111997c969bdcc2f46306c0532fa41bedc231c5640992910e44acc8d072f5c070fc8d56f02b561002985224 SHA512 46b60bfde133969a25e72a5a80644454b06543888e554e8473145486d1b1952c4e508f2303045f183c49b053969189f50316ce7d18a0be2c404daa691e26d276
DIST exo-4.15.2.tar.bz2 1010181 BLAKE2B 02b6cee68de61b1580e1676f7206f8f48f8c7c1a17050bf44e0ff922675ebd1a0eeceae2adc9f004e7e73a7e878af21867d7ca61c2fde9f10b2f80e917d1a318 SHA512 9b5838d2a69876164e5a89bd474428ace39bfb8f651bbe6c0873b52359893e40e156c862fb8a9f9ac3138ff2fa153e10085326e41045a41771e8961d3c0823f3
diff --git a/xfce-base/exo/exo-4.15.1.ebuild b/xfce-base/exo/exo-4.15.1.ebuild
deleted file mode 100644
index 1f9eb2e523e..00000000000
--- a/xfce-base/exo/exo-4.15.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg-utils
-
-DESCRIPTION="Extensions, widgets and framework library with session support for Xfce"
-HOMEPAGE="https://www.xfce.org/projects/"
-SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
-
-RDEPEND=">=dev-lang/perl-5.6
- >=dev-libs/glib-2.42
- dev-perl/URI
- >=x11-libs/gtk+-3.22:3
- >=xfce-base/libxfce4ui-4.12:=[gtk3(+)]
- >=xfce-base/libxfce4util-4.12:="
-DEPEND="${RDEPEND}
- dev-util/gtk-doc-am
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/exo-4.15.1-parallel-make.patch
-)
-
-src_install() {
- default
- find "${D}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/xfce-base/exo/files/exo-4.15.1-parallel-make.patch b/xfce-base/exo/files/exo-4.15.1-parallel-make.patch
deleted file mode 100644
index 34bc669655c..00000000000
--- a/xfce-base/exo/files/exo-4.15.1-parallel-make.patch
+++ /dev/null
@@ -1,219 +0,0 @@
-From d3f3232eb53a052711029d2fafc36e23da971b35 Mon Sep 17 00:00:00 2001
-From: Romain Bouvier <skunnyk@alteroot.org>
-Date: Fri, 29 May 2020 11:11:41 +0200
-Subject: [PATCH] exo-29: Fix race condition in make install
-
-- Since the exo drop of gtk2, HEADERS are declared twice, which can lead
- to race conditions when using parallel make "make -j4 install"
-- Simplify Makefile to only have one HEADERS section
-- This fix #29
----
- exo/Makefile.am | 24 ++++--------------------
- 1 file changed, 4 insertions(+), 20 deletions(-)
-
-diff --git a/exo/Makefile.am b/exo/Makefile.am
-index fc8845d4..358ae9cb 100644
---- a/exo/Makefile.am
-+++ b/exo/Makefile.am
-@@ -23,30 +23,14 @@ libexo_headers = \
- exo-tree-view.h \
- exo-utils.h
-
--libexo_built_public_sources = \
-- exo-enum-types.h
--
--libexo_built_sources = \
-- $(libexo_built_public_sources) \
-+libexo_2_built_sources = \
-+ exo-enum-types.h \
- exo-alias.h \
- exo-aliasdef.c \
- exo-enum-types.c \
- exo-marshal.c \
- exo-marshal.h
-
--libexoincludedir = $(includedir)/exo-2/exo
--
--libexoinclude_HEADERS = \
-- $(libexo_built_public_sources) \
-- $(libexo_headers) \
-- exo.h \
-- exo-config.h
--
--
--##
--## GTK+ 3 support library
--##
--
- libexo_2_includedir = $(includedir)/exo-2/exo
-
- lib_LTLIBRARIES = libexo-2.la
-@@ -141,10 +125,10 @@ CLEANFILES = \
- DISTCLEANFILES = \
- stamp-exo-enum-types.h \
- stamp-exo-marshal.h \
-- $(libexo_built_sources)
-+ $(libexo_2_built_sources)
-
- BUILT_SOURCES = \
-- $(libexo_built_sources)
-+ $(libexo_2_built_sources)
-
- exo-alias.h: make-exo-alias.pl exo.symbols
- $(AM_V_GEN) $(PERL) $(srcdir)/make-exo-alias.pl < $(srcdir)/exo.symbols > exo-alias.h
---
-2.26.2
-
-diff --git a/exo/Makefile.in b/exo/Makefile.in
-index 56abe35..ee1be62 100644
---- a/exo/Makefile.in
-+++ b/exo/Makefile.in
-@@ -98,7 +98,7 @@ am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
- DIST_COMMON = $(srcdir)/Makefile.am $(libexo_2_include_HEADERS) \
-- $(libexoinclude_HEADERS) $(am__DIST_COMMON)
-+ $(am__DIST_COMMON)
- mkinstalldirs = $(install_sh) -d
- CONFIG_HEADER = $(top_builddir)/config.h
- CONFIG_CLEAN_FILES = exo-2.pc exo-config.h
-@@ -131,8 +131,7 @@ am__uninstall_files_from_dir = { \
- $(am__cd) "$$dir" && rm -f $$files; }; \
- }
- am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \
-- "$(DESTDIR)$(libexo_2_includedir)" \
-- "$(DESTDIR)$(libexoincludedir)"
-+ "$(DESTDIR)$(libexo_2_includedir)"
- LTLIBRARIES = $(lib_LTLIBRARIES)
- am__DEPENDENCIES_1 =
- libexo_2_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-@@ -224,7 +223,7 @@ am__can_run_installinfo = \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
- DATA = $(pkgconfig_DATA)
--HEADERS = $(libexo_2_include_HEADERS) $(libexoinclude_HEADERS)
-+HEADERS = $(libexo_2_include_HEADERS)
- am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
- # Read a list of newline-separated strings from the standard input,
- # and print each of them once, without duplicates. Input order is
-@@ -657,24 +656,14 @@ libexo_headers = \
- exo-tree-view.h \
- exo-utils.h
-
--libexo_built_public_sources = \
-- exo-enum-types.h
--
--libexo_built_sources = \
-- $(libexo_built_public_sources) \
-+libexo_2_built_sources = \
-+ exo-enum-types.h \
- exo-alias.h \
- exo-aliasdef.c \
- exo-enum-types.c \
- exo-marshal.c \
- exo-marshal.h
-
--libexoincludedir = $(includedir)/exo-2/exo
--libexoinclude_HEADERS = \
-- $(libexo_built_public_sources) \
-- $(libexo_headers) \
-- exo.h \
-- exo-config.h
--
- libexo_2_includedir = $(includedir)/exo-2/exo
- lib_LTLIBRARIES = libexo-2.la
- libexo_2_include_HEADERS = \
-@@ -756,10 +745,10 @@ pkgconfig_DATA = exo-2.pc
- @MAINTAINER_MODE_TRUE@DISTCLEANFILES = \
- @MAINTAINER_MODE_TRUE@ stamp-exo-enum-types.h \
- @MAINTAINER_MODE_TRUE@ stamp-exo-marshal.h \
--@MAINTAINER_MODE_TRUE@ $(libexo_built_sources)
-+@MAINTAINER_MODE_TRUE@ $(libexo_2_built_sources)
-
- @MAINTAINER_MODE_TRUE@BUILT_SOURCES = \
--@MAINTAINER_MODE_TRUE@ $(libexo_built_sources)
-+@MAINTAINER_MODE_TRUE@ $(libexo_2_built_sources)
-
- EXTRA_DIST = \
- abicheck.sh \
-@@ -1091,27 +1080,6 @@ uninstall-libexo_2_includeHEADERS:
- @list='$(libexo_2_include_HEADERS)'; test -n "$(libexo_2_includedir)" || list=; \
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
- dir='$(DESTDIR)$(libexo_2_includedir)'; $(am__uninstall_files_from_dir)
--install-libexoincludeHEADERS: $(libexoinclude_HEADERS)
-- @$(NORMAL_INSTALL)
-- @list='$(libexoinclude_HEADERS)'; test -n "$(libexoincludedir)" || list=; \
-- if test -n "$$list"; then \
-- echo " $(MKDIR_P) '$(DESTDIR)$(libexoincludedir)'"; \
-- $(MKDIR_P) "$(DESTDIR)$(libexoincludedir)" || exit 1; \
-- fi; \
-- for p in $$list; do \
-- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-- echo "$$d$$p"; \
-- done | $(am__base_list) | \
-- while read files; do \
-- echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libexoincludedir)'"; \
-- $(INSTALL_HEADER) $$files "$(DESTDIR)$(libexoincludedir)" || exit $$?; \
-- done
--
--uninstall-libexoincludeHEADERS:
-- @$(NORMAL_UNINSTALL)
-- @list='$(libexoinclude_HEADERS)'; test -n "$(libexoincludedir)" || list=; \
-- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
-- dir='$(DESTDIR)$(libexoincludedir)'; $(am__uninstall_files_from_dir)
-
- ID: $(am__tagged_files)
- $(am__define_uniq_tagged_files); mkid -fID $$unique
-@@ -1370,7 +1338,7 @@ check: $(BUILT_SOURCES)
- $(MAKE) $(AM_MAKEFLAGS) check-am
- all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
- installdirs:
-- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libexo_2_includedir)" "$(DESTDIR)$(libexoincludedir)"; do \
-+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libexo_2_includedir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
- install: $(BUILT_SOURCES)
-@@ -1452,8 +1420,7 @@ info: info-am
-
- info-am:
-
--install-data-am: install-libexo_2_includeHEADERS \
-- install-libexoincludeHEADERS install-pkgconfigDATA
-+install-data-am: install-libexo_2_includeHEADERS install-pkgconfigDATA
-
- install-dvi: install-dvi-am
-
-@@ -1519,8 +1486,7 @@ ps: ps-am
- ps-am:
-
- uninstall-am: uninstall-libLTLIBRARIES \
-- uninstall-libexo_2_includeHEADERS \
-- uninstall-libexoincludeHEADERS uninstall-pkgconfigDATA
-+ uninstall-libexo_2_includeHEADERS uninstall-pkgconfigDATA
-
- .MAKE: all check check-am install install-am install-strip
-
-@@ -1533,15 +1499,14 @@ uninstall-am: uninstall-libLTLIBRARIES \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am \
- install-libLTLIBRARIES install-libexo_2_includeHEADERS \
-- install-libexoincludeHEADERS install-man install-pdf \
-- install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
-- install-strip installcheck installcheck-am installdirs \
-- maintainer-clean maintainer-clean-generic mostlyclean \
-- mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
-- pdf pdf-am ps ps-am recheck tags tags-am uninstall \
-- uninstall-am uninstall-libLTLIBRARIES \
-- uninstall-libexo_2_includeHEADERS \
-- uninstall-libexoincludeHEADERS uninstall-pkgconfigDATA
-+ install-man install-pdf install-pdf-am install-pkgconfigDATA \
-+ install-ps install-ps-am install-strip installcheck \
-+ installcheck-am installdirs maintainer-clean \
-+ maintainer-clean-generic mostlyclean mostlyclean-compile \
-+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
-+ recheck tags tags-am uninstall uninstall-am \
-+ uninstall-libLTLIBRARIES uninstall-libexo_2_includeHEADERS \
-+ uninstall-pkgconfigDATA
-
- .PRECIOUS: Makefile
-
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: xfce-base/exo/, xfce-base/exo/files/
@ 2021-01-12 18:33 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2021-01-12 18:33 UTC (permalink / raw
To: gentoo-commits
commit: 833ca5702969a66822d9a7a129722e7d19365779
Author: David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 8 00:10:54 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 18:33:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833ca570
xfce-base/exo: support cross-compiling
An execution test in the configure script would fail when cross-
compiling, so patch it to support a cache variable that is enabled
by default. This requires installing the xfce-dev-tools package
for autoconf macro definitions.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
xfce-base/exo/exo-4.16.0.ebuild | 14 +++++-
xfce-base/exo/files/exo-4.16.0-allow-cross.patch | 59 ++++++++++++++++++++++++
2 files changed, 71 insertions(+), 2 deletions(-)
diff --git a/xfce-base/exo/exo-4.16.0.ebuild b/xfce-base/exo/exo-4.16.0.ebuild
index f67b9786796..96c225ee8e5 100644
--- a/xfce-base/exo/exo-4.16.0.ebuild
+++ b/xfce-base/exo/exo-4.16.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit xdg-utils
+inherit autotools xdg-utils
DESCRIPTION="Extensions, widgets and framework library with session support for Xfce"
HOMEPAGE="https://www.xfce.org/projects/"
@@ -21,9 +21,19 @@ DEPEND="${RDEPEND}"
BDEPEND="
dev-util/gtk-doc-am
dev-util/intltool
+ dev-util/xfce4-dev-tools
sys-devel/gettext
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}/${PN}-4.16.0-allow-cross.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_install() {
default
find "${D}" -name '*.la' -delete || die
diff --git a/xfce-base/exo/files/exo-4.16.0-allow-cross.patch b/xfce-base/exo/files/exo-4.16.0-allow-cross.patch
new file mode 100644
index 00000000000..098a0b23d64
--- /dev/null
+++ b/xfce-base/exo/files/exo-4.16.0-allow-cross.patch
@@ -0,0 +1,59 @@
+From c3e6d0a34d9b2be550994c39c264e3f96a2cc43a Mon Sep 17 00:00:00 2001
+From: David Michael <fedora.dm0@gmail.com>
+Date: Fri, 8 Jan 2021 18:35:16 -0500
+Subject: [PATCH] configure.ac: Allow cross-compiling
+
+AC_TRY_RUN fails by default when cross-compiling if it does not
+have the fourth parameter. This implements a new cache variable
+ac_cv_have_strftime_extension for that test which allows overriding
+the result to specify the target system behavior. It defaults to
+supporting the extension when cross-compiling.
+
+Signed-off-by: David Michael <fedora.dm0@gmail.com>
+---
+ configure.ac.in | 22 ++++++++++++++++------
+ 1 file changed, 16 insertions(+), 6 deletions(-)
+
+diff --git a/configure.ac.in b/configure.ac.in
+index b98fce6e..0483c8fa 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -133,10 +133,16 @@
+ dnl ************************************
+ AC_FUNC_MMAP()
+
+-dnl ***************************************
+-dnl *** Check for strftime() extensions ***
+-dnl ***************************************
+-AC_TRY_RUN([
++dnl ***************************************************************************
++dnl *** Check for strftime() extensions ***
++dnl *** ***
++dnl *** AC_TRY_RUN must be able to build and execute programs natively on ***
++dnl *** the build system, so it fails when cross-compiling unless given an ***
++dnl *** action in the fourth parameter. This sets its results in a cache ***
++dnl *** variable that users can override to specify target system behavior. ***
++dnl ***************************************************************************
++AC_CACHE_CHECK([for strftime %E and %O modifiers],
++ [ac_cv_have_strftime_extension], [AC_TRY_RUN([
+ #include <string.h>
+ #include <time.h>
+ int
+@@ -149,9 +155,13 @@
+ return 0;
+ return 1;
+ }
+-], [
++ ],
++ [ac_cv_have_strftime_extension=yes],
++ [ac_cv_have_strftime_extension=no],
++ [ac_cv_have_strftime_extension=cross])])
++if test x"$ac_cv_have_strftime_extension" != x"no"; then
+ AC_DEFINE([HAVE_STRFTIME_EXTENSION], 1, [Define if strftime supports %E and %O modifiers.])
+-])
++fi
+
+ dnl ******************************
+ dnl *** Check for i18n support ***
+--
+GitLab
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-12 18:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 10:51 [gentoo-commits] repo/gentoo:master commit in: xfce-base/exo/, xfce-base/exo/files/ Jason Zaman
-- strict thread matches above, loose matches on Subject: below --
2020-09-18 9:45 Michał Górny
2021-01-12 18:33 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox