Hello community,

here is the log from the commit of package libLASi for openSUSE:Factory checked 
in at 2019-06-19 21:07:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libLASi (Old)
 and      /work/SRC/openSUSE:Factory/.libLASi.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libLASi"

Wed Jun 19 21:07:17 2019 rev:9 rq:709410 version:1.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libLASi/libLASi.changes  2017-12-19 
10:44:42.582722894 +0100
+++ /work/SRC/openSUSE:Factory/.libLASi.new.4811/libLASi.changes        
2019-06-19 21:09:28.938572395 +0200
@@ -1,0 +2,9 @@
+Wed Jun  5 12:03:33 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 1.1.3
+  * See README.release for a changelog
+- Added libLASi-link_gobject2.patch to fix Factory build
+- Added libLASi-do_not_build_examples.patch
+- Spec cleanup
+
+-------------------------------------------------------------------

Old:
----
  libLASi-1.1.2.tar.gz

New:
----
  libLASi-1.1.3.tar.gz
  libLASi-do_not_build_examples.patch
  libLASi-link_gobject2.patch

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

Other differences:
------------------
++++++ libLASi.spec ++++++
--- /var/tmp/diff_new_pack.tKw33J/_old  2019-06-19 21:09:30.662574070 +0200
+++ /var/tmp/diff_new_pack.tKw33J/_new  2019-06-19 21:09:30.666574074 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libLASi
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,33 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define sover   2
 Name:           libLASi
-Version:        1.1.2
+Version:        1.1.3
 Release:        0
 Summary:        Library to write UTF-8 strings to Postscript stream
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Development/Libraries/C and C++
-Url:            http://unifont.org/lasi/
+URL:            http://unifont.org/lasi/
 Source:         http://download.sourceforge.net/lasi/%{name}-%{version}.tar.gz
-BuildRequires:  cmake >= 2.4.5
+# PATCH-FIX-UPSTREAM libLASi-link_gobject2.patch aloi...@gmx.com -- 
self-explanatory
+Patch0:         libLASi-link_gobject2.patch
+# PATCH-FEATURE-OPENSUSE libLASi-do_not_build_examples.patch
+Patch1:         libLASi-do_not_build_examples.patch
+BuildRequires:  cmake >= 3.13.2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(fontconfig)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(pango)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 libLASi is a library written by Larry Siden that provides a C++ stream
@@ -55,11 +59,11 @@
 which require the ability to produce Postscript independent of any one
 application framework.
 
-%package -n %{name}1
+%package -n %{name}%{sover}
 Summary:        Library to write UTF-8 strings to Postscript stream
 Group:          Development/Libraries/C and C++
 
-%description -n %{name}1
+%description -n %{name}%{sover}
 libLASi is a library written that provides a C++ stream output
 interface for creating Postscript documents that can contain
 characters from any of the scripts and symbol blocks supported in
@@ -73,7 +77,7 @@
 %package devel
 Summary:        Library to write UTF-8 strings to Postscript stream
 Group:          Development/Libraries/C and C++
-Requires:       %{name}1 = %{version}
+Requires:       %{name}%{sover} = %{version}
 
 %description devel
 libLASi is a library written by Larry Siden that provides a C++ stream
@@ -99,35 +103,36 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %cmake \
-  -DCMAKE_BUILD_TYPE=Release
+  -DCMAKE_BUILD_TYPE=Release \
+  -Ddocdir=%{_defaultdocdir}/%{name}-%{version}
 make %{?_smp_mflags}
 
 %install
 %cmake_install
-
-mkdir -p %{buildroot}%{_docdir}
-mv %{buildroot}%{_datadir}/doc/%{name}-%{version} %{buildroot}%{_docdir}/
-
 %fdupes %{buildroot}%{_docdir}/%{name}-%{version}/
 
-%post -n %{name}1 -p /sbin/ldconfig
-
-%postun -n %{name}1 -p /sbin/ldconfig
+%post -n %{name}%{sover} -p /sbin/ldconfig
+%postun -n %{name}%{sover} -p /sbin/ldconfig
 
