Hello community,

here is the log from the commit of package mathgl for openSUSE:Factory checked 
in at 2013-06-05 17:45:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mathgl (Old)
 and      /work/SRC/openSUSE:Factory/.mathgl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mathgl"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mathgl/mathgl.changes    2013-05-13 
15:08:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.mathgl.new/mathgl.changes       2013-06-05 
17:45:36.000000000 +0200
@@ -1,0 +2,11 @@
+Sat Jun  1 15:30:36 UTC 2013 - dmitr...@opensuse.org
+
+- Add package with static libraries
+
+-------------------------------------------------------------------
+Thu May 30 15:32:54 UTC 2013 - dval...@suse.com
+
+- Detect WORDS_BIGENDIAN and HAVE_MEMRCHR to build on bigendian
+  platforms correctly (mathgl-bigendian.patch)
+
+-------------------------------------------------------------------

New:
----
  mathgl-bigendian.patch

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

Other differences:
------------------
++++++ mathgl.spec ++++++
--- /var/tmp/diff_new_pack.TCH7A0/_old  2013-06-05 17:45:37.000000000 +0200
+++ /var/tmp/diff_new_pack.TCH7A0/_new  2013-06-05 17:45:37.000000000 +0200
@@ -42,6 +42,8 @@
 Patch4:         mathgl-doc-path.patch
 # PATCH-FIX-OPENSUSE udav-help-path.patch -- fix path to documentation 
directory
 Patch5:         udav-help-path.patch
+# PATCH-FIX-UPSTREAM mathgl-bigendian.patch -- fixes build on bigendian 
platforms
+Patch6:         mathgl-bigendian.patch 
 BuildRequires:  cmake
 BuildRequires:  fltk-devel
 BuildRequires:  freeglut-devel
@@ -182,6 +184,21 @@
 This package contains libraries and header files for developing
 applications that use mathgl.
 
+%package        devel-static
+Summary:        Static libraries for %{name} library
+Group:          Development/Libraries/Other
+Requires:       mathgl-devel = %{version}
+
+%description    devel-static
+Mathgl is a cross-platform library for making high-quality scientific
+graphics. It provides fast data plotting and handling of large data
+arrays, as well as  window and console modes and for easy embedding
+into other programs. Mathgl integrates into fltk, qt and
+opengl applications.
+
+This package contains static libraries for developing applications
+that use mathgl.
+
 %package        doc
 Summary:        Documentation for %{name}
 Group:          Documentation/Other
@@ -285,6 +302,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p0
 
 # Correct octave-mathgl version
 sed -i 's/2.0/%{oct_version}/' lang/DESCRIPTION
@@ -336,9 +354,6 @@
 # remove octave module archive
 rm %{buildroot}%{_datadir}/%{name}/%{name}.tar.gz
 
-# Remove static library files
-rm %{buildroot}/%{_libdir}/*.a
-
 # Install docs
 install -m 644 {AUTHORS,ChangeLog.txt,README,COPYING} 
%{buildroot}%{_docdir}/%{name}/
 install -m 644 texinfo/{classes.pdf,mgl_en.pdf} %{buildroot}%{_docdir}/%{name}/
@@ -423,6 +438,10 @@
 %{_includedir}/mgl2/
 %{_libdir}/*.so
 
+%files devel-static
+%defattr(-,root,root)
+%{_libdir}/*.a
+
 %files doc
 %defattr(-,root,root)
 %dir %{_defaultdocdir}/mathgl

++++++ mathgl-bigendian.patch ++++++
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt      (revision 747)
+++ CMakeLists.txt      (working copy)
@@ -103,7 +103,16 @@
 
 include(CheckFunctionExists)
 include(CMakePushCheckState)
+include(TestBigEndian)
+
+TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
+if(WORDS_BIGENDIAN)
+       ADD_DEFINITIONS("-DWORDS_BIGENDIAN")
+endif(WORDS_BIGENDIAN)
+message(STATUS "ENDIAN: ${TEST_ENDIAN}")
+
 CHECK_FUNCTION_EXISTS(sin MGL_SIN)
+CHECK_FUNCTION_EXISTS(memrchr HAVE_MEMRCHR)
 if(NOT MGL_SIN)
         cmake_push_check_state()
         set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} m)
@@ -115,6 +124,9 @@
                 message(SEND_ERROR "Math library not found")
         endif(MGL_SIN_M)
 endif(NOT MGL_SIN)
+if(HAVE_MEMRCHR)
+       ADD_DEFINITIONS("-DHAVE_MEMRCHR")
+endif(HAVE_MEMRCHR)
 
 if(enable-double)
        set(MGL_USE_DOUBLE 1)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to