[xiph-cvs] cvs commit: ogg/debian libogg0.README.Debian changelog control copyright libogg-dev.docs rules README.Debian libogg-dev.dirs libogg0.dirs libogg0.docs

Chris Cheney calc at xiph.org
Thu Dec 13 08:11:52 PST 2001



calc        01/12/13 08:11:52

  Modified:    debian   changelog control copyright libogg-dev.docs rules
  Added:       debian   libogg0.README.Debian
  Removed:     debian   README.Debian libogg-dev.dirs libogg0.dirs
                        libogg0.docs
  Log:
  Updated Debian build scripts

Revision  Changes    Path
1.12      +7 -1      ogg/debian/changelog

Index: changelog
===================================================================
RCS file: /usr/local/cvsroot/ogg/debian/changelog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- changelog	2001/08/13 02:25:33	1.11
+++ changelog	2001/12/13 16:11:51	1.12
@@ -1,3 +1,10 @@
+libogg (1.0rc3-1) unstable; urgency=low
+
+  * New upstream.
+  * added autotools target (config.* updater) to rules
+
+ -- Christopher L Cheney <ccheney at debian.org>  Wed, 12 Dec 2001 11:00:00 -0600
+
 libogg (1.0rc2-1) unstable; urgency=low
 
   * New upstream. 
@@ -40,5 +47,4 @@
 
 Local variables:
 mode: debian-changelog
-add-log-mailing-address "ccheney at debian.org"
 End:

1.11      +9 -9      ogg/debian/control

Index: control
===================================================================
RCS file: /usr/local/cvsroot/ogg/debian/control,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- control	2001/08/13 02:40:36	1.10
+++ control	2001/12/13 16:11:51	1.11
@@ -2,17 +2,9 @@
 Section: libs
 Priority: optional
 Maintainer: Christopher L Cheney <ccheney at debian.org>
-Build-Depends: debhelper (>> 3.0.0)
+Build-Depends: debhelper (>> 3.0.0), autotools-dev, devscripts
 Standards-Version: 3.5.6.0
 
-Package: libogg-dev
-Architecture: any
-Section: devel
-Depends: libogg0 (= ${Source-Version}), libc6-dev
-Description: Ogg Bitstream Library Development
- The libogg-dev package contains the header files and documentation
- needed to develop applications with libogg.
-
 Package: libogg0
 Architecture: any
 Section: libs
@@ -20,3 +12,11 @@
 Description: Ogg Bitstream Library
  Libogg is a library for manipulating ogg bitstreams.  It handles
  both making ogg bitstreams and getting packets from ogg bitstreams.
+
+Package: libogg-dev
+Architecture: any
+Section: devel
+Depends: libogg0 (= ${Source-Version}), libc6-dev
+Description: Ogg Bitstream Library Development
+ The libogg-dev package contains the header files and documentation
+ needed to develop applications with libogg.

1.4       +1 -1      ogg/debian/copyright

Index: copyright
===================================================================
RCS file: /usr/local/cvsroot/ogg/debian/copyright,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- copyright	2001/02/26 15:10:56	1.3
+++ copyright	2001/12/13 16:11:51	1.4
@@ -1,7 +1,7 @@
 This package was debianized by Christopher L Cheney <ccheney at debian.org> on
 Sun, 29 Oct 2000 01:11:57 -0500.
 
-It was downloaded from http://www.xiph.org/ogg/vorbis/download/
+It was downloaded from http://www.vorbis.com/download_unix.psp
 
 Upstream Author(s): Monty <monty at xiph.org>
 

1.6       +1 -1      ogg/debian/libogg-dev.docs

Index: libogg-dev.docs
===================================================================
RCS file: /usr/local/cvsroot/ogg/debian/libogg-dev.docs,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libogg-dev.docs	2001/02/26 05:28:01	1.5
+++ libogg-dev.docs	2001/12/13 16:11:51	1.6
@@ -1 +1 @@
-README
+debian/tmp/usr/share/doc/libogg-1.0rc2/*

1.9       +23 -8     ogg/debian/rules

Index: rules
===================================================================
RCS file: /usr/local/cvsroot/ogg/debian/rules,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- rules	2001/08/13 02:40:36	1.8
+++ rules	2001/12/13 16:11:51	1.9
@@ -8,13 +8,16 @@
 # This is the debhelper compatability version to use.
 export DH_COMPAT=3
 
+export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
 configure: configure-stamp
 configure-stamp:
         dh_testdir
-	# Add here commands to configure the package.
 
         # If compiling cvs version change to ./autogen.sh --prefix=/usr
-	./configure --prefix=/usr
+	./configure --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
+	--prefix=/usr
 
         touch configure-stamp
 
@@ -22,17 +25,30 @@
 build-stamp:
         dh_testdir
 
-	# Add here commands to compile the package.
         $(MAKE)
 
         touch build-stamp
+
+autotools:
+	OLDDATESUB=`./config.sub -t | tr -d -` ;\
+	OLDDATEGUESS=`./config.guess -t | tr -d -` ;\
+	NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d -` ;\
+	NEWDATEGUESS=`/usr/share/misc/config.guess -t | tr -d -` ;\
+	if [ $$OLDDATESUB -lt $$NEWDATESUB -o \
+	     $$OLDDATEGUESS -lt $$NEWDATEGUESS ]; then \
+	   dch -a -p "GNU config automated update: config.sub\
+	     ($$OLDDATESUB to $$NEWDATESUB), config.guess\
+	     ($$OLDDATEGUESS to $$NEWDATEGUESS)" ;\
+	   cp -f /usr/share/misc/config.sub config.sub ;\
+	   cp -f /usr/share/misc/config.guess config.guess ;\
+	   echo WARNING: GNU config scripts updated from master copies 1>&2 ;\
+	fi
 
-clean:
+clean: autotools
         dh_testdir
         dh_testroot
         rm -f build-stamp configure-stamp
 
-	# Add here commands to clean up after the build process.
         -$(MAKE) distclean
 
         dh_clean
@@ -43,7 +59,6 @@
         dh_clean -k
         dh_installdirs
 
-	# Add here commands to install the package into debian/tmp.
         $(MAKE) install DESTDIR=`pwd`/debian/tmp
 
 
@@ -57,7 +72,7 @@
         dh_testroot
         dh_movefiles
 
-	dh_installdocs debian/tmp/usr/share/doc/libogg-1.0rc2/*
+	dh_installdocs
         dh_installexamples
         dh_installman
         dh_installchangelogs
@@ -73,4 +88,4 @@
         dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: autotools build clean binary-indep binary-arch binary install configure

1.1                  ogg/debian/libogg0.README.Debian

Index: libogg0.README.Debian
===================================================================
libogg for Debian
-----------------

Nothing important to mention at this time.

 -- Christopher L Cheney <ccheney at debian.org>, Sun, 29 Oct 2000 01:11:57 -0500

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list