From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F1EE138359 for ; Sun, 23 Aug 2020 22:55:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7CA69E0839; Sun, 23 Aug 2020 22:55:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22934E0831 for ; Sun, 23 Aug 2020 22:55:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FBEB340CEA for ; Sun, 23 Aug 2020 22:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46B81334 for ; Sun, 23 Aug 2020 22:55:08 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1598219033.32fb55fb53c556f91c164942f8a471a929f20905.asturm@gentoo> Subject: [gentoo-commits] proj/kde-sunset:master commit in: kde-misc/krename/, kde-misc/krename/files/ X-VCS-Repository: proj/kde-sunset X-VCS-Files: kde-misc/krename/files/krename-4.0.9-desktop-file.patch kde-misc/krename/files/krename-4.0.9-freetype-include.patch kde-misc/krename/files/krename-4.0.9-gcc6.patch kde-misc/krename/krename-4.0.9-r4.ebuild X-VCS-Directories: kde-misc/krename/files/ kde-misc/krename/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 32fb55fb53c556f91c164942f8a471a929f20905 X-VCS-Branch: master Date: Sun, 23 Aug 2020 22:55:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b30e0163-83af-4641-9853-81f27021fbca X-Archives-Hash: 90582a5331a1a21d42c846d0fd9f4a5f commit: 32fb55fb53c556f91c164942f8a471a929f20905 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Aug 23 21:43:53 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 23 21:43:53 2020 +0000 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=32fb55fb kde-misc/krename: Import 4.0.9 from before slot 4 removal Signed-off-by: Andreas Sturmlechner gentoo.org> .../krename/files/krename-4.0.9-desktop-file.patch | 14 +++++++ .../files/krename-4.0.9-freetype-include.patch | 12 ++++++ kde-misc/krename/files/krename-4.0.9-gcc6.patch | 11 ++++++ kde-misc/krename/krename-4.0.9-r4.ebuild | 45 ++++++++++++++++++++++ 4 files changed, 82 insertions(+) diff --git a/kde-misc/krename/files/krename-4.0.9-desktop-file.patch b/kde-misc/krename/files/krename-4.0.9-desktop-file.patch new file mode 100644 index 00000000..bb7dbacb --- /dev/null +++ b/kde-misc/krename/files/krename-4.0.9-desktop-file.patch @@ -0,0 +1,14 @@ +diff -urN krename-4.0.9.old/src/krename.desktop krename-4.0.9/src/krename.desktop +--- krename-4.0.9.old/src/krename.desktop 2007-03-18 17:54:10.000000000 +0100 ++++ krename-4.0.9/src/krename.desktop 2014-04-29 18:37:34.171237934 +0200 +@@ -1,8 +1,7 @@ + [Desktop Entry] + Type=Application +-Exec=krename -caption "%c" %i %m %U +-Icon=krename.png +-MiniIcon=krename.png ++Exec=krename -caption "%c" %i %U ++Icon=krename + DocPath=krename/index.html + Comment=A batch renamer + Comment[de]=Ein Batch Umbenenner diff --git a/kde-misc/krename/files/krename-4.0.9-freetype-include.patch b/kde-misc/krename/files/krename-4.0.9-freetype-include.patch new file mode 100644 index 00000000..c6c70a58 --- /dev/null +++ b/kde-misc/krename/files/krename-4.0.9-freetype-include.patch @@ -0,0 +1,12 @@ +diff -ur krename-4.0.9_old/src/CMakeLists.txt krename-4.0.9/src/CMakeLists.txt +--- krename-4.0.9_old/src/CMakeLists.txt 2010-09-26 08:50:36.000000000 +0200 ++++ krename-4.0.9/src/CMakeLists.txt 2013-02-24 11:28:04.966613874 +0100 +@@ -18,7 +18,7 @@ + ENDIF(LIBPODOFO_FOUND) + + IF(FREETYPE_FOUND) +- INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIR} ) ++ INCLUDE_DIRECTORIES( ${FREETYPE_INCLUDE_DIRS} ) + ENDIF(FREETYPE_FOUND) + + ADD_DEFINITIONS(${TAGLIB_CFLAGS} ${EXIV2_CFLAGS} ${LIBPODOFO_CFLAGS} ${KDE4_DEFINITIONS} ) 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 00000000..b1687926 --- /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 00000000..8a842d0a --- /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 + +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="Powerful batch file renamer" +HOMEPAGE="https://kde.org/applications/utilities/org.kde.krename +https://userbase.kde.org/KRename" +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 +}