diff options
Diffstat (limited to 'app-text/referencer')
-rw-r--r-- | app-text/referencer/ChangeLog | 4 | ||||
-rw-r--r-- | app-text/referencer/Manifest | 1 | ||||
-rw-r--r-- | app-text/referencer/files/referencer-1.1.6-poppler016.patch | 36 | ||||
-rw-r--r-- | app-text/referencer/referencer-1.1.6-r2.ebuild | 55 |
4 files changed, 4 insertions, 92 deletions
diff --git a/app-text/referencer/ChangeLog b/app-text/referencer/ChangeLog index 39187fe..004889d 100644 --- a/app-text/referencer/ChangeLog +++ b/app-text/referencer/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 26 Mar 2017; Dustin Polke <DuPol@gmx.de> -referencer-1.1.6-r2.ebuild, + -files/referencer-1.1.6-poppler016.patch: + Drop old b/c not fetchable anymore. + 31 Jan 2017; Dustin Polke <DuPol@gmx.de> referencer-1.1.6-r2.ebuild, metadata.xml: Sync description with main tree to silence repoman warning, add missing type diff --git a/app-text/referencer/Manifest b/app-text/referencer/Manifest deleted file mode 100644 index d757314..0000000 --- a/app-text/referencer/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST referencer-1.1.6.tar.gz 686981 SHA256 d84b7edb1d2d945daf24213cfa5a79e4c86f971648e94282e773f3e9042aea93 diff --git a/app-text/referencer/files/referencer-1.1.6-poppler016.patch b/app-text/referencer/files/referencer-1.1.6-poppler016.patch deleted file mode 100644 index 44df537..0000000 --- a/app-text/referencer/files/referencer-1.1.6-poppler016.patch +++ /dev/null @@ -1,36 +0,0 @@ -=== modified file 'configure.in' ---- configure.in 2009-06-21 11:07:49 +0000 -+++ configure.in 2011-03-10 12:40:12 +0000 -@@ -49,12 +49,14 @@ - AC_CHECK_HEADERS(boost/regex.hpp) - AC_SUBST(DEPS_CFLAGS) - AC_SUBST(DEPS_LIBS) -+LIBS="$LIBS $DEPS_LIBS" - - dnl Special case for poppler-glib < 0.6 - case $($PKG_CONFIG --modversion poppler-glib) in - 0.5.*) - AC_DEFINE(OLD_POPPLER,"1","Using poppler < 0.6");; - esac -+AC_CHECK_FUNCS([poppler_page_get_selected_text]) - - - dnl I18n - -=== modified file 'src/Document.C' ---- src/Document.C 2011-03-10 09:35:05 +0000 -+++ src/Document.C 2011-03-10 12:40:12 +0000 -@@ -503,7 +503,11 @@ - textdump += poppler_page_get_text (page, rect); - #else - #warning Using poppler >= 0.6 -- textdump += poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, rect); -+ #ifdef HAVE_POPPLER_PAGE_GET_SELECTED_TEXT -+ textdump += poppler_page_get_text (page); -+ #else -+ textdump += poppler_page_get_text (page, POPPLER_SELECTION_GLYPH, rect); -+ #endif - #endif - - poppler_rectangle_free (rect); - diff --git a/app-text/referencer/referencer-1.1.6-r2.ebuild b/app-text/referencer/referencer-1.1.6-r2.ebuild deleted file mode 100644 index 604fa0b..0000000 --- a/app-text/referencer/referencer-1.1.6-r2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils autotools fdo-mime - -DESCRIPTION="Application to organise documents or references, and to generate BibTeX files" -HOMEPAGE="http://icculus.org/referencer/" -SRC_URI="http://icculus.org/${PN}/downloads/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=">=app-text/poppler-0.12.3-r3 - >=dev-cpp/gtkmm-2.8 - >=dev-cpp/libgnomeuimm-2.14.0 - >=dev-cpp/gnome-vfsmm-2.14.0 - >=dev-cpp/libglademm-2.6.0 - >=dev-cpp/gconfmm-2.14.0 - dev-libs/boost - dev-lang/python" - -DEPEND="${RDEPEND} - >=app-text/gnome-doc-utils-0.3.2 - virtual/pkgconfig - >=dev-lang/perl-5.8.1 - dev-perl/libxml-perl - dev-util/intltool - app-text/rarian" - -src_prepare() { - epatch "${FILESDIR}"/referencer-1.1.6-poppler016.patch - eautoreconf -} - -src_configure() { - econf --disable-update-mime-database --enable-python -} - -src_install() { - emake install DESTDIR="${D}" || die "emake failed" - dodoc AUTHORS ChangeLog NEWS README TODO || die -} - -pkg_postinst() { - fdo-mime_mime_database_update -} - -pkg_postrm() { - fdo-mime_mime_database_update -} |