public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/apvlv/, app-text/apvlv/files/
@ 2015-11-04 11:23 Michael Palimaka
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Palimaka @ 2015-11-04 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     f2d016075637e0dd3141c757f38c51a0ea961f9c
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  4 11:19:14 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Nov  4 11:22:49 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d01607

app-text/apvlv: remove old

Package-Manager: portage-2.2.20.1

 app-text/apvlv/Manifest                      |  1 -
 app-text/apvlv/apvlv-0.1.4.ebuild            | 59 ----------------------------
 app-text/apvlv/files/apvlv-0.1.4-cmake.patch | 32 ---------------
 3 files changed, 92 deletions(-)

diff --git a/app-text/apvlv/Manifest b/app-text/apvlv/Manifest
index e5401c3..fa048e6 100644
--- a/app-text/apvlv/Manifest
+++ b/app-text/apvlv/Manifest
@@ -1,2 +1 @@
-DIST apvlv-0.1.4-Source.tar.gz 337182 SHA256 f803de89aed82fea08f9386a6d6ddec999d0c96bb68c85e4cd527803838d17cd SHA512 798db075e702b02323e4df9f2ed07478aca975feca9ec7cae386792cdb4dbdcf016e7569e8f16bce6ffea0fe5482b5ea8551de10cbd0652f5607e5f0c0ea024b WHIRLPOOL fc9b66d829de17442efe7f782e44dd8024fbaf680a12a260504592bd8a44f48e7d5ace30f18f3ddec4df178fc772f4046ba0fe3e0c100195d86f05bea9703a0a
 DIST apvlv-0.1.5.tar.gz 4254177 SHA256 dca98157e63c9fec12d6514751ea26549813dc7b87d838b0003f31a444100a8a SHA512 680b2d6e272cda34b0b9065f5fdf7b917a4e3ed4d54a6e78cb41a60cf43374c687b506d4148d6cecf87912957fbe6bc4c77e9278616fd236e49ade15774e1ccd WHIRLPOOL c254d3ca939b308dc58aadee20e33c5a6bda7495c4521d3433d2eb4a03ab4c9fd25f0589554506b08496f9024ef6d8c8648abc31b5175ad5b181272b9e6cae00

diff --git a/app-text/apvlv/apvlv-0.1.4.ebuild b/app-text/apvlv/apvlv-0.1.4.ebuild
deleted file mode 100644
index 6afcbf4..0000000
--- a/app-text/apvlv/apvlv-0.1.4.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils cmake-utils
-
-MY_P="${P}-Source"
-DESCRIPTION="Alf's PDF Viewer Like Vim"
-HOMEPAGE="https://naihe2010.github.com/apvlv/"
-SRC_URI="mirror://github/naihe2010/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug djvu"
-
-RDEPEND="
-	>=app-text/poppler-0.18:=[cairo,xpdf-headers(+)]
-	>=x11-libs/gtk+-2.10.4:2
-	djvu? ( app-text/djvu:= )
-"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
-	# Webkit automagic, preserve cflags
-	epatch "${FILESDIR}/${PN}-0.1.4-cmake.patch"
-
-	# Remove prefixes so it works with the cmake-utils eclass
-	sed -i -e "s:APVLV_::" CMakeLists.txt src/CMakeLists.txt || die
-
-	# Don't install tex file
-	sed -i -e "s:Startup.tex::" CMakeLists.txt || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSYSCONFDIR=/etc/${PN}
-		-DDOCDIR=/usr/share/${PN}
-		-DMANDIR=/usr/share/man
-		-DWITH_HTML=OFF
-		-DWITH_UMD=OFF
-		-DWITH_TXT=ON
-		$(cmake-utils_use_with djvu)
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-	dodoc AUTHORS NEWS README THANKS TODO
-	newicon icons/pdf.png ${PN}.png
-	make_desktop_entry ${PN} "Alf's PDF Viewer Like Vim" ${PN} "Office;Viewer"
-}

