From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/krename/, kde-misc/krename/files/
Date: Sat, 9 Jul 2016 19:05:32 +0000 (UTC) [thread overview]
Message-ID: <1468091126.577852946efdb0d29df022f045aeff6448ce3bd8.johu@gentoo> (raw)
commit: 577852946efdb0d29df022f045aeff6448ce3bd8
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 9 19:05:13 2016 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Jul 9 19:05:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57785294
kde-misc/krename: Fix build with gcc-6
Revision bump adds patch from Arch Linux. Spotted by George Diamantopoulos
<georgediam <AT> gmail.com>.
Gentoo-bug: 587994
Package-Manager: portage-2.3.0
kde-misc/krename/files/krename-4.0.9-gcc6.patch | 11 ++++++
kde-misc/krename/krename-4.0.9-r4.ebuild | 45 +++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/kde-misc/krename/files/krename-4.0.9-gcc6.patch b/kde-misc/krename/files/krename-4.0.9-gcc6.patch
new file mode 100644
index 0000000..b168792
--- /dev/null
+++ b/kde-misc/krename/files/krename-4.0.9-gcc6.patch
@@ -0,0 +1,11 @@
+--- krename-4.0.9/src/batchrenamer.cpp.orig 2016-05-07 12:50:29.243165528 +0000
++++ krename-4.0.9/src/batchrenamer.cpp 2016-05-07 12:50:52.543081000 +0000
+@@ -402,7 +402,7 @@
+ break;
+ case eRenameMode_Link:
+ // In case of link delete created file
+- job = KIO::file_delete( dstUrl, false );
++ job = KIO::file_delete( dstUrl, NULL );
+ break;
+ case eRenameMode_Copy: // no undo possible
+ // TODO: Maybe we should delete the created files
diff --git a/kde-misc/krename/krename-4.0.9-r4.ebuild b/kde-misc/krename/krename-4.0.9-r4.ebuild
new file mode 100644
index 0000000..638803e
--- /dev/null
+++ b/kde-misc/krename/krename-4.0.9-r4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_LINGUAS="bs cs de el es fr hu it ja lt nl pl pt ru sl sv tr uk zh_CN"
+inherit kde4-base
+
+DESCRIPTION="KRename - a very powerful batch file renamer"
+HOMEPAGE="http://www.krename.net/"
+SRC_URI="mirror://sourceforge/krename/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug exif pdf taglib truetype"
+
+RDEPEND="
+ exif? ( >=media-gfx/exiv2-0.13:= )
+ pdf? ( >=app-text/podofo-0.8 )
+ taglib? ( >=media-libs/taglib-1.5 )
+ truetype? ( media-libs/freetype:2 )
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-freetype-include.patch"
+ "${FILESDIR}/${P}-desktop-file.patch"
+ "${FILESDIR}/${P}-gcc6.patch"
+)
+DOCS=( AUTHORS README TODO )
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_Exiv2=$(usex exif)
+ -DWITH_Taglib=$(usex taglib)
+ -DWITH_LIBPODOFO=$(usex pdf)
+ -DWITH_Freetype=$(usex truetype)
+ )
+
+ kde4-base_src_configure
+}
next reply other threads:[~2016-07-09 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-09 19:05 Johannes Huber [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-07-17 18:03 [gentoo-commits] repo/gentoo:master commit in: kde-misc/krename/, kde-misc/krename/files/ Andreas Sturmlechner
2020-07-18 22:25 Andreas Sturmlechner
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=1468091126.577852946efdb0d29df022f045aeff6448ce3bd8.johu@gentoo \
--to=johu@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