Subject: pkg/32810: x11/xephem does not install help and other useful files (PATCHES INCLUDED)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-bugs
Date: 02/13/2006 00:10:01
>Number:         32810
>Category:       pkg
>Synopsis:       x11/xephem does not install help and other useful files (PATCHES INCLUDED)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 13 00:10:00 +0000 2006
>Originator:     Mark E. Perkins
>Release:        Darwin 8.4.0 Power Macintosh
>Organization:
>Environment:


System: Darwin crow.fringe.mep 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan  3 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh


>Description:


(b)make install for x11/xephem does not follow the instructions in ${WRKDIR}/${DISTNAME}/INSTALL so the help files are not installed.


>How-To-Repeat:


(b)make install, then run xephem.
Choose Help -> Configure help... to set your browser of choice.
Select just about anything else from the 'Help' menu and watch your browser complain about missing help file.

patches for Makefile and PLIST included below.


>Fix:


----------8<--------------- Patch for Makefile ---------------8<----------

--- Makefile.orig       2006-02-05 21:56:00.000000000 -0500
+++ Makefile    2006-02-12 18:57:04.000000000 -0500
@@ -32,7 +32,7 @@
        ${SED} s,@PREFIX@,${PREFIX}, ${FILESDIR}/XEphem.ad > ${WRKDIR}/XEphem
        ${INSTALL_DATA} ${WRKDIR}/XEphem ${PREFIX}/lib/X11/app-defaults
        ${INSTALL_DATA_DIR} ${PREFIX}/share/xephem/tools