diff --git a/app-text/apvlv/files/apvlv-0.1.4-cmake.patch b/app-text/apvlv/files/apvlv-0.1.4-cmake.patch
deleted file mode 100644
index 43c1159..0000000
--- a/app-text/apvlv/files/apvlv-0.1.4-cmake.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -ruN apvlv-0.1.4-Source/src/CMakeLists.txt my/src/CMakeLists.txt
---- apvlv-0.1.4-Source/src/CMakeLists.txt	2012-06-13 05:44:28.000000000 +0200
-+++ my/src/CMakeLists.txt	2012-07-17 00:32:53.782141814 +0200
-@@ -1,23 +1,18 @@
- IF (WIN32)
-         ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
- ELSE (WIN32)
--        SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
--
--        OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
--        IF (APVLV_ENABLE_DEBUG)
--                SET (CMAKE_CXX_FLAGS "-D_DEBUG -g ${CMAKE_CXX_FLAGS}")
--        ELSE (APVLV_ENABLE_DEBUG)
--                SET (CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS}")
--        ENDIF (APVLV_ENABLE_DEBUG)
-+        SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing")
- ENDIF (WIN32)
- 
- FIND_PACKAGE (PkgConfig)
- 
--PKG_CHECK_MODULES (FREETYPE2 freetype2 REQUIRED)
- PKG_CHECK_MODULES (GTK2 gtk+-2.0 REQUIRED)
- PKG_CHECK_MODULES (GLIB2 glib-2.0 REQUIRED)
- PKG_CHECK_MODULES (GTHREAD2 gthread-2.0 REQUIRED)
--PKG_CHECK_MODULES (WEBKIT1 webkit-1.0 QUIET)
-+
-+IF (APVLV_WITH_HTML)
-+    PKG_CHECK_MODULES (WEBKIT1 webkit-1.0 REQUIRED)
-+ENDIF (APVLV_WITH_HTML)
- INCLUDE_DIRECTORIES (${FREETYPE2_INCLUDE_DIRS} 
-                      ${GTK2_INCLUDE_DIRS} 
-                      ${GLIB2_INCLUDE_DIRS} 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/apvlv/, app-text/apvlv/files/
@ 2017-06-06 13:02 Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2017-06-06 13:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6b74b9f2bc3164443919f5893909191531cc8f6c
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  6 12:59:07 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Jun  6 13:02:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b74b9f2

app-text/apvlv: Fix gcc6 compilation (#597670)

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-text/apvlv/apvlv-0.1.5-r1.ebuild        |  3 ++-
 app-text/apvlv/files/apvlv-0.1.5-gcc6.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/app-text/apvlv/apvlv-0.1.5-r1.ebuild b/app-text/apvlv/apvlv-0.1.5-r1.ebuild
index dc6b7a188bc..94e7aec1620 100644
--- a/app-text/apvlv/apvlv-0.1.5-r1.ebuild
+++ b/app-text/apvlv/apvlv-0.1.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -26,6 +26,7 @@ DEPEND="${RDEPEND}
 src_prepare() {
 	# preserve cflags
 	epatch "${FILESDIR}/${PN}-0.1.5-cflags.patch"
+	epatch "${FILESDIR}/${PN}-0.1.5-gcc6.patch"
 }
 
 src_configure() {

diff --git a/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
new file mode 100644
index 00000000000..0ffe3659d6d
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
@@ -0,0 +1,12 @@
+diff -Naur apvlv-0.1.5.orig/src/ApvlvParams.cc apvlv-0.1.5/src/ApvlvParams.cc
+--- apvlv-0.1.5.orig/src/ApvlvParams.cc	2015-01-10 15:04:24.000000000 +0100
++++ apvlv-0.1.5/src/ApvlvParams.cc	2017-02-09 20:03:08.655402750 +0100
+@@ -90,7 +90,7 @@
+ 	return false;
+       }
+ 
+-    while ((getline (os, str)) != NULL)
++    while (getline (os, str))
+       {
+ 	string argu, data, crap;
+ 	stringstream is (str);


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/apvlv/, app-text/apvlv/files/
@ 2023-01-08 14:04 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2023-01-08 14:04 UTC (permalink / raw
  To: gentoo-commits

commit:     253e5c91da06914fc5228456b9854c73b6372bd4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 10:58:53 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 13:54:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=253e5c91

app-text/apvlv: drop 0.1.5-r2

Closes: https://bugs.gentoo.org/886901
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-text/apvlv/Manifest                            |  1 -
 app-text/apvlv/apvlv-0.1.5-r2.ebuild               | 53 ----------------------
 app-text/apvlv/files/apvlv-0.1.5-cflags.patch      | 20 --------
 app-text/apvlv/files/apvlv-0.1.5-gcc6.patch        | 12 -----
 app-text/apvlv/files/apvlv-0.1.5-gcc7.patch        | 22 ---------
 .../apvlv/files/apvlv-0.1.5-poppler-0.73.patch     | 10 ----
 6 files changed, 118 deletions(-)

diff --git a/app-text/apvlv/Manifest b/app-text/apvlv/Manifest
index 4e7bd904c044..cefafd26f774 100644
--- a/app-text/apvlv/Manifest
+++ b/app-text/apvlv/Manifest
@@ -1,2 +1 @@
-DIST apvlv-0.1.5.tar.gz 4254177 BLAKE2B 53bb949838353e7e8387219d086b8c7efef78d4bff15196c68e3d0fe6c298be8a771ecce4e156254f1d072d1715794caff640ebe795f8da73e09d6a4fe4addc9 SHA512 680b2d6e272cda34b0b9065f5fdf7b917a4e3ed4d54a6e78cb41a60cf43374c687b506d4148d6cecf87912957fbe6bc4c77e9278616fd236e49ade15774e1ccd
 DIST apvlv-0.4.0.tar.gz 4361302 BLAKE2B 99d61df285ff3b910ace50bc4b1b62601fe7ca9037f835262a8eac179ddcccff5f772121b223e38050243d4bc2da9532e17d9b38fbceb786971d77fea006f91d SHA512 a25033e52acf34b486101953ffaa5de604e3321f9b4705e94fa157596ef560351c1712ed830b2a950f92c054b600a33f903be58f8a7d222c27e5125fedf4245b

diff --git a/app-text/apvlv/apvlv-0.1.5-r2.ebuild b/app-text/apvlv/apvlv-0.1.5-r2.ebuild
deleted file mode 100644
index 8bd32e2cccc9..000000000000
--- a/app-text/apvlv/apvlv-0.1.5-r2.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg cmake desktop
-
-DESCRIPTION="Alf's PDF Viewer Like Vim"
-HOMEPAGE="https://github.com/naihe2010/apvlv/"
-SRC_URI="https://github.com/naihe2010/apvlv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug djvu"
-
-BDEPEND="
-	virtual/pkgconfig
-"
-DEPEND="
-	>=app-text/poppler-0.18[cairo,xpdf-headers(+)]
-	dev-libs/glib:2
-	x11-libs/gtk+:3
-	djvu? ( app-text/djvu:= )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-	# preserve cflags
-	"${FILESDIR}/${P}-cflags.patch"
-	"${FILESDIR}/${P}-gcc6.patch"
-	"${FILESDIR}/${P}-gcc7.patch"
-	"${FILESDIR}/${P}-poppler-0.73.patch"
-)
-
-src_configure() {
-	local mycmakeargs=(
-		-DSYSCONFDIR=/etc/${PN}
-		-DDOCDIR=/usr/share/${PN}
-		-DMANDIR=/usr/share/man
-		-DAPVLV_WITH_HTML=OFF
-		-DAPVLV_WITH_UMD=OFF
-		-DAPVLV_WITH_TXT=ON
-		-DAPVLV_WITH_DJVU=$(usex djvu)
-		-DAPVLV_ENABLE_DEBUG=$(usex debug)
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	newicon -s 32 icons/pdf.png ${PN}.png
-}

diff --git a/app-text/apvlv/files/apvlv-0.1.5-cflags.patch b/app-text/apvlv/files/apvlv-0.1.5-cflags.patch
deleted file mode 100644
index d1859fa25701..000000000000
--- a/app-text/apvlv/files/apvlv-0.1.5-cflags.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index ae9ae09..5831e7a 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -1,13 +1,11 @@
- IF (WIN32)
-   ADD_DEFINITIONS (-D_CRT_SECURE_NO_WARNINGS)
- ELSE (WIN32)
--  SET (CMAKE_CXX_FLAGS "-Wall -fno-strict-aliasing")
-+  SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing")
- 
-   OPTION (APVLV_ENABLE_DEBUG "If build binary with debug infomations." OFF)
-   IF (APVLV_ENABLE_DEBUG)
--    SET (CMAKE_CXX_FLAGS "-D_DEBUG -g ${CMAKE_CXX_FLAGS}")
--  ELSE (APVLV_ENABLE_DEBUG)
--    SET (CMAKE_CXX_FLAGS "-O2 ${CMAKE_CXX_FLAGS}")
-+    SET (CMAKE_CXX_FLAGS "-D_DEBUG ${CMAKE_CXX_FLAGS}")
-   ENDIF (APVLV_ENABLE_DEBUG)
- ENDIF (WIN32)
- 

diff --git a/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch b/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
deleted file mode 100644
index 0ffe3659d6d7..000000000000
--- a/app-text/apvlv/files/apvlv-0.1.5-gcc6.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur apvlv-0.1.5.orig/src/ApvlvParams.cc apvlv-0.1.5/src/ApvlvParams.cc
---- apvlv-0.1.5.orig/src/ApvlvParams.cc	2015-01-10 15:04:24.000000000 +0100
-+++ apvlv-0.1.5/src/ApvlvParams.cc	2017-02-09 20:03:08.655402750 +0100
-@@ -90,7 +90,7 @@
- 	return false;
-       }
- 
--    while ((getline (os, str)) != NULL)
-+    while (getline (os, str))
-       {
- 	string argu, data, crap;
- 	stringstream is (str);

diff --git a/app-text/apvlv/files/apvlv-0.1.5-gcc7.patch b/app-text/apvlv/files/apvlv-0.1.5-gcc7.patch
deleted file mode 100644
index e55f2771395a..000000000000
--- a/app-text/apvlv/files/apvlv-0.1.5-gcc7.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- apvlv-0.1.5+dfsg.orig/src/ApvlvCmds.cc
-+++ apvlv-0.1.5+dfsg/src/ApvlvCmds.cc
-@@ -200,7 +200,7 @@ namespace apvlv
- 
-     if (len >= 4
- 	&& *s == '<'
--	&& (e = strchr ((char *) s, '>')) != '\0' && *(s + 2) != '-')
-+	&& (e = strchr ((char *) s, '>')) && *(s + 2) != '-')
-       {
- 	e++;
- 	StringKeyMap::iterator it;
---- apvlv-0.1.5+dfsg.orig/src/ApvlvCore.cc
-+++ apvlv-0.1.5+dfsg/src/ApvlvCore.cc
-@@ -90,7 +90,7 @@ namespace apvlv
-   {
-     mInuse = use;
- 
--    if (mInuse == false && gView->hasloaded (filename (), type ()) == false)
-+    if (mInuse == false && !gView->hasloaded (filename (), type ()))
-       {
- 	debug ("core :%p is not needed, delete it\n", this);
- 	delete this;

diff --git a/app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch b/app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch
deleted file mode 100644
index c3001d4b6196..000000000000
--- a/app-text/apvlv/files/apvlv-0.1.5-poppler-0.73.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/ApvlvPdf.cc	2015-01-10 15:04:24.000000000 +0100
-+++ b/src/ApvlvPdf.cc	2019-01-17 01:29:54.479256848 +0100
-@@ -29,7 +29,6 @@
- #include "ApvlvPdf.h"
- 
- #ifndef POPPLER_WITH_GDK
--#include <goo/gtypes.h>
- 
- static void
- copy_cairo_surface_to_pixbuf (cairo_surface_t *surface,


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/apvlv/, app-text/apvlv/files/
@ 2023-05-03 19:20 Pacho Ramos
  0 siblings, 0 replies; 4+ messages in thread
From: Pacho Ramos @ 2023-05-03 19:20 UTC (permalink / raw
  To: gentoo-commits

commit:     5c8f8d5a7d3dfb33040865e75c720707792604b8
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 18:59:39 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed May  3 19:20:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c8f8d5a

app-text/apvlv: Port to webkitgtk-4.1 and use a highres icon

Port to webkitgtk-4.1 applying upstream fix. But the way, provide a better
icon definition allowing standard icon packs to provide a nicer icon over
current low resolution one provided by upstream.

Closes: https://bugs.gentoo.org/893678
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-text/apvlv/apvlv-0.4.0-r2.ebuild               | 60 ++++++++++++++++++++++
 app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch     | 10 ++++
 .../apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch     | 45 ++++++++++++++++
 3 files changed, 115 insertions(+)

diff --git a/app-text/apvlv/apvlv-0.4.0-r2.ebuild b/app-text/apvlv/apvlv-0.4.0-r2.ebuild
new file mode 100644
index 000000000000..afd75022a0c5
--- /dev/null
+++ b/app-text/apvlv/apvlv-0.4.0-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg cmake desktop
+
+DESCRIPTION="Alf's PDF/DJVU/EPUB Viewer like Vim"
+HOMEPAGE="https://github.com/naihe2010/apvlv/"
+SRC_URI="https://github.com/naihe2010/apvlv/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug djvu"
+
+RDEPEND="
+	app-text/ebook-tools
+	>=app-text/poppler-0.5.0:=[cairo,xpdf-headers(+)]
+	dev-libs/glib:2
+	dev-libs/libxml2
+	net-libs/webkit-gtk:4.1=
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf:2
+	x11-libs/gtk+:3
+	x11-libs/pango
+	djvu? ( app-text/djvu )
+"
+
+DEPEND="${RDEPEND}
+	app-text/ghostscript-gpl
+	media-libs/freetype
+"
+BDEPEND="
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-cmake-cxxflags.patch
+	"${FILESDIR}"/${P}-icon-r1.patch
+	# https://github.com/naihe2010/apvlv/commit/39f783103e99b954991183cea2b5ccbd9add2a1a
+	"${FILESDIR}"/${P}-webkitgtk4.1.patch
+)
+src_prepare() {
+	cmake_src_prepare
+}
+src_configure() {
+	local mycmakeargs=(
+		-DAPVLV_WITH_DJVU=$(usex djvu)
+		-DAPVLV_ENABLE_DEBUG=$(usex debug)
+		-DAPVLV_WITH_TXT=ON
+		-DDOCDIR="/usr/share/doc/${PF}"
+	)
+	cmake_src_configure
+}
+src_install() {
+	cmake_src_install
+	# https://github.com/naihe2010/apvlv/issues/84
+	newicon -s 32 icons/pdf.png x-office-document.png
+}

diff --git a/app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch b/app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch
new file mode 100644
index 000000000000..e5cb3526f318
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.4.0-icon-r1.patch
@@ -0,0 +1,10 @@
+--- a/apvlv.desktop
++++ b/apvlv.desktop
+@@ -2,6 +2,7 @@
+ Version=1.0
+ Type=Application
+ Name=apvlv
++Icon=x-office-document
+ Comment=A minimalistic document viewer
+ Comment[de]=Ein minimalistischer Dokumenten-Betrachter
+ Comment[fr]=Un visionneur de document minimaliste

diff --git a/app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch b/app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch
new file mode 100644
index 000000000000..4501184d365c
--- /dev/null
+++ b/app-text/apvlv/files/apvlv-0.4.0-webkitgtk4.1.patch
@@ -0,0 +1,45 @@
+From 39f783103e99b954991183cea2b5ccbd9add2a1a Mon Sep 17 00:00:00 2001
+From: Alberto Garcia <berto@igalia.com>
+Date: Wed, 16 Nov 2022 10:05:42 +0100
+Subject: [PATCH] Use the WebKitGTK 4.1 API builds when available
+
+These use soup3 instead of soup2 internally but the API is the same.
+---
+ src/CMakeLists.txt | 10 ++++++++--
+ 1 file changed, 8 insertions(+), 2 deletions(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 457f576..cd12d9b 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -18,14 +18,20 @@ FIND_PACKAGE(PkgConfig)
+ PKG_CHECK_MODULES(FREETYPE2 freetype2 REQUIRED)
+ PKG_CHECK_MODULES(GTK gtk+-3.0)
+ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
+-PKG_CHECK_MODULES(WEBKIT webkit2gtk-4.0 REQUIRED)
++PKG_CHECK_MODULES(LIBXML libxml-2.0 REQUIRED)
++PKG_CHECK_MODULES(WEBKIT webkit2gtk-4.1)
++if (NOT WEBKIT_FOUND)
++  PKG_CHECK_MODULES(WEBKIT webkit2gtk-4.0 REQUIRED)
++endif()
+ INCLUDE_DIRECTORIES(${FREETYPE2_INCLUDE_DIRS}
+         ${GTK_INCLUDE_DIRS}
+         ${GLIB2_INCLUDE_DIRS}
++        ${LIBXML_INCLUDE_DIRS}
+         ${WEBKIT_INCLUDE_DIRS})
+ LINK_DIRECTORIES(${FREETYPE2_LIBRARY_DIRS}
+         ${GTK_LIBRARY_DIRS}
+         ${GLIB2_LIBRARY_DIRS}
++        ${LIBXML_LIBRARY_DIRS}
+         ${WEBKIT_LIBRARY_DIRS})
+ 
+ IF (WIN32)
+@@ -116,7 +122,7 @@ TARGET_LINK_LIBRARIES(apvlv
+         ${GTHREAD2_LIBRARIES}
+         ${WEBKIT_LIBRARIES}
+         "-lepub"
+-        "-lxml2"
++        ${LIBXML_LIBRARIES}
+         ${APVLV_REQ_LIBRARIES})
+ 
+ IF (WIN32)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-03 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-06 13:02 [gentoo-commits] repo/gentoo:master commit in: app-text/apvlv/, app-text/apvlv/files/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2023-05-03 19:20 Pacho Ramos
2023-01-08 14:04 Andreas Sturmlechner
2015-11-04 11:23 Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox