ports/173835: [PATCH] astro/viking: update to 1.3.2.1, take maintainership, added documentation, NLS refined
nemysis
nemysis at gmx.ch
Thu Nov 22 13:10:00 UTC 2012
>Number: 173835
>Category: ports
>Synopsis: [PATCH] astro/viking: update to 1.3.2.1, take maintainership, added documentation, NLS refined
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 22 13:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: nemysis
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:
- Update to 1.3.2.1
- Take maintainership
Makefile changed:
+PORTDOCS= AUTHORS ChangeLog NEWS README TODO
-USE_GETTEXT= yes
+.if ${PORT_OPTIONS:MNLS}
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
portlint -A
looks fine.
port test: clean
Can't give build log, because RedPorts not works at the time.
>Fix:
--- viking-1.3.2.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/astro/viking/Makefile ./Makefile
--- /usr/ports/astro/viking/Makefile 2012-11-16 09:03:00.000000000 +0100
+++ ./Makefile 2012-11-22 13:42:56.000000000 +0100
@@ -6,11 +6,11 @@
#
PORTNAME= viking
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2.1
CATEGORIES= astro
-MASTER_SITES= SF
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.3.2/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= nemysis at gmx.ch
COMMENT= Program to manage GPS data (tracks, waypoints, etc)
LICENSE= GPLv2 # (or later)
@@ -19,16 +19,10 @@
expat:${PORTSDIR}/textproc/expat2
RUN_DEPENDS= gpsbabel:${PORTSDIR}/astro/gpsbabel
-OPTIONS_DEFINE= GEOTAR GPSD
-OPTIONS_DEFAULT= GEOTAG
-GEOTAG_DESC= Enable Geotag support
-GPSD_DESC= Enable realtime GPS tracking
-
USE_GNOME= gnomedocutils gtk20
USE_PERL5_RUN= yes
-USE_GETTEXT= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
+USE_GMAKE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
MAKE_JOBS_SAFE= yes
@@ -36,8 +30,23 @@
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+PORTDOCS= AUTHORS ChangeLog NEWS README TODO
+
+OPTIONS_DEFINE= GEOTAR GPSD
+OPTIONS_DEFAULT= GEOTAG
+GEOTAG_DESC= Enable Geotag support
+GPSD_DESC= Enable realtime GPS tracking
+
.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
.if ${PORT_OPTIONS:MGEOTAG}
LIB_DEPENDS+= exif:${PORTSDIR}/graphics/libexif
.else
@@ -53,4 +62,12 @@
post-patch:
@${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in
+post-install:
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/astro/viking/distinfo ./distinfo
--- /usr/ports/astro/viking/distinfo 2012-11-16 09:03:00.000000000 +0100
+++ ./distinfo 2012-11-22 13:26:34.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (viking-1.3.1.tar.gz) = d6511059eb554426dd6f5c76dd7d30913429a0445bddef63647fc9458c5c0920
-SIZE (viking-1.3.1.tar.gz) = 1094445
+SHA256 (viking-1.3.2.1.tar.gz) = ebd6f134a340a1b2ba582ea77bd97ddd9db16b476be7090a12649f6069fa1565
+SIZE (viking-1.3.2.1.tar.gz) = 1097274
diff -ruN --exclude=CVS /usr/ports/astro/viking/pkg-descr ./pkg-descr
--- /usr/ports/astro/viking/pkg-descr 2012-11-16 09:03:00.000000000 +0100
+++ ./pkg-descr 2012-11-22 13:58:14.000000000 +0100
@@ -1,10 +1,7 @@
-viking is a free/open source program to manage GPS data.
+Viking is a free/open source program to manage GPS data.
-You can import and plot tracks and waypoints, show Google maps and/or
-Terraserver maps under it, download geocaches for an area on the map, make new
-tracks and waypoints, see real-time GPS position, etc.
+You can import, plot and create tracks and waypoints, show OSM, Terraserver
+and other maps, see real-time GPS position, get geocaches, control items, etc.
+It is written in C & the GTK+2 toolkit.
-It is written in C with the GTK+ 2 toolkit, available for Linux, other POSIX
-operating systems, and Windows, and is licensed under the GNU GPL.
-
-WWW: http://viking.sourceforge.net/
+WWW: http://sourceforge.net/apps/mediawiki/viking/index.php
diff -ruN --exclude=CVS /usr/ports/astro/viking/pkg-plist ./pkg-plist
--- /usr/ports/astro/viking/pkg-plist 2012-11-16 09:03:00.000000000 +0100
+++ ./pkg-plist 2012-11-22 13:27:59.000000000 +0100
@@ -5,36 +5,44 @@
share/gnome/help/viking/C/legal.xml
share/gnome/help/viking/C/viking.xml
share/icons/hicolor/48x48/apps/viking.png
-share/locale/cs/LC_MESSAGES/viking.mo
-share/locale/da/LC_MESSAGES/viking.mo
-share/locale/de/LC_MESSAGES/viking.mo
-share/locale/el/LC_MESSAGES/viking.mo
-share/locale/en_GB/LC_MESSAGES/viking.mo
-share/locale/es/LC_MESSAGES/viking.mo
-share/locale/fr/LC_MESSAGES/viking.mo
-share/locale/he/LC_MESSAGES/viking.mo
-share/locale/hu/LC_MESSAGES/viking.mo
-share/locale/id/LC_MESSAGES/viking.mo
-share/locale/it/LC_MESSAGES/viking.mo
-share/locale/ja/LC_MESSAGES/viking.mo
-share/locale/jv/LC_MESSAGES/viking.mo
-share/locale/lt/LC_MESSAGES/viking.mo
-share/locale/lv/LC_MESSAGES/viking.mo
-share/locale/nb/LC_MESSAGES/viking.mo
-share/locale/nl/LC_MESSAGES/viking.mo
-share/locale/pl/LC_MESSAGES/viking.mo
-share/locale/pt_BR/LC_MESSAGES/viking.mo
-share/locale/ru/LC_MESSAGES/viking.mo
-share/locale/sl/LC_MESSAGES/viking.mo
-share/locale/sv/LC_MESSAGES/viking.mo
-share/locale/uk/LC_MESSAGES/viking.mo
-share/locale/zh_CN/LC_MESSAGES/viking.mo
-share/locale/zh_TW/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/da/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/de/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/el/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/es/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/he/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/id/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/it/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/jv/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/nl/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/viking.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/viking.mo
share/omf/viking/viking-C.omf
- at dirrm share/omf/viking
- at dirrmtry share/locale/jv/LC_MESSAGES
- at dirrmtry share/locale/jv
- at dirrm share/gnome/help/viking/C/figures
- at dirrm share/gnome/help/viking/C
- at dirrm share/gnome/help/viking
+share/pixmaps/viking.png
+ at dirrmtry share/omf/viking
+ at dirrmtry share/omf
+%%NLS%%@dirrmtry share/locale/jv/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/jv
+ at dirrmtry share/icons/hicolor/48x48/apps
+ at dirrmtry share/icons/hicolor/48x48
+ at dirrmtry share/icons/hicolor
+ at dirrmtry share/icons
+ at dirrmtry share/gnome/help/viking/C/figures
+ at dirrmtry share/gnome/help/viking/C
+ at dirrmtry share/gnome/help/viking
+ at dirrmtry share/gnome/help
+ at dirrmtry share/gnome
@dirrmtry share/applications
--- viking-1.3.2.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list