summaryrefslogtreecommitdiff
path: root/app-text/referencer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/referencer
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/referencer')
-rw-r--r--app-text/referencer/Manifest4
-rw-r--r--app-text/referencer/files/referencer-1.2.2-lib_path.patch21
-rw-r--r--app-text/referencer/metadata.xml15
-rw-r--r--app-text/referencer/referencer-1.2.2.ebuild57
4 files changed, 97 insertions, 0 deletions
diff --git a/app-text/referencer/Manifest b/app-text/referencer/Manifest
new file mode 100644
index 000000000000..2cc56a60cc98
--- /dev/null
+++ b/app-text/referencer/Manifest
@@ -0,0 +1,4 @@
+AUX referencer-1.2.2-lib_path.patch 809 BLAKE2B 2cb37ce577ab7b877353489dcaedf32fb135b7970ed70c031de843e0db50d619c8b83d451945dfe9c5d88f60fd21e5243c026c6cf10b0f113fc375bae7f766e0 SHA512 4857eaf468aaba555e7a74b23f91049c68746a6bc1a80d4df287a3363f92871ccb879bdf7f0f8dfb6f18a6f0443fc61f743cbe23b164de4fa0f8a076f59a839b
+DIST referencer-1.2.2.tar.gz 694421 BLAKE2B 2b48b71610d0cb79feaaeae7af203dedd1dc53d194b1b93306c5f022954a5e50f5db1dd693da76b7d4f33045d3174ed82a0764a9dfee6b6bfe98f352575cf59b SHA512 de8d759890f283e7863e6174334bcb051edf70f87a6fb06f724ffa1699be60c83d0191bde0324b571fab0801752a5b92fb507a3cd337fa9adb5ea7d22b280907
+EBUILD referencer-1.2.2.ebuild 1154 BLAKE2B 3d21875ff3ad618dc50b59cc1ca149d5222a5c449827703fabef5318f1559c7ae7f81af552c818312dcd354907407d15f8c6d442526d18c7968f5c9e94ed8c10 SHA512 216e116d7f0c610645c40c4c668a2b5bd98e31d7304e258983a992c4db69cee053c1331bc7a1cd37079cd8fca87c676c387d955e4a2346d57f530e6c3194087d
+MISC metadata.xml 453 BLAKE2B 8422bf3441f4a64d469ed5d1f3935f93d6ef0a9b04dda823d3ab6cd03f53de8794fcc30732d9c5ba7414f925a346d96ba70fbfe52c628b1ba473b4c4c3180cdd SHA512 966bf89a47f9afee99af80214048a21d332e810ec1013ca8c9d7edb9e7038575c7a86fd1603dd9cf34ffe90f2a93ff55f7f1d1c229d66055872123f7b6f20649
diff --git a/app-text/referencer/files/referencer-1.2.2-lib_path.patch b/app-text/referencer/files/referencer-1.2.2-lib_path.patch
new file mode 100644
index 000000000000..220b47d8b488
--- /dev/null
+++ b/app-text/referencer/files/referencer-1.2.2-lib_path.patch
@@ -0,0 +1,21 @@
+From: Dominik Kriegner <dominik.kriegner@gmail.com>
+Date: Tue, 29 Nov 2016 09:56:00 +0000
+Subject: [PATCH] fix build issue
+Patch's original author is Askhat Bakarov on arch
+https://aur.archlinux.org/cgit/aur.git/commit/?h=referencer&id=961f2b5e4b286f27f610e5267465c63021b8a50f
+
+Project-Bug-URL: https://bugs.launchpad.net/referencer/+bug/1645639
+Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=601174
+merged upstream: http://bazaar.launchpad.net/~referencer-devs/referencer/trunk/revision/939
+
+--- a/src/Document.C 2014-01-27 03:43:00.000000000 +0700
++++ b/src/Document.C 2016-11-03 16:25:00.698676538 +0700
+@@ -297,7 +297,7 @@
+
+ lib_path = lib_path->get_parent();
+ up_dir_level += "../";
+- if (lib_path == 0) {
++ if (!lib_path) {
+ doc_is_relative_to_library = false;
+ break;
+ }
diff --git a/app-text/referencer/metadata.xml b/app-text/referencer/metadata.xml
new file mode 100644
index 000000000000..8b254b7dbc9a
--- /dev/null
+++ b/app-text/referencer/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dominik.kriegner@gmail.com</email>
+ <name>Dominik Kriegner</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">referencer</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/referencer/referencer-1.2.2.ebuild b/app-text/referencer/referencer-1.2.2.ebuild
new file mode 100644
index 000000000000..06a5922851df
--- /dev/null
+++ b/app-text/referencer/referencer-1.2.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit xdg-utils eutils python-single-r1 flag-o-matic
+
+DESCRIPTION="Application to organise documents or references, and to generate BibTeX files"
+HOMEPAGE="https://launchpad.net/referencer"
+SRC_URI="https://launchpad.net/${PN}/1./${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=app-text/poppler-0.12.3-r3[cairo]
+ >=dev-cpp/gtkmm-2.8:*
+ >=dev-cpp/libglademm-2.6.0
+ >=dev-cpp/gconfmm-2.14.0
+ >=dev-libs/boost-1.52.0-r4"
+
+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"
+
+PATCHES=( ${FILESDIR}/${PN}-${PV}-lib_path.patch )
+
+src_prepare () {
+ default
+ python_fix_shebang plugins
+}
+
+src_configure() {
+ append-cxxflags -std=gnu++11
+ econf \
+ --disable-update-mime-database \
+ --enable-python
+}
+
+pkg_postinst() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}