Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2008 02:00:08 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123865: Update port: astro/starplot to 0.95.5
Message-ID:  <20080522020008.90719456.tkato432@yahoo.com>
Resent-Message-ID: <200805211710.m4LHA1cq053630@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123865
>Category:       ports
>Synopsis:       Update port: astro/starplot to 0.95.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 21 17:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 6.3-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.95.5

Remove file:
files/patch-configure
files/patch-src-classes-strings.cc

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/astro/starplot/Makefile astro/starplot/Makefile
--- /usr/ports/astro/starplot/Makefile	2007-07-23 19:01:49.000000000 +0900
+++ astro/starplot/Makefile	2008-05-20 04:38:53.000000000 +0900
@@ -6,30 +6,24 @@
 #
 
 PORTNAME=	starplot
-PORTVERSION=	0.95.4
-PORTREVISION=	1
+PORTVERSION=	0.95.5
 CATEGORIES=	astro
 MASTER_SITES=	http://starplot.org/downloads/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	3-dimensional viewer for star charts
 
-USE_GNOME=	gnometarget gtk20
-USE_ICONV=	yes
+USE_GNOME=	gnomehack gnometarget gtk20
+USE_GETTEXT=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
-MAKE_ENV=	DOCSDIR="${DOCSDIR}" EXAMPLESDIR="${EXAMPLESDIR}"
 
 MAN1=		starconvert.1 starpkg.1 starplot.1
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.else
-USE_GETTEXT=	yes
-PLIST_SUB+=	NLS=""
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|$$(docdir)/examples|${EXAMPLESDIR}|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/astro/starplot/distinfo astro/starplot/distinfo
--- /usr/ports/astro/starplot/distinfo	2007-03-16 22:26:20.000000000 +0900
+++ astro/starplot/distinfo	2008-05-20 03:16:53.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (starplot-0.95.4.tar.gz) = 59a6c8fe7167d2b5efa824e6ebac9d6f
-SHA256 (starplot-0.95.4.tar.gz) = 7e0de4132e634a1d5a3552f42a85022428b4933834ec36f424af6a6488d1352f
-SIZE (starplot-0.95.4.tar.gz) = 470863
+MD5 (starplot-0.95.5.tar.gz) = ff51981f48240b234f24448510ed089c
+SHA256 (starplot-0.95.5.tar.gz) = e320f141b736b3a6468e7d0c08a93961db6615e9eb4d533d554eea31c3fa845a
+SIZE (starplot-0.95.5.tar.gz) = 892878
diff -urN /usr/ports/astro/starplot/files/patch-configure astro/starplot/files/patch-configure
--- /usr/ports/astro/starplot/files/patch-configure	2004-12-24 06:54:45.000000000 +0900
+++ astro/starplot/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
@@ -1,17 +0,0 @@
---- configure.orig	Mon Aug 30 09:02:54 2004
-+++ configure	Thu Dec 23 16:04:03 2004
-@@ -9827,11 +9827,11 @@
- 
- 
- 
--docdir='${prefix}/doc'
-+docdir='$(DOCSDIR)'
- 
--pkgdocdir='$(docdir)/'${PACKAGE_NAME}
-+pkgdocdir='$(DOCSDIR)'
- 
--exampledir='$(pkgdocdir)/examples'
-+exampledir='$(EXAMPLESDIR)'
- 
- htmldir='$(pkgdocdir)/html'
- 
diff -urN /usr/ports/astro/starplot/files/patch-src-classes-strings.cc astro/starplot/files/patch-src-classes-strings.cc
--- /usr/ports/astro/starplot/files/patch-src-classes-strings.cc	2006-10-07 17:50:56.000000000 +0900
+++ astro/starplot/files/patch-src-classes-strings.cc	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- src/classes/strings.cc.orig	Tue Oct  3 18:28:35 2006
-+++ src/classes/strings.cc	Tue Oct  3 18:28:44 2006
-@@ -127,7 +127,7 @@
-   // return the number of bytes that would have been written even if not
-   // all of them are.  Hope this is true...
-   va_start(args, format);
--  size_t size = std::vsnprintf(test, 2, format, args);
-+  size_t size = vsnprintf(test, 2, format, args);
-   va_end(args);
- 
-   // Write the result to a string
diff -urN /usr/ports/astro/starplot/pkg-plist astro/starplot/pkg-plist
--- /usr/ports/astro/starplot/pkg-plist	2006-10-07 17:50:56.000000000 +0900
+++ astro/starplot/pkg-plist	2008-05-20 04:39:15.000000000 +0900
@@ -1,21 +1,65 @@
 bin/starconvert
 bin/starpkg
 bin/starplot
