FreeBSD Bugzilla – Attachment 194047 Details for
Bug 226710
net-p2p/transmission-qt[4,5]: switching to FLAVORS.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
convert transmission-qt[4,5] to flavors.
transmissionqt_convert_flavors.patch (text/plain), 13.38 KB, created by
Alexandre C. Guimarães
on 2018-06-06 16:39:23 UTC
(
hide
)
Description:
convert transmission-qt[4,5] to flavors.
Filename:
MIME Type:
Creator:
Alexandre C. Guimarães
Created:
2018-06-06 16:39:23 UTC
Size:
13.38 KB
patch
obsolete
>Index: net-p2p/Makefile >=================================================================== >--- net-p2p/Makefile (revision 471826) >+++ net-p2p/Makefile (working copy) >@@ -93,8 +93,7 @@ > SUBDIR += transmission-cli > SUBDIR += transmission-daemon > SUBDIR += transmission-gtk >- SUBDIR += transmission-qt4 >- SUBDIR += transmission-qt5 >+ SUBDIR += transmission-qt > SUBDIR += transmission-remote-gui > SUBDIR += tribler > SUBDIR += twister >Index: net-p2p/transmission-qt/Makefile >=================================================================== >--- net-p2p/transmission-qt/Makefile (nonexistent) >+++ net-p2p/transmission-qt/Makefile (working copy) >@@ -0,0 +1,70 @@ >+# $FreeBSD$ >+ >+PKGNAMESUFFIX= -${FLAVOR} >+ >+MAINTAINER= crees@FreeBSD.org >+COMMENT= Fast and lightweight Qt4 BitTorrent client >+ >+LIB_DEPENDS= ${GEN_LIB_DEPENDS} \ >+ libfontconfig.so:x11-fonts/fontconfig \ >+ libfreetype.so:print/freetype2 >+RUN_DEPENDS= ${GEN_RUN_DEPENDS} >+ >+FLAVORS= qt4 qt5 >+FLAVOR?= ${FLAVORS:[1]} >+ >+qt4_CONFLICTS_INSTALL= transmission-qt5 >+qt5_CONFLICTS_INSTALL= transmission-qt4 >+ >+USES= gettext-runtime:run desktop-file-utils >+ >+.if ${FLAVOR} == qt4 >+USE_QT4= moc_build qmake_build uic_build rcc_build \ >+ corelib gui dbus network xml >+.endif >+ >+.if ${FLAVOR} == qt5 >+USE_QT5= buildtools_build linguisttools_build qmake_build \ >+ core dbus gui network widgets >+.endif >+ >+QT_NONSTANDARD= yes >+ >+EXTRA_CONF_ARGS=--disable-cli \ >+ --disable-daemon \ >+ --without-gtk \ >+ --disable-mac \ >+ --disable-nls >+ >+PLIST_SUB= QT_SUFFIX=${_QT_RELNAME} >+ >+MASTERDIR= ${.CURDIR}/../transmission-cli >+DESCR= ${.CURDIR}/pkg-descr >+PLIST= ${.CURDIR}/pkg-plist >+ >+SLAVEPORT= qt >+ >+post-patch: general-patch >+ @${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \ >+ ${WRKSRC}/qt/qtr.pro >+ @${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \ >+ >>${WRKSRC}/qt/qtr.pro >+ >+post-build: >+ @(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD}) >+ >+do-install: >+ @(cd ${WRKSRC}/qt && \ >+ ${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install) >+ >+post-install: general-install >+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ ${INSTALL_DATA} ${WRKSRC}/qt/README.txt \ >+ ${STAGEDIR}${DOCSDIR}/README-${FLAVOR} >+ ${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \ >+ ${STAGEDIR}${PREFIX}/share/applications/ >+ ${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \ >+ ${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png >+ >+.include "${MASTERDIR}/Makefile" > >Property changes on: net-p2p/transmission-qt/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt/pkg-descr >=================================================================== >--- net-p2p/transmission-qt/pkg-descr (nonexistent) >+++ net-p2p/transmission-qt/pkg-descr (working copy) >@@ -0,0 +1,13 @@ >+A fast and lightweight Qt BitTorrent client, loosely based on the GTK+ client. >+ >+This is the only Transmission client that can act as its own self-contained >+session (as the GTK+ and Mac clients do), and can also connect to a remote >+session (as the web client and transmission-remote terminal client do). >+ >+Transmission has been built from the ground up to be a lightweight, yet >+powerful BitTorrent client. Its simple, intuitive interface is designed >+to integrate tightly with whatever computing environment you choose to >+use. Transmission strikes a balance between providing useful functionality >+without feature bloat. Furthermore, it is free for anyone to use or modify. >+ >+WWW: http://www.transmissionbt.com/ > >Property changes on: net-p2p/transmission-qt/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt/pkg-plist >=================================================================== >--- net-p2p/transmission-qt/pkg-plist (nonexistent) >+++ net-p2p/transmission-qt/pkg-plist (working copy) >@@ -0,0 +1,8 @@ >+bin/transmission-qt >+man/man1/transmission-qt.1.gz >+share/applications/transmission-qt.desktop >+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >+%%PORTDOCS%%%%DOCSDIR%%/NEWS >+%%PORTDOCS%%%%DOCSDIR%%/README >+%%PORTDOCS%%%%DOCSDIR%%/README-%%QT_SUFFIX%% >+share/pixmaps/transmission-qt.png > >Property changes on: net-p2p/transmission-qt/pkg-plist >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt4/Makefile >=================================================================== >--- net-p2p/transmission-qt4/Makefile (revision 471826) >+++ net-p2p/transmission-qt4/Makefile (nonexistent) >@@ -1,53 +0,0 @@ >-# $FreeBSD$ >- >-PKGNAMESUFFIX= -qt4 >- >-MAINTAINER= crees@FreeBSD.org >-COMMENT= Fast and lightweight Qt4 BitTorrent client >- >-LIB_DEPENDS= ${GEN_LIB_DEPENDS} \ >- libfontconfig.so:x11-fonts/fontconfig \ >- libfreetype.so:print/freetype2 >-RUN_DEPENDS= ${GEN_RUN_DEPENDS} >- >-CONFLICTS_INSTALL= transmission-qt5-[0-9]* >- >-DESCR= ${.CURDIR}/pkg-descr >-MASTERDIR= ${.CURDIR}/../transmission-cli >-PLIST= ${.CURDIR}/pkg-plist >-SLAVEPORT= qt4 >- >-QT_NONSTANDARD= yes >-USE_QT4= moc_build qmake_build uic_build rcc_build \ >- corelib gui dbus network xml >-USES= compiler:c++11-lib desktop-file-utils >- >-EXTRA_CONF_ARGS=--disable-cli \ >- --disable-daemon \ >- --without-gtk \ >- --disable-mac \ >- --disable-nls >- >-post-patch: general-patch >- @${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \ >- ${WRKSRC}/qt/qtr.pro >- @${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \ >- >>${WRKSRC}/qt/qtr.pro >- >-post-build: >- @(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD}) >- >-do-install: >- @(cd ${WRKSRC}/qt && \ >- ${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install) >- >-post-install: general-install >- @${MKDIR} ${STAGEDIR}${DOCSDIR} >- @${INSTALL_DATA} ${WRKSRC}/qt/README.txt \ >- ${STAGEDIR}${DOCSDIR}/README-qt4 >- @${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \ >- ${STAGEDIR}${PREFIX}/share/applications/ >- @${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \ >- ${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png >- >-.include "${MASTERDIR}/Makefile" > >Property changes on: net-p2p/transmission-qt4/Makefile >___________________________________________________________________ >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:keywords >## -1 +0,0 ## >-FreeBSD=%H >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt4/pkg-descr >=================================================================== >--- net-p2p/transmission-qt4/pkg-descr (revision 471826) >+++ net-p2p/transmission-qt4/pkg-descr (nonexistent) >@@ -1,13 +0,0 @@ >-A fast and lightweight Qt4 BitTorrent client, loosely based on the GTK+ client. >- >-This is the only Transmission client that can act as its own self-contained >-session (as the GTK+ and Mac clients do), and can also connect to a remote >-session (as the web client and transmission-remote terminal client do). >- >-Transmission has been built from the ground up to be a lightweight, yet >-powerful BitTorrent client. Its simple, intuitive interface is designed >-to integrate tightly with whatever computing environment you choose to >-use. Transmission strikes a balance between providing useful functionality >-without feature bloat. Furthermore, it is free for anyone to use or modify. >- >-WWW: http://www.transmissionbt.com/ > >Property changes on: net-p2p/transmission-qt4/pkg-descr >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt4/pkg-plist >=================================================================== >--- net-p2p/transmission-qt4/pkg-plist (revision 471826) >+++ net-p2p/transmission-qt4/pkg-plist (nonexistent) >@@ -1,8 +0,0 @@ >-bin/transmission-qt >-man/man1/transmission-qt.1.gz >-share/applications/transmission-qt.desktop >-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >-%%PORTDOCS%%%%DOCSDIR%%/NEWS >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%PORTDOCS%%%%DOCSDIR%%/README-qt4 >-share/pixmaps/transmission-qt.png > >Property changes on: net-p2p/transmission-qt4/pkg-plist >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt5/Makefile >=================================================================== >--- net-p2p/transmission-qt5/Makefile (revision 471826) >+++ net-p2p/transmission-qt5/Makefile (nonexistent) >@@ -1,53 +0,0 @@ >-# $FreeBSD$ >- >-PKGNAMESUFFIX= -qt5 >- >-MAINTAINER= crees@FreeBSD.org >-COMMENT= Fast and lightweight Qt5 BitTorrent client >- >-LIB_DEPENDS= ${GEN_LIB_DEPENDS} \ >- libfontconfig.so:x11-fonts/fontconfig \ >- libfreetype.so:print/freetype2 >-RUN_DEPENDS= ${GEN_RUN_DEPENDS} >- >-CONFLICTS_INSTALL= transmission-qt4-[0-9]* >- >-DESCR= ${.CURDIR}/pkg-descr >-MASTERDIR= ${.CURDIR}/../transmission-cli >-PLIST= ${.CURDIR}/pkg-plist >-SLAVEPORT= qt5 >- >-QT_NONSTANDARD= yes >-USE_QT5= buildtools_build qmake_build core dbus gui network widgets >-USES= compiler:c++11-lib desktop-file-utils >- >-EXTRA_CONF_ARGS=--disable-cli \ >- --disable-daemon \ >- --without-gtk \ >- --disable-mac \ >- --disable-nls >- >-post-patch: general-patch >- @${REINPLACE_CMD} -e 's|/share/man|/man|g ; /PKGCONFIG/s| openssl||g' \ >- ${WRKSRC}/qt/qtr.pro >- @${ECHO_CMD} 'LIBS += -l${PORT_OPTIONS:M*SSL:tl:S/openssl/crypto/}' \ >- >>${WRKSRC}/qt/qtr.pro >- >-post-build: >- @(cd ${WRKSRC}/qt && ${QMAKE} ${QMAKE_ARGS} qtr.pro && ${MAKE_CMD}) >- >-do-install: >- @(cd ${WRKSRC}/qt && \ >- ${SETENV} INSTALL_ROOT=${STAGEDIR}${PREFIX} ${MAKE_CMD} install) >- >-post-install: general-install >- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/transmission-qt >- @${MKDIR} ${STAGEDIR}${DOCSDIR} >- @${INSTALL_DATA} ${WRKSRC}/qt/README.txt \ >- ${STAGEDIR}${DOCSDIR}/README-qt5 >- @${INSTALL_DATA} ${WRKSRC}/qt/transmission-qt.desktop \ >- ${STAGEDIR}${PREFIX}/share/applications/ >- @${INSTALL_DATA} ${WRKSRC}/qt/icons/transmission.png \ >- ${STAGEDIR}${PREFIX}/share/pixmaps/transmission-qt.png >- >-.include "${MASTERDIR}/Makefile" > >Property changes on: net-p2p/transmission-qt5/Makefile >___________________________________________________________________ >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:keywords >## -1 +0,0 ## >-FreeBSD=%H >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt5/pkg-descr >=================================================================== >--- net-p2p/transmission-qt5/pkg-descr (revision 471826) >+++ net-p2p/transmission-qt5/pkg-descr (nonexistent) >@@ -1,13 +0,0 @@ >-A fast and lightweight Qt5 BitTorrent client, loosely based on the GTK+ client. >- >-This is the only Transmission client that can act as its own self-contained >-session (as the GTK+ and Mac clients do), and can also connect to a remote >-session (as the web client and transmission-remote terminal client do). >- >-Transmission has been built from the ground up to be a lightweight, yet >-powerful BitTorrent client. Its simple, intuitive interface is designed >-to integrate tightly with whatever computing environment you choose to >-use. Transmission strikes a balance between providing useful functionality >-without feature bloat. Furthermore, it is free for anyone to use or modify. >- >-WWW: http://www.transmissionbt.com/ > >Property changes on: net-p2p/transmission-qt5/pkg-descr >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: net-p2p/transmission-qt5/pkg-plist >=================================================================== >--- net-p2p/transmission-qt5/pkg-plist (revision 471826) >+++ net-p2p/transmission-qt5/pkg-plist (nonexistent) >@@ -1,8 +0,0 @@ >-bin/transmission-qt >-man/man1/transmission-qt.1.gz >-share/applications/transmission-qt.desktop >-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >-%%PORTDOCS%%%%DOCSDIR%%/NEWS >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%PORTDOCS%%%%DOCSDIR%%/README-qt5 >-share/pixmaps/transmission-qt.png > >Property changes on: net-p2p/transmission-qt5/pkg-plist >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
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
Flags:
rigoletto
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 226710
:
193850
|
193857
|
193858
|
194047
|
195153