-       cd ${WRKSRC}; ${CP} -R auxil catalogs fifos fits                \
+       cd ${WRKSRC}; ${CP} -R auxil catalogs fifos fits gallery help lo \
                ${PREFIX}/share/xephem
        ${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/xephem
 
----------8<--------------- Patch for PLIST ---------------8<----------

--- PLIST.orig  2005-12-12 10:40:44.000000000 -0500
+++ PLIST       2006-02-12 18:58:12.000000000 -0500
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.5 2005/12/12 15:40:44 joerg Exp $
+@comment $NetBSD$
 bin/xephem
 lib/X11/app-defaults/XEphem
-${IMAKE_MAN_DIR}/xephem.${IMAKE_MAN_SUFFIX}
+man/man1/xephem.1
 share/xephem/auxil/README
 share/xephem/auxil/SOHO_512_20030809_0719_eit_304.gif
 share/xephem/auxil/analemma.plt
@@ -37,8 +37,114 @@
 share/xephem/fifos/README
 share/xephem/fits/Abell426.fts
 share/xephem/fits/horsehead.fts
+share/xephem/gallery/1999-41-a-web_print.jpg
+share/xephem/gallery/arp295_kelly_c1.jpg
+share/xephem/gallery/gallery.gly
+share/xephem/gallery/ic5146-2002sep12-hall.jpg
+share/xephem/gallery/m103-2002sep13-lrgb.jpg
+share/xephem/gallery/m29-2002sep05.jpg
+share/xephem/gallery/m3-2003may07-ddp.jpg
+share/xephem/gallery/m35-11dec01-grgb.jpg
+share/xephem/gallery/m76-07dec01-lrgb-nr.jpg
+share/xephem/gallery/m82-03apr02-rgb.jpg
+share/xephem/gallery/m92-01jun02.jpg
+share/xephem/gallery/m97-03apr02-lrgb.jpg
+share/xephem/gallery/ngc457-2002sep13-lrgb.jpg
+share/xephem/gallery/ngc6819-25aug01-lrgb.jpg
+share/xephem/gallery/ngc6888-27jul02-ha.jpg
+share/xephem/gallery/ngc869-2002oct06-lrgb.jpg
+share/xephem/gallery/pui-17-virgo-anno1000.jpg
+share/xephem/help/png/aavso.png
+share/xephem/help/png/annotation.png
+share/xephem/help/png/close-pairs.png
+share/xephem/help/png/coordconv.png
+share/xephem/help/png/data-index.png
+share/xephem/help/png/data-table-setup.png
+share/xephem/help/png/data-table.png
+share/xephem/help/png/db.png
+share/xephem/help/png/each-control-objects.png
+share/xephem/help/png/earth.png
+share/xephem/help/png/external-input.png
+share/xephem/help/png/favorites.png
+share/xephem/help/png/fieldstars.png
+share/xephem/help/png/gallery.png
+share/xephem/help/png/indiconfig.png
+share/xephem/help/png/indicontrol.png
+share/xephem/help/png/internet-update.png
+share/xephem/help/png/jupiter-view-more-info.png
+share/xephem/help/png/jupiter.png
+share/xephem/help/png/listing.png
+share/xephem/help/png/lo.png
+share/xephem/help/png/logo.png
+share/xephem/help/png/main-calendar.png
+share/xephem/help/png/main-local.png
+share/xephem/help/png/main-looping.png
+share/xephem/help/png/main-night.png
+share/xephem/help/png/main-time.png
+share/xephem/help/png/main.png
+share/xephem/help/png/mars-moon-more-info.png
+share/xephem/help/png/mars-moons.png
+share/xephem/help/png/mars-more-info.png
+share/xephem/help/png/mars.png
+share/xephem/help/png/moon-more-info.png
+share/xephem/help/png/moon.png
+share/xephem/help/png/naag.png
+share/xephem/help/png/network-setup.png
+share/xephem/help/png/obslog.png
+share/xephem/help/png/plot-sample.png
+share/xephem/help/png/plot.png
+share/xephem/help/png/print.png
+share/xephem/help/png/saturn-more-info.png
+share/xephem/help/png/saturn.png
+share/xephem/help/png/save-colors.png
+share/xephem/help/png/save-fonts.png
+share/xephem/help/png/save-resources.png
+share/xephem/help/png/seti@home.png
+share/xephem/help/png/sites.png
+share/xephem/help/png/sky-binary.png
+share/xephem/help/png/sky-control-eyepieces.png
+share/xephem/help/png/sky-control-filter.png
+share/xephem/help/png/sky-control-horizon.png
+share/xephem/help/png/sky-control-list.png
+share/xephem/help/png/sky-control-options.png
+share/xephem/help/png/sky-history.png
+share/xephem/help/png/sky-images-fits.png
+share/xephem/help/png/sky-images-ia-contrast-tb.png
+share/xephem/help/png/sky-images-ia-contrast.png
+share/xephem/help/png/sky-images-ia-gauss-tb.png
+share/xephem/help/png/sky-images-ia-gauss.png
+share/xephem/help/png/sky-images-ia-glass-tb.png
+share/xephem/help/png/sky-images-ia-glass.png
+share/xephem/help/png/sky-images-ia-roi-tb.png
+share/xephem/help/png/sky-images-ia-roi.png
+share/xephem/help/png/sky-images-ia-slice-tb.png
+share/xephem/help/png/sky-images-ia-slice.png
+share/xephem/help/png/sky-images-ia-snap-tb.png
+share/xephem/help/png/sky-popup-menu.png
+share/xephem/help/png/sky-upperleft-delta-roaming.png
+share/xephem/help/png/sky-upperleft-roaming.png
+share/xephem/help/png/sky-upperright-delta-roaming.png
+share/xephem/help/png/sky-upperright-roaming.png
+share/xephem/help/png/sky-view-how-tb.png
+share/xephem/help/png/sky-view-what-tb.png
+share/xephem/help/png/sky-view-where-tb.png
+share/xephem/help/png/sky-view.png
+share/xephem/help/png/solsys.png
+share/xephem/help/png/solver.png
+share/xephem/help/png/sun-view.png
+share/xephem/help/png/syslog.png
+share/xephem/help/png/trails.png
+share/xephem/help/png/uranus-more-info.png
+share/xephem/help/png/uranus.png
+share/xephem/help/png/valid-html401.png
+share/xephem/help/xephem.html
+share/xephem/lo/lodb.xml
 @exec ${MKDIR} %D/share/xephem/tools
 @dirrm share/xephem/tools
+@dirrm share/xephem/lo
+@dirrm share/xephem/help/png
+@dirrm share/xephem/help
+@dirrm share/xephem/gallery
 @dirrm share/xephem/fits
 @dirrm share/xephem/fifos
 @dirrm share/xephem/catalogs