commit: 9fd0331aec056e549b770c59f5b0b5366460a190
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 18 09:18:17 2024 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 09:18:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd0331a
app-text/foliate: remove old versions
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
app-text/foliate/Manifest | 2 -
app-text/foliate/files/foliate-validate.patch | 31 --------------
app-text/foliate/files/foliate-webkit.patch | 13 ------
app-text/foliate/foliate-2.6.4-r2.ebuild | 52 -----------------------
app-text/foliate/foliate-2.6.4-r3.ebuild | 59 ---------------------------
app-text/foliate/foliate-3.0.1.ebuild | 44 --------------------
app-text/foliate/foliate-3.1.0.ebuild | 2 +-
app-text/foliate/metadata.xml | 3 --
8 files changed, 1 insertion(+), 205 deletions(-)
diff --git a/app-text/foliate/Manifest b/app-text/foliate/Manifest
index c131b2061b80..de219933828b 100644
--- a/app-text/foliate/Manifest
+++ b/app-text/foliate/Manifest
@@ -1,3 +1 @@
-DIST foliate-2.6.4.tar.gz 4824560 BLAKE2B
fd109d76a7cd0cfbff3fb7273b232a7c749922c5e4d782ed4b7dcb63e914a7cc0bd6e7623a509c3117e45ead5c1d7538c57f322742e4e826b88bddc6182abdf1
SHA512
af58efa2c33451617dbf7327b56551557d762ac80f1b489d5da1c5a46ebbfe329052149deb8b2f4c7729a7fd46deccd5500fd96c0a662b731c871c1ad8061cd3
-DIST foliate-3.0.1.tar.bz2 7873783 BLAKE2B
678fcd9c384df8b623074a83d5ab64bbd6144301bad60813c2d7735e8c89ed94cc35ef90adf234db894d9fca5ed2a45db985944f5749d3c433f32ebfec0d87b2
SHA512
e4e7344858327b75cbd44c4b4243386c9f175499c14f3d4a4407c6d850af9b585878ead69b4ab1941561ab84b4aa9db0e1ef66eaeabe4bbae5078d652f16b2a8
DIST foliate-3.1.0.tar.bz2 7902106 BLAKE2B
cd804b168529ebde3312954de6e907d4de30ef4342dbcf872757f485d5b5e223c96629c01d6e0e0b3bb7cfcc1e98015b034b053d6a6429138a8aa1ed40b0b0c2
SHA512
36dfb6618b04fcfdd3d298133f9fb592e987b898420da08d1e2e1539f162abc4c06cf28e3c9e6ae5f008554fdec9ab36a69333f5c5074b069c345ae729301236
diff --git a/app-text/foliate/files/foliate-validate.patch
b/app-text/foliate/files/foliate-validate.patch
deleted file mode 100644
index 45d2c42eef73..000000000000
--- a/app-text/foliate/files/foliate-validate.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -r -U3 foliate-2.6.4.orig/data/meson.build foliate-2.6.4/data/meson.build
---- foliate-2.6.4.orig/data/meson.build 2022-01-13 19:23:26.000000000
+0700
-+++ foliate-2.6.4/data/meson.build 2023-05-14 13:08:00.443754308 +0700
-@@ -7,13 +7,6 @@
- install_dir: join_paths(get_option('datadir'), 'applications')
- )
-
--desktop_utils = find_program('desktop-file-validate', required: false)
--if desktop_utils.found()
-- test('Validate desktop file', desktop_utils,
-- args: [desktop_file]
-- )
--endif
--
- appstream_file = i18n.merge_file(
- input: 'com.github.johnfactotum.Foliate.metainfo.xml.in',
- output: 'com.github.johnfactotum.Foliate.metainfo.xml',
-@@ -22,13 +15,6 @@
- install_dir: join_paths(get_option('datadir'), 'metainfo')
- )
-
--appstream_util = find_program('appstream-util', required: false)
--if appstream_util.found()
-- test('Validate appstream file', appstream_util,
-- args: ['validate', appstream_file]
-- )
--endif
--
- install_data('com.github.johnfactotum.Foliate.gschema.xml',
- install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas')
- )
diff --git a/app-text/foliate/files/foliate-webkit.patch
b/app-text/foliate/files/foliate-webkit.patch
deleted file mode 100644
index cb559bf0003d..000000000000
--- a/app-text/foliate/files/foliate-webkit.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/main.js b/src/main.js
-index 718d420..2ea2018 100644
---- a/src/main.js
-+++ b/src/main.js
-@@ -18,7 +18,7 @@ pkg.initFormat()
- pkg.require({
- 'Gio': '2.0',
- 'Gtk': '3.0',
-- 'WebKit2': '4.0'
-+ 'WebKit2': '4.1'
- })
-
- const { Gio, Gtk, Gdk, GLib, WebKit2 } = imports.gi
diff --git a/app-text/foliate/foliate-2.6.4-r2.ebuild
b/app-text/foliate/foliate-2.6.4-r2.ebuild
deleted file mode 100644
index 55777f866399..000000000000
--- a/app-text/foliate/foliate-2.6.4-r2.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW"
-PYTHON_COMPAT=( python3_{9..11} )
-inherit meson python-any-r1 plocale xdg gnome2-utils
-SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
-DESCRIPTION="gtk ebook reader built with gjs"
-HOMEPAGE="https://github.com/johnfactotum/foliate/"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="handy spell"
-
-BDEPEND="${MESON_DEPEND}
- ${PYTHON_DEPS}
- sys-devel/gettext"
-RDEPEND="dev-libs/gjs
- x11-libs/gtk+:3[introspection]
- x11-libs/pango[introspection]
- x11-libs/gdk-pixbuf:2[introspection]
- net-libs/webkit-gtk:4[introspection]
- sys-devel/gettext
- handy? ( gui-libs/libhandy:=[introspection] )
- spell? ( app-text/gspell[introspection] )"
-
-src_prepare() {
- default
- python_fix_shebang build-aux/meson
- xdg_environment_reset
-
- plocale_find_changes "${S}"/po '' '.po'
-
- rm_po() {
- rm po/${1}.po
- sed -e "/^${1}/d" -i po/LINGUAS
- }
-
- plocale_for_each_disabled_locale rm_po
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
diff --git a/app-text/foliate/foliate-2.6.4-r3.ebuild
b/app-text/foliate/foliate-2.6.4-r3.ebuild
deleted file mode 100644
index 666dca3a88a1..000000000000
--- a/app-text/foliate/foliate-2.6.4-r3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PLOCALES="cs de es eu fr id ie it ko nb nl nn pt_BR ru sv tr uk zh_CN zh_TW"
-PYTHON_COMPAT=( python3_{9..11} )
-inherit meson python-any-r1 plocale xdg gnome2-utils
-SRC_URI="https://github.com/johnfactotum/${PN}/archive/${PV}.tar.gz ->
${P}.tar.gz"
-DESCRIPTION="gtk ebook reader built with gjs"
-HOMEPAGE="https://github.com/johnfactotum/foliate/"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="handy spell"
-
-BDEPEND="${MESON_DEPEND}
- ${PYTHON_DEPS}
- sys-devel/gettext"
-RDEPEND="dev-libs/gjs
- x11-libs/gtk+:3[introspection]
- x11-libs/pango[introspection]
- x11-libs/gdk-pixbuf:2[introspection]
- net-libs/webkit-gtk:4.1[introspection]
- sys-devel/gettext
- handy? ( gui-libs/libhandy:=[introspection] )
- spell? ( app-text/gspell[introspection] )"
-
-PATCHES=( "${FILESDIR}"/${PN}-webkit.patch "${FILESDIR}"/${PN}-validate.patch )
-
-src_prepare() {
- default
- python_fix_shebang build-aux/meson
- xdg_environment_reset
-
- plocale_find_changes "${S}"/po '' '.po'
-
- rm_po() {
- rm po/${1}.po
- sed -e "/^${1}/d" -i po/LINGUAS
- }
-
- plocale_for_each_disabled_locale rm_po
-}
-
-src_install() {
- meson_src_install
- dosym com.github.johnfactotum.Foliate /usr/bin/foliate
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
diff --git a/app-text/foliate/foliate-3.0.1.ebuild
b/app-text/foliate/foliate-3.0.1.ebuild
deleted file mode 100644
index 675697e18bee..000000000000
--- a/app-text/foliate/foliate-3.0.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-PLOCALES="ar cs de el es eu fa_IR fr he hi id ie it ko nb nl nn pt_BR ru sv tr
uk zh_CN zh_TW"
-inherit meson plocale xdg gnome2-utils
-SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
-DESCRIPTION="gtk ebook reader built with gjs"
-HOMEPAGE="https://github.com/johnfactotum/foliate/"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="${MESON_DEPEND}"
-RDEPEND=">=dev-libs/gjs-1.76
- >=gui-libs/gtk-4.12
- gui-libs/libadwaita
- net-libs/webkit-gtk:6[introspection]
- sys-devel/gettext"
-
-src_prepare() {
- default
- xdg_environment_reset
-
- plocale_find_changes "${S}"/po '' '.po'
-
- rm_po() {
- rm po/${1}.po
- sed -e "/^${1}/d" -i po/LINGUAS
- }
-
- plocale_for_each_disabled_locale rm_po
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
-
-pkg_postrm() {
- xdg_pkg_postinst
- gnome2_schemas_update
-}
diff --git a/app-text/foliate/foliate-3.1.0.ebuild
b/app-text/foliate/foliate-3.1.0.ebuild
index c60a2af0084c..87f75f240349 100644
--- a/app-text/foliate/foliate-3.1.0.ebuild
+++ b/app-text/foliate/foliate-3.1.0.ebuild
@@ -4,9 +4,9 @@
EAPI=8
PLOCALES="ar cs de el es eu fa_IR fr he hi hr id ie it ko nb nl nn pt_BR ru sv
tr uk zh_CN zh_TW"
inherit meson plocale xdg gnome2-utils
-SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
DESCRIPTION="gtk ebook reader built with gjs"
HOMEPAGE="https://github.com/johnfactotum/foliate/"
+SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.bz2"
LICENSE="GPL-3+"
SLOT="0"
diff --git a/app-text/foliate/metadata.xml b/app-text/foliate/metadata.xml
index 86063f52e8d8..56812b6b96b7 100644
--- a/app-text/foliate/metadata.xml
+++ b/app-text/foliate/metadata.xml
@@ -9,9 +9,6 @@
Supported formats:
epub, epub3, azw, azw3, mobi, fb2, fb2.zip, cbr, cbz, cbt, cb7, txt
</longdescription>
- <use>
- <flag name="handy">Use <pkg>gui-libs/libhandy</pkg></flag>
- </use>
<upstream>
<remote-id type="github">johnfactotum/foliate</remote-id>
</upstream>