Attached is the fix I applied on Ubuntu, which builds fgfs-atlas from CVS.

Cheers.
=== modified file 'debian/control'
--- debian/control	2009-10-17 02:27:02 +0000
+++ debian/control	2012-02-14 21:45:12 +0000
@@ -1,14 +1,17 @@
 Source: fgfs-atlas
 Section: games
 Priority: extra
-Maintainer: Ove Kaaven <o...@arcticnet.no>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Ove Kaaven <o...@arcticnet.no>
 Build-Depends: debhelper (>> 5),
  libx11-dev, libxext-dev, libxi-dev, libice-dev, libsm-dev, libxt-dev, libxmu-dev,
  libgl1-mesa-dev | xlibmesa-gl-dev | libgl-dev,
  libglu1-mesa-dev | libglu1-xorg-dev | xlibmesa-glu-dev | libglu-dev,
  freeglut3-dev | libglut3-dev, zlib1g-dev, libjpeg62-dev | libjpeg-dev,
  libpng12-dev, libplib-dev (>= 1.8.4) | plib1.8.4-dev,
- libcurl4-gnutls-dev, libopenal-dev, libalut-dev, autotools-dev, simgear-dev (>= 1.0.0-3)
+ libcurl4-gnutls-dev, libopenal-dev, libalut-dev, autotools-dev, automake,
+ libglew-dev,
+ simgear-dev (>= 1.0.0-3)
 Standards-Version: 3.7.3
 Homepage: http://atlas.sourceforge.net/
 

=== removed file 'debian/install'
--- debian/install	2008-04-21 11:38:18 +0000
+++ debian/install	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-src/AtlasPalette usr/share/games/FlightGear

=== modified file 'debian/rules'
--- debian/rules	2008-04-21 11:38:18 +0000
+++ debian/rules	2012-02-14 23:02:01 +0000
@@ -3,7 +3,7 @@
 # GNU copyright 1997 to 1999 by Joey Hess.
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 CFLAGS=-O0 -g
@@ -11,8 +11,19 @@
 CFLAGS=-O2 -g
 endif
 
+DEB_DEBIAN_DIR=$(dir $(firstword $(MAKEFILE_LIST)))
+CVSROOT=':pserver:anonym...@atlas.cvs.sourceforge.net:/cvsroot/atlas'
+# The YYYYMMDD part of the changelog version number, used to get a dated CVS
+# checkout from upstream.
+REV=$(shell dpkg-parsechangelog \
+      | sed -rne 's,^Version: .*[+~]cvs([0-9]+).*,\1,p')
+# The full changelog version number, used for the orig.tar.gz
+VER=$(shell dpkg-parsechangelog \
+      | sed -rne 's,^Version: (.*[+~]cvs[0-9]+).*,\1,p')
+
 configure: configure-stamp
 configure-stamp:
+	./autogen.sh
 	dh_testdir
 	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
 		    --bindir=\$${prefix}/games --datadir=\$${prefix}/share/games \
@@ -39,7 +50,7 @@
 	dh_clean
 
 	# update from autotools-dev
-	cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub .
+	#cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub .
 
 install: build
 	dh_testdir
@@ -48,7 +59,7 @@
 	dh_installdirs
 
 	$(MAKE) install prefix=$(CURDIR)/debian/fgfs-atlas/usr
-	mv debian/fgfs-atlas/usr/games/buildmaps.sh debian/fgfs-atlas/usr/share/doc/fgfs-atlas
+	#mv debian/fgfs-atlas/usr/games/buildmaps.sh debian/fgfs-atlas/usr/share/doc/fgfs-atlas
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -74,5 +85,16 @@
 	dh_md5sums
 	dh_builddeb
 
+get-orig-source:
+	rm -rf atlas-$(VER).orig
+	cvs -z3 -d$(CVSROOT) co -D $(REV) -d atlas-$(REV).orig -P Atlas
+	find atlas-$(REV).orig -name CVS | xargs rm -rf
+	rm -rf atlas-$(REV).orig/projects
+	rm -f atlas-$(REV).orig/.cvsignore
+	GZIP=--best tar -cz --owner root --group root --mode a+rX \
+			-f fgfs-atlas_$(VER).orig.tar.gz \
+			atlas-$(REV).orig
+	rm -rf atlas-$(REV).orig
+
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install configure

=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format	1970-01-01 00:00:00 +0000
+++ debian/source/format	2012-02-14 19:47:34 +0000
@@ -0,0 +1,1 @@
+3.0 (quilt)

Attachment: signature.asc
Description: PGP signature

Reply via email to