diff options
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/Manifest.gz | bin | 11037 -> 11034 bytes | |||
-rw-r--r-- | gnome-extra/gucharmap/Manifest | 2 | ||||
-rw-r--r-- | gnome-extra/gucharmap/files/gucharmap-update_to_unicode_12.1.patch | 25 | ||||
-rw-r--r-- | gnome-extra/gucharmap/gucharmap-12.0.1-r1.ebuild | 72 |
4 files changed, 99 insertions, 0 deletions
diff --git a/gnome-extra/Manifest.gz b/gnome-extra/Manifest.gz Binary files differindex 7d4891e8f65b..639f6061fe80 100644 --- a/gnome-extra/Manifest.gz +++ b/gnome-extra/Manifest.gz diff --git a/gnome-extra/gucharmap/Manifest b/gnome-extra/gucharmap/Manifest index 87cbd1e26654..052465e80bf3 100644 --- a/gnome-extra/gucharmap/Manifest +++ b/gnome-extra/gucharmap/Manifest @@ -1,6 +1,8 @@ AUX gucharmap-3.4.1.1-fix-doc.patch 348 BLAKE2B c6bf73a5e9940557fa43da04b8212ca527b9abdfaccf7f1522c9a6dfcb52af8f6c05a56a683621eb64c34452464605d7a5a98b77ab9b67224f5c84acc0b1cf68 SHA512 d6e468ce2bbd258e01be0125a1b16529c89ce9758c24504d91550181af3b3e7c6b0e4171d3b26c252339f099927d43a7184f967764d564a4ebf28610968d8d27 +AUX gucharmap-update_to_unicode_12.1.patch 1498 BLAKE2B 5ed3c8a254862074fb923ceac25a03478c88ff3fdd33af9aab98f49830045e04a13cf6ea8551d16aee112a5c62ccc71a167926ce5205297a1552f2819193d99a SHA512 aac3a9b95985b1fd2122f1a759a0c571116a94cc429c4e9736a4f2a36e257241e7bdc4e6ba7badaeebca79bd8cca275ff66b6e9f933c707342b8872ab78dbe7f DIST gucharmap-12.0.1.tar.xz 1678524 BLAKE2B 90923dcb85f132f607007b272f56d091cd51f14d6818fc01fdedc594d736cc1047e4d3165f4ba3cede96ee2c0db4973890e1fde60c294fb848ffb3918988178f SHA512 989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2 DIST gucharmap-3.0.1.tar.bz2 3275481 BLAKE2B 80dde7791abdc72677add9c65c59f810e6c6952116b92db34059c4c40d2657246b17844c105e68f32c86294e9b4e71e9d48e6f0522855465734d7c24e8d17608 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1 +EBUILD gucharmap-12.0.1-r1.ebuild 1940 BLAKE2B 2bd867926e4962eb58cef1caa7064eea63f2818b9d69b5da44719a3c7ac67999c15509a5b20050dbff2e6be5f51835a4105ac12e8408fbedd362456d8f109706 SHA512 2df603872f7a085b155ce2940bfcdf39e71a5632dfad3f0f1adba5c00bfbc0f08801cc3304d1d6058b5a0675e71cc2c54ac994668a389e2138fe0de334286664 EBUILD gucharmap-12.0.1.ebuild 1743 BLAKE2B d32908f89398ca2e431fb6c26d040d9a99484b7b5353139b4314aeeb32083fd316df613bc47935171a9378d868cd4d1b732341e72bcb92c8b0431cb2529aa1ff SHA512 0b1c91710a0af739b8daa4036519469055fce379f53387bb362f4315e4d7a74a67e49ddc5a12cddc2666987dc7b8397f112a1e1e18741a97cc9507d75d6273e8 EBUILD gucharmap-3.0.1-r200.ebuild 1481 BLAKE2B 35630bb7577ecc88f2cfa93cd754a7dc1082bf4d6726828becc109c7db3333d868ea3e5aba74cbda37d5c4fc3167a6a1b0d6bb60127d151033fbdc9cbb74985d SHA512 971ae267bab2fde297703a2fce132ca46da5554e8a0bd37f7b46090de2364fe3d6398d7d716ea30385c0d56d0a0e4530f5e4e623728dace2355cc1bf799dd63c MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/gnome-extra/gucharmap/files/gucharmap-update_to_unicode_12.1.patch b/gnome-extra/gucharmap/files/gucharmap-update_to_unicode_12.1.patch new file mode 100644 index 000000000000..60dbb7af58c4 --- /dev/null +++ b/gnome-extra/gucharmap/files/gucharmap-update_to_unicode_12.1.patch @@ -0,0 +1,25 @@ +diff -Naur gucharmap-12.0.1-orig/gucharmap/gucharmap-unicode-info.h gucharmap-12.0.1/gucharmap/gucharmap-unicode-info.h +--- gucharmap-12.0.1-orig/gucharmap/gucharmap-unicode-info.h 2019-03-07 21:21:27.000000000 +0100 ++++ gucharmap-12.0.1/gucharmap/gucharmap-unicode-info.h 2019-11-14 17:43:55.007583238 +0100 +@@ -51,7 +51,8 @@ + GUCHARMAP_UNICODE_VERSION_10_0, + GUCHARMAP_UNICODE_VERSION_11_0, + GUCHARMAP_UNICODE_VERSION_12_0, +- GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_12_0 /* private, will move forward with each revision */ ++ GUCHARMAP_UNICODE_VERSION_12_1, ++ GUCHARMAP_UNICODE_VERSION_LATEST = GUCHARMAP_UNICODE_VERSION_12_1 /* private, will move forward with each revision */ + } GucharmapUnicodeVersion; + + /* return values are read-only */ +diff -Naur gucharmap-12.0.1-orig/gucharmap/gucharmap-window.c gucharmap-12.0.1/gucharmap/gucharmap-window.c +--- gucharmap-12.0.1-orig/gucharmap/gucharmap-window.c 2019-03-07 21:21:27.000000000 +0100 ++++ gucharmap-12.0.1/gucharmap/gucharmap-window.c 2019-11-14 17:45:11.145809820 +0100 +@@ -454,7 +454,7 @@ + gtk_show_about_dialog (GTK_WINDOW (guw), + "program-name", _("GNOME Character Map"), + "version", VERSION, +- "comments", _("Based on the Unicode Character Database 12.0.0"), ++ "comments", _("Based on the Unicode Character Database 12.1.0"), + "copyright", "Copyright © 2004 Noah Levitt\n" + "Copyright © 1991–2019 Unicode, Inc.\n" + "Copyright © 2007–2019 Christian Persch\n" diff --git a/gnome-extra/gucharmap/gucharmap-12.0.1-r1.ebuild b/gnome-extra/gucharmap/gucharmap-12.0.1-r1.ebuild new file mode 100644 index 000000000000..96e97ba7eec2 --- /dev/null +++ b/gnome-extra/gucharmap/gucharmap-12.0.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala + +DESCRIPTION="Unicode character map viewer and library" +HOMEPAGE="https://wiki.gnome.org/Apps/Gucharmap" + +LICENSE="GPL-3+" +SLOT="2.90" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" + +IUSE="debug +introspection test vala" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +UNICODE_VERSION="12.1" + +COMMON_DEPEND=" + =app-i18n/unicode-data-${UNICODE_VERSION}* + >=dev-libs/glib-2.32:2 + >=x11-libs/pango-1.2.1[introspection?] + >=x11-libs/gtk+-3.16:3[introspection?] + media-libs/freetype:2 + introspection? ( >=dev-libs/gobject-introspection-0.9.0:= ) +" +RDEPEND="${COMMON_DEPEND} + !<gnome-extra/gucharmap-3:0 +" +DEPEND="${RDEPEND} + dev-util/desktop-file-utils + dev-util/glib-utils + >=dev-util/gtk-doc-am-1 + >=dev-util/intltool-0.40 + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig + test? ( app-text/docbook-xml-dtd:4.1.2 ) + vala? ( $(vala_depend) ) +" + +src_prepare() { + eapply "${FILESDIR}/${PN}-update_to_unicode_12.1.patch" + eapply_user + + # prevent file collisions with slot 0 + sed -e "s:GETTEXT_PACKAGE=gucharmap$:GETTEXT_PACKAGE=gucharmap-${SLOT}:" \ + -i configure.ac configure || die "sed configure.ac configure failed" + + # avoid autoreconf + sed -e 's/-Wall //g' -i configure || die "sed failed" + sed -e 's/unicode_version = 12.0.0/unicode_version = 12.1.0/g' \ + -i gucharmap/Makefile.am gucharmap/Makefile.in || die "sed failed" + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + # unihan is not really conditional + # https://bugzilla.gnome.org/show_bug.cgi?id=768210#c5 + # https://gitlab.gnome.org/GNOME/gucharmap/issues/13 + gnome2_src_configure \ + --disable-static \ + --with-unicode-data=/usr/share/unicode-data \ + $(usex debug --enable-debug=yes ' ') \ + $(use_enable introspection) \ + $(use_enable vala) +} |