commit:     d307f3e24e4052e2e0547107c8969e46b9f66755
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 13:00:14 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sat May 18 13:41:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d307f3e2

app-text/gtranslator: remove old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 app-text/gtranslator/Manifest                      |  2 -
 .../files/gtranslator-2.91.7-gi-silence.patch      | 26 -------
 .../gtranslator-2.91.7-gucharmap-python3.patch     | 51 -------------
 app-text/gtranslator/gtranslator-2.91.7-r1.ebuild  | 84 ----------------------
 app-text/gtranslator/gtranslator-3.30.1.ebuild     | 52 --------------
 app-text/gtranslator/metadata.xml                  |  4 --
 6 files changed, 219 deletions(-)

diff --git a/app-text/gtranslator/Manifest b/app-text/gtranslator/Manifest
index cc4db131cda..1c82dc1e0c1 100644
--- a/app-text/gtranslator/Manifest
+++ b/app-text/gtranslator/Manifest
@@ -1,3 +1 @@
-DIST gtranslator-2.91.7.tar.xz 2835836 BLAKE2B 
e6e1f7b512705152a520a47bdddd01336ddcecb9ca20409546d64caa124f1bca2985fd2a9cd7564983a8411c6a7227d37b55ce8b3e452ee7a0d5beba3460bd59
 SHA512 
8d2a582e06ab0fecb9c18bde372ca0cd02d426155d4b30b876bd8f2e177c88c79d410adb0297ab85f18a952eeef32c17352cde18eda3c4c4fe33833db25022b5
-DIST gtranslator-3.30.1.tar.xz 3060168 BLAKE2B 
e2e238ffc461b99be9df679c431d7cae85c70ca9db7aea4e7c51d9bd12aa417fab0d53d6c512555992dfb2d40f55d6d0dba8c3aacd043ad8c2ebe690de8ac562
 SHA512 
5f6384bec8bb23afa9aefe5928260b7ccb408d41b8a363d85277435428ca34fe544068526b11801e534911753c95b3049892e647938bee755b37f3f5cbf94f41
 DIST gtranslator-3.32.0.tar.xz 2767988 BLAKE2B 
cf05561d35adaa77e1bb15adb11faad5346a236d6bf82ccc2b474c2478ea537c89852e0c0322067de1bb24c320ad6732eff5a0f6489a97e57c980b0f1c7d56f6
 SHA512 
4119b64f671ccb4d8132c4b18f53b614a80c6faaecef212b23268b2a189e7b337dd63f9c0d82e139976a6d5615c4c047ad3be97397734930b5c0d07b57e13531

diff --git a/app-text/gtranslator/files/gtranslator-2.91.7-gi-silence.patch 
b/app-text/gtranslator/files/gtranslator-2.91.7-gi-silence.patch
deleted file mode 100644
index 19a3a6d1e98..00000000000
--- a/app-text/gtranslator/files/gtranslator-2.91.7-gi-silence.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From acc785dd63379f08f08b52fae9d7e5c5666495c8 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <e...@gentoo.org>
-Date: Mon, 17 Apr 2017 00:15:58 +0200
-Subject: [PATCH] Silence gobject-introspection warning on version-less imports
-
----
- plugins/charmap/charmap/__init__.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/plugins/charmap/charmap/__init__.py 
b/plugins/charmap/charmap/__init__.py
-index b504cb61..6f8c2b61 100644
---- a/plugins/charmap/charmap/__init__.py
-+++ b/plugins/charmap/charmap/__init__.py
-@@ -16,6 +16,9 @@
- # You should have received a copy of the GNU General Public License
- # along with this program.  If not, see <http://www.gnu.org/licenses/>.
- 
-+import gi
-+gi.require_version('Gucharmap', '2.90')
-+
- from gi.repository import GObject, Gio, Pango, Gtk, Gtranslator, Gucharmap
- from .panel import CharmapPanel
- import sys
--- 
-2.12.2
-

