Hello community,

here is the log from the commit of package 4ti2 for openSUSE:Factory checked in 
at 2014-05-06 17:37:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/4ti2 (Old)
 and      /work/SRC/openSUSE:Factory/.4ti2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "4ti2"

Changes:
--------
New Changes file:

--- /dev/null   2014-04-28 00:21:37.460033756 +0200
+++ /work/SRC/openSUSE:Factory/.4ti2.new/4ti2.changes   2014-05-06 
17:37:41.000000000 +0200
@@ -0,0 +1,29 @@
+-------------------------------------------------------------------
+Fri Apr 18 09:33:38 UTC 2014 - [email protected]
+
+- Update to new upstream release 1.6.2
+* Support for newer libglpk API "glp_"
+  (which replaced the "lpx_" API)
+
+-------------------------------------------------------------------
+Tue Feb  4 18:39:35 UTC 2014 - [email protected]
+
+- Update to new upstream release 1.6
+* Restore the functionality of "hilbert" to accept "rel" files
+* When the cone is not pointed, "hilbert" now outputs a "zfree" file,
+  containing a lattice basis, in addition to the "hil" file.
+- Remove 4ti2-gcc.diff, 4ti2-nonvoid-return.diff, 4ti2-libtool.diff
+  (merged upstream)
+
+-------------------------------------------------------------------
+Wed Apr 17 08:05:30 UTC 2013 - [email protected]
+
+- Combine shared library packages lib4ti2{gmp0,int32-0,int64-0}
+  as they are updated in lockstep
+
+-------------------------------------------------------------------
+Fri Dec  7 09:02:56 UTC 2012 - [email protected]
+
+- Initial package (version 1.3.2) for build.opensuse.org
+- Add 4ti2-missing-libs.diff, 4ti2-docdir.diff to address build
+  problems

New:
----
  4ti2-1.6.2.tar.gz
  4ti2-docdir.diff
  4ti2-missing-libs.diff
  4ti2.changes
  4ti2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ 4ti2.spec ++++++
#
# spec file for package 4ti2
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           4ti2
Version:        1.6.2
Release:        0
Summary:        Package for algebraic, geometric and combinatorial problems on 
linear spaces
License:        GPL-2.0+
Group:          Productivity/Scientific/Math
Url:            http://4ti2.de/

Source:         http://4ti2.de/version_%version/%name-%version.tar.gz
Patch1:         4ti2-missing-libs.diff
Patch3:         4ti2-docdir.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf >= 2.59
BuildRequires:  automake
BuildRequires:  gcc-c++ >= 4.3
BuildRequires:  glpk-devel >= 4.52
BuildRequires:  gmp-devel >= 4.1.4
BuildRequires:  libtool

%description
4ti2 is a collection of programs that compute and solve algebraic,
geometric and combinational problems on linear spaces.

%package -n lib4ti2-0
Summary:        Library for computation of Gröbner bases with 4ti2
Group:          System/Libraries

%description -n lib4ti2-0
This package contains the 4ti2 program library, which comes in three
flavors:
- 32-bit precision integers
- 64-bit precision integers
- arbitrary precision integer support through use of GNU MP

%package -n libzsolve0
Summary:        Library for solving linear systems over integers for 4ti2
Group:          System/Libraries

%description -n libzsolve0
This package contains the 4ti2 library for solving systems linear systems over
integers (\mathbb{Z}).

%package devel
Summary:        Development files for 4ti2
Group:          Development/Libraries/C and C++
Requires:       lib4ti2-0 = %version
Requires:       libzsolve0 = %version

%description devel
This subpackage contains the include files and library links for
developing against 4ti2's libraries.

%prep
%setup -q
%patch -P 1 -P 3 -p1

%build
autoreconf -fi;
%configure --enable-shared --disable-static \
        --includedir="%_includedir/pkg/%name" --docdir="%_docdir/%name"
make %{?_smp_mflags};

