Bug 176270 - [MAINTAINER] astro/viking: update to 1.4
Summary: [MAINTAINER] astro/viking: update to 1.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-19 18:10 UTC by nemysis
Modified: 2013-02-19 22:50 UTC (History)
0 users

See Also:


Attachments
viking-1.4.patch (5.43 KB, patch)
2013-02-19 18:10 UTC, nemysis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2013-02-19 18:10:00 UTC
- Update to 1.4

Makefile changed:
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
+USE_PKGCONFIG=	build
+CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+	@-update-desktop-database -q

Changed and refined:
 post-install:
 pkg-descr
 pkg-plist

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
Comment 1 Pawel Pekala freebsd_committer 2013-02-19 22:41:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer 2013-02-19 22:41:09 UTC
Author: pawel
Date: Tue Feb 19 22:40:55 2013
New Revision: 312606
URL: http://svnweb.freebsd.org/changeset/ports/312606

Log:
  - Update to version 1.4
  - Register supported file types during install
  - Port requires pkg-config while building
  
  PR:		ports/176270
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)

Modified:
  head/astro/viking/Makefile
  head/astro/viking/distinfo
  head/astro/viking/pkg-descr
  head/astro/viking/pkg-plist

Modified: head/astro/viking/Makefile
==============================================================================
--- head/astro/viking/Makefile	Tue Feb 19 21:54:07 2013	(r312605)
+++ head/astro/viking/Makefile	Tue Feb 19 22:40:55 2013	(r312606)
@@ -2,15 +2,14 @@
 # $FreeBSD$
 
 PORTNAME=	viking
-PORTVERSION=	1.3.2.1
-PORTREVISION=	1
+PORTVERSION=	1.4
 CATEGORIES=	astro
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}/
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
 
 MAINTAINER=	nemysis@gmx.ch
 COMMENT=	Program to manage GPS data (tracks, waypoints, etc.)
 
-LICENSE=	GPLv2 # (or later)
+LICENSE=	GPLv2
 
 LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
 		pcre:${PORTSDIR}/devel/pcre \
@@ -28,7 +27,8 @@ GNU_CONFIGURE=	yes
 USE_ICONV=	yes
 USE_XORG=	pixman x11 xau xcomposite xcursor xdamage xdmcp xext \
 		xfixes xi xinerama xrandr xrender
-USE_GNOME=	gnomedocutils gtk20
+USE_GNOME=	desktopfileutils gnomedocutils gtk20
+USE_PKGCONFIG=	build
 USE_PERL5_RUN=	yes
 INSTALLS_ICONS=	yes
 INSTALLS_OMF=	yes
@@ -70,11 +70,15 @@ 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
+# Port not install in figures jpg and png, this is cleaner as patch
+	@${RM} -f ${PREFIX}/share/gnome/help/viking/C/figures/*
+	@(cd ${WRKSRC}/help/C/figures && ${COPYTREE_SHARE} "*.jpg *.png" ${PREFIX}/share/gnome/help/viking/C/figures/)
+	${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
+	@-update-desktop-database -q
 
 .include <bsd.port.mk>

Modified: head/astro/viking/distinfo
==============================================================================
--- head/astro/viking/distinfo	Tue Feb 19 21:54:07 2013	(r312605)
+++ head/astro/viking/distinfo	Tue Feb 19 22:40:55 2013	(r312606)
@@ -1,2 +1,2 @@
-SHA256 (viking-1.3.2.1.tar.gz) = ebd6f134a340a1b2ba582ea77bd97ddd9db16b476be7090a12649f6069fa1565
-SIZE (viking-1.3.2.1.tar.gz) = 1097274
+SHA256 (viking-1.4.tar.gz) = 80aa4c7bf3be75441a435f6681831b8aeb08f7eb6f7a5a86872eec16cda67799
+SIZE (viking-1.4.tar.gz) = 1487470

Modified: head/astro/viking/pkg-descr
==============================================================================
--- head/astro/viking/pkg-descr	Tue Feb 19 21:54:07 2013	(r312605)
+++ head/astro/viking/pkg-descr	Tue Feb 19 22:40:55 2013	(r312606)
@@ -1,7 +1,8 @@
 Viking is a free/open source program to manage GPS data.
 
-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.
+You can import and plot tracks, routes and waypoints, show OpenStreetMap,
+Terraserver, Bing Aerial and other maps in it, download geocaches for
+an area on the map, make new tracks and waypoints, geotag images,
+see real-time GPS position, etc.
 
 WWW: http://sourceforge.net/apps/mediawiki/viking/index.php

Modified: head/astro/viking/pkg-plist
==============================================================================
--- head/astro/viking/pkg-plist	Tue Feb 19 21:54:07 2013	(r312605)
+++ head/astro/viking/pkg-plist	Tue Feb 19 22:40:55 2013	(r312606)
@@ -1,7 +1,26 @@
 bin/viking
 share/applications/viking.desktop
+share/gnome/help/viking/C/figures/Viking-OSM-CycleMap-ManyTracks.jpg
+share/gnome/help/viking/C/figures/addtr_18.png
+share/gnome/help/viking/C/figures/addwp_18.png
+share/gnome/help/viking/C/figures/demdl_18.png
+share/gnome/help/viking/C/figures/edtr_18.png
+share/gnome/help/viking/C/figures/edwp_18.png
+share/gnome/help/viking/C/figures/geomove_18.png
+share/gnome/help/viking/C/figures/geozoom_18.png
+share/gnome/help/viking/C/figures/map_tile_info_dialog.png
+share/gnome/help/viking/C/figures/mapdl_18.png
+share/gnome/help/viking/C/figures/mover_22.png
 share/gnome/help/viking/C/figures/properties_degree.png
 share/gnome/help/viking/C/figures/properties_units.png
+share/gnome/help/viking/C/figures/route_finder_18.png
+share/gnome/help/viking/C/figures/ruler_18.png
+share/gnome/help/viking/C/figures/select_18.png
+share/gnome/help/viking/C/figures/showpic_18.png
+share/gnome/help/viking/C/figures/trw_statusbar.png
+share/gnome/help/viking/C/figures/vik_new_route_18.png
+share/gnome/help/viking/C/figures/zoom_18.png
+share/gnome/help/viking/C/figures/zoom_status_popup.png
 share/gnome/help/viking/C/legal.xml
 share/gnome/help/viking/C/viking.xml
 share/icons/hicolor/48x48/apps/viking.png
@@ -11,6 +30,7 @@ share/icons/hicolor/48x48/apps/viking.pn
 %%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/fi/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
@@ -32,6 +52,10 @@ share/icons/hicolor/48x48/apps/viking.pn
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/viking.mo
 share/omf/viking/viking-C.omf
 share/pixmaps/viking.png
+%%DATADIR%%/external_tools.xml
+%%DATADIR%%/goto_tools.xml
+%%DATADIR%%/maps.xml
+@dirrm %%DATADIR%%
 @dirrmtry share/omf/viking
 @dirrmtry share/omf
 %%NLS%%@dirrmtry share/locale/jv/LC_MESSAGES
@@ -46,3 +70,5 @@ share/pixmaps/viking.png
 @dirrmtry share/gnome/help
 @dirrmtry share/gnome
 @dirrmtry share/applications
+@exec %%LOCALBASE%%/bin/update-desktop-database  -q || /usr/bin/true
+@unexec %%LOCALBASE%%/bin/update-desktop-database  -q || /usr/bin/true
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"