Hello community,

here is the log from the commit of package gcab for openSUSE:Factory checked in 
at 2018-03-14 19:27:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcab (Old)
 and      /work/SRC/openSUSE:Factory/.gcab.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcab"

Wed Mar 14 19:27:04 2018 rev:10 rq:585849 version:1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcab/gcab.changes        2018-01-26 
13:37:17.939461332 +0100
+++ /work/SRC/openSUSE:Factory/.gcab.new/gcab.changes   2018-03-14 
19:27:07.046603121 +0100
@@ -1,0 +2,84 @@
+Sat Mar 10 09:17:21 UTC 2018 - [email protected]
+
+- Update description.
+
+-------------------------------------------------------------------
+Wed Feb 28 16:25:37 UTC 2018 - [email protected]
+
+- Modernize spec-file by calling spec-cleaner
+
+-------------------------------------------------------------------
+Mon Feb 12 10:28:17 UTC 2018 - [email protected]
+
+- Add gcab-revert-git-dep.patch: Revert new dependency on git,
+  having a builddependency on git just to able to show version when
+  using a git checkout is a bit much (bgo#793406).
+- Following the above patch, drop git BuildRequires.
+
+-------------------------------------------------------------------
+Fri Feb  9 23:49:52 UTC 2018 - [email protected]
+
+- Update to version 1.1:
+  + Add git version in --version.
+  + Fix list of new symbols in index page.
+  + Fix unused declarations.
+- Drop fixed upstream patches:
+  gcab-meson-build-fixes.patch;
+  gcab-folder-simplify_sort_cfiles.patch;
+  gcab-doc-fixes.patch.
+- Drop intltool BuildRequires: it's no longer a requirement after
+  upstream migration to Gettext.
+- Add git BuildRequires: new dependency.
+- Add a little summary of its content to the main package
+  description.
+
+-------------------------------------------------------------------
+Tue Jan 23 20:27:11 UTC 2018 - [email protected]
+
+- Add gcab-doc-fixes.patch: Two documentation build fixes.
+- Add gcab-folder-simplify_sort_cfiles.patch: folder: simplify
+  _sort_cfiles(), get rid of warnings.
+
+-------------------------------------------------------------------
+Tue Jan 23 16:19:12 UTC 2018 - [email protected]
+
+- Update to version 1.0 (CVE-2018-5345):
+  + This fixes the security bug known as CVE-2018-5345.
+  + New Features:
+    - Add a helper executable to create massive compressed
+      archives.
+    - Add a special binary to use just for fuzzing.
+    - Add gcab_cabinet_get_size().
+    - Add gcab_file_new_with_bytes().
+    - Add gcab_file_set_attributes().
+    - Add gcab_file_set_date().
+    - Add gcab_folder_get_comptype().
+    - Add gcab_folder_get_file_by_name().
+    - Add some self tests to test libgcab.
+    - Switch to the Meson buildsystem.
+  + Bugfixes:
+    - Do not return translated errors from libraries.
+    - Fix a large memory leak when parsing LZX cab files.
+    - Fix a theoretical crash when building the table entries.
+    - Replace all the custom typedefd unsigned types with working
+      versions.
+    - Return detailed errors from gcab_cabinet_get_signature().
+    - Use g_autoptr() to fix countless memory leaks when parsing
+      corrupt files.
+    - Use g_autoptr() to fix several memory leaks on error in the
+      library.
+    - Use G_DECLARE_FINAL_TYPE to remove lots of C boilerplate.
+  + Updated translations.
+- Add gcab-meson-build-fixes.patch: Fixes to meson build to match
+  the former autotools build.
+- Add meson and gtk-doc BuildRequires and use meson, meson_build
+  and meson_install macros, following upstreams switch to meson.
+- Replace gobject-introspection with
+  pkgconfig(gobject-introspection-1.0) BuildRequires: Actually
+  build introspection support, split out new sub-package
+  typelib-1_0-GCab-1_0.
+- Pass docs=true, introspection=true and tests=false to meson,
+  only build the features we want.
+- No longer delete .la files, meson build does not generate them.
+
+-------------------------------------------------------------------

Old:
----
  gcab-0.8.tar.xz

New:
----
  gcab-1.1.tar.xz
  gcab-revert-git-dep.patch

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

Other differences:
------------------
++++++ gcab.spec ++++++
--- /var/tmp/diff_new_pack.1aPebB/_old  2018-03-14 19:27:07.906572584 +0100
+++ /var/tmp/diff_new_pack.1aPebB/_new  2018-03-14 19:27:07.910572442 +0100
@@ -17,19 +17,22 @@
 
 
 Name:           gcab
-Version:        0.8
+Version:        1.1
 Release:        0
 Summary:        Cabinet file library and tool
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Productivity/Archiving/Compression
 Url:            http://ftp.gnome.org/pub/GNOME/sources/gcab
-Source:         
http://download.gnome.org/sources/gcab/0.8/%{name}-%{version}.tar.xz
-
-BuildRequires:  gobject-introspection >= 0.9.4
-BuildRequires:  intltool >= 0.40.0
+Source0:        
http://download.gnome.org/sources/gcab/1.1/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM gcab-revert-git-dep.patch bgo#793406 [email protected] 
-- Revert git dependency
+Patch0:         gcab-revert-git-dep.patch
+BuildRequires:  gtk-doc
+BuildRequires:  meson
+BuildRequires:  pkgconfig
 BuildRequires:  vala >= 0.14
 BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(glib-2.0) >= 2.22.0
+BuildRequires:  pkgconfig(glib-2.0) >= 2.44.0
+BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.9.4
 Recommends:     %{name}-lang
 
 %description
@@ -38,6 +41,8 @@
 It uses the GObject API and provides GIR bindings.
 It supports creation of archives with simple MSZIP compression.
 
+This package provides gcab tool and its manuals.
+
 %package -n libgcab-1_0-0
 Summary:        Cabinet file library
 Group:          System/Libraries
@@ -50,8 +55,20 @@
 
 This package provides a system library to access cab files
 
+%package -n typelib-1_0-GCab-1_0
+Summary:        Introspection bindings for the gcab cabinet file library
+Group:          System/Libraries
+
+%description -n typelib-1_0-GCab-1_0
+gcab is a tool and library for manipulating cabinet files.
+
+It uses the GObject API and provides GIR bindings.
+It supports creation of archives with simple MSZIP compression.
+
+This package contains the introspection files.
+
 %package devel
-Summary:        Cabinet file library -- Development files
+Summary:        Development files for the gcab cabinet file library
 Group:          Development/Languages/C and C++
 Requires:       libgcab-1_0-0 = %{version}
 
@@ -61,40 +78,49 @@
 It uses the GObject API and provides GIR bindings.
 It supports creation of archives with simple MSZIP compression.
 
-This package provides development files to build code against libgcab
+This package provides development files to build code against
+libgcab.
 
 %lang_package
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
-%configure \
-    --disable-static
-make %{?_smp_mflags}
+%meson \
+       -D docs=true \
+       -D introspection=true \
+       -D tests=false \
+%meson_build
 
 %install
-%make_install
-find %{buildroot} -type f -name '*.la' -delete -print
+%meson_install
 %find_lang %{name}
 
 %post -n libgcab-1_0-0 -p /sbin/ldconfig
 %postun -n libgcab-1_0-0 -p /sbin/ldconfig
 
 %files
-%doc COPYING
+%license COPYING
+%doc NEWS README.md
 %{_bindir}/%{name}
 %{_mandir}/man?/%{name}.?%{?ext_man}
 
-%files lang -f %{name}.lang
-
 %files -n libgcab-1_0-0
 %{_libdir}/libgcab-1.0.so.*
 
+%files -n typelib-1_0-GCab-1_0
+%{_libdir}/girepository-1.0/GCab-1.0.typelib
+
 %files devel
 %doc %{_datadir}/gtk-doc/html/%{name}/
 %{_includedir}/libgcab-1.0/
 %{_libdir}/libgcab-1.0.so
 %{_libdir}/pkgconfig/libgcab-1.0.pc
+%{_datadir}/gir-1.0/GCab-1.0.gir
+%dir %{_datadir}/vala/vapi
+%{_datadir}/vala/vapi/libgcab-1.0.*
+
+%files lang -f %{name}.lang
 
 %changelog

++++++ gcab-0.8.tar.xz -> gcab-1.1.tar.xz ++++++
++++ 64960 lines of diff (skipped)

++++++ gcab-revert-git-dep.patch ++++++
>From b9972fb3329c2b170132a51694b06d0d8189efd5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <[email protected]>
Date: Tue, 13 Feb 2018 11:48:02 +0100
Subject: build-sys: don't require git to build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Check git is available before running it.

Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=793406

Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
---
 meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index f2ae0d2..861df60 100644
--- a/meson.build
+++ b/meson.build
@@ -5,7 +5,11 @@ project('gcab', 'c',
   default_options : ['warning_level=2', 'c_std=c99'],
 )
 
-git_version = run_command(['git', 'describe', '--abbrev=4', 
'HEAD']).stdout().strip().split('-')
+git_version = []
+git = find_program('git', required: false)
+if git.found()
+  git_version = run_command(git, 'describe', '--abbrev=4', 
'HEAD').stdout().strip().split('-')
+endif
 
 # libtool versioning
 lt_current = '0'
-- 
cgit v0.12


Reply via email to