[lrslib] 03/16: initial update for new build system

David Bremner bremner at debian.org
Tue Feb 3 16:04:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

bremner pushed a commit to branch master
in repository lrslib.

commit d516f23aa1b66f7cb014e33f352244ecb38d4c8c
Author: David Bremner <bremner at debian.org>
Date:   Sat Dec 6 16:10:59 2014 +0100

    initial update for new build system
    
    Makefile changes pushed upstream
---
 debian/control                                     |   6 +-
 debian/liblrs0d.install                            |   2 -
 debian/liblrs0d.symbols                            | 100 ---------------------
 .../{liblrs-dev.install => liblrsgmp-dev.install}  |   3 +-
 debian/liblrsgmp0.install                          |   2 +
 debian/liblrsgmp0.symbols                          | 100 +++++++++++++++++++++
 debian/lrslib.install                              |  11 ++-
 debian/rules                                       |  13 +--
 8 files changed, 113 insertions(+), 124 deletions(-)

diff --git a/debian/control b/debian/control
index 413a931..debaf9d 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Description: package to enumerate vertices and extreme rays of a convex polyhedr
  arithmetic, and it consumes memory proportional to the input, no
  matter how large the output is.
 
-Package: liblrs0d
+Package: liblrsgmp0
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: package to enumerate vertices and extreme rays (shared libraries)
@@ -41,9 +41,9 @@ Description: package to enumerate vertices and extreme rays (shared libraries)
  This package contains the (required) shared library.
 
 
-Package: liblrs-dev
+Package: liblrsgmp-dev
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, liblrs0d (=${binary:Version})
+Depends: ${shlibs:Depends}, ${misc:Depends}, liblrsgmp (=${binary:Version})
 Section: libdevel
 Description: package to enumerate vertices and extreme rays (static libraries and headers)
  A convex polyhedron is the set of points satisfying a finite family
diff --git a/debian/liblrs0d.install b/debian/liblrs0d.install
deleted file mode 100644
index 467285c..0000000
--- a/debian/liblrs0d.install
+++ /dev/null
@@ -1,2 +0,0 @@
-liblrs.so.0d.0.0 usr/lib
-
diff --git a/debian/liblrs0d.symbols b/debian/liblrs0d.symbols
deleted file mode 100644
index 67e946e..0000000
--- a/debian/liblrs0d.symbols
+++ /dev/null
@@ -1,100 +0,0 @@
-liblrs.so.0d liblrs0d #MINVER#
- atoaa at Base 0.42c
- atomp at Base 0.42c
- checkcobasic at Base 0.42c
- checkindex at Base 0.42c
- checkredund at Base 0.42c
- comprod at Base 0.42c
- copy_dict at Base 0.42c
- dan_selectpivot at Base 0.42c
- digits at Base 0.42c
- digits_overflow at Base 0.42c
- divrat at Base 0.42c
- getabasis at Base 0.42c
- getnextoutput at Base 0.42c
- ismin at Base 0.42c
- lcm at Base 0.42c
- lexmin at Base 0.42c
- linint at Base 0.42c
- linrat at Base 0.42c
- lprat at Base 0.42c
- lreadrat at Base 0.42c
- lrs_alloc_dat at Base 0.42c
- lrs_alloc_dic at Base 0.42c
- lrs_alloc_mp_matrix at Base 0.42c
- lrs_alloc_mp_vector at Base 0.42c
- lrs_cfp at Base 0.42c
- lrs_checkbound at Base 0.42c
- lrs_clear_mp_matrix at Base 0.42c
- lrs_clear_mp_vector at Base 0.42c
- lrs_close at Base 0.42c
- lrs_degenerate at Base 0.42c
- lrs_digits at Base 0.42c
- lrs_estimate at Base 0.42c
- lrs_free_dat at Base 0.42c
- lrs_free_dic at Base 0.42c
- lrs_getdic at Base 0.42c
- lrs_getdigits at Base 0.42c
- lrs_getfirstbasis at Base 0.42c
- lrs_getinput at Base 0.42c
- lrs_getnextbasis at Base 0.42c
- lrs_getray at Base 0.42c
- lrs_getsolution at Base 0.42c
- lrs_getvertex at Base 0.42c
- lrs_ifp at Base 0.42c
- lrs_init at Base 0.42c
- lrs_lpoutput at Base 0.42c
- lrs_main at Base 0.42c
- lrs_mp_close at Base 0.42c
- lrs_mp_init at Base 0.42c
- lrs_ofp at Base 0.42c
- lrs_printcobasis at Base 0.42c
- lrs_printoutput at Base 0.42c
- lrs_printrow at Base 0.42c
- lrs_printtotals at Base 0.42c
- lrs_read_dat at Base 0.42c
- lrs_read_dic at Base 0.42c
- lrs_record_digits at Base 0.42c
- lrs_set_digits at Base 0.42c
- lrs_set_obj at Base 0.42c
- lrs_set_obj_mp at Base 0.42c
- lrs_set_row at Base 0.42c
- lrs_set_row_mp at Base 0.42c
- lrs_solve_lp at Base 0.42c
- lrs_solvelp at Base 0.42c
- mulrat at Base 0.42c
- myrandom at Base 0.42c
- notimpl at Base 0.42c
- phaseone at Base 0.42c
- pimat at Base 0.42c
- pivot at Base 0.42c
- pmp at Base 0.42c
- prat at Base 0.42c
- primalfeasible at Base 0.42c
- printA at Base 0.42c
- print_basis at Base 0.42c
- ratio at Base 0.42c
- rattodouble at Base 0.42c
- readfacets at Base 0.42c
- readlinearity at Base 0.42c
- readmp at Base 0.42c
- readrat at Base 0.42c
- record_digits at Base 0.42c
- reduce at Base 0.42c
- reducearray at Base 0.42c
- reduceint at Base 0.42c
- redund_main at Base 0.42c
- removecobasicindex at Base 0.42c
- reorder1 at Base 0.42c
- reorder at Base 0.42c
- rescaledet at Base 0.42c
- rescalevolume at Base 0.42c
- resize at Base 0.42c
- restartpivots at Base 0.42c
- reverse at Base 0.42c
- selectpivot at Base 0.42c
- storesign at Base 0.42c
- stringcpy at Base 0.42c
- update at Base 0.42c
- updatevolume at Base 0.42c
- xcalloc at Base 0.42c
diff --git a/debian/liblrs-dev.install b/debian/liblrsgmp-dev.install
similarity index 56%
rename from debian/liblrs-dev.install
rename to debian/liblrsgmp-dev.install
index ded0be1..585b9f7 100644
--- a/debian/liblrs-dev.install
+++ b/debian/liblrsgmp-dev.install
@@ -1,4 +1,3 @@
-usr/lib/liblrs.a usr/lib
-usr/lib/liblrs.so usr/lib
+usr/lib/liblrsgmp.so usr/lib
 usr/include/lrslib.h usr/include
 usr/include/lrsgmp.h usr/include
