FreeBSD Bugzilla – Attachment 159586 Details for
Bug 202112
[patch] audio/qmpdclient: qt4-linguist -> qt4-linguisttools, use OPTIONS helpers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch.diff
patch-qmpdclient.diff (text/plain), 2.97 KB, created by
Andriy Voskoboinyk
on 2015-08-05 21:02:13 UTC
(
hide
)
Description:
Patch.diff
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2015-08-05 21:02:13 UTC
Size:
2.97 KB
patch
obsolete
>Index: audio/qmpdclient/Makefile >=================================================================== >--- audio/qmpdclient/Makefile (revision 393612) >+++ audio/qmpdclient/Makefile (working copy) >@@ -13,7 +13,7 @@ > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > >-USES= tar:bzip2 qmake >+USES= qmake tar:bzip2 > USE_QT4= moc_build rcc_build uic_build \ > corelib gui network xml xmlpatterns > INSTALLS_ICONS= yes >@@ -23,24 +23,17 @@ > DATADIR= ${PREFIX}/share/QMPDClient > WRKSRC= ${WRKDIR}/${PORTNAME} > >-.include <bsd.port.options.mk> >+OPTIONS_SUB= NLS > >-.if ! ${PORT_OPTIONS:MNLS} >-PLIST_SUB+= NLS="@comment " >-.else >-USE_QT4+= linguist_build >-PLIST_SUB+= NLS="" >-.endif >+NLS_USE= QT4=linguisttools_build > >-.if ${PORT_OPTIONS:MDBUS} >-USE_QT4+= dbus >-QMAKE_ARGS+= "CONFIG+=qdbus" >-.endif >+DBUS_QMAKE_ON= CONFIG+=qdbus >+DBUS_USE= QT4=dbus > >-.if ${PORT_OPTIONS:MDEBUG} >-QMAKE_ARGS+= "CONFIG+=debug" >-.endif >+DEBUG_QMAKE_ON= CONFIG+=debug > >+.include <bsd.port.options.mk> >+ > post-patch: > .if ! ${PORT_OPTIONS:MNLS} > @${REINPLACE_CMD} -e '/INSTALLS += translations/d' \ >Index: audio/qmpdclient/files/patch-qmpdclient.desktop >=================================================================== >--- audio/qmpdclient/files/patch-qmpdclient.desktop (revision 393612) >+++ audio/qmpdclient/files/patch-qmpdclient.desktop (working copy) >@@ -1,6 +1,6 @@ >---- qmpdclient.desktop.orig 2011-02-04 14:22:08.000000000 +0300 >-+++ qmpdclient.desktop 2011-03-25 13:43:51.000000000 +0300 >-@@ -4,6 +4,6 @@ >+--- qmpdclient.desktop.orig 2011-06-08 09:16:26 UTC >++++ qmpdclient.desktop >+@@ -4,6 +4,6 @@ Name=QMPDClient > GenericName=Qt4 based MPD client > Comment=A nicer MPD client > Exec=qmpdclient >Index: audio/qmpdclient/files/patch-qmpdclient.pro >=================================================================== >--- audio/qmpdclient/files/patch-qmpdclient.pro (revision 393612) >+++ audio/qmpdclient/files/patch-qmpdclient.pro (working copy) >@@ -1,6 +1,6 @@ >---- qmpdclient.pro.orig 2011-06-08 13:16:26.000000000 +0400 >-+++ qmpdclient.pro 2011-09-21 14:18:07.000000000 +0400 >-@@ -3,7 +3,7 @@ >+--- qmpdclient.pro.orig 2011-06-08 09:16:26 UTC >++++ qmpdclient.pro >+@@ -3,7 +3,7 @@ PREFIX = /usr/local > > # Most people need not muck about below here > #!contains(QT_MAJOR_VERSION, 4):error(QMPDClient requires Qt 4) >@@ -9,7 +9,7 @@ > > # addition ldflags for release build > QMAKE_LFLAGS_RELEASE += -O2 -g0 -s >-@@ -212,16 +212,15 @@ >+@@ -212,16 +212,15 @@ unix { > SOURCES += src/qmpdclient_x11.cpp > LIBS += -lX11 > # Check for dbus support >@@ -28,7 +28,7 @@ > SOURCES += src/notifications_nodbus.cpp > } > } >-@@ -253,6 +252,7 @@ >+@@ -253,6 +252,7 @@ unix { > translations.commands = lrelease $$TRANSLATIONS > translations.files = lang/cs_CZ.qm lang/de_DE.qm lang/es_ES.qm lang/fr_FR.qm lang/it_IT.qm lang/nl_NL.qm lang/nn_NO.qm lang/no_NO.qm lang/pt_BR.qm lang/ru_RU.qm lang/sv_SE.qm lang/tr_TR.qm lang/uk_UA.qm lang/zh_CN.qm lang/zh_TW.qm > translations.path = $$PREFIX/share/QMPDClient/translations
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202112
: 159586 |
159587
|
159588
|
159589