app-text/diff-pdf: drop 0.4.1-r2

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2022-08-03 16:03:42 -04:00
parent ae3e49d137
commit 42d41d633e
3 changed files with 0 additions and 70 deletions

View File

@@ -1,2 +1 @@
DIST diff-pdf-0.4.1.tar.gz 137715 BLAKE2B f77b7a690f2a99aa003c1a36015113f0b3355acc45346637535231f763aa733174eca6b1f962058c625e06176fa13868965b3b67ddf6ffe249202ff799051e37 SHA512 4b7b49d7008b5920be86af8398dea41933888677b66505af0ca4daecbd1662dc0b3c04e7b2631d86680cdae4b0b58d24bcd4ddc2b7589127b682d4b97a179b88
DIST diff-pdf-0.5.tar.gz 135755 BLAKE2B e4b9599b4f443171473ef483fe868c58e0a0c9f23838895aa08f1bd662c4df920fdb50277d2d0a5b28d5bb66054e700012a98be636a12d34ec919ad85d332cc0 SHA512 62a868118fc807b433e504edfefdc6a9598a8197aaf5cd4e46451b67d5d73fcf9234bd6efbe6307ed7c3821aabef8edea81cbb0bbe5f4d34365c5f8d6dd9a51d

View File

@@ -1,45 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
WX_GTK_VER="3.0-gtk3"
inherit autotools wxwidgets
DESCRIPTION="A simple tool for visually comparing two PDF files"
HOMEPAGE="http://vslavik.github.io/diff-pdf/ https://github.com/vslavik/diff-pdf/"
SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz"
# The COPYING.icons file states that two icons were taken from
# version 2.16.5 of GTK+, which is licensed LGPL-2+.
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
# The build system checks for "poppler-glib", which is provided only
# when app-text/poppler is built with USE=cairo. Moreover the glib ABI
# of poppler is relatively stable, and I can only assume that diff-pdf
# uses that rather than the low-level libpoppler.so API. Since the
# subslot on app-text/poppler is ONLY for the low-level API, we
# therefore don't need a subslot dependency on app-text/poppler.
#
# Since diff-pdf.cpp includes glib.h directly, I've included
# dev-libs/glib as an explicit dependency. Ditto for x11-libs/cairo.
DEPEND="app-text/poppler[cairo]
dev-libs/glib
x11-libs/cairo
x11-libs/wxGTK:${WX_GTK_VER}[X]"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-no-poppler-cairo-check.patch" )
src_prepare() {
default
eautoreconf
}
src_configure() {
setup-wxwidgets
default
}

View File

@@ -1,24 +0,0 @@
From 00fd9ab8bf435658616f3f25b18d51b0a7ee5769 Mon Sep 17 00:00:00 2001
From: FX Coudert <fxcoudert@gmail.com>
Date: Sat, 12 Dec 2020 16:18:59 +0100
Subject: [PATCH] Remove legacy poppler-cairo dependency (#69)
poppler-glib already depended on it, so this is non-breaking,
and it is removed in poppler 0.18.1.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 382e220..2e9b6e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ AC_LANG(C++)
dnl === Library checks ===
PKG_CHECK_MODULES(POPPLER,
- [poppler-cairo >= 0.10 poppler-glib >= 0.10 cairo-pdf])
+ [poppler-glib >= 0.10 cairo-pdf])
AM_OPTIONS_WXCONFIG
AM_PATH_WXCONFIG([3.0.0], [wxfound=1], [wxfound=0], [core,base])