diff --git 
a/app-text/gtranslator/files/gtranslator-2.91.7-gucharmap-python3.patch 
b/app-text/gtranslator/files/gtranslator-2.91.7-gucharmap-python3.patch
deleted file mode 100644
index 1ad491cf3c0..00000000000
--- a/app-text/gtranslator/files/gtranslator-2.91.7-gucharmap-python3.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 1e4d042f7e9b28a58bd09af5c97e4282441113d2 Mon Sep 17 00:00:00 2001
-From: Gilles Dartiguelongue <e...@gentoo.org>
-Date: Sun, 16 Apr 2017 23:48:29 +0200
-Subject: [PATCH 1/2] Switch gucharmap plugin to python3 loader
-
----
- plugins/charmap/charmap/__init__.py           | 2 +-
- plugins/charmap/gtr-charmap.plugin.desktop.in | 2 +-
- src/gtr-plugins-engine.c                      | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/plugins/charmap/charmap/__init__.py 
b/plugins/charmap/charmap/__init__.py
-index 414157b1..b504cb61 100644
---- a/plugins/charmap/charmap/__init__.py
-+++ b/plugins/charmap/charmap/__init__.py
-@@ -17,7 +17,7 @@
- # along with this program.  If not, see <http://www.gnu.org/licenses/>.
- 
- from gi.repository import GObject, Gio, Pango, Gtk, Gtranslator, Gucharmap
--from panel import CharmapPanel
-+from .panel import CharmapPanel
- import sys
- import gettext
- 
-diff --git a/plugins/charmap/gtr-charmap.plugin.desktop.in 
b/plugins/charmap/gtr-charmap.plugin.desktop.in
-index 3949c5f6..a872a545 100644
---- a/plugins/charmap/gtr-charmap.plugin.desktop.in
-+++ b/plugins/charmap/gtr-charmap.plugin.desktop.in
-@@ -1,5 +1,5 @@
- [Plugin]
--Loader=python
-+Loader=python3
- Module=charmap
- IAge=3
- _Name=Character Map
-diff --git a/src/gtr-plugins-engine.c b/src/gtr-plugins-engine.c
-index 903ea735..8e41010a 100644
---- a/src/gtr-plugins-engine.c
-+++ b/src/gtr-plugins-engine.c
-@@ -64,7 +64,7 @@ gtr_plugins_engine_init (GtrPluginsEngine * engine)
-                                               GTR_TYPE_PLUGINS_ENGINE,
-                                               GtrPluginsEnginePrivate);
- 
--  peas_engine_enable_loader (PEAS_ENGINE (engine), "python");
-+  peas_engine_enable_loader (PEAS_ENGINE (engine), "python3");
- 
-   engine->priv->plugin_settings = g_settings_new 
("org.gnome.gtranslator.plugins");
- 
--- 
-2.12.2
-

diff --git a/app-text/gtranslator/gtranslator-2.91.7-r1.ebuild 
b/app-text/gtranslator/gtranslator-2.91.7-r1.ebuild
deleted file mode 100644
index f545af71172..00000000000
--- a/app-text/gtranslator/gtranslator-2.91.7-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python{3_5,3_6} )
-
-inherit gnome2 python-single-r1
-
-DESCRIPTION="An enhanced gettext po file editor for GNOME"
-HOMEPAGE="https://wiki.gnome.org/Apps/Gtranslator";
-
-LICENSE="GPL-3+ FDL-1.1+"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="+introspection gnome-dictionary gucharmap spell"
-REQUIRED_USE="gucharmap? ( introspection ${PYTHON_REQUIRED_USE} )"
-
-COMMON_DEPEND="
-       >=dev-libs/glib-2.32:2[dbus]
-       >=x11-libs/gtk+-3.4.2:3[introspection?]
-       >=x11-libs/gtksourceview-3.0.0:3.0[introspection?]
-       >=dev-libs/gdl-3.6:3=
-       >=dev-libs/libxml2-2.4.12:2
-       >=dev-libs/json-glib-0.12.0
-       >=dev-libs/libpeas-1.2[gtk]
-       gnome-extra/libgda:5=
-       >=app-text/iso-codes-0.35
-
-       gnome-base/gsettings-desktop-schemas
-
-       gnome-dictionary? ( app-dicts/gnome-dictionary:0/10 )
-       gucharmap? ( ${PYTHON_DEPS} )
-       introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
-       spell? ( app-text/gtkspell:3= )
-"
-RDEPEND="${COMMON_DEPEND}
-       x11-themes/gnome-icon-theme-symbolic
-       gucharmap? (
-               >=dev-libs/libpeas-1.2[gtk,python,${PYTHON_USEDEP}]
-               dev-python/pygobject:3[${PYTHON_USEDEP}]
-               gnome-extra/gucharmap:2.90[introspection]
-               x11-libs/gtk+:3[introspection] )
-"
-DEPEND="${COMMON_DEPEND}
-       dev-util/glib-utils
-       >=dev-util/gtk-doc-am-1
-       >=dev-util/intltool-0.50.1
-       dev-util/itstool
-       >=sys-devel/gettext-0.17
-       virtual/pkgconfig
-"
-# eautoreconf requires gnome-base/gnome-common, app-text/yelp-tools
-
-PATCHES=(
-       # Switch plugin to python3 loader
-       "${FILESDIR}"/${P}-gucharmap-python3.patch
-       # Silence g-i import warnings
-       "${FILESDIR}"/${P}-gi-silence.patch
-)
-
-pkg_setup() {
-       use gucharmap && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-       DOCS="AUTHORS ChangeLog HACKING INSTALL NEWS README THANKS"
-
-       gnome2_src_prepare
-
-       if ! use gucharmap ; then
-               # don't install charmap plugin, it requires 
gnome-extra/gucharmap
-               sed -e 's:\scharmap\s: :g' -i plugins/Makefile.* ||
-                       die "sed plugins/Makefile.* failed"
-       fi
-}
-
-src_configure() {
-       gnome2_src_configure \
-               --disable-static \
-               $(use_enable introspection) \
-               $(use_with gnome-dictionary dictionary) \
-               $(use_with spell gtkspell)
-}