diff --git a/debian/liblrsgmp0.install b/debian/liblrsgmp0.install
new file mode 100644
index 0000000..e00e66b
--- /dev/null
+++ b/debian/liblrsgmp0.install
@@ -0,0 +1,2 @@
+liblrsgmp.so.0.0.0 usr/lib
+
diff --git a/debian/liblrsgmp0.symbols b/debian/liblrsgmp0.symbols
new file mode 100644
index 0000000..f65f6e3
--- /dev/null
+++ b/debian/liblrsgmp0.symbols
@@ -0,0 +1,100 @@
+liblrsgmp.so.0 liblrsgmp0 #MINVER#
+ atoaa at Base 0.51~r919
+ atomp at Base 0.51~r919
+ checkcobasic at Base 0.51~r919
+ checkindex at Base 0.51~r919
+ checkredund at Base 0.51~r919
+ comprod at Base 0.51~r919
+ copy_dict at Base 0.51~r919
+ dan_selectpivot at Base 0.51~r919
+ digits at Base 0.51~r919
+ digits_overflow at Base 0.51~r919
+ divrat at Base 0.51~r919
+ getabasis at Base 0.51~r919
+ getnextoutput at Base 0.51~r919
+ ismin at Base 0.51~r919
+ lcm at Base 0.51~r919
+ lexmin at Base 0.51~r919
+ linint at Base 0.51~r919
+ linrat at Base 0.51~r919
+ lprat at Base 0.51~r919
+ lreadrat at Base 0.51~r919
+ lrs_alloc_dat at Base 0.51~r919
+ lrs_alloc_dic at Base 0.51~r919
+ lrs_alloc_mp_matrix at Base 0.51~r919
+ lrs_alloc_mp_vector at Base 0.51~r919
+ lrs_cfp at Base 0.51~r919
+ lrs_checkbound at Base 0.51~r919
+ lrs_clear_mp_matrix at Base 0.51~r919
+ lrs_clear_mp_vector at Base 0.51~r919
+ lrs_close at Base 0.51~r919
+ lrs_degenerate at Base 0.51~r919
+ lrs_digits at Base 0.51~r919
+ lrs_estimate at Base 0.51~r919
+ lrs_free_dat at Base 0.51~r919
+ lrs_free_dic at Base 0.51~r919
+ lrs_getdic at Base 0.51~r919
+ lrs_getdigits at Base 0.51~r919
+ lrs_getfirstbasis at Base 0.51~r919
+ lrs_getinput at Base 0.51~r919
+ lrs_getnextbasis at Base 0.51~r919
+ lrs_getray at Base 0.51~r919
+ lrs_getsolution at Base 0.51~r919
+ lrs_getvertex at Base 0.51~r919
+ lrs_ifp at Base 0.51~r919
+ lrs_init at Base 0.51~r919
+ lrs_lpoutput at Base 0.51~r919
+ lrs_main at Base 0.51~r919
+ lrs_mp_close at Base 0.51~r919
+ lrs_mp_init at Base 0.51~r919
+ lrs_ofp at Base 0.51~r919
+ lrs_printcobasis at Base 0.51~r919
+ lrs_printoutput at Base 0.51~r919
+ lrs_printrow at Base 0.51~r919
+ lrs_printtotals at Base 0.51~r919
+ lrs_read_dat at Base 0.51~r919
+ lrs_read_dic at Base 0.51~r919
+ lrs_record_digits at Base 0.51~r919
+ lrs_set_digits at Base 0.51~r919
+ lrs_set_obj at Base 0.51~r919
+ lrs_set_obj_mp at Base 0.51~r919
+ lrs_set_row at Base 0.51~r919
+ lrs_set_row_mp at Base 0.51~r919
+ lrs_solve_lp at Base 0.51~r919
+ lrs_solvelp at Base 0.51~r919
+ mulrat at Base 0.51~r919
+ myrandom at Base 0.51~r919
+ notimpl at Base 0.51~r919
+ phaseone at Base 0.51~r919
+ pimat at Base 0.51~r919
+ pivot at Base 0.51~r919
+ pmp at Base 0.51~r919
+ prat at Base 0.51~r919
+ primalfeasible at Base 0.51~r919
+ printA at Base 0.51~r919
+ print_basis at Base 0.51~r919
+ ratio at Base 0.51~r919
+ rattodouble at Base 0.51~r919
+ readfacets at Base 0.51~r919
+ readlinearity at Base 0.51~r919
+ readmp at Base 0.51~r919
+ readrat at Base 0.51~r919
+ record_digits at Base 0.51~r919
+ reduce at Base 0.51~r919
+ reducearray at Base 0.51~r919
+ reduceint at Base 0.51~r919
+ redund_main at Base 0.51~r919
+ removecobasicindex at Base 0.51~r919
+ reorder1 at Base 0.51~r919
+ reorder at Base 0.51~r919
+ rescaledet at Base 0.51~r919
+ rescalevolume at Base 0.51~r919
+ resize at Base 0.51~r919
+ restartpivots at Base 0.51~r919
+ reverse at Base 0.51~r919
+ selectpivot at Base 0.51~r919
+ storesign at Base 0.51~r919
+ stringcpy at Base 0.51~r919
+ update at Base 0.51~r919
+ updatevolume at Base 0.51~r919
+ xcalloc at Base 0.51~r919
diff --git a/debian/lrslib.install b/debian/lrslib.install
index 4a53aa8..c751697 100644
--- a/debian/lrslib.install
+++ b/debian/lrslib.install
@@ -1,9 +1,8 @@
 lrs	usr/bin
