diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-31 20:59:14 +0100 |
commit | e748ba9741f6540f4675c23e3e37b73e822c13a4 (patch) | |
tree | 23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /net-news | |
parent | 908778078736bd36f7a60a2d576d415cb8e000fa (diff) |
gentoo resync : 31.05.2021
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/Manifest.gz | bin | 1886 -> 1887 bytes | |||
-rw-r--r-- | net-news/liferea/Manifest | 2 | ||||
-rw-r--r-- | net-news/liferea/files/liferea-1.12.9-webkit-css.patch | 47 | ||||
-rw-r--r-- | net-news/liferea/liferea-1.12.9-r1.ebuild | 75 |
4 files changed, 124 insertions, 0 deletions
diff --git a/net-news/Manifest.gz b/net-news/Manifest.gz Binary files differindex 786ea1f05a6b..33b528b27a5e 100644 --- a/net-news/Manifest.gz +++ b/net-news/Manifest.gz diff --git a/net-news/liferea/Manifest b/net-news/liferea/Manifest index a4f52311e391..f2b11bad80a5 100644 --- a/net-news/liferea/Manifest +++ b/net-news/liferea/Manifest @@ -1,5 +1,7 @@ +AUX liferea-1.12.9-webkit-css.patch 1760 BLAKE2B f99c7c86053a6b63a4e3d7cd3b13506870d60addab454c15c9113d5b04bba82e48b5117fc6baa2831356ea6a87ead6662c06b95aa93770c36719ff4c3dc49146 SHA512 438930eb0b23b83d996477a31014287a60b5d8e14e4828ee34ed65cda49161d9a61e85d49a396e53fd53f64f52d1dc56dfc6858113c4fb0cbad30614780d12b2 DIST liferea-1.12.7.tar.bz2 1495627 BLAKE2B 36e95d270e3c3f68499073c7f2b1b6c987b67fc40517bfeb95c7ce02fc0c66daccb8e7d15709f1a047b36eea3d6d0cfe4af2e37f6809051f1be7613a36e0234f SHA512 7628f089940cd285ae6269b8d788b230572a0f5cab8a81ea1e92010de98a3ecd21d39596be6c18c055469579468fe3df7fca4e917a6a1ef3644a5e24c8e55109 DIST liferea-1.12.9.tar.bz2 1496593 BLAKE2B a0887a7b04c47a69166396f06305342232b16eefba04df1a0cda7c9d84880e025d73786a55aaa528a143fccef213fa2de9474fb6fab3f301e54a12dba4a705f1 SHA512 09156e0e5e4342741b6290be17ee94a3204d431c687c17688e23067d151d36a178193f5cf01da222974810a48626c877b0cf917fbdd9ecb6e81254e85750be9b EBUILD liferea-1.12.7-r1.ebuild 1469 BLAKE2B d8e4aa48c557493f512e78670d741c09d75b5ab40b98e8f663261a523557f03c5cf990bf4753972a894741c958039577bafc4ba84c5f33b469985f613fe017c8 SHA512 563fc67195bf2c82629c2d9584f5fc66b700ba58f379f108ae2f7ca86f5576f939eaacbc1325dc1e4d1fd95bb26c19318b2ae53021777d9f524615141ffb4012 +EBUILD liferea-1.12.9-r1.ebuild 1803 BLAKE2B b746bc16905bca69c66523c310a619dee8b2a12080532b02bdfb282d6c74b5d09d9626477b4d2ee5dd7fb8600c45e08759f65c79621ab02f24fde8192bf029ee SHA512 2ea5a87e35cc64586a1de98bc8e7ee992430e2ac6aef28775ed792b7c8d5f4993507db9fb5c9ac781ea6453e8eb61f9aaf86cac377e6c74a6b7d85de0a2f8c60 EBUILD liferea-1.12.9.ebuild 1751 BLAKE2B c8f019957382f437cb7f3fd795d7aa2d6ad8fd1185ff9bac9b10d24515d2a4bba8e871587332c8b0320848f3bc04e05cb00714bb061162971e1fc631673702cd SHA512 b9bb424ce896932738d304db27178fe537c5a8a879ddbfa6573a72b26ff9163dcc78b3672695a439451ac00fc4ad6b6d4b61860f4041cabb9c46719d34b83de4 MISC metadata.xml 628 BLAKE2B 8f5d0ddd188dac08e9aaa3e0abd1048e34bb61b69790d4c208d24e3c0a42a0bd95d8cb7df262a2c46f0ef8163cc80454a0272130121041415f100e0ceddd0957 SHA512 fba5da15cb6ae5be3b0fb6b8b806a0a4c425849033eda7fc67627fafb6940d98253c918eb70a6632f1db1ba3c8bcd56ed394ca399d1f948a6890d072fbf15fa9 diff --git a/net-news/liferea/files/liferea-1.12.9-webkit-css.patch b/net-news/liferea/files/liferea-1.12.9-webkit-css.patch new file mode 100644 index 000000000000..55ceec78b44d --- /dev/null +++ b/net-news/liferea/files/liferea-1.12.9-webkit-css.patch @@ -0,0 +1,47 @@ +From 78fa1f32078eb7a56073ed49fd4b5ce481250f83 Mon Sep 17 00:00:00 2001 +From: Paul Gevers <elbrus@debian.org> +Date: Thu, 29 Apr 2021 20:59:01 +0200 +Subject: [PATCH] Apply patch for easier review + +--- + src/webkit/webkit.c | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +diff --git a/src/webkit/webkit.c b/src/webkit/webkit.c +index 5be72130..70823359 100644 +--- a/src/webkit/webkit.c ++++ b/src/webkit/webkit.c +@@ -369,6 +369,21 @@ liferea_webkit_impl_download_started (WebKitWebContext *context, + enclosure_download (NULL, webkit_uri_request_get_uri (request), TRUE); + } + ++static void ++liferea_webkit_handle_liferea_scheme (WebKitURISchemeRequest *request, gpointer user_data) ++{ ++ const gchar *uri = webkit_uri_scheme_request_get_uri (request); ++ GInputStream *stream; ++ gssize length; ++ gchar *contents; ++ ++ contents = g_strdup_printf ("Placeholder handler for liferea scheme. URI requested : %s", uri); ++ length = (gssize) strlen (contents); ++ stream = g_memory_input_stream_new_from_data (contents, length, g_free); ++ webkit_uri_scheme_request_finish (request, stream, length, "text/plain"); ++ g_object_unref (stream); ++} ++ + static void + liferea_webkit_impl_init (LifereaWebKitImpl *self) + { +@@ -379,6 +394,8 @@ liferea_webkit_impl_init (LifereaWebKitImpl *self) + self->dbus_connections = NULL; + self->settings = webkit_settings_new (); + font = webkit_get_font (&fontSize); ++ webkit_web_context_register_uri_scheme (webkit_web_context_get_default(), "liferea", ++ (WebKitURISchemeRequestCallback) liferea_webkit_handle_liferea_scheme,NULL,NULL); + + security_manager = webkit_web_context_get_security_manager (webkit_web_context_get_default ()); + webkit_security_manager_register_uri_scheme_as_local (security_manager, "liferea"); +-- +GitLab + diff --git a/net-news/liferea/liferea-1.12.9-r1.ebuild b/net-news/liferea/liferea-1.12.9-r1.ebuild new file mode 100644 index 000000000000..9bd12dbb82f1 --- /dev/null +++ b/net-news/liferea/liferea-1.12.9-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit autotools gnome2-utils python-single-r1 xdg + +DESCRIPTION="News Aggregator for RDF/RSS/CDF/Atom/Echo feeds" +HOMEPAGE="https://lzone.de/liferea/" +SRC_URI="https://github.com/lwindolf/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/gobject-introspection + dev-libs/json-glib + dev-libs/libpeas[gtk,python,${PYTHON_SINGLE_USEDEP}] + dev-libs/libxml2:2 + dev-libs/libxslt + gnome-base/gsettings-desktop-schemas + net-libs/libsoup:2.4 + net-libs/webkit-gtk:4 + x11-libs/gtk+:3 + x11-libs/pango" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/intltool + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-webkit-css.patch +) + +src_prepare() { + xdg_src_prepare + + sed -i -e 's#$(datadir)/appdata#$(datadir)/metainfo#g' \ + Makefile.am || die + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_compile() { + # Workaround crash in libwebkit2gtk-4.0.so + # https://bugs.gentoo.org/704594 + WEBKIT_DISABLE_COMPOSITING_MODE=1 \ + default +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + elog "Additional features can be enabled via" + elog "\tapp-crypt/libsecret[introspection] for Libsecret Support plugin" + elog "\tdev-python/pycairo and x11-libs/gdk-pixbuf[introspection] for Tray Icon (GNOME Classic) plugin" + elog "\tmedia-libs/gstreamer[introspection] for Media Player plugin" + elog "\tnet-misc/networkmanager for monitoring network status" + elog "\tx11-libs/libnotify[introspection] for Popup Notifications plugin" +} |