FreeBSD Bugzilla – Attachment 158946 Details for
Bug 201680
[patch] astro/gpsbabel: add GUI option, clean up dependencies
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch.diff
patch-gpsbabel.diff (text/plain), 3.25 KB, created by
Andriy Voskoboinyk
on 2015-07-18 19:09:27 UTC
(
hide
)
Description:
Patch.diff
Filename:
MIME Type:
Creator:
Andriy Voskoboinyk
Created:
2015-07-18 19:09:27 UTC
Size:
3.25 KB
patch
obsolete
>Index: astro/gpsbabel/Makefile >=================================================================== >--- astro/gpsbabel/Makefile (revision 392438) >+++ astro/gpsbabel/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= gpsbabel > PORTVERSION= 1.5.2 >+PORTREVISION= 1 > CATEGORIES= astro geography > MASTER_SITES= https://secure.ohos.nl/downloads/ \ > LOCAL/glebius >@@ -13,20 +14,41 @@ > LICENSE= GPLv2 > LICENSE_FILE= ${WRKSRC}/COPYING > >-LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre >+CONFLICTS= gpsbabel14-[0-9]* > >-USE_AUTOTOOLS= autoconf >+USE_QT4= corelib qmake_build > GNU_CONFIGURE= yes >+CONFIGURE_ARGS= --with-zlib=system > >-USES= gettext >-USE_QT4= corelib linguist_build qmake_build >-USE_GNOME= glib20 >+OPTIONS_DEFINE= GUI >+OPTIONS_SUB= GUI > >-PLIST_FILES= bin/gpsbabel >+GUI_ALL_TARGET= gui >+GUI_USE= QT4=gui,xml,network,webkit >+GUI_USE+= QT4=linguisttools_build,moc_build,rcc_build,uic_build > >-CONFLICTS= gpsbabel14-[0-9]* >+.include <bsd.port.options.mk> > >-post-install: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gpsbabel >+.if ${PORT_OPTIONS:MGUI} >+MAKE_JOBS_UNSAFE= yes >+.endif > >+post-patch: >+ @${REINPLACE_CMD} '/langPath_ = / \ >+ s|QApplication::applicationDirPath()|"${DATADIR}"|' \ >+ ${WRKSRC}/gui/mainwindow.cc >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/gpsbabel ${STAGEDIR}${PREFIX}/bin/ >+.if ${PORT_OPTIONS:MGUI} >+ ${INSTALL_PROGRAM} ${WRKSRC}/gui/objects/gpsbabelfe-bin \ >+ ${STAGEDIR}${PREFIX}/bin/ >+ ${INSTALL_DATA} ${WRKSRC}/gui/gpsbabel.desktop \ >+ ${STAGEDIR}${PREFIX}/share/applications/ >+ ${MKDIR} ${STAGEDIR}${DATADIR}/translations >+ ${INSTALL_DATA} ${WRKSRC}/gui/*.qm ${STAGEDIR}${DATADIR}/translations/ >+ ${INSTALL_DATA} ${WRKSRC}/gui/images/appicon.png \ >+ ${STAGEDIR}${PREFIX}/share/pixmaps/gpsbabel.png >+.endif >+ > .include <bsd.port.mk> >Index: astro/gpsbabel/files/patch-jeeps-gpslibusb.cc >=================================================================== >--- astro/gpsbabel/files/patch-jeeps-gpslibusb.cc (revision 392438) >+++ astro/gpsbabel/files/patch-jeeps-gpslibusb.cc (working copy) >@@ -1,5 +1,5 @@ >---- jeeps/gpslibusb.cc.orig 2014-09-16 05:49:59.000000000 +0200 >-+++ jeeps/gpslibusb.cc 2015-03-14 19:33:11.690407708 +0100 >+--- jeeps/gpslibusb.cc.orig 2014-09-16 03:49:59 UTC >++++ jeeps/gpslibusb.cc > @@ -20,7 +20,8 @@ > */ > >Index: astro/gpsbabel/pkg-plist >=================================================================== >--- astro/gpsbabel/pkg-plist (revision 0) >+++ astro/gpsbabel/pkg-plist (working copy) >@@ -0,0 +1,12 @@ >+bin/gpsbabel >+%%GUI%%bin/gpsbabelfe-bin >+%%GUI%%share/applications/gpsbabel.desktop >+%%GUI%%%%DATADIR%%/translations/gpsbabel.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe_de.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe_es.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe_fr.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe_hu.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe_it.qm >+%%GUI%%%%DATADIR%%/translations/gpsbabelfe_ru.qm >+%%GUI%%share/pixmaps/gpsbabel.png > >Property changes on: astro/gpsbabel/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
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 201680
: 158946 |
158947
|
158948
|
158949