+lrs1	usr/bin
 redund 	usr/bin
+redund1 usr/bin
 nash	usr/bin
-lrsbuffer usr/bin
-setupnash usr/bin
-setupnash2 usr/bin
-nash usr/bin
-lrsfourier usr/bin
-2nash usr/bin
\ No newline at end of file
+setnash usr/bin
+setnash2 usr/bin
+2nash usr/bin
diff --git a/debian/rules b/debian/rules
index 4a656b9..176d37a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,5 @@
 #!/usr/bin/make -f
 
-SONAME=liblrs.so.0d
-SOMINOR=.0.0
-SHLIB=$(SONAME)$(SOMINOR)
-
 DOCBASEURL=http://cgm.cs.mcgill.ca/%7Eavis/C/lrslib/USERGUIDE.html
 DB2MAN=/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
 XP=xsltproc --nonet
@@ -14,15 +10,10 @@ LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 export CFLAGS CPPFLAGS LDFLAGS
 
 override_dh_auto_build: lrslib.1 nash.1
-	make -f debian/Makefile.debian SONAME=$(SONAME) SOMINOR=$(SOMINOR) SHLIB=$(SONAME)$(SOMINOR) \
-			DESTDIR=$(CURDIR)/debian/tmp  all
+	make prefix=/usr DESTDIR=$(CURDIR)/debian/tmp  all-shared
 
 override_dh_auto_install: lrslib.1 nash.1
-	make -f debian/Makefile.debian SONAME=$(SONAME) SOMINOR=$(SOMINOR) SHLIB=$(SONAME)$(SOMINOR) \
-			DESTDIR=$(CURDIR)/debian/tmp  install
-
-override_dh_auto_clean:
-	make -f debian/Makefile.debian SONAME=$(SONAME) SOMINOR=$(SOMINOR) SHLIB=$(SONAME)$(SOMINOR) clean
+	make prefix=/usr DESTDIR=$(CURDIR)/debian/tmp  install-shared
 
 %: 
 	dh $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lrslib.git



More information about the debian-science-commits mailing list