diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2018-02-16 19:36:57 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2018-02-16 19:36:57 +0000 |
commit | 8fb49f94c893cab086857283d098a57f72901639 (patch) | |
tree | da8129dde9fe4738dcd844caec142bef9f7e9a34 | |
parent | 524f3ecd82c1986b360b911d8aafc945d5ab7908 (diff) |
Update KRename to 5.0.0 and adopt the port with my kde@ hat
This is the first KF5-based release, so rename the port from
sysutils/krename-kde4 to sysutils/krename.
Announcement:
https://mail.kde.org/pipermail/kde-announce-apps/2018-February/005426.html
Notes
Notes:
svn path=/head/; revision=462057
-rw-r--r-- | MOVED | 2 | ||||
-rw-r--r-- | sysutils/Makefile | 2 | ||||
-rw-r--r-- | sysutils/krename-kde4/Makefile | 28 | ||||
-rw-r--r-- | sysutils/krename-kde4/distinfo | 2 | ||||
-rw-r--r-- | sysutils/krename-kde4/files/patch-cmake__modules__FindLIBPODOFO.cmake | 11 | ||||
-rw-r--r-- | sysutils/krename-kde4/files/patch-git_62f65e | 22 | ||||
-rw-r--r-- | sysutils/krename-kde4/files/patch-src__systemplugin.h | 10 | ||||
-rw-r--r-- | sysutils/krename/Makefile | 26 | ||||
-rw-r--r-- | sysutils/krename/distinfo | 3 | ||||
-rw-r--r-- | sysutils/krename/pkg-descr (renamed from sysutils/krename-kde4/pkg-descr) | 0 | ||||
-rw-r--r-- | sysutils/krename/pkg-plist (renamed from sysutils/krename-kde4/pkg-plist) | 16 |
11 files changed, 44 insertions, 78 deletions
@@ -4722,7 +4722,6 @@ sysutils/klineakconfig||2013-07-26|Has expired: Depends on Qt 3.x sysutils/kmilo||2013-07-26|Has expired: Depends on Qt 3.x sysutils/knutclient||2013-07-26|Has expired: Depends on Qt 3.x sysutils/komparator||2013-07-26|Has expired: Depends on Qt 3.x -sysutils/krename||2013-07-26|Has expired: Depends on Qt 3.x sysutils/kshutdown||2013-07-26|Has expired: Depends on Qt 3.x sysutils/ksynaptics||2013-07-26|Has expired: Depends on Qt 3.x sysutils/lineak-kdeplugins||2013-07-26|Has expired: Depends on Qt 3.x @@ -9965,3 +9964,4 @@ textproc/rubygem-tidy||2018-02-14|Has expired: No longer needed and not maintain www/rubygem-scrapi||2018-02-14|Has expired: No longer maintained upstream devel/boost-python3-libs|devel/boost-python-libs@py36|2018-02-15|Flavorize net/quagga-esr|net/quagga|2018-02-15|Fixes available, go back to the regular quagga +sysutils/krename-kde4|sysutils/krename|2018-02-16|Renamed to sysutils/krename diff --git a/sysutils/Makefile b/sysutils/Makefile index 28163e1ff1f8..ecfd902fbb4b 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -536,7 +536,7 @@ SUBDIR += kldfind SUBDIR += kldpatch SUBDIR += knutclient-kde4 - SUBDIR += krename-kde4 + SUBDIR += krename SUBDIR += kshutdown-kde4 SUBDIR += ksysguardd SUBDIR += ksystemlog diff --git a/sysutils/krename-kde4/Makefile b/sysutils/krename-kde4/Makefile deleted file mode 100644 index 05902c4cd475..000000000000 --- a/sysutils/krename-kde4/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# $FreeBSD$ - -PORTNAME= krename -PORTVERSION= 4.0.9 -PORTREVISION= 12 -CATEGORIES= sysutils kde -MASTER_SITES= SF/${PORTNAME}/KDE4%20${PORTNAME}-stable/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Powerful batch file renamer for KDE - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -LIB_DEPENDS= libtag.so:audio/taglib \ - libexiv2.so:graphics/exiv2 \ - libpodofo.so:graphics/podofo \ - libfreetype.so:print/freetype2 - -USES= cmake:outsource gettext kde:4 tar:bzip2 -USE_KDE= kdelibs automoc4 -USE_QT4= qmake_build moc_build rcc_build uic_build - -post-patch: - @${REINPLACE_CMD} 's,FREETYPE_INCLUDE_DIR,FREETYPE_INCLUDE_DIR_freetype2,' \ - ${WRKSRC}/src/CMakeLists.txt - -.include <bsd.port.mk> diff --git a/sysutils/krename-kde4/distinfo b/sysutils/krename-kde4/distinfo deleted file mode 100644 index 070bd6067f99..000000000000 --- a/sysutils/krename-kde4/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (krename-4.0.9.tar.bz2) = baf1f426360824c98ee3134a74fe2c93763ea01c15aea8801d6968d676796d85 -SIZE (krename-4.0.9.tar.bz2) = 244658 diff --git a/sysutils/krename-kde4/files/patch-cmake__modules__FindLIBPODOFO.cmake b/sysutils/krename-kde4/files/patch-cmake__modules__FindLIBPODOFO.cmake deleted file mode 100644 index fc299de2f48c..000000000000 --- a/sysutils/krename-kde4/files/patch-cmake__modules__FindLIBPODOFO.cmake +++ /dev/null @@ -1,11 +0,0 @@ ---- ./cmake/modules/FindLIBPODOFO.cmake.orig 2011-02-22 01:00:30.000000000 +0300 -+++ ./cmake/modules/FindLIBPODOFO.cmake 2011-03-10 13:33:50.566470837 +0300 -@@ -23,7 +23,7 @@ - ENDIF(LIBPODOFO_H) - - FIND_LIBRARY(LIBPODOFO_LIB -- NAMES libpodofo-doc podofo-doc -+ NAMES libpodofo podofo libpodofo-doc podofo-doc - PATHS "${LIBPODOFO_DIR}/lib" "${LIBPODOFO_DIR}/src" "${LIBPODOFO_DIR}") - IF(LIBPODOFO_LIB) - MESSAGE("podofo lib: ${LIBPODOFO_LIB}") diff --git a/sysutils/krename-kde4/files/patch-git_62f65e b/sysutils/krename-kde4/files/patch-git_62f65e deleted file mode 100644 index e3549363d20a..000000000000 --- a/sysutils/krename-kde4/files/patch-git_62f65e +++ /dev/null @@ -1,22 +0,0 @@ -From 62f65e049d6640dc346ea5bd18c6bd81aee0936f Mon Sep 17 00:00:00 2001 -From: "Martin T. H. Sandsmark" <martin.sandsmark@kde.org> -Date: Sat, 7 May 2016 23:59:34 +0200 -Subject: [PATCH] fix build - ---- - src/batchrenamer.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/batchrenamer.cpp b/src/batchrenamer.cpp -index 7640b06..e20ed02 100644 ---- src/batchrenamer.cpp -+++ src/batchrenamer.cpp -@@ -402,7 +402,7 @@ void BatchRenamer::undoFiles( ProgressDialog* p ) - break; - case eRenameMode_Link: - // In case of link delete created file -- job = KIO::file_delete( dstUrl, false ); -+ job = KIO::file_delete( dstUrl, KIO::HideProgressInfo ); - break; - case eRenameMode_Copy: // no undo possible - // TODO: Maybe we should delete the created files diff --git a/sysutils/krename-kde4/files/patch-src__systemplugin.h b/sysutils/krename-kde4/files/patch-src__systemplugin.h deleted file mode 100644 index 266068638bc0..000000000000 --- a/sysutils/krename-kde4/files/patch-src__systemplugin.h +++ /dev/null @@ -1,10 +0,0 @@ ---- ./src/systemplugin.h.orig 2008-07-15 19:14:28.000000000 +0400 -+++ ./src/systemplugin.h 2009-06-01 22:02:34.000000000 +0400 -@@ -18,6 +18,7 @@ - #ifndef _SYSTEM_PLUGIN_H_ - #define _SYSTEM_PLUGIN_H_ - -+#include <time.h> - #include "fileplugin.h" - - class SystemPlugin : public FilePlugin { diff --git a/sysutils/krename/Makefile b/sysutils/krename/Makefile new file mode 100644 index 000000000000..53e3c38789d1 --- /dev/null +++ b/sysutils/krename/Makefile @@ -0,0 +1,26 @@ +# $FreeBSD$ + +PORTNAME= krename +PORTVERSION= 5.0.0 +CATEGORIES= sysutils kde +MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src + +MAINTAINER= kde@FreeBSD.org +COMMENT= Powerful batch file renamer for KDE + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libtag.so:audio/taglib \ + libexiv2.so:graphics/exiv2 \ + libpodofo.so:graphics/podofo \ + libfreetype.so:print/freetype2 + +USES= cmake:outsource gettext kde:5 tar:xz +USE_KDE= auth bookmarks codecs completion config configwidgets \ + coreaddons crash i18n iconthemes itemviews jobwidgets \ + js kio service solid widgetsaddons xmlgui +USE_QT5= core dbus gui network xml widgets \ + buildtools_build qmake_build + +.include <bsd.port.mk> diff --git a/sysutils/krename/distinfo b/sysutils/krename/distinfo new file mode 100644 index 000000000000..68ba5838d405 --- /dev/null +++ b/sysutils/krename/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1518723952 +SHA256 (krename-5.0.0.tar.xz) = 0a61761853787fd46b35f3a733cf87cde00de5df631728332a64c38c670bd28c +SIZE (krename-5.0.0.tar.xz) = 279968 diff --git a/sysutils/krename-kde4/pkg-descr b/sysutils/krename/pkg-descr index ee7f12d05db9..ee7f12d05db9 100644 --- a/sysutils/krename-kde4/pkg-descr +++ b/sysutils/krename/pkg-descr diff --git a/sysutils/krename-kde4/pkg-plist b/sysutils/krename/pkg-plist index 885dc2fa2af4..81900e3f518b 100644 --- a/sysutils/krename-kde4/pkg-plist +++ b/sysutils/krename/pkg-plist @@ -1,16 +1,23 @@ bin/krename -share/applications/kde4/krename.desktop +share/applications/org.kde.krename.desktop share/icons/hicolor/32x32/apps/krename.png share/icons/hicolor/48x48/apps/krename.png share/icons/locolor/16x16/apps/krename.png share/icons/locolor/32x32/apps/krename.png -share/kde4/services/ServiceMenus/krename_all_nonrec.desktop -share/kde4/services/ServiceMenus/krename_dir_rec.desktop +share/kservices5/ServiceMenus/krename_all_nonrec.desktop +share/kservices5/ServiceMenus/krename_dir_rec.desktop +share/locale/ar/LC_MESSAGES/krename.mo +share/locale/ast/LC_MESSAGES/krename.mo share/locale/bs/LC_MESSAGES/krename.mo +share/locale/ca/LC_MESSAGES/krename.mo +share/locale/ca@valencia/LC_MESSAGES/krename.mo share/locale/cs/LC_MESSAGES/krename.mo +share/locale/da/LC_MESSAGES/krename.mo share/locale/de/LC_MESSAGES/krename.mo share/locale/el/LC_MESSAGES/krename.mo +share/locale/en_GB/LC_MESSAGES/krename.mo share/locale/es/LC_MESSAGES/krename.mo +share/locale/fi/LC_MESSAGES/krename.mo share/locale/fr/LC_MESSAGES/krename.mo share/locale/hu/LC_MESSAGES/krename.mo share/locale/it/LC_MESSAGES/krename.mo @@ -20,8 +27,11 @@ share/locale/nl/LC_MESSAGES/krename.mo share/locale/pl/LC_MESSAGES/krename.mo share/locale/pt/LC_MESSAGES/krename.mo share/locale/ru/LC_MESSAGES/krename.mo +share/locale/sk/LC_MESSAGES/krename.mo share/locale/sl/LC_MESSAGES/krename.mo share/locale/sv/LC_MESSAGES/krename.mo share/locale/tr/LC_MESSAGES/krename.mo share/locale/uk/LC_MESSAGES/krename.mo share/locale/zh_CN/LC_MESSAGES/krename.mo +share/locale/zh_TW/LC_MESSAGES/krename.mo +share/metainfo/org.kde.krename.appdata.xml |