summaryrefslogtreecommitdiff
path: root/gnome-extra/libgsf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-28 11:12:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-28 11:12:20 +0100
commit7aa28e7310855bc5ef0d32b22e8b58eec55c28c9 (patch)
tree9ceae60214a212f74f44e47506754fdeafb6947a /gnome-extra/libgsf
parent2099ff9b640e648be67527e29760263a7c6274e5 (diff)
gentoo auto-resync : 28:04:2023 - 11:12:20
Diffstat (limited to 'gnome-extra/libgsf')
-rw-r--r--gnome-extra/libgsf/Manifest2
-rw-r--r--gnome-extra/libgsf/files/1.14.50-configure-clang16.patch23
-rw-r--r--gnome-extra/libgsf/libgsf-1.14.50-r1.ebuild48
3 files changed, 73 insertions, 0 deletions
diff --git a/gnome-extra/libgsf/Manifest b/gnome-extra/libgsf/Manifest
index ca45c410fe4a..e3b4eb474bd7 100644
--- a/gnome-extra/libgsf/Manifest
+++ b/gnome-extra/libgsf/Manifest
@@ -1,4 +1,6 @@
AUX 1.14.49-skip-valgrind-tests.patch 716 BLAKE2B 2a65162dc1448f673afd30153d3d7d8c99391a85ae3fa77d73833c6064576eb290b19388d5fd4698c4246af90684ceaad57c2225d8bb12775e72c05e82fc04bb SHA512 30fd7729989e741ae8c1391ca88882ceffdaef7c3c9bc4d71e93225c5c7ddb213356732c7545c2ba8710c7a9b3d9f9fc6972a5697bacf65f20d0018255a5b969
+AUX 1.14.50-configure-clang16.patch 726 BLAKE2B ba700e721dbaa054c027ed70d7f8598cb6f094736fb8f6bba7548a37cde2011ec73ad8dc6d12fc1142652ebd5b605b1f0590a1434dea4e3d17c37a8f1dcb52d6 SHA512 eebd8e4183e73969fdb239a5de04313a158e0ef73f34546cc0859da2d754b935f1fd0654fe143eb51c91bf688808b891a6414ac490da5f1f80b18343dd9279bf
DIST libgsf-1.14.50.tar.xz 702424 BLAKE2B dc6e3fa313cc99981cf521b4613ef135ea6836554be0cc557e49d77bd3259e1bf2150af1b7a41071f4b865c28a9b6153b6ef6e89d4868e4203ce7dc7da433c71 SHA512 e4a405d01440654bfe5059536524d494e5b66859235648bcf6031a74b59967504b50750f471bbe1607c4a5ef11cac98aa2ca9ebb31151cf5a19ffa340d421adb
+EBUILD libgsf-1.14.50-r1.ebuild 1199 BLAKE2B 23944c823745392aa6d48ad308747f757eb32a5385086115a854dc89e6a36968bfb31da4dca9baba65b0cc2ecba61929fd2fba74c2acd136b2ed32c6047a770d SHA512 e15d5fed78397d1e1621a5948ec9da23999e14106eb6ae1d344c50a90af8f75aad894c1e6b68a97eb70620caeb3679a2f0ca20ca67a36b08c49d7c7ff56f9246
EBUILD libgsf-1.14.50.ebuild 1121 BLAKE2B ec987d4447648e44643bb19eab9900708d45be44316817a25a84fdf55d6f3da32d9231da407c6f58c70fed349eb9000dd48953f5f79a947dfa4c15888f313ba8 SHA512 826233d7bc22287a40aa2d6c18b29bed1924235f816bd3c55dfa46b9493dcf9b51154b12257fd9935753d6b904bf9718096c4ba8cb56f745415733b8d6d4907e
MISC metadata.xml 425 BLAKE2B 6fbe8835fee71b4b63349023c6b9f8f68a26a5c15a02f1371c487ea2abbedcfd42503f7c696458850377b7d689c69ca734566a6217ece9798911c7df2f660810 SHA512 5cb0ca0bbc375b38e8e5eb3b98ef990e9f7597a12f15741c86718b823138155284ec19f1547dac2b72b85460e61607ac02d88b64077c2ad92553a6adfa17e56a
diff --git a/gnome-extra/libgsf/files/1.14.50-configure-clang16.patch b/gnome-extra/libgsf/files/1.14.50-configure-clang16.patch
new file mode 100644
index 000000000000..c28811401e82
--- /dev/null
+++ b/gnome-extra/libgsf/files/1.14.50-configure-clang16.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/898818
+https://gitlab.gnome.org/GNOME/libgsf/-/merge_requests/13
+
+From 167d7f96c81683392933ddb8c427e5d7c8ce284d Mon Sep 17 00:00:00 2001
+From: Florian Weimer <fweimer@redhat.com>
+Date: Thu, 27 Apr 2023 20:34:34 +0200
+Subject: [PATCH] configure.ac: Avoid implicit int in libbz2 probe
+
+Otherwise, this probe will always fail with future compilers,
+which are likely not to support implict ints by default.
+--- a/configure.ac
++++ b/configure.ac
+@@ -427,7 +427,7 @@ if test "x$test_bz2" = xtrue ; then
+ #undef VERSION
+ #undef HAVE_STDLIB_H
+ #include <bzlib.h>
+- main ()
++ int main (void)
+ {
+ return BZ2_bzDecompressInit (NULL, 0, 0);
+ }
+--
+GitLab
diff --git a/gnome-extra/libgsf/libgsf-1.14.50-r1.ebuild b/gnome-extra/libgsf/libgsf-1.14.50-r1.ebuild
new file mode 100644
index 000000000000..1520f5d07364
--- /dev/null
+++ b/gnome-extra/libgsf/libgsf-1.14.50-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GNOME2_EAUTORECONF=yes
+inherit gnome2
+
+DESCRIPTION="The GNOME Structured File Library"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/libgsf"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/114" # libgsf-1.so version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="bzip2 gtk +introspection test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/glib-2.36:2
+ >=dev-libs/libxml2-2.4.16:2
+ sys-libs/zlib
+ bzip2? ( app-arch/bzip2 )
+ gtk? (
+ x11-libs/gdk-pixbuf:2
+ virtual/imagemagick-tools
+ )
+ introspection? ( >=dev-libs/gobject-introspection-1:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.12
+ dev-libs/gobject-introspection-common
+ >=sys-devel/gettext-0.19.6
+ virtual/pkgconfig
+ test? ( dev-perl/XML-Parser )
+"
+
+PATCHES=(
+ "${FILESDIR}"/1.14.49-skip-valgrind-tests.patch
+ "${FILESDIR}"/1.14.50-configure-clang16.patch
+)
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_with bzip2 bz2) \
+ $(use_enable introspection) \
+ $(use_with gtk gdk-pixbuf)
+}