Page MenuHomeFreeBSD

D14660.id40182.diff
No OneTemporary

D14660.id40182.diff

Index: deskutils/znotes/Makefile
===================================================================
--- deskutils/znotes/Makefile
+++ deskutils/znotes/Makefile
@@ -3,19 +3,29 @@
PORTNAME= znotes
PORTVERSION= 0.4.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils
-MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Simple notes managment application based on Qt 4
+MAINTAINER= lbdm@privacychain.ch
+COMMENT= Simple notes managment application based on Qt
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= qmake
-USE_QT4= corelib gui network xml uic_build moc_build rcc_build \
- linguisttools_build
+USE_GL= gl
+USE_GITHUB= yes
+GH_ACCOUNT= proton
+GH_PROJECT= zNotes
+GH_TAGNAME= 6423c5e
+
+QT4_USE= QT4=uic_build,moc_build,rcc_build,linguisttools_build,corelib,gui,network,xml
+QT5_USE= QT5=buildtools_build,linguisttools_build,core,gui,network,printsupport,widgets,xml
+
+OPTIONS_SINGLE= QT
+OPTIONS_SINGLE_QT= QT4 QT5
+OPTIONS_DEFAULT= QT5
+
QMAKE_ARGS= QMAKE_LRELEASE=${LRELEASE}
DESKTOP_ENTRIES="zNotes" "Notes managment" \
@@ -29,8 +39,6 @@
@${REINPLACE_CMD} -e '/.path =/s|/usr|$$$$PREFIX|g' \
-e '/PREFIX = /d' \
${WRKSRC}/${PORTNAME}.pro
- @${REINPLACE_CMD} -i -e 's,QCoreApplication::applicationDirPath()+"/translations","${DATADIR}/translations",g' \
- ${WRKSRC}/settings.cpp
pre-configure:
#Work around badly written .pro
Index: deskutils/znotes/distinfo
===================================================================
--- deskutils/znotes/distinfo
+++ deskutils/znotes/distinfo
@@ -1,2 +1,3 @@
-SHA256 (znotes-0.4.5.tar.gz) = ac692253e74bda8f989db40042c26b6db2bb60a5f9c30cdbfcd824af0de1c5b2
-SIZE (znotes-0.4.5.tar.gz) = 171884
+TIMESTAMP = 1500936060
+SHA256 (proton-zNotes-0.4.5-6423c5e_GH0.tar.gz) = 93a9708a7c2522197e442d0aa28c9c20b13815c192ef8c51ced0006f6b352d2c
+SIZE (proton-zNotes-0.4.5-6423c5e_GH0.tar.gz) = 725999
Index: deskutils/znotes/files/patch-single__inst_qtlocalpeer.cpp
===================================================================
--- deskutils/znotes/files/patch-single__inst_qtlocalpeer.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- single_inst/qtlocalpeer.cpp.orig 2011-08-27 08:25:14 UTC
-+++ single_inst/qtlocalpeer.cpp
-@@ -58,9 +58,7 @@ static PProcessIdToSessionId pProcessIdT
- #if defined(Q_OS_UNIX)
- #include <time.h>
- #endif
--#if defined(Q_OS_OS2)
- #include <unistd.h>
--#endif
-
- namespace QtLP_Private {
- #include "qtlockedfile.cpp"
Index: deskutils/znotes/pkg-plist
===================================================================
--- deskutils/znotes/pkg-plist
+++ deskutils/znotes/pkg-plist
@@ -1,9 +1,12 @@
bin/znotes
share/pixmaps/znotes.png
%%NLS%%%%DATADIR%%/translations/znotes_cs.qm
+%%NLS%%%%DATADIR%%/translations/znotes_de.qm
%%NLS%%%%DATADIR%%/translations/znotes_en.qm
%%NLS%%%%DATADIR%%/translations/znotes_es.qm
+%%NLS%%%%DATADIR%%/translations/znotes_pl.qm
%%NLS%%%%DATADIR%%/translations/znotes_pt_BR.qm
%%NLS%%%%DATADIR%%/translations/znotes_ru.qm
%%NLS%%%%DATADIR%%/translations/znotes_sk.qm
+%%NLS%%%%DATADIR%%/translations/znotes_sv.qm
%%NLS%%%%DATADIR%%/translations/znotes_uk.qm

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 19, 4:59 PM (3 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35241055
Default Alt Text
D14660.id40182.diff (3 KB)

Event Timeline