Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 18 years ago
parent
commit
99559a9d3d
2 changed files with 16 additions and 15 deletions
  1. +12
    -8
      package/daja77/gaia/fix-datadir.patch
  2. +4
    -7
      package/daja77/gaia/gaia.desc

+ 12
- 8
package/daja77/gaia/fix-datadir.patch

@ -1,9 +1,13 @@
--- ./src/config.h.vanilla 2006-11-24 17:45:55.000000000 +0100
+++ ./src/config.h 2006-11-24 17:46:13.000000000 +0100
@@ -21,5 +21,5 @@
#define DOTDIR ".gaia"
--- ./programs/gaia/SConscript.orig 2007-03-11 23:53:16.000000000 +0100
+++ ./programs/gaia/SConscript 2007-03-11 23:54:28.000000000 +0100
@@ -17,8 +17,8 @@
if int(env['gpsd']):
env.Append( LIBS = [ 'gps' ], CCFLAGS = [ '-DWITH_GPSD' ], CXXFLAGS = [ '-DWITH_GPSD' ] )
#ifndef DATADIR
-# define DATADIR "./data"
+# define DATADIR "/usr/share/gaia/data"
#endif
-env.Append(CCFLAGS = [ '-DDATADIR="\\"' + env['prefix'] + "/" + env['datadir'] + '\\""' ] );
-env.Append(CXXFLAGS = [ '-DDATADIR="\\"' + env['prefix'] + "/" + env['datadir'] + '\\""' ] );
+env.Append(CCFLAGS = [ '-DDATADIR="\\"/usr/share/gaia/' + env['datadir'] + '\\""' ] );
+env.Append(CXXFLAGS = [ '-DDATADIR="\\"/usr/share/gaia/' + env['datadir'] + '\\""' ] );
#######################################
# CHECKS

+ 4
- 7
package/daja77/gaia/gaia.desc

@ -26,18 +26,15 @@
[T] Meet gaia, an attempt to reverse engineer famous Google Earth and implement
[T] it's functionality in open, portable, customizable and extendable way.
[U] http://gaia.serezhkin.com/
[A] <gaia@serezhkin.com>
[A] The gaia project
[M] Daniel Jahre <daja@rocklinux.org>
[C] extra/multimedia
[L] GPL
[S] Stable
[V] 0.1.0
[V] 0.1.2
[P] X -?---5---9 203.000
[D] 1782004130 gaia-0.1.0.tar.bz2 http://gaia.serezhkin.com/
[D] 3703579670 gaia-0.1.2.tar.bz2 http://kent.dl.sourceforge.net/sourceforge/gaia-clean/

Loading…
Cancel
Save