Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv20769

Modified Files:
        fplan-nox.info fplan.info 
Added Files:
        xfplan.info xfplan.patch 
Log Message:
xfplan for 10.3, too; update fplan* accordingly

Index: fplan-nox.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils/fplan-nox.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fplan-nox.info      1 Feb 2006 19:54:24 -0000       1.6
+++ fplan-nox.info      22 Sep 2006 00:57:36 -0000      1.7
@@ -1,13 +1,13 @@
 Package: fplan-nox
 Version: 1.4.2
-Revision: 2
+Revision: 3
 GCC: 3.3
 Maintainer: Kevin Horton <[EMAIL PROTECTED]>
 Source: http://www.ibiblio.org/fplan/fplan-%v.src.tar.bz2
 Source-MD5: 0956f119bf95d0c8215253baec5c9c87
 SourceDirectory: fplan-%v
-Conflicts: fplan
-Replaces: fplan
+Conflicts: fplan, xfplan
+Replaces: fplan, xfplan
 PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
 BuildDepends: gcc3.3
 CompileScript: make CC=gcc-3.3

--- NEW FILE: xfplan.info ---
Package: xfplan
Version: 0.1
Revision: 2
Architecture: powerpc
Maintainer: Kevin Horton <[EMAIL PROTECTED]>
Source: mirror:sourceforge:fplan/%n-%v.src.tar.gz
Source-MD5: 8b977559ae9324e15345382844bc6786
#xfce | xfce-taskbar,
Depends: gnome-libs-shlibs,  x11,  glib-shlibs, imlib-shlibs, gtk+-shlibs, 
esound-shlibs, audiofile-shlibs, gettext
BuildDepends: gnome-libs-dev, gcc3.3, glib, imlib, gtk+, esound, audiofile, 
gettext-dev
SetCC: gcc-3.3
SourceDirectory: xfplan-%v
Conflicts: fplan, fplan-nox
Replaces: fplan, fplan-nox
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: make
DocFiles: ANNOUNCE AUTHORS BUGS CHANGE.LOG FAQ LICENSE NOTES README TODO guide*
Description: Flight Planning Tool
DescDetail: <<
 xfplan is an application designed to assist general aviation pilots in 
 creating flight plans for cross country flights in powered aircraft.
<<

DescUsage: <<
 xfplan requires a database of airports, VORs, etc to do anything useful.
 You can download the latest database of US airports, navaids and state 
 boundaries at  http://sourceforge.net/project/showfiles.php?group_id=137000.  
 Look for the file "fplan-db". The database should be expanded and the files 
 copied to %p/share/fplan
 
 Use paddb to create a personal database if desired.  paddb is very 
 particular about the format of the input file.  See the User's Quide and
 man 5 fplan.
 
 This package will not build with gcc 4.0.  It requires gcc 3.3.  Issue a 
 "gcc_select 3.3" in the Terminal to switch to gcc 4.0 if required.
 
 Many features do not yet work, including saving files.  Development progress
 is very slow.  It isn't obvious when or if new features will be added.  Basic
 flight planning does work.
<<

License: GPL
Homepage: http://fplan.sourceforge.net/

Index: fplan.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/utils/fplan.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fplan.info  21 Sep 2006 02:06:17 -0000      1.6
+++ fplan.info  22 Sep 2006 00:57:36 -0000      1.7
@@ -1,13 +1,13 @@
 Package: fplan
 Version: 1.4.2
-Revision: 2
+Revision: 3
 GCC: 3.3
 Maintainer: Kevin Horton <[EMAIL PROTECTED]>
 Source: http://www.ibiblio.org/%n/%n-%v.src.tar.bz2
 Source-MD5: 0956f119bf95d0c8215253baec5c9c87
 SourceDirectory: %n-%v
-Conflicts: fplan-nox
-Replaces: fplan-nox
+Conflicts: fplan-nox, xfplan
+Replaces: fplan-nox, xfplan
 Depends: gnome-libs-shlibs, imlib-shlibs, gtk+-shlibs, glib-shlibs, x11
 BuildDepends: gnome-libs-dev, imlib, gtk+, glib, gcc3.3, libgettext3-dev, 
esound, audiofile
 PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1

--- NEW FILE: xfplan.patch ---
diff -Naur Makefile.orig Makefile
--- xfplan-0.1/Makefile.orig    2005-06-01 21:48:31.000000000 -0400
+++ xfplan-0.1/Makefile        2005-06-01 22:09:36.000000000 -0400
@@ -68,11 +68,11 @@
 
 # ---------------------------------------------------------------------------
 # Eventual final destination for program:
-prefix = /usr/local
+prefix = @PREFIX@
 exec_prefix = $(prefix)
 bindir = $(exec_prefix)/bin
 datadir = $(prefix)/share/fplan
-mandir = $(prefix)/man
+mandir = $(prefix)/share/man
 man1dir = $(mandir)/man1
 man5dir = $(mandir)/man5
 man1ext = .1
@@ -117,7 +117,7 @@
 # Define any additional flags required by the C compiler during the
 # compilation phase (such as flags for debugging or optimization,
 # include -DOS2 when building under OS2/EMX, and -DDOS under MS-DOS)
-CCOPTS = -O
+#CCOPTS = -O
 #CCOPTS = -g
 #
 #CCOPTS = -O2 -m486 -fomit-frame-pointer
@@ -126,6 +126,7 @@
 #CCOPTS = -g -DDEBUG -Wall -pedantic
 #CCOPTS = -O -DOS2
 #CCOPTS = -O -DMSDOS
+CCOPTS = -no-cpp-precomp [EMAIL PROTECTED]@/include
 
 # ---------------------------------------------------------------------------
 # Define any additional flags required by the loader for the link phase,
@@ -318,7 +319,7 @@
        $(PROTODIR)$(man1dir) $(PROTODIR)$(man5dir)
 
 
-install: install-exe install-man install-dbs
+install: install-exe install-man
 
 install-exe: $(EXES) $(PROTODIR)$(bindir)
        $(INSTALL) $(EXES) $(PROTODIR)$(bindir)

diff -Naur config.h config.h.new
--- xfplan-0.1/config.h    2005-06-01 21:48:31.000000000 -0400
+++ xfplan-0.1/config.h.new        2005-06-01 22:01:22.000000000 -0400
@@ -31,11 +31,11 @@
  */
 
 #ifndef        DEFAULT_FPLAN_PATH
-#define        DEFAULT_FPLAN_PATH      
"/usr/local/share/fplan:/usr/share/fplan"
+#define        DEFAULT_FPLAN_PATH      "@PREFIX@/share/fplan"
 #endif
 
 #ifndef DEFAULT_COMMON_DBDIR
-#define DEFAULT_COMMON_DBDIR   "/usr/local/share/fplan"
+#define DEFAULT_COMMON_DBDIR   "@PREFIX@/share/fplan"
 #endif
 
 /*



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to