diff --git a/app-text/gtranslator/gtranslator-3.30.1.ebuild 
b/app-text/gtranslator/gtranslator-3.30.1.ebuild
deleted file mode 100644
index 88e7d00a7c7..00000000000
--- a/app-text/gtranslator/gtranslator-3.30.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome.org gnome2-utils meson xdg
-
-DESCRIPTION="GNOME Translation Editor"
-HOMEPAGE="https://wiki.gnome.org/Apps/Gtranslator";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="gtk-doc"
-
-RDEPEND="
-       >=dev-libs/glib-2.36.0:2
-       >=x11-libs/gtk+-3.22.20:3
-       >=app-text/iso-codes-0.35
-       gnome-extra/libgda:5=
-       gnome-base/gsettings-desktop-schemas
-       >=app-text/gspell-1.2.0:=
-       >=x11-libs/gtksourceview-4.0.2:4
-       >=dev-libs/libxml2-2.4.12:2
-"
-DEPEND="${RDEPEND}
-       dev-util/glib-utils
-       >=dev-util/meson-0.46.0
-       gtk-doc? ( dev-util/gtk-doc )
-       dev-util/itstool
-       >=sys-devel/gettext-0.19.8
-       virtual/pkgconfig
-"
-
-src_configure() {
-       local emesonargs=(
-               $(meson_use gtk-doc gtk_doc)
-       )
-       meson_src_configure
-}
-
-pkg_postinst() {
-       xdg_pkg_postinst
-       gnome2_icon_cache_update
-       gnome2_schemas_update
-}
-
-pkg_postrm() {
-       xdg_pkg_postrm
-       gnome2_icon_cache_update
-       gnome2_schemas_update
-}

diff --git a/app-text/gtranslator/metadata.xml 
b/app-text/gtranslator/metadata.xml
index fac790dbf91..8a993fd39f8 100644
--- a/app-text/gtranslator/metadata.xml
+++ b/app-text/gtranslator/metadata.xml
@@ -5,10 +5,6 @@
                <email>gn...@gentoo.org</email>
                <name>Gentoo GNOME Desktop</name>
        </maintainer>
-       <use>
-               <flag name="gnome-dictionary">Enable plugin for dictionary 
lookups using <pkg>app-dicts/gnome-dictionary</pkg>.</flag>
-               <flag name="gucharmap">Enable plugin for unicode symbols 
selection using <pkg>gnome-extra/gucharmap</pkg>.</flag>
-       </use>
        <longdescription lang="en">
                Gtranslator is an enhanced gettext po file editor for the GNOME 
desktop
                environment.

Reply via email to