+share/applications/starplot.desktop
+%%DOCSDIR%%/html/ch0.html
 %%DOCSDIR%%/html/ch1.html
+%%DOCSDIR%%/html/ch2.html
+%%DOCSDIR%%/html/ch3.html
+%%DOCSDIR%%/html/ch4.html
+%%DOCSDIR%%/html/ch5.html
 %%DOCSDIR%%/html/images/bayerdes.png
+%%DOCSDIR%%/html/images/button-brighter.png
+%%DOCSDIR%%/html/images/button-ccw.png
+%%DOCSDIR%%/html/images/button-cw.png
+%%DOCSDIR%%/html/images/button-dimmer.png
+%%DOCSDIR%%/html/images/button-down.png
+%%DOCSDIR%%/html/images/button-earthview.png
+%%DOCSDIR%%/html/images/button-open.png
+%%DOCSDIR%%/html/images/button-up.png
+%%DOCSDIR%%/html/images/button-zoomin.png
+%%DOCSDIR%%/html/images/button-zoomout.png
 %%DOCSDIR%%/html/images/coords.png
+%%DOCSDIR%%/html/images/dialog-define-chart.png
+%%DOCSDIR%%/html/images/dialog-file-open.png
+%%DOCSDIR%%/html/images/dialog-search.png
+%%DOCSDIR%%/html/images/filebar.png
 %%DOCSDIR%%/html/images/gcoords.png
 %%DOCSDIR%%/html/images/hrdiagram.png
+%%DOCSDIR%%/html/images/legend.png
+%%DOCSDIR%%/html/images/menu-chart.png
+%%DOCSDIR%%/html/images/menu-file.png
+%%DOCSDIR%%/html/images/star-parts.png
+%%DOCSDIR%%/html/images/star-popup.png
+%%DOCSDIR%%/html/images/starplot-png.png
+%%DOCSDIR%%/html/images/status.png
+%%DOCSDIR%%/html/images/tour-40ly-reddwarfs.png
+%%DOCSDIR%%/html/images/tour-40ly.png
+%%DOCSDIR%%/html/images/tour-arcturus.png
+%%DOCSDIR%%/html/images/tour-first.png
+%%DOCSDIR%%/html/images/tour-galplane.png
+%%DOCSDIR%%/html/images/tour-hr-diagram.png
+%%DOCSDIR%%/html/images/tour-hyades.png
+%%DOCSDIR%%/html/images/tour-legend-sun.png
+%%DOCSDIR%%/html/images/tour-scocen.png
+%%DOCSDIR%%/html/images/tour-sunlike-info.png
+%%DOCSDIR%%/html/images/tour-sunlike.png
+%%DOCSDIR%%/html/images/ui-parts.png
 %%DOCSDIR%%/html/index.html
+%%DOCSDIR%%/html/parfiles/galplane.par
+%%DOCSDIR%%/html/parfiles/hyades.par
+%%DOCSDIR%%/html/parfiles/scocen.par
 %%DOCSDIR%%/html/starplot.css
 %%EXAMPLESDIR%%/example.spec
-%%NLS%%share/locale/en@boldquot/LC_MESSAGES/starplot.mo
-%%NLS%%share/locale/en@quot/LC_MESSAGES/starplot.mo
-%%NLS%%share/locale/es/LC_MESSAGES/starplot.mo
+share/locale/en@boldquot/LC_MESSAGES/starplot.mo
+share/locale/en@quot/LC_MESSAGES/starplot.mo
+share/locale/es/LC_MESSAGES/starplot.mo
+share/pixmaps/starplot32x32.xpm
 %%DATADIR%%/sample.stars
 %%DATADIR%%/test.stars
 @dirrm %%DATADIR%%
 @dirrm %%EXAMPLESDIR%%
+@dirrm %%DOCSDIR%%/html/parfiles
 @dirrm %%DOCSDIR%%/html/images
 @dirrm %%DOCSDIR%%/html
 @dirrm %%DOCSDIR%%
@@ -23,3 +67,4 @@
 @dirrmtry share/locale/en@boldquot
 @dirrmtry share/locale/en@quot/LC_MESSAGES
 @dirrmtry share/locale/en@quot
+@dirrmtry share/applications
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080522020008.90719456.tkato432>