%install
b="%buildroot";
make install DESTDIR="$b";
cp COPYING doc/* "$b/%_docdir/%name/"
rm -f "$b/%_libdir"/*.la;
mkdir -p "$b/%_bindir" "$b/%_libexecdir/%name";
mv "$b/%_bindir"/* "$b/%_libexecdir/%name/";
pushd "$b/%_libexecdir/%name";
for i in *; do
        ln -s "%_libexecdir/%name/$i" "$b/%_bindir/4ti2_$i";
done;

%post   -n lib4ti2-0 -p /sbin/ldconfig
%postun -n lib4ti2-0 -p /sbin/ldconfig
%post   -n libzsolve0 -p /sbin/ldconfig
%postun -n libzsolve0 -p /sbin/ldconfig

%files
%defattr(-,root,root)
%_bindir/4ti2*
%_libexecdir/%name/
%_docdir/%name/

%files -n lib4ti2-0
%defattr(-,root,root)
%_libdir/lib4ti2gmp.so.0*
%_libdir/lib4ti2int32.so.0*
%_libdir/lib4ti2int64.so.0*
%_libdir/lib4ti2common.so.0*
%_libdir/lib4ti2util.so.0*

%files -n libzsolve0
%defattr(-,root,root)
%_libdir/libzsolve.so.0*

%files devel
%defattr(-,root,root)
%_includedir/pkg/
%_libdir/lib*.so

%changelog
++++++ 4ti2-docdir.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2014-02-05 00:33:39.300262391 +0100

build: stop misplacing documentation

docdir must not be statically set as it would override what the
user gave to ./configure --docdir=...

---
 doc/Makefile.am |    1 -
 1 file changed, 1 deletion(-)

Index: 4ti2-1.6/doc/Makefile.am
===================================================================
--- 4ti2-1.6.orig/doc/Makefile.am
+++ 4ti2-1.6/doc/Makefile.am
@@ -1,4 +1,3 @@
-docdir = $(pkgdatadir)/doc
 
 doc_DATA = 4ti2_manual.pdf
 
++++++ 4ti2-missing-libs.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2012-12-06 13:56:32.282683397 +0100

build: resolve link failure

qsolve_main.cpp uses functions from gmpxx, and so must link to it.

        g++ -D__STDC_LIMIT_MACROS -DNDEBUG -fmessage-length=0 -O2 -Wall 
-D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g -o .libs/4ti2gmp 4ti2gmp-circuits_main.o 
4ti2gmp-groebner_main.o 4ti2gmp-markov_main.o 4ti2gmp-minimize_main.o 
4ti2gmp-normalform_main.o 4ti2gmp-qsolve_main.o 4ti2gmp-rays_main.o 
4ti2gmp-walk_main.o 4ti2gmp-zbasis_main.o 4ti2gmp-main.o  ./.libs/lib4ti2gmp.so 
-lglpk  -Wl,--rpath -Wl,/usr/lib64
        
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
4ti2gmp-qsolve_main.o: undefined reference to symbol '_ZlsRSoPK12__mpz_struct'
        
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
note: '_ZlsRSoPK12__mpz_struct' is defined in DSO /usr/lib64/libgmpxx.so.4 so 
try adding it to the linker command line
        /usr/lib64/libgmpxx.so.4: could not read symbols: Invalid operation
---
 src/groebner/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: 4ti2-1.3.2/src/groebner/Makefile.am
===================================================================
--- 4ti2-1.3.2.orig/src/groebner/Makefile.am
+++ 4ti2-1.3.2/src/groebner/Makefile.am
@@ -269,7 +269,7 @@ lib4ti2int64_la_SOURCES = $(lib4ti2sourc
 # Arbitrary precision flags.
 # 4ti2 uses GMP (GLPL), an arbitrary precision arithmetic library.
 if HAVE_GMP_WITH_CXX
-4ti2gmp_LDADD = lib4ti2gmp.la
+4ti2gmp_LDADD = lib4ti2gmp.la -lgmpxx
 4ti2gmp_CPPFLAGS = -D_4ti2_GMP_ $(GMP_CFLAGS)
 4ti2gmp_SOURCES = $(4ti2sources)
 lib4ti2gmp_la_CPPFLAGS = -D_4ti2_GMP_
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to