-%files -n %{name}1
-%defattr(-,root,root)
-%doc AUTHORS ChangeLog.* COPYING NEWS README README.release
-%{_libdir}/%{name}.so.1*
+%files -n %{name}%{sover}
+%if 0%{?suse_version} > 1315
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc AUTHORS ChangeLog.* NEWS README README.release
+%{_libdir}/%{name}.so.%{sover}*
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/%{name}.so
 %{_libdir}/pkgconfig/lasi.pc
 %{_includedir}/LASi.h
 %{_datadir}/lasi%{version}/
-%{_docdir}/%{name}-%{version}/
+%{_defaultdocdir}/%{name}-%{version}/
 
 %changelog

++++++ libLASi-1.1.2.tar.gz -> libLASi-1.1.3.tar.gz ++++++
++++ 26160 lines of diff (skipped)

++++++ libLASi-do_not_build_examples.patch ++++++
Index: libLASi-1.1.3/examples/CMakeLists.txt
===================================================================
--- libLASi-1.1.3.orig/examples/CMakeLists.txt
+++ libLASi-1.1.3/examples/CMakeLists.txt
@@ -43,13 +43,6 @@ foreach(SRC_ROOT_NAME ${SRC_ROOT_NAME_LI
 
   list(APPEND INSTALL_LIST ${SRC_ROOT_NAME}.cpp)
 
-  add_executable(${SRC_ROOT_NAME} ${SRC_ROOT_NAME}.cpp)
-  target_link_libraries(${SRC_ROOT_NAME} LASi)
-
-  add_test(${SRC_ROOT_NAME}
-    ${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME} 
${CTEST_EXAMPLES_OUTPUT_DIR}/${SRC_ROOT_NAME}.eps
-    )
-
   if(INKSCAPE_EXECUTABLE)
     add_custom_command(
       OUTPUT
@@ -68,18 +61,6 @@ foreach(SRC_ROOT_NAME ${SRC_ROOT_NAME_LI
       ${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME}.png
       )
   else(INKSCAPE_EXECUTABLE)
-    add_custom_command(
-      OUTPUT
-      ${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME}.eps
-      COMMAND ${CMAKE_COMMAND} -E remove 
${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME}.eps
-      COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME} > 
${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME}.eps
-      DEPENDS ${SRC_ROOT_NAME}
-      VERBATIM
-      )
-    add_custom_target(test_${SRC_ROOT_NAME} ALL
-      DEPENDS
-      ${CMAKE_CURRENT_BINARY_DIR}/${SRC_ROOT_NAME}.eps
-      )
   endif(INKSCAPE_EXECUTABLE)
     
 endforeach(SRC_ROOT_NAME ${SRC_ROOT_NAME_LIST})
++++++ libLASi-link_gobject2.patch ++++++
Index: libLASi-1.1.3/src/CMakeLists.txt
===================================================================
--- libLASi-1.1.3.orig/src/CMakeLists.txt
+++ libLASi-1.1.3/src/CMakeLists.txt
@@ -36,15 +36,19 @@ stringDimensions.h
 util.h
 )
 
+include(FindPkgConfig)
+pkg_search_module(GOBJECT2 REQUIRED gobject-2.0)
+
 include_directories(
 ${CMAKE_SOURCE_DIR}/include
 ${CMAKE_BINARY_DIR}
 ${PANGOFT2_includedir}
+${GOBJECT2_INCLUDE_DIRS}
 )
 
 add_library(LASi ${LASi_LIB_SRCS} ${LASi_LIB_HDRS})
 
-set(libLASi_LINK_LIBRARIES ${PANGOFT2_libraries})
+set(libLASi_LINK_LIBRARIES ${PANGOFT2_libraries} ${GOBJECT2_LIBRARIES})
 
 if(MATH_LIB)
   list(APPEND libLASi_LINK_LIBRARIES ${MATH_LIB})

Reply via email to