From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/referencer/files/, app-text/referencer/
Date: Thu, 5 Oct 2017 20:58:29 +0000 (UTC) [thread overview]
Message-ID: <1507237091.c763e82d69d7dae94b05347e5668a4a6a87077ac.monsieurp@gentoo> (raw)
commit: c763e82d69d7dae94b05347e5668a4a6a87077ac
Author: Dominik Kriegner <dominik.kriegner <AT> gmail <DOT> com>
AuthorDate: Wed Oct 4 16:15:24 2017 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Oct 5 20:58:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c763e82d
app-text/referencer: fix bug 601174.
* Update ebuild to EAPI version 6.
* Pdd patch to fix a compile error.
* Move from the fdo-mime to xdg-utils eclass, as suggested by repoman.
Closes: https://bugs.gentoo.org/601174
Closes: https://github.com/gentoo/gentoo/pull/5859
Package-Manager: Portage-2.3.10, Repoman-2.3.3
.../files/referencer-1.2.2-lib_path.patch | 21 +++++++++++++++++
app-text/referencer/referencer-1.2.2.ebuild | 26 ++++++++++++++--------
2 files changed, 38 insertions(+), 9 deletions(-)
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 00000000000..220b47d8b48
--- /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/referencer-1.2.2.ebuild b/app-text/referencer/referencer-1.2.2.ebuild
index 97a194e0c40..cbd54159ff5 100644
--- a/app-text/referencer/referencer-1.2.2.ebuild
+++ b/app-text/referencer/referencer-1.2.2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
PYTHON_COMPAT=( python2_7 )
-inherit fdo-mime eutils python-single-r1 flag-o-matic
+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"
@@ -13,17 +13,18 @@ SRC_URI="https://launchpad.net/${PN}/1./${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+KEYWORDS="~amd64 ~x86"
-RDEPEND="${PYTHON_DEPS}
+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}
+
+DEPEND="
+ ${RDEPEND}
>=app-text/gnome-doc-utils-0.3.2
virtual/pkgconfig
>=dev-lang/perl-5.8.1
@@ -31,19 +32,26 @@ DEPEND="${RDEPEND}
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
+ econf \
+ --disable-update-mime-database \
+ --enable-python
}
pkg_postinst() {
- fdo-mime_mime_database_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
}
pkg_postrm() {
- fdo-mime_mime_database_update
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
}
reply other threads:[~2017-10-05 20:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507237091.c763e82d69d7dae94b05347e5668a4a6a87077ac.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox