]> www.ginac.de Git - ginac.git/commitdiff
updated for debian/sarge
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 4 Apr 2003 22:21:59 +0000 (22:21 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Fri, 4 Apr 2003 22:21:59 +0000 (22:21 +0000)
debian/changelog
debian/control
debian/copyright
debian/docs [new file with mode: 0644]
debian/libginac-dev.postinst
debian/libginac1.1.dirs [moved from debian/dirs with 100% similarity]
debian/libginac1.1.files [new file with mode: 0644]
debian/postinst [deleted file]
debian/rules
debian/shlibs

index ababcaa6ec80e96d6c2f24e9119b5aa99043c0a8..7ad4568e76abc66ffb4e615321443e74b88b51f2 100644 (file)
@@ -1,38 +1,15 @@
 ginac (1.1.0-1) unstable; urgency=low
 
-  * New upstream (bugfix only) release.
-
- -- Christian Bauer <cbauer@ginac.de>  Thu,  3 Apr 2003 17:48:03 +0100
-
-ginac (1.0.14-1) unstable; urgency=low
-
-  * New upstream (bugfix only) release.
-
- -- Christian Bauer <cbauer@ginac.de>  Sat,  1 Mar 2003 17:29:13 +0100
-
-ginac (1.0.13-1) unstable; urgency=low
-
-  * New upstream (bugfix only) release.
+  * New upstream release; binary incompatible, so it's libginac1.1 now.
+  * Adjusted to Standards-Version 3.5.8.
 
- -- Christian Bauer <cbauer@ginac.de>  Mon, 27 Jan 2003 17:56:07 +0100
-
-ginac (1.0.12-1) unstable; urgency=low
-
-  * New upstream (bugfix only) release.
-
- -- Christian Bauer <cbauer@ginac.de>  Thu, 31 Oct 2002 16:21:05 +0100
+ -- Richard Kreckel <kreckel@ginac.de>  Thu,  4 Apr 2003 12:11:21 +0200
 
 ginac (1.0.11-1) unstable; urgency=low
 
   * New upstream (bugfix only) release.
 
- -- Richard Kreckel <kreckel@ginac.de>  Wed, 18 Sep 2002 16:45:05 +0200
-
-ginac (1.0.10-1) unstable; urgency=low
-
-  * New upstream (bugfix only) release.
-
- -- Richard Kreckel <kreckel@ginac.de>  Wed, 24 Jul 2002 18:03:00 +0200
+ -- Richard Kreckel <kreckel@ginac.de>  Wed, 18 Sep 2002 16:45:05 +0100
 
 ginac (1.0.8-1) unstable; urgency=low
 
index 279ad3a764941844a0a03b8d70d18daf8e668c07..08df8712627e6993d5aecb7b9f3b30b62c5367c5 100644 (file)
@@ -2,10 +2,10 @@ Source: ginac
 Section: math
 Priority: optional
 Maintainer: Richard Kreckel <kreckel@ginac.de>
-Standards-Version: 3.1.1
-Build-Depends: debhelper, libcln-dev, libgmp3-dev, libreadline4-dev, flex, bison
+Build-Depends: debhelper (>> 3.0.0), libcln-dev, libgmp3-dev, libreadline4-dev, flex, bison
+Standards-Version: 3.5.8
 
-Package: libginac1
+Package: libginac1.1
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
@@ -16,12 +16,12 @@ Description: The GiNaC framework (runtime library)
  programming language.
  .
  This package provides the runtime library.  See <http://www.ginac.de/> for
- detailed information about the GiNaC framework.
+ detailed information about GiNaC.
 
 Package: libginac-dev
 Architecture: any
-Section: devel
-Depends: libginac0 (= ${Source-Version}), libc6-dev, g++, libcln-dev
+Section: libdevel
+Depends: libginac1.1 (= ${Source-Version}), libc6-dev, g++, libcln-dev
 Recommends: info | info-browser
 Suggests: ginac-tools
 Description: The GiNaC framework (development files)
@@ -30,8 +30,7 @@ Description: The GiNaC framework (development files)
  programming language.
  .
  This package provides header files, a static library plus a tutorial as info
- file.  See <http://www.ginac.de/> for detailed information about the GiNaC
- framework.
+ file.  See <http://www.ginac.de/> for detailed information about GiNaC.
 
 Package: ginac-tools
 Architecture: any
@@ -44,4 +43,4 @@ Description: Some tools for the GiNaC framework
  .
  This package provides some additional tools, like the popular ginsh (GiNaC
  interactive shell) and viewgar (for inspecting GiNaC archive files).  See
- <http://www.ginac.de/> for detailed information about the GiNaC framework.
+ <http://www.ginac.de/> for detailed information about GiNaC.
index 7cb8b5e35ecbe6082722897c03e068551651a9e0..b10400460eaefd1797c8184978d26b68dc262b09 100644 (file)
@@ -1,4 +1,4 @@
-This package was debianized by Richard Kreckel kreckel@ginac.de on
+This package was debianized by Richard Kreckel <kreckel@ginac.de> on
 Thu, 29 Mar 2001 20:30:40 +0100.
 
 It was downloaded from <http://www.ginac.de/>
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..eb9b151
--- /dev/null
@@ -0,0 +1,3 @@
+NEWS
+README
+AUTHORS
index 7f1990964414e16a5726643627b03152c4da6f28..c57db5d944e56f75c83d01037e6e39e613f324b4 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/sh
 set -e
-install-info --quiet --section Math Math -- /usr/share/info/ginac.info
+
+if [ "$1" = "configure" ]; then
+    install-info --quiet --section Math Math -- /usr/share/info/ginac.info
+fi
 
 #DEBHELPER#
similarity index 100%
rename from debian/dirs
rename to debian/libginac1.1.dirs
diff --git a/debian/libginac1.1.files b/debian/libginac1.1.files
new file mode 100644 (file)
index 0000000..9a5c1be
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/libginac*.so.*
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644 (file)
index 1ded2f8..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-set -e
-if [ "$1" = "configure" ]; then
-  ldconfig
-fi
-#DEBHELPER#
index b3856a320e46f5be2978c6150e2a40bf54b5195c..a6d80b1937391037d2704a659c36c62c91522f25 100755 (executable)
@@ -1,53 +1,85 @@
 #!/usr/bin/make -f
 
-package=ginac
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
-version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*')
+# This is the debhelper compatability version to use.
+export DH_COMPAT=4
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
 
-build:
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       export CXXFLAGS = -O0
+else
+       export CXXFLAGS = -O2 -fomit-frame-pointer -finline-limit=1200
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+       INSTALL_PROGRAM += -s
+endif
+
+config.status: configure
        dh_testdir
-       ./configure --prefix=/usr
-       $(MAKE) CXXFLAGS="-O2"
-       touch build
+       # Add here commands to configure the package.
+       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+build: build-arch
+
+build-arch: build-arch-stamp
+build-arch-stamp:  config.status
+       # Add here commands to compile the arch part of the package.
+       $(MAKE) prefix=$(CURDIR)/debian/tmp/usr infodir=$(CURDIR)/debian/tmp/usr/share/info mandir=$(CURDIR)/debian/tmp/usr/share/man
 
 clean:
        dh_testdir
-       dh_clean
-       -rm -f build
+       dh_testroot
+       rm -f build-arch-stamp config-stamp
        -$(MAKE) distclean
-       -rm -f `find . -name "*~"`
-       -rm -rf debian/tmp `find debian/* -type d ! -name CVS` debian/files* core
-       -rm -f debian/*substvars
+       dh_clean
 
-binary-indep: build
+install: install-arch
+install-arch:
        dh_testdir
        dh_testroot
+       dh_clean -k -a
+       dh_installdirs -a
+       # Add here commands to install the arch part of the package into 
+       # debian/tmp.
+       $(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+       mkdir -p $(CURDIR)/debian/tmp/usr/X11R6/include/X11/pixmaps
+       cp $(CURDIR)/debian/ginac.xpm $(CURDIR)/debian/tmp/usr/X11R6/include/X11/pixmaps/
 
-binary-arch: build
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-multi
+# in another 'make' thread.
+binary-common:
        dh_testdir
        dh_testroot
-       dh_installdirs
-       # When is Automake going to honor FHS?
-       $(MAKE) install prefix=`pwd`/debian/tmp/usr infodir=`pwd`/debian/tmp/usr/share/info mandir=`pwd`/debian/tmp/usr/share/man
-       # Automake generated Makefile.in do install-info, which is bad for us:
-       -rm -f `pwd`/debian/tmp/usr/share/info/dir*
-       dh_installdocs ChangeLog NEWS README
-       dh_installchangelogs
+       dh_installdocs
        dh_installmenu
-       mkdir -p `pwd`/debian/tmp/usr/X11R6/include/X11/pixmaps
-       cp `pwd`/debian/ginac.xpm `pwd`/debian/tmp/usr/X11R6/include/X11/pixmaps/
+       dh_installman
+       dh_installinfo
+       dh_installchangelogs ChangeLog
        dh_movefiles
+       dh_link
        dh_strip
        dh_compress
        dh_fixperms
        dh_makeshlibs
-       dh_installdeb
-       dh_shlibdeps
+       dh_shlibdeps --libpackage=libginac1.1 -l debian/libginac1.1/usr/lib
        dh_gencontrol
+       dh_installdeb
        dh_md5sums
        dh_builddeb
 
-binary: binary-indep binary-arch
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+       $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
 
-.PHONY: binary binary-arch binary-indep clean
+binary: binary-arch
+.PHONY: build clean binary-arch binary install install-arch 
index dafaf0384af8f842ad81661b3f3b745676ff32a7..ce7d3dcbc27dc85272f5f077cf9ea35a5ad41b0e 100644 (file)
@@ -1 +1 @@
-libginac-1.1   1       libginac1 (>= 1.1.0)
+libginac-1.1   0       libginac1.1 (>= 1.1.0)