From 3a6d209caa07e3be8e8423251b70c8bbeeedb17f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 12 Apr 2024 00:33:29 +0100 Subject: gentoo auto-resync : 12:04:2024 - 00:33:28 --- dev-libs/libunique/Manifest | 2 + dev-libs/libunique/libunique-1.1.6-r3.ebuild | 65 ++++++++++++++++++++++++++++ dev-libs/libunique/libunique-3.0.2-r2.ebuild | 46 ++++++++++++++++++++ 3 files changed, 113 insertions(+) create mode 100644 dev-libs/libunique/libunique-1.1.6-r3.ebuild create mode 100644 dev-libs/libunique/libunique-3.0.2-r2.ebuild (limited to 'dev-libs/libunique') diff --git a/dev-libs/libunique/Manifest b/dev-libs/libunique/Manifest index 1a3b7b69e8b0..bc767b084597 100644 --- a/dev-libs/libunique/Manifest +++ b/dev-libs/libunique/Manifest @@ -6,5 +6,7 @@ AUX run-tests 500 BLAKE2B ff93701e0eb4c78416581d5758e83654d1c3ce197a1c6834ce1170 DIST libunique-1.1.6.tar.bz2 335534 BLAKE2B 79f04c514620c5247609660bf58fa207589e9d1a011837f31d782864bdb5f6dd2ee8a44dddbce746cdb5e62df28d1ab20ee0e069cf21ab3d36e8edb2db06a5fc SHA512 82893e1d51a553b3c1413498e48a3a132e2c05779b4442c3732b5429d698e133741615657432a3d05c82a05c79bb59acc13df500bb08010212155db5e4ee6bde DIST libunique-3.0.2.tar.xz 294712 BLAKE2B 6045abb17862188940c81389883eeea88b75166b0dc64aba93dbd59c94cc117dc4d410dcb855fd6f3bc7eaf6d918aafb1a0683ca03315f5df0f2f2cde3790aca SHA512 b053b9f265c751bd581d15bf73246fb087075eaf75760565671c09a4ab80db342b4d2185050a877c4e25276d24f7895f4325ca60b918a7c4acd9d1591e97a8b4 EBUILD libunique-1.1.6-r2.ebuild 1548 BLAKE2B 84634038bb81306a536c0f967e49de06d94e97a7ff1ca9e480d68fa777d2fb6115cf98292d795ce20b7355d61bbf6ef50df25fa3bd4fd54385bc9de744946aaa SHA512 5a6a203954016a5337e5414d0dfe6bc70c0980cce146789a6e9d596e7177a9dfbf7129fa6ffc6e1cd6f5dbb53b9f578fc56d0edf24ff8dc4ccb0c2bae7f0bd36 +EBUILD libunique-1.1.6-r3.ebuild 1543 BLAKE2B 545c73199a1587cc08e4710a7eb5db39248d99ef5bb9359990c29ec7faa300d1308b948e74615c050dfef3f7f627104efdbd7a24fb4ce86dbf6999a4fbce0857 SHA512 d4dfd464236c8c173acd1da6893352d8d9b387ccf2341df8a31b735da4d44dcc2288af296b05d21854ac5e308424e6d54d08a90a26a6ad63a695fc6500744bef EBUILD libunique-3.0.2-r1.ebuild 1115 BLAKE2B 42cdc5a5e1bf44a76a30a7a53cff70f94627b5681fc81edb87a4d513652ddf4e9f409fd40f0593c8881127bb88484af3ed60157f71115b9ce3287359ab796d34 SHA512 167f6533339e1e11545e7f0e52a56b66c1d5461339df0966cbb367568b4320d33d8a83b09ad6df8d895dad2c6b94497abd1f9a624e0a7b8e0db9eebdd2351f5a +EBUILD libunique-3.0.2-r2.ebuild 1108 BLAKE2B 4fea06a1a213a4e1303cc5c832fe470658a766b3a8f3bcd78984c39d28a5adabdb80a673d3102175b6dd458d3fd0890d0f8c83d70a996859f527b8bb193e2988 SHA512 47dc9368fcb4b4b66791ebfe91c2978fc57f2f61f3ab9d52257ff7b5a709d8cad6cbc5bf84f5396a8b07d554d1b5d9426a60cac34e889decd5e29558c962196f MISC metadata.xml 501 BLAKE2B 2011b06d9822fd69c74656ea1fb89ea29e2e0571170f5867114aa0cf1bfb854964813840421d160bce63e64695659130ccd074aa4cdb8a6db54376a3ea12ac08 SHA512 d6b924ef04de15bd3e1e14aad6dd60de17d2c6a96e9e04b5820b302f152801781258623c21f77d0336c6211eb14c542f8ed1d430f4e52425549c882ce0800934 diff --git a/dev-libs/libunique/libunique-1.1.6-r3.ebuild b/dev-libs/libunique/libunique-1.1.6-r3.ebuild new file mode 100644 index 000000000000..0d8a90e831d9 --- /dev/null +++ b/dev-libs/libunique/libunique-1.1.6-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" + +inherit gnome2 virtualx + +DESCRIPTION="A library for writing single instance application" +HOMEPAGE="https://wiki.gnome.org/Attic/LibUnique" + +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug dbus +introspection" + +RDEPEND=" + >=dev-libs/glib-2.12:2 + >=x11-libs/gtk+-2.11:2[introspection?] + x11-libs/libX11 + dbus? ( + >=dev-libs/dbus-glib-0.70 + sys-apps/dbus[X] + ) + introspection? ( >=dev-libs/gobject-introspection-0.6.3:= ) +" +DEPEND="${RDEPEND} + dev-util/glib-utils + >=dev-build/gtk-doc-am-1.11 + sys-devel/gettext + virtual/pkgconfig +" +# For eautoreconf +# dev-build/gtk-doc-am + +PATCHES=( + # Include NUL terminator in unique_message_data_get_filename() + "${FILESDIR}/${P}-include-terminator.patch" + + # test-unique: Resolve format string issues + "${FILESDIR}/${P}-fix-test.patch" + + # Remove compiler warnings + "${FILESDIR}/${P}-compiler-warnings.patch" + + # Remove G_CONST_RETURN usage, now that its gone in glib + "${FILESDIR}/${PN}-1.1.6-G_CONST_RETURN.patch" +) + +src_configure() { + gnome2_src_configure \ + --disable-maintainer-flags \ + --enable-bacon \ + $(use_enable introspection) \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable dbus) +} + +src_test() { + cd "${S}/tests" || die + cp "${FILESDIR}/run-tests" . || die "Unable to cp \${FILESDIR}/run-tests" + virtx emake -f run-tests +} diff --git a/dev-libs/libunique/libunique-3.0.2-r2.ebuild b/dev-libs/libunique/libunique-3.0.2-r2.ebuild new file mode 100644 index 000000000000..91a4162448a3 --- /dev/null +++ b/dev-libs/libunique/libunique-3.0.2-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GNOME2_LA_PUNT="yes" + +inherit gnome2 virtualx + +DESCRIPTION="A library for writing single instance application" +HOMEPAGE="https://wiki.gnome.org/Attic/LibUnique" + +LICENSE="LGPL-2.1" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug +introspection" + +RDEPEND=" + >=dev-libs/glib-2.25.7:2 + sys-apps/dbus[X] + >=x11-libs/gtk+-2.90.0:3[introspection?] + x11-libs/libX11 + introspection? ( >=dev-libs/gobject-introspection-0.9.0:= ) +" +DEPEND="${RDEPEND} + dev-util/glib-utils + >=dev-build/gtk-doc-am-1.11 + virtual/pkgconfig +" +# For eautoreconf +# dev-build/gtk-doc-am + +src_configure() { + # --disable-dbus means gdbus is used instead of dbus-glib + gnome2_src_configure \ + --disable-maintainer-flags \ + --disable-dbus \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable introspection) +} + +src_test() { + cd "${S}/tests" || die + cp "${FILESDIR}/run-tests" . || die "Unable to cp \${FILESDIR}/run-tests" + virtx emake -f run-tests +} -- cgit v1.2.3