gnome-extra/gucharmap: Drop old versions

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2021-04-13 12:12:22 -04:00
parent 0c83ead689
commit 5ee4e023bd
4 changed files with 0 additions and 165 deletions
-1
View File
@@ -1,3 +1,2 @@
DIST gucharmap-12.0.1.tar.xz 1678524 BLAKE2B 90923dcb85f132f607007b272f56d091cd51f14d6818fc01fdedc594d736cc1047e4d3165f4ba3cede96ee2c0db4973890e1fde60c294fb848ffb3918988178f SHA512 989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2
DIST gucharmap-13.0.4.tar.gz 1900442 BLAKE2B 83925f04b23a5984e0180ae86d39842e419fe723604d3e93785241ed33ba56b80d68bfd8c99514ef542e515c78a0b64748781faa962d3a32e26746673ba4d2f0 SHA512 919f3298040962cf1b8636fe82a900e667d1f63c0f92c99b013d10cee7e7d5f074f3ffaa0ab8a8e3685b6764915a4e683e459fb680aeb65247c82c5a8a326bf9
DIST gucharmap-3.0.1.tar.bz2 3275481 BLAKE2B 80dde7791abdc72677add9c65c59f810e6c6952116b92db34059c4c40d2657246b17844c105e68f32c86294e9b4e71e9d48e6f0522855465734d7c24e8d17608 SHA512 4d8a2276b5cb1a0b0fadca2a8522755c5884985a12d5b19341b9cefcd7f749ec1286c0271419e38ec84be7edcfa1293e7f0263eb682c75387d692792de3e1fb1
@@ -1,25 +0,0 @@
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"
@@ -1,72 +0,0 @@
# 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 ~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)
}
@@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VALA_USE_DEPEND="vapigen"
inherit eapi7-ver 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 sparc x86"
IUSE="debug +introspection test vala"
RESTRICT="!test? ( test )"
REQUIRED_USE="vala? ( introspection )"
UNICODE_VERSION=$(ver_cut 1-2)
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() {
# 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"
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)
}