commit libmirage for openSUSE:Factory

2020-06-07 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2020-06-07 21:38:08

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new.3606 (New)


Package is "libmirage"

Sun Jun  7 21:38:08 2020 rev:23 rq:812131 version:3.2.4

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2020-05-08 
23:09:26.494363538 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new.3606/libmirage.changes
2020-06-07 21:38:34.609499264 +0200
@@ -1,0 +2,5 @@
+Sun Jun  7 00:01:27 UTC 2020 - Jan Engelhardt 
+
+- Add 0001-libMirage-utils.h-added-missing-extern-specifiers.patch .
+
+---

New:

  0001-libMirage-utils.h-added-missing-extern-specifiers.patch



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.UZWpij/_old  2020-06-07 21:38:35.281501394 +0200
+++ /var/tmp/diff_new_pack.UZWpij/_new  2020-06-07 21:38:35.285501407 +0200
@@ -28,6 +28,7 @@
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
 Source: https://downloads.sf.net/cdemu/%name-%version.tar.bz2
+Patch1: 0001-libMirage-utils.h-added-missing-extern-specifiers.patch
 Patch3: CVE-2019-15757.patch
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  intltool >= 0.21

++ 0001-libMirage-utils.h-added-missing-extern-specifiers.patch ++
>From 7288d06f79d935798b917f707b86a33f5b69125a Mon Sep 17 00:00:00 2001
From: Rok Mandeljc 
Date: Sat, 2 May 2020 17:37:34 +0200
Subject: [PATCH] libMirage: utils.h: added missing extern specifiers

The lack thereof seems to be causing errors with gcc 10 on Fedora 32.
---
 mirage/utils.h |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: libmirage-3.2.4/mirage/utils.h
===
--- libmirage-3.2.4.orig/mirage/utils.h
+++ libmirage-3.2.4/mirage/utils.h
@@ -83,8 +83,8 @@ gchar mirage_helper_isrc2ascii (guint8 c
 gboolean mirage_helper_validate_isrc (const gchar *isrc);
 
 /* CRC utility functions */
-guint16 *crc16_1021_lut;
-guint32 *crc32_d8018001_lut;
+extern guint16 *crc16_1021_lut;
+extern guint32 *crc32_d8018001_lut;
 
 guint16 *mirage_helper_init_crc16_lut (guint16 genpoly);
 guint32 *mirage_helper_init_crc32_lut (guint32 genpoly, guint slices);
@@ -139,7 +139,7 @@ const gchar *mirage_helper_encoding_from
 
 
 /* ECMA-130 Annex B sector data scrambler */
-guint8 *ecma_130_scrambler_lut;
+extern guint8 *ecma_130_scrambler_lut;
 
 guint8 *mirage_helper_init_ecma_130b_scrambler_lut (void);
 



commit libmirage for openSUSE:Factory

2020-05-08 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2020-05-08 23:09:19

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new.2738 (New)


Package is "libmirage"

Fri May  8 23:09:19 2020 rev:22 rq:801836 version:3.2.4

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2019-12-21 
12:32:52.695405946 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new.2738/libmirage.changes
2020-05-08 23:09:26.494363538 +0200
@@ -1,0 +2,6 @@
+Fri May  1 13:48:45 UTC 2020 - Aaron Stern 
+
+- Update to release 3.2.4
+  * Remove old unused code.
+
+---

Old:

  libmirage-3.2.3.tar.bz2

New:

  libmirage-3.2.4.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.OzZ6oQ/_old  2020-05-08 23:09:27.430365450 +0200
+++ /var/tmp/diff_new_pack.OzZ6oQ/_new  2020-05-08 23:09:27.434365458 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0-or-later
 Group:  Development/Libraries/C and C++
-Version:3.2.3
+Version:3.2.4
 Release:0
 URL:http://cdemu.sf.net/about/libmirage/
 

++ libmirage-3.2.3.tar.bz2 -> libmirage-3.2.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.3/CMakeLists.txt 
new/libmirage-3.2.4/CMakeLists.txt
--- old/libmirage-3.2.3/CMakeLists.txt  2019-08-27 17:24:39.0 +0200
+++ new/libmirage-3.2.4/CMakeLists.txt  2020-01-06 17:23:51.0 +0100
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 2)
-set (MIRAGE_VERSION_MICRO 3)
+set (MIRAGE_VERSION_MICRO 4)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.3/README new/libmirage-3.2.4/README
--- old/libmirage-3.2.3/README  2019-08-27 17:24:39.0 +0200
+++ new/libmirage-3.2.4/README  2020-01-06 17:23:51.0 +0100
@@ -1,5 +1,5 @@
 libMirage
-3.2.3
+3.2.4
 ~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.3/debian/changelog 
new/libmirage-3.2.4/debian/changelog
--- old/libmirage-3.2.3/debian/changelog2019-08-27 17:24:39.0 
+0200
+++ new/libmirage-3.2.4/debian/changelog2020-01-06 17:23:51.0 
+0100
@@ -1,3 +1,3 @@
-libmirage (3.2.3-1) debian; urgency=low
+libmirage (3.2.4-1) debian; urgency=low
   * Initial Release. Closes: #705409
  -- Henrik Stokseth   Sat, 05 Apr 2014 
12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.3/debian/control 
new/libmirage-3.2.4/debian/control
--- old/libmirage-3.2.3/debian/control  2019-08-27 17:24:39.0 +0200
+++ new/libmirage-3.2.4/debian/control  2020-01-06 17:23:51.0 +0100
@@ -6,7 +6,7 @@
 Build-Depends: pkg-config (>= 0.14), libglib2.0-dev (>= 2.28), libsndfile1-dev,
  libsamplerate0-dev, zlib1g-dev, libbz2-dev, liblzma-dev, gtk-doc-tools,
  gobject-introspection, libgirepository1.0-dev, debhelper (>= 9), intltool,
- cmake (>= 2.8.5), ninja-build
+ cmake (>= 2.8.5)
 Standards-Version: 4.3.0
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.3/debian/rules 
new/libmirage-3.2.4/debian/rules
--- old/libmirage-3.2.3/debian/rules2019-08-27 17:24:39.0 +0200
+++ new/libmirage-3.2.4/debian/rules2020-01-06 17:23:51.0 +0100
@@ -6,7 +6,7 @@
 
 
 override_dh_auto_configure:
-   dh_auto_configure -- -G Ninja -DPOST_INSTALL_HOOKS:BOOL=OFF
+   dh_auto_configure -- -DPOST_INSTALL_HOOKS:BOOL=OFF
 
 override_dh_auto_test:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.3/debian/source/options 
new/libmirage-3.2.4/debian/source/options
--- old/libmirage-3.2.3/debian/source/options   2019-08-27 17:24:39.0 
+0200
+++ new/libmirage-3.2.4/debian/source/options   1970-01-01 01:00:00.0 
+0100
@@ -1 +0,0 @@
-compression = "xz"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' ol

commit libmirage for openSUSE:Factory

2019-12-21 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2019-12-21 12:32:28

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new.6675 (New)


Package is "libmirage"

Sat Dec 21 12:32:28 2019 rev:21 rq:758347 version:3.2.3

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2019-09-04 
09:16:18.914930031 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new.6675/libmirage.changes
2019-12-21 12:32:52.695405946 +0100
@@ -1,0 +2,14 @@
+Thu Dec 19 22:37:39 UTC 2019 - Jan Engelhardt 
+
+- Update to release 3.2.3
+  * CSO filter: replaced a g_assert() with error return
+  * CSO filter: validate part size
+  * NRG parser: validate nrg_data_length
+  * ISO writer: ignore raw and subchannel modes for non-CD media
+  * TOC image writer: return error when trying to open non-CD
+image for writing
+- Drop 0001-libMirage-CSO-filter-validate-part-size.patch,
+  0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch
+  (merged upstream)
+
+---

Old:

  0001-libMirage-CSO-filter-validate-part-size.patch
  0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch
  libmirage-3.2.2.tar.bz2

New:

  libmirage-3.2.3.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.mmyuZ4/_old  2019-12-21 12:32:53.175406174 +0100
+++ /var/tmp/diff_new_pack.mmyuZ4/_new  2019-12-21 12:32:53.179406176 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,14 +22,12 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0-or-later
 Group:  Development/Libraries/C and C++
-Version:3.2.2
+Version:3.2.3
 Release:0
 URL:http://cdemu.sf.net/about/libmirage/
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
 Source: https://downloads.sf.net/cdemu/%name-%version.tar.bz2
-Patch1: 0001-libMirage-CSO-filter-validate-part-size.patch
-Patch2: 0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch
 Patch3: CVE-2019-15757.patch
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  intltool >= 0.21
@@ -133,7 +131,7 @@
 This package provides the GObject Introspection bindings for libmirage.
 
 %prep
-%autosetup -p2
+%autosetup -p1
 
 %build
 %cmake -DCMAKE_MODULE_LINKER_FLAGS=""

++ CVE-2019-15757.patch ++
--- /var/tmp/diff_new_pack.mmyuZ4/_old  2019-12-21 12:32:53.191406182 +0100
+++ /var/tmp/diff_new_pack.mmyuZ4/_new  2019-12-21 12:32:53.191406182 +0100
@@ -4,10 +4,10 @@
  images/image-nrg/parser.c |7 +++
  1 file changed, 7 insertions(+)
 
-Index: libmirage-3.2.2/images/image-nrg/parser.c
+Index: libmirage-3.2.3/images/image-nrg/parser.c
 ===
 a/libmirage-3.2.2.orig/images/image-nrg/parser.c
-+++ b/libmirage-3.2.2/images/image-nrg/parser.c
+--- libmirage-3.2.3.orig/images/image-nrg/parser.c
 libmirage-3.2.3/images/image-nrg/parser.c
 @@ -987,6 +987,13 @@ static MirageDisc *mirage_parser_nrg_loa
  /* Set CD-ROM as default medium type, will be changed accordingly if there
 is a MTYP block provided */
@@ -20,5 +20,5 @@
 +goto end;
 +}
  
- /* Read descriptor data */
- self->priv->nrg_data = g_malloc(self->priv->nrg_data_length);
+ /* Validate data length */
+ if (self->priv->nrg_data_length == 0) {

++ libmirage-3.2.2.tar.bz2 -> libmirage-3.2.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.2/CMakeLists.txt 
new/libmirage-3.2.3/CMakeLists.txt
--- old/libmirage-3.2.2/CMakeLists.txt  2019-03-17 14:50:14.0 +0100
+++ new/libmirage-3.2.3/CMakeLists.txt  2019-08-27 17:24:39.0 +0200
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 2)
-set (MIRAGE_VERSION_MICRO 1)
+set (MIRAGE_VERSION_MICRO 3)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.2.2/README new/libmirage-3.2.3/README
--- old/libmirage-3.2.2/README  2019-03-17 14:50:14.0 +0100
+++ new/libmirage-3.2.3/README  2019-08-27 17:24:39.0 +0200
@@ -1,5 +1,5 @@
 libM

commit libmirage for openSUSE:Factory

2019-09-04 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2019-09-04 09:15:18

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new.7948 (New)


Package is "libmirage"

Wed Sep  4 09:15:18 2019 rev:20 rq:727965 version:3.2.2

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2019-08-27 
10:24:57.667925280 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new.7948/libmirage.changes
2019-09-04 09:16:18.914930031 +0200
@@ -1,0 +2,5 @@
+Tue Sep  3 09:53:55 UTC 2019 - Jan Engelhardt 
+
+- Add CVE-2019-15757.patch [boo#1148728]
+
+---

New:

  CVE-2019-15757.patch



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.t0AoX2/_old  2019-09-04 09:16:20.374929829 +0200
+++ /var/tmp/diff_new_pack.t0AoX2/_new  2019-09-04 09:16:20.418929822 +0200
@@ -30,6 +30,7 @@
 Source: https://downloads.sf.net/cdemu/%name-%version.tar.bz2
 Patch1: 0001-libMirage-CSO-filter-validate-part-size.patch
 Patch2: 0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch
+Patch3: CVE-2019-15757.patch
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  intltool >= 0.21
 BuildRequires:  pkg-config >= 0.16

++ CVE-2019-15757.patch ++
Origin: https://gist.github.com/andreafioraldi/343d9ba64060b548c02362a5e61ec932

---
 images/image-nrg/parser.c |7 +++
 1 file changed, 7 insertions(+)

Index: libmirage-3.2.2/images/image-nrg/parser.c
===
--- a/libmirage-3.2.2.orig/images/image-nrg/parser.c
+++ b/libmirage-3.2.2/images/image-nrg/parser.c
@@ -987,6 +987,13 @@ static MirageDisc *mirage_parser_nrg_loa
 /* Set CD-ROM as default medium type, will be changed accordingly if there
is a MTYP block provided */
 mirage_disc_set_medium_type(self->priv->disc, MIRAGE_MEDIUM_CD);
+/* Length integrity check */
+if (self->priv->nrg_data_length == 0) {
+MIRAGE_DEBUG(self, MIRAGE_DEBUG_WARNING, "%s: rg_data_length must be 
greater than 0!\n", __debug__);
+g_set_error(error, MIRAGE_ERROR, MIRAGE_ERROR_IMAGE_FILE_ERROR, 
Q_("nrg_data_length must be greater than 0!"));
+succeeded = FALSE;
+goto end;
+}
 
 /* Read descriptor data */
 self->priv->nrg_data = g_malloc(self->priv->nrg_data_length);



commit libmirage for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2019-08-27 10:24:56

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new.7948 (New)


Package is "libmirage"

Tue Aug 27 10:24:56 2019 rev:19 rq:726099 version:3.2.2

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2019-07-11 
13:18:57.066756850 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new.7948/libmirage.changes
2019-08-27 10:24:57.667925280 +0200
@@ -1,0 +2,8 @@
+Mon Aug 26 08:28:33 UTC 2019 - Jan Engelhardt 
+
+- Drop SLE11 recipes from specfile, the build is disabled anyway.
+- Add 0001-libMirage-CSO-filter-validate-part-size.patch,
+  0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch
+  [boo#1148087, CVE-2019-15540]
+
+---

New:

  0001-libMirage-CSO-filter-validate-part-size.patch
  0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.6ORx4E/_old  2019-08-27 10:24:58.107925251 +0200
+++ /var/tmp/diff_new_pack.6ORx4E/_new  2019-08-27 10:24:58.107925251 +0200
@@ -27,22 +27,12 @@
 URL:http://cdemu.sf.net/about/libmirage/
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
-Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
+Source: https://downloads.sf.net/cdemu/%name-%version.tar.bz2
+Patch1: 0001-libMirage-CSO-filter-validate-part-size.patch
+Patch2: 0002-libMirage-CSO-filter-replaced-a-g_assert-with-error-.patch
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  intltool >= 0.21
 BuildRequires:  pkg-config >= 0.16
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-# SLES 11 is still supported
-# Dependencies list in an old style
-BuildRequires:  glib2-devel >= 2.28
-BuildRequires:  gtk-doc >= 1.4
-BuildRequires:  libbz2-devel >= 1.0.0
-BuildRequires:  libsamplerate-devel >= 0.1.0
-BuildRequires:  libsndfile-devel >= 1.0.0
-BuildRequires:  shared-mime-info
-BuildRequires:  xz-devel >= 5.0.0
-BuildRequires:  zlib-devel >= 1.2.4
-%else
 BuildRequires:  pkgconfig(bzip2) >= 1.0.0
 BuildRequires:  pkgconfig(gio-2.0) >= 2.38
 BuildRequires:  pkgconfig(glib-2.0) >= 2.38
@@ -55,9 +45,7 @@
 BuildRequires:  pkgconfig(shared-mime-info)
 BuildRequires:  pkgconfig(sndfile) >= 1.0.0
 BuildRequires:  pkgconfig(zlib) >= 1.2.4
-%endif
 Recommends: %name-lang
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 A CD-ROM image access library part of the cdemu suite.
@@ -123,9 +111,7 @@
 Group:  Development/Libraries/C and C++
 Requires(post): shared-mime-info
 Requires(postun): shared-mime-info
-%if 0%{?suse_version} >= 1130
 BuildArch:  noarch
-%endif
 
 %description data
 libmirage provides uniform access to the data stored in different
@@ -135,7 +121,7 @@
 This package contains the MIME type definitions and documentation.
 
 %package -n typelib-1_0-libmirage-%pname
-Summary:The libmirage CD-ROM image access library – introspection 
bindings
+Summary:Introspection bindings for the libmirage CD-ROM image access 
library
 Group:  System/Libraries
 
 %description -n typelib-1_0-libmirage-%pname
@@ -146,7 +132,7 @@
 This package provides the GObject Introspection bindings for libmirage.
 
 %prep
-%setup -q
+%autosetup -p2
 
 %build
 %cmake -DCMAKE_MODULE_LINKER_FLAGS=""
@@ -160,46 +146,30 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %post data
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-/usr/bin/update-mime-database %{_datadir}/mime >/dev/null || :
-%else
 %mime_database_post
-%endif
 
 %postun data
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-/usr/bin/update-mime-database %{_datadir}/mime >/dev/null || :
-%else
 %mime_database_postun
-%endif
 
 %files -n %lname
-%defattr(-,root,root)
 %_libdir/libmirage.so.11*
 
 %files %pname
-%defattr(-,root,root)
 %_libdir/libmirage-3*/
 
 %files data
-%defattr(-,root,root)
 %_datadir/gtk-doc/
 %_datadir/mime/packages/*
 
 %files devel
-%defattr(-,root,root)
 %_includedir/libmirage-3*/
 %_libdir/libmirage.so
 %_libdir/pkgconfig/libmirage.pc
-%if 0%{?suse_version} > 1110
 %_datadir/gir-1.0
 
 %files lang -f %name.lang
-%defattr(-,root,root)
 
 %files -n typelib-1_0-libmirage-%pname
-%defattr(-,root,root)
 %_libdir/girepository-1.0
-%endif
 
 %changelog

++ 0001-libMirage-CSO-filter-validate-part-size.patch ++
>From 0e9292c9aa34bf545f43f7efe5f0b94faba94962 Mon Sep 17 00:00:00 2001
From: Rok Mandeljc 
Date: Sun, 25 Aug 2019 14:53:58 +0200
Subject: [PATCH 1/2] libMirage: CSO filter: validate part size

Part size must be always either smaller than the decla

commit libmirage for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2019-07-11 13:18:45

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new.4615 (New)


Package is "libmirage"

Thu Jul 11 13:18:45 2019 rev:18 rq:714426 version:3.2.2

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2017-08-24 
18:48:36.449451473 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new.4615/libmirage.changes
2019-07-11 13:18:57.066756850 +0200
@@ -1,0 +2,15 @@
+Mon Jul  1 13:34:01 UTC 2019 - Aaron Stern 
+
+- Update to new upstream release 3.2.2
+  * ISO parser: fixed ISO9660/UDF pattern search for sector
+sizes 2332 and 2336.
+  * ISO parser: added support for Nintendo GameCube and Wii
+ISO images.
+  * Extended medium type guess to distinguish between DVD and
+BluRay images based on length.
+  * Removed fabrication of disc structures from the library
+(moved to CDEmu daemon).
+  * MDS parser: cleanup of disc structure parsing, fixed the
+incorrectly set structure sizes.
+
+---

Old:

  libmirage-3.1.0.tar.bz2

New:

  libmirage-3.2.2.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.ThSnWp/_old  2019-07-11 13:18:57.690756653 +0200
+++ /var/tmp/diff_new_pack.ThSnWp/_new  2019-07-11 13:18:57.690756653 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# 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,19 +12,19 @@
 # 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/
 #
 
 
 Name:   libmirage
 %define lname   libmirage11
-%define pname  3_1
+%define pname  3_2
 Summary:A CD-ROM image access library
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Libraries/C and C++
-Version:3.1.0
+Version:3.2.2
 Release:0
-Url:http://cdemu.sf.net/about/libmirage/
+URL:http://cdemu.sf.net/about/libmirage/
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
 Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
@@ -44,9 +44,10 @@
 BuildRequires:  zlib-devel >= 1.2.4
 %else
 BuildRequires:  pkgconfig(bzip2) >= 1.0.0
-BuildRequires:  pkgconfig(glib-2.0) >= 2.28
-BuildRequires:  pkgconfig(gmodule-2.0) >= 2.28
-BuildRequires:  pkgconfig(gobject-2.0) >= 2.28
+BuildRequires:  pkgconfig(gio-2.0) >= 2.38
+BuildRequires:  pkgconfig(glib-2.0) >= 2.38
+BuildRequires:  pkgconfig(gmodule-2.0) >= 2.38
+BuildRequires:  pkgconfig(gobject-2.0) >= 2.38
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.30.0
 BuildRequires:  pkgconfig(gtk-doc) >= 1.4
 BuildRequires:  pkgconfig(liblzma) >= 5.0.0
@@ -178,7 +179,7 @@
 
 %files %pname
 %defattr(-,root,root)
-%_libdir/libmirage-3.1/
+%_libdir/libmirage-3*/
 
 %files data
 %defattr(-,root,root)
@@ -187,7 +188,7 @@
 
 %files devel
 %defattr(-,root,root)
-%_includedir/libmirage-3.1/
+%_includedir/libmirage-3*/
 %_libdir/libmirage.so
 %_libdir/pkgconfig/libmirage.pc
 %if 0%{?suse_version} > 1110

++ libmirage-3.1.0.tar.bz2 -> libmirage-3.2.2.tar.bz2 ++
 2657 lines of diff (skipped)




commit libmirage for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2017-08-24 18:48:35

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Thu Aug 24 18:48:35 2017 rev:17 rq:515209 version:3.1.0

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2017-04-24 
09:47:49.760056910 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2017-08-24 
18:48:36.449451473 +0200
@@ -1,0 +2,17 @@
+Mon Aug  7 13:30:23 UTC 2017 - jeng...@inai.de
+
+- Update to new upstream release 3.1.0
+  * Avoid using g_assert_nonnull() to keep compatibility with
+glib <= 2.40.
+  * Adjusted bundled MIME types to prevent false positives.
+  * Added infrastructure for localization support.
+  * Slovenian and Russian translations.
+  * Improved compile-time checks of arguments passed to debug
+message functions.
+  * Explicitly specify minimum required zlib version (1.2.4).
+  * Fixed acquisition of underlying streams in DMG ans ISZ filters.
+- Drop 01_g_assert_nonnull.diff,
+  libmirage-3.0.5-glib-2.28-workaround.patch
+  (integrated upstream)
+
+---

Old:

  01_g_assert_nonnull.diff
  libmirage-3.0.5-glib-2.28-workaround.patch
  libmirage-3.0.5.tar.bz2

New:

  libmirage-3.1.0.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.zR1oFJ/_old  2017-08-24 18:48:37.609288163 +0200
+++ /var/tmp/diff_new_pack.zR1oFJ/_new  2017-08-24 18:48:37.613287600 +0200
@@ -17,36 +17,32 @@
 
 
 Name:   libmirage
-%define lname   libmirage10
-%define pname  3_0
+%define lname   libmirage11
+%define pname  3_1
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:3.0.5
+Version:3.1.0
 Release:0
 Url:http://cdemu.sf.net/about/libmirage/
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
 Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
-# A patch taken from Cdemu PPA
-Patch1: 01_g_assert_nonnull.diff
-# SLES 11 is still supported
+BuildRequires:  cmake >= 2.8.5
+BuildRequires:  intltool >= 0.21
+BuildRequires:  pkg-config >= 0.16
 %if 0%{?sles_version} && 0%{?suse_version} == 1110
-Patch2: libmirage-3.0.5-glib-2.28-workaround.patch
+# SLES 11 is still supported
 # Dependencies list in an old style
-BuildRequires:  cmake >= 2.8.5
 BuildRequires:  glib2-devel >= 2.28
 BuildRequires:  gtk-doc >= 1.4
 BuildRequires:  libbz2-devel >= 1.0.0
 BuildRequires:  libsamplerate-devel >= 0.1.0
 BuildRequires:  libsndfile-devel >= 1.0.0
-BuildRequires:  pkg-config >= 0.16
 BuildRequires:  shared-mime-info
 BuildRequires:  xz-devel >= 5.0.0
-BuildRequires:  zlib-devel >= 1.2.0
+BuildRequires:  zlib-devel >= 1.2.4
 %else
-BuildRequires:  cmake >= 2.8.5
-BuildRequires:  pkg-config >= 0.16
 BuildRequires:  pkgconfig(bzip2) >= 1.0.0
 BuildRequires:  pkgconfig(glib-2.0) >= 2.28
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.28
@@ -57,8 +53,9 @@
 BuildRequires:  pkgconfig(samplerate) >= 0.1.0
 BuildRequires:  pkgconfig(shared-mime-info)
 BuildRequires:  pkgconfig(sndfile) >= 1.0.0
-BuildRequires:  pkgconfig(zlib) >= 1.2.0
+BuildRequires:  pkgconfig(zlib) >= 1.2.4
 %endif
+Recommends: %name-lang
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -68,6 +65,16 @@
 image formats by creating a representation of disc stored in image
 file.
 
+%package lang
+Summary:Translations for libmirage
+Group:  System/Localization
+Provides:   %name-lang-all = %version
+Supplements:packageand(bundle-lang-other:%lname)
+BuildArch:  noarch
+
+%description lang
+Provides translations for the "%name" package.
+
 %package -n %lname
 Summary:A CD-ROM image access library
 # Technically Suggests:, but pretty useless without
@@ -139,10 +146,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%if 0%{?sles_version} && 0%{?suse_version} == 1110
-%patch2 -p1
-%endif
 
 %build
 %cmake -DCMAKE_MODULE_LINKER_FLAGS=""
@@ -150,31 +153,32 @@
 
 %install
 %cmake_install
+%find_lang %name
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig
 
 %post data
 %if 0%{?sles_version} && 0%{?suse_version} == 1110
-/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+/usr/bin/update-mime-database %{_datadir}/mime >/dev/null || :
 %else
 %mime_database_post
 %endif
 
 %postun data
 %if 0%{?sles_version} && 0%{?suse_version} == 1110
-/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+/usr/bin/update-mime-database %{_datadir}/mime >/dev/null || :
 %else
 %mime_dat

commit libmirage for openSUSE:Factory

2017-04-24 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2017-04-24 09:47:49

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Mon Apr 24 09:47:49 2017 rev:16 rq:487460 version:3.0.5

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2017-02-09 
11:17:05.382566411 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2017-04-24 
09:47:49.760056910 +0200
@@ -1,0 +2,11 @@
+Sat Apr 06 08:39:43 UTC 2017 - zeni...@ya.ru
+
+- Fix SLES 11 build. We're also need Glib 2.28 instead of 2.22.5.
+  Most desktop and workstation users are turn on Packman
+  repository, so they're have Glib 2.28 installed from there.
+- Added 01_g_assert_nonnull.diff patch taken from Cdemu PPA.
+- Add libmirage-3.0.5-glib-2.28-workaround.patch
+- Add glib2-devel as a required for the -devel package. That fixes
+  some rpmbuild warning.
+
+---

New:

  01_g_assert_nonnull.diff
  libmirage-3.0.5-glib-2.28-workaround.patch



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.Jb9Z54/_old  2017-04-24 09:47:51.107866280 +0200
+++ /var/tmp/diff_new_pack.Jb9Z54/_new  2017-04-24 09:47:51.111865715 +0200
@@ -28,6 +28,23 @@
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
 Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
+# A patch taken from Cdemu PPA
+Patch1: 01_g_assert_nonnull.diff
+# SLES 11 is still supported
+%if 0%{?sles_version} && 0%{?suse_version} == 1110
+Patch2: libmirage-3.0.5-glib-2.28-workaround.patch
+# Dependencies list in an old style
+BuildRequires:  cmake >= 2.8.5
+BuildRequires:  glib2-devel >= 2.28
+BuildRequires:  gtk-doc >= 1.4
+BuildRequires:  libbz2-devel >= 1.0.0
+BuildRequires:  libsamplerate-devel >= 0.1.0
+BuildRequires:  libsndfile-devel >= 1.0.0
+BuildRequires:  pkg-config >= 0.16
+BuildRequires:  shared-mime-info
+BuildRequires:  xz-devel >= 5.0.0
+BuildRequires:  zlib-devel >= 1.2.0
+%else
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  pkg-config >= 0.16
 BuildRequires:  pkgconfig(bzip2) >= 1.0.0
@@ -41,6 +58,8 @@
 BuildRequires:  pkgconfig(shared-mime-info)
 BuildRequires:  pkgconfig(sndfile) >= 1.0.0
 BuildRequires:  pkgconfig(zlib) >= 1.2.0
+%endif
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 A CD-ROM image access library part of the cdemu suite.
@@ -80,6 +99,7 @@
 Summary:Development files for libmirage, a CD-ROM image access library
 Group:  Development/Libraries/C and C++
 Requires:   %lname = %version
+Requires:   glib2-devel
 
 %description devel
 A CD-ROM image access library part of the cdemu suite.
@@ -95,7 +115,9 @@
 Group:  Development/Libraries/C and C++
 Requires(post): shared-mime-info
 Requires(postun): shared-mime-info
+%if 0%{?suse_version} >= 1130
 BuildArch:  noarch
+%endif
 
 %description data
 libmirage provides uniform access to the data stored in different
@@ -105,7 +127,7 @@
 This package contains the MIME type definitions and documentation.
 
 %package -n typelib-1_0-libmirage-%pname
-Summary:The libmirage CD-ROM image access library – introspection 
bindings
+Summary:The libmirage CD-ROM image access library – introspection 
bindings
 Group:  System/Libraries
 
 %description -n typelib-1_0-libmirage-%pname
@@ -117,6 +139,10 @@
 
 %prep
 %setup -q
+%patch1 -p1
+%if 0%{?sles_version} && 0%{?suse_version} == 1110
+%patch2 -p1
+%endif
 
 %build
 %cmake -DCMAKE_MODULE_LINKER_FLAGS=""
@@ -129,10 +155,18 @@
 %postun -n %lname -p /sbin/ldconfig
 
 %post data
+%if 0%{?sles_version} && 0%{?suse_version} == 1110
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+%else
 %mime_database_post
+%endif
 
 %postun data
+%if 0%{?sles_version} && 0%{?suse_version} == 1110
+/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
+%else
 %mime_database_postun
+%endif
 
 %files -n %lname
 %defattr(-,root,root)
@@ -152,10 +186,12 @@
 %_includedir/libmirage-3.0/
 %_libdir/libmirage.so
 %_libdir/pkgconfig/libmirage.pc
+%if 0%{?suse_version} > 1110
 %_datadir/gir-1.0
 
 %files -n typelib-1_0-libmirage-%pname
 %defattr(-,root,root)
 %_libdir/girepository-1.0
+%endif
 
 %changelog

++ 01_g_assert_nonnull.diff ++
Index: libmirage-3.0.5/images/image-ccd/parser.c
===
--- libmirage-3.0.5.orig/images/image-ccd/parser.c  2016-10-19 
20:45:47.238020045 +0200
+++ libmirage-3.0.5/images/image-ccd/parser.c   2016-10-19 20:46:38.188531986 
+0200
@@ -927,7 +927,7 @@
 
 CCD_RegexRule *new_rule =

commit libmirage for openSUSE:Factory

2017-02-09 Thread root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2017-02-09 11:17:04

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2015-11-26 
17:03:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2017-02-09 
11:17:05.382566411 +0100
@@ -1,0 +2,10 @@
+Mon Feb  6 18:08:02 UTC 2017 - jeng...@inai.de
+
+- Update to new upstream release 3.0.5
+  * Removed a spurious stream reference increment when creating
+text streams.
+  * CUE parser: fixed the flags regex
+  * Text-based parsers: added an assert to verify that all regexes
+have compiled properly.
+
+---

Old:

  libmirage-3.0.4.tar.bz2

New:

  libmirage-3.0.5.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.fRQeij/_old  2017-02-09 11:17:05.774510942 +0100
+++ /var/tmp/diff_new_pack.fRQeij/_new  2017-02-09 11:17:05.778510376 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -22,7 +22,7 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:3.0.4
+Version:3.0.5
 Release:0
 Url:http://cdemu.sf.net/about/libmirage/
 
@@ -51,8 +51,8 @@
 
 %package -n %lname
 Summary:A CD-ROM image access library
-Group:  System/Libraries
 # Technically Suggests:, but pretty useless without
+Group:  System/Libraries
 Requires:   libmirage-%pname >= %version
 
 %description -n %lname

++ libmirage-3.0.4.tar.bz2 -> libmirage-3.0.5.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.4/AUTHORS new/libmirage-3.0.5/AUTHORS
--- old/libmirage-3.0.4/AUTHORS 2015-11-21 14:54:15.0 +0100
+++ new/libmirage-3.0.5/AUTHORS 2016-10-09 21:01:03.0 +0200
@@ -1,3 +1,3 @@
 Rok Mandeljc 
-Henrik Stokseth 
+Henrik Stokseth 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.4/CMakeLists.txt 
new/libmirage-3.0.5/CMakeLists.txt
--- old/libmirage-3.0.4/CMakeLists.txt  2015-11-21 14:54:15.0 +0100
+++ new/libmirage-3.0.5/CMakeLists.txt  2016-10-09 21:01:03.0 +0200
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 0)
-set (MIRAGE_VERSION_MICRO 4)
+set (MIRAGE_VERSION_MICRO 5)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.4/README new/libmirage-3.0.5/README
--- old/libmirage-3.0.4/README  2015-11-21 14:54:15.0 +0100
+++ new/libmirage-3.0.5/README  2016-10-09 21:01:03.0 +0200
@@ -1,5 +1,5 @@
 libMirage
-3.0.4
+3.0.5
 ~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.4/debian/changelog 
new/libmirage-3.0.5/debian/changelog
--- old/libmirage-3.0.4/debian/changelog2015-11-21 14:54:15.0 
+0100
+++ new/libmirage-3.0.5/debian/changelog2016-10-09 21:01:03.0 
+0200
@@ -1,7 +1,3 @@
-libmirage (3.0.4-1) debian; urgency=low
-  * Updated to 3.0.4
- -- Rok Mandeljc   Sat, 21 Nov 2015 12:00:00 +0100
-
-libmirage (3.0.3-1) debian; urgency=low
+libmirage (3.0.5-1) debian; urgency=low
   * Initial Release. Closes: #705409
- -- Henrik Stokseth   Sat, 05 Apr 2014 12:00:00 +0100
+ -- Henrik Stokseth   Sat, 05 Apr 2014 
12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.4/debian/control 
new/libmirage-3.0.5/debian/control
--- old/libmirage-3.0.4/debian/control  2015-11-21 14:54:15.0 +0100
+++ new/libmirage-3.0.5/debian/control  2016-10-09 21:01:03.0 +0200
@@ -2,17 +2,17 @@
 Section: libs
 Priority: optional
 Homepage: http://cdemu.sourceforge.net/
-Maintainer: Henrik Stokseth 
+Maintainer: Henrik Stokseth 
 Build-Depends: pkg-config (>= 0.14), libglib2.0-dev (>= 2.28), libsndfile1-dev,
  libsamplerate0-dev, zlib1g-dev, libbz2-dev, liblzma-dev, gtk-doc-tools,
  gobject-intro

commit libmirage for openSUSE:Factory

2015-11-26 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2015-11-26 17:03:59

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2015-07-25 
07:44:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2015-11-26 
17:03:59.0 +0100
@@ -1,0 +2,15 @@
+Mon Nov 23 20:34:07 UTC 2015 - sor.ale...@meowr.ru
+
+- Update to 3.0.4:
+  * CUE, CCD, TOC, XCDRoast parsers: Fix a crash due to invalid
+read attempts on uninitialised regex match info structure.
+  * MDS, MDX parser: Fix a memory leak.
+  * CIF parser: Fix signature matching.
+  * CIF parser: Improve pretty-print of some values.
+  * CIF parser: Fix track length calculation.
+  * CMake: Replace whitespaces in custom target names with "-"
+signs (silence CMP0037 warnings on CMake 3.2.2 and newer).
+- Add missing MIME compilation.
+- Use %cmake macro.
+
+---

Old:

  libmirage-3.0.3.tar.bz2

New:

  libmirage-3.0.4.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.ZhmgGL/_old  2015-11-26 17:04:00.0 +0100
+++ /var/tmp/diff_new_pack.ZhmgGL/_new  2015-11-26 17:04:00.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -22,14 +22,14 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:3.0.3
+Version:3.0.4
 Release:0
 Url:http://cdemu.sf.net/about/libmirage/
 
 #Git-Clone: git://git.code.sf.net/p/cdemu/code
 Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
 BuildRequires:  cmake >= 2.8.5
-BuildRequires:  pkgconfig >= 0.16
+BuildRequires:  pkg-config >= 0.16
 BuildRequires:  pkgconfig(bzip2) >= 1.0.0
 BuildRequires:  pkgconfig(glib-2.0) >= 2.28
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.28
@@ -38,6 +38,7 @@
 BuildRequires:  pkgconfig(gtk-doc) >= 1.4
 BuildRequires:  pkgconfig(liblzma) >= 5.0.0
 BuildRequires:  pkgconfig(samplerate) >= 0.1.0
+BuildRequires:  pkgconfig(shared-mime-info)
 BuildRequires:  pkgconfig(sndfile) >= 1.0.0
 BuildRequires:  pkgconfig(zlib) >= 1.2.0
 
@@ -104,7 +105,7 @@
 This package contains the MIME type definitions and documentation.
 
 %package -n typelib-1_0-libmirage-%pname
-Summary:The libmirage CD-ROM image access library - introspection 
bindings
+Summary:The libmirage CD-ROM image access library – introspection 
bindings
 Group:  System/Libraries
 
 %description -n typelib-1_0-libmirage-%pname
@@ -118,17 +119,21 @@
 %setup -q
 
 %build
-cmake . \
-   -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-   -DCMAKE_C_FLAGS:STRING="%optflags"
+%cmake -DCMAKE_MODULE_LINKER_FLAGS=""
 make %{?_smp_mflags}
 
 %install
-make install DESTDIR="%buildroot"
+%cmake_install
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig
 
+%post data
+%mime_database_post
+
+%postun data
+%mime_database_postun
+
 %files -n %lname
 %defattr(-,root,root)
 %_libdir/libmirage.so.10*

++ libmirage-3.0.3.tar.bz2 -> libmirage-3.0.4.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.3/CMakeLists.txt 
new/libmirage-3.0.4/CMakeLists.txt
--- old/libmirage-3.0.3/CMakeLists.txt  2014-11-09 19:01:10.0 +0100
+++ new/libmirage-3.0.4/CMakeLists.txt  2015-11-21 14:54:15.0 +0100
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 0)
-set (MIRAGE_VERSION_MICRO 3)
+set (MIRAGE_VERSION_MICRO 4)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.3/README new/libmirage-3.0.4/README
--- old/libmirage-3.0.3/README  2014-11-09 19:01:10.0 +0100
+++ new/libmirage-3.0.4/README  2015-11-21 14:54:15.0 +0100
@@ -1,5 +1,5 @@
 libMirage
-3.0.3
+3.0.4
 ~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.3/cmake/GObjectIntrospection.cmake 
new/libmirage-3.0.4/cmake/GObje

commit libmirage for openSUSE:Factory

2015-07-24 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2015-07-25 07:44:29

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2014-10-05 
20:31:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2015-07-25 
07:44:31.0 +0200
@@ -1,0 +2,7 @@
+Tue Nov 25 05:46:30 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 3.0.3
+* fixed an out-of-bounds array access when initializing CRC-32
+  table data in mirage_helper_init_crc32_lut()
+
+---

Old:

  libmirage-3.0.2.tar.bz2

New:

  libmirage-3.0.3.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.3KP1sd/_old  2015-07-25 07:44:31.0 +0200
+++ /var/tmp/diff_new_pack.3KP1sd/_new  2015-07-25 07:44:31.0 +0200
@@ -22,7 +22,7 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:3.0.2
+Version:3.0.3
 Release:0
 Url:http://cdemu.sf.net/about/libmirage/
 

++ libmirage-3.0.2.tar.bz2 -> libmirage-3.0.3.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.2/CMakeLists.txt 
new/libmirage-3.0.3/CMakeLists.txt
--- old/libmirage-3.0.2/CMakeLists.txt  2014-09-28 21:19:13.0 +0200
+++ new/libmirage-3.0.3/CMakeLists.txt  2014-11-09 19:01:10.0 +0100
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 0)
-set (MIRAGE_VERSION_MICRO 2)
+set (MIRAGE_VERSION_MICRO 3)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.2/README new/libmirage-3.0.3/README
--- old/libmirage-3.0.2/README  2014-09-28 21:19:13.0 +0200
+++ new/libmirage-3.0.3/README  2014-11-09 19:01:10.0 +0100
@@ -1,5 +1,5 @@
 libMirage
-3.0.2
+3.0.3
 ~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.2/debian/changelog 
new/libmirage-3.0.3/debian/changelog
--- old/libmirage-3.0.2/debian/changelog2014-09-28 21:19:13.0 
+0200
+++ new/libmirage-3.0.3/debian/changelog2014-11-09 19:01:10.0 
+0100
@@ -1,3 +1,3 @@
-libmirage (3.0.2-1) debian; urgency=low
+libmirage (3.0.3-1) debian; urgency=low
   * Initial Release. Closes: #705409
  -- Henrik Stokseth   Sat, 05 Apr 2014 12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.2/mirage/utils.c 
new/libmirage-3.0.3/mirage/utils.c
--- old/libmirage-3.0.2/mirage/utils.c  2014-09-28 21:19:13.0 +0200
+++ new/libmirage-3.0.3/mirage/utils.c  2014-11-09 19:01:10.0 +0100
@@ -628,7 +628,7 @@
 
 /* Generate look-up tables for slice-by-4 (and slice-by-8) */
 if (slices >= 4) {
-for (guint i = 0; i <= 256; i++) {
+for (guint i = 0; i < 256; i++) {
 CRC32_LUT(1, i) = (CRC32_LUT(0, i) >> 8) ^ CRC32_LUT(0, 
CRC32_LUT(0, i) & 0xFF);
 CRC32_LUT(2, i) = (CRC32_LUT(1, i) >> 8) ^ CRC32_LUT(0, 
CRC32_LUT(1, i) & 0xFF);
 CRC32_LUT(3, i) = (CRC32_LUT(2, i) >> 8) ^ CRC32_LUT(0, 
CRC32_LUT(2, i) & 0xFF);
@@ -637,7 +637,7 @@
 
 /* Generate look-up tables for slice-by-8 */
 if (slices >= 8) {
-for (guint i = 0; i <= 256; i++) {
+for (guint i = 0; i < 256; i++) {
 CRC32_LUT(4, i) = (CRC32_LUT(3, i) >> 8) ^ CRC32_LUT(0, 
CRC32_LUT(3, i) & 0xFF);
 CRC32_LUT(5, i) = (CRC32_LUT(4, i) >> 8) ^ CRC32_LUT(0, 
CRC32_LUT(4, i) & 0xFF);
 CRC32_LUT(6, i) = (CRC32_LUT(5, i) >> 8) ^ CRC32_LUT(0, 
CRC32_LUT(5, i) & 0xFF);




commit libmirage for openSUSE:Factory

2014-10-05 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2014-10-05 20:31:07

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2014-09-15 
18:24:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2014-10-05 
20:31:52.0 +0200
@@ -1,0 +2,9 @@
+Thu Oct  2 13:29:26 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 3.0.2
+* TOC writer: fixed object (session, track, fragment) leak.
+  Fixes problems with no data being written to files in cases when
+  a virtual image is written, its target files removed and then
+  burned again.
+
+---

Old:

  libmirage-3.0.1.tar.bz2

New:

  libmirage-3.0.2.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.TME3W5/_old  2014-10-05 20:31:53.0 +0200
+++ /var/tmp/diff_new_pack.TME3W5/_new  2014-10-05 20:31:53.0 +0200
@@ -22,7 +22,7 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:3.0.1
+Version:3.0.2
 Release:0
 Url:http://cdemu.sf.net/about/libmirage/
 

++ libmirage-3.0.1.tar.bz2 -> libmirage-3.0.2.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/CMakeLists.txt 
new/libmirage-3.0.2/CMakeLists.txt
--- old/libmirage-3.0.1/CMakeLists.txt  2014-07-25 22:15:44.0 +0200
+++ new/libmirage-3.0.2/CMakeLists.txt  2014-09-28 21:19:13.0 +0200
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 0)
-set (MIRAGE_VERSION_MICRO 1)
+set (MIRAGE_VERSION_MICRO 2)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/README new/libmirage-3.0.2/README
--- old/libmirage-3.0.1/README  2014-07-25 22:15:44.0 +0200
+++ new/libmirage-3.0.2/README  2014-09-28 21:19:13.0 +0200
@@ -1,5 +1,5 @@
 libMirage
-3.0.1
+3.0.2
 ~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/debian/changelog 
new/libmirage-3.0.2/debian/changelog
--- old/libmirage-3.0.1/debian/changelog2014-07-25 22:15:44.0 
+0200
+++ new/libmirage-3.0.2/debian/changelog2014-09-28 21:19:13.0 
+0200
@@ -1,3 +1,3 @@
-libmirage (3.0.0-1) debian; urgency=low
+libmirage (3.0.2-1) debian; urgency=low
   * Initial Release. Closes: #705409
  -- Henrik Stokseth   Sat, 05 Apr 2014 12:00:00 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.1/images/image-toc/writer.c 
new/libmirage-3.0.2/images/image-toc/writer.c
--- old/libmirage-3.0.1/images/image-toc/writer.c   2014-07-25 
22:15:44.0 +0200
+++ new/libmirage-3.0.2/images/image-toc/writer.c   2014-09-28 
21:19:13.0 +0200
@@ -335,6 +335,7 @@
 /* TOC does not list first track's pregap. Unless it
is greater than standard 150? But the first fragment
(j == 0) always model the standard pregap */
+g_object_unref(fragment);
 continue;
 }
 
@@ -354,6 +355,7 @@
 /* First track is a special case, since TOC does not list
its standard 150-sector pregap */
 if (track_start <= 150) {
+g_object_unref(track);
 continue;
 } else {
 track_start -= 150;
@@ -399,21 +401,22 @@
 
 /* Open stream on TOC file */
 MirageStream *toc_stream = 
mirage_contextual_create_output_stream(MIRAGE_CONTEXTUAL(self), filename, NULL, 
error);
-if (!toc_stream) {
-succeeded = FALSE;
-break;
-}
-
-/* Generate TOC file contents */
-GString *toc_contents = mirage_writer_toc_create_toc_file(self, 
session);
+if (toc_stream) {
+/* Generate TOC file contents */
+GString *toc_contents = mirage_writer_toc_create_toc_file(self, 
session);
+
+/* Write */
+if (mirage_stream_write(toc_stream, toc_contents->str, 
toc_contents->len, error) != (toc_contents->len)) {
+suc

commit libmirage for openSUSE:Factory

2014-09-15 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2014-09-15 17:41:12

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2014-07-17 
06:58:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2014-09-15 
18:24:45.0 +0200
@@ -1,0 +2,6 @@
+Sat Sep  6 13:26:49 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 3.0.1
+* added missing installation rules for GBI and XMD MIME types
+
+---

Old:

  libmirage-3.0.0.tar.bz2

New:

  libmirage-3.0.1.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.aZXuxp/_old  2014-09-15 18:24:46.0 +0200
+++ /var/tmp/diff_new_pack.aZXuxp/_new  2014-09-15 18:24:46.0 +0200
@@ -22,7 +22,7 @@
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:3.0.0
+Version:3.0.1
 Release:0
 Url:http://cdemu.sf.net/about/libmirage/
 

++ libmirage-3.0.0.tar.bz2 -> libmirage-3.0.1.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.0/CMakeLists.txt 
new/libmirage-3.0.1/CMakeLists.txt
--- old/libmirage-3.0.0/CMakeLists.txt  2014-06-29 15:25:04.0 +0200
+++ new/libmirage-3.0.1/CMakeLists.txt  2014-07-25 22:15:44.0 +0200
@@ -6,7 +6,7 @@
 # Release versioning:
 set (MIRAGE_VERSION_MAJOR 3)
 set (MIRAGE_VERSION_MINOR 0)
-set (MIRAGE_VERSION_MICRO 0)
+set (MIRAGE_VERSION_MICRO 1)
 set (MIRAGE_VERSION_LONG 
${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR}.${MIRAGE_VERSION_MICRO})
 set (MIRAGE_VERSION_SHORT ${MIRAGE_VERSION_MAJOR}.${MIRAGE_VERSION_MINOR})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.0/README new/libmirage-3.0.1/README
--- old/libmirage-3.0.0/README  2014-06-29 15:25:04.0 +0200
+++ new/libmirage-3.0.1/README  2014-07-25 22:15:44.0 +0200
@@ -1,5 +1,5 @@
 libMirage
-3.0.0
+3.0.1
 ~
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.0/filters/filter-daa/CMakeLists.txt 
new/libmirage-3.0.1/filters/filter-daa/CMakeLists.txt
--- old/libmirage-3.0.0/filters/filter-daa/CMakeLists.txt   2014-06-29 
15:25:04.0 +0200
+++ new/libmirage-3.0.1/filters/filter-daa/CMakeLists.txt   2014-07-25 
22:15:44.0 +0200
@@ -35,6 +35,7 @@
 
 # Install MIME type
 install(FILES "libmirage-${filter_short}.xml" DESTINATION 
${CMAKE_INSTALL_DATADIR}/mime/packages)
+install(FILES "libmirage-gbi.xml" DESTINATION 
${CMAKE_INSTALL_DATADIR}/mime/packages)
 if (POST_INSTALL_HOOKS)
 install(CODE "execute_process (COMMAND 
${UPDATE_MIME_DATABASE_EXECUTABLE} ${CMAKE_INSTALL_FULL_DATADIR}/mime)")
 endif ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libmirage-3.0.0/images/image-mds/CMakeLists.txt 
new/libmirage-3.0.1/images/image-mds/CMakeLists.txt
--- old/libmirage-3.0.0/images/image-mds/CMakeLists.txt 2014-06-29 
15:25:04.0 +0200
+++ new/libmirage-3.0.1/images/image-mds/CMakeLists.txt 2014-07-25 
22:15:44.0 +0200
@@ -19,6 +19,7 @@
 
 # Install MIME type
 install(FILES "libmirage-${image_short}.xml" DESTINATION 
${CMAKE_INSTALL_DATADIR}/mime/packages)
+install(FILES "libmirage-xmd.xml" DESTINATION 
${CMAKE_INSTALL_DATADIR}/mime/packages)
 if (POST_INSTALL_HOOKS)
 install(CODE "execute_process (COMMAND 
${UPDATE_MIME_DATABASE_EXECUTABLE} ${CMAKE_INSTALL_FULL_DATADIR}/mime)")
 endif ()

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libmirage for openSUSE:Factory

2014-07-16 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2014-07-17 06:58:20

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2013-12-02 
07:22:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2014-07-17 
06:58:31.0 +0200
@@ -1,0 +2,10 @@
+Sun Jul 13 08:48:46 UTC 2014 - sor.ale...@meowr.ru
+
+- Update to new upstream release 3.0.0
+* The file access and filter stream layer in libMirage were
+  revised to allow implementation of filters for both reading and
+  writing, and an infrastructure for implementing image writers
+  was added, along with reference implementations for ISO and TOC
+  writers.
+
+---

Old:

  libmirage-2.1.1.tar.xz

New:

  libmirage-3.0.0.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.TakZeZ/_old  2014-07-17 06:58:31.0 +0200
+++ /var/tmp/diff_new_pack.TakZeZ/_new  2014-07-17 06:58:31.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,22 +17,20 @@
 
 
 Name:   libmirage
-%define lname  libmirage9
-%define pname  2_1
+%define lname   libmirage10
+%define pname  3_0
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:2.1.1
+Version:3.0.0
 Release:0
-Url:http://cdemu.sf.net/
+Url:http://cdemu.sf.net/about/libmirage/
 
-#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
 #Git-Clone:git://git.code.sf.net/p/cdemu/code
-#DL-URL:   http://downloads.sf.net/cdemu/%name-%version.tar.bz2
-Source: %name-%version.tar.xz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  pkgconfig >= 0.16
+BuildRequires:  pkgconfig(bzip2) >= 1.0.0
 BuildRequires:  pkgconfig(glib-2.0) >= 2.28
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.28
 BuildRequires:  pkgconfig(gobject-2.0) >= 2.28
@@ -42,12 +40,6 @@
 BuildRequires:  pkgconfig(samplerate) >= 0.1.0
 BuildRequires:  pkgconfig(sndfile) >= 1.0.0
 BuildRequires:  pkgconfig(zlib) >= 1.2.0
-%if 0%{?fedora_version}
-BuildRequires:  bzip2-devel >= 1.0.0
-%else
-BuildRequires:  pkgconfig(bzip2) >= 1.0.0
-%endif
-BuildRequires:  xz
 
 %description
 A CD-ROM image access library part of the cdemu suite.
@@ -72,11 +64,7 @@
 %package %pname
 Summary:CD-ROM image format plugins for libmirage
 Group:  System/Libraries
-%if 0%{?suse_version}
 Recommends: libmirage-data
-%else
-Requires:   libmirage-data
-%endif
 
 %description %pname
 A CD-ROM image access library part of the cdemu suite.
@@ -106,9 +94,7 @@
 Group:  Development/Libraries/C and C++
 Requires(post):shared-mime-info
 Requires(postun):  shared-mime-info
-%if 0%{?suse_version} >= 1140
 BuildArch:  noarch
-%endif
 
 %description data
 libmirage provides uniform access to the data stored in different
@@ -132,35 +118,24 @@
 %setup -q
 
 %build
-# gir is busted on 12.1
 cmake . \
-%if 0%{?suse_version} == 1210
-   -DINTROSPECTION_ENABLED=0 \
-%endif
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-   -DCMAKE_C_FLAGS:STRING="%optflags";
-make %{?_smp_mflags};
+   -DCMAKE_C_FLAGS:STRING="%optflags"
+make %{?_smp_mflags}
 
 %install
-b="%buildroot";
-make install DESTDIR="$b";
+make install DESTDIR="%buildroot"
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig
 
-%post data
-update-mime-database %{_datadir}/mime || :;
-
-%postun data 
-update-mime-database %{_datadir}/mime || :;
-
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libmirage.so.9*
+%_libdir/libmirage.so.10*
 
 %files %pname
 %defattr(-,root,root)
-%_libdir/libmirage-2.1/
+%_libdir/libmirage-3.0/
 
 %files data
 %defattr(-,root,root)
@@ -169,17 +144,13 @@
 
 %files devel
 %defattr(-,root,root)
-%_includedir/libmirage/
+%_includedir/libmirage-3.0/
 %_libdir/libmirage.so
 %_libdir/pkgconfig/libmirage.pc
-%if 0%{?suse_version} != 1210
 %_datadir/gir-1.0
-%endif
 
-%if 0%{?suse_version} != 1210
 %files -n typelib-1_0-libmirage-%pname
 %defattr(-,root,root)
 %_libdir/girepository-1.0
-

commit libmirage for openSUSE:Factory

2013-12-01 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2013-12-02 07:22:43

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2013-06-11 
09:33:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2013-12-02 
07:22:45.0 +0100
@@ -1,0 +2,9 @@
+Sun Nov 24 11:18:45 UTC 2013 - jeng...@inai.de
+
+- Update to new upstream release 2.1.1
+* sector's EDC is now computed using fast slice-by-8 CRC32 algorithm
+* added function for ISRC validation to be used by image parsers
+- Remove 0001-libMirage-proper-versioning-of-the-introspection-typ.patch
+  (merged upstream)
+
+---

Old:

  0001-libMirage-proper-versioning-of-the-introspection-typ.patch
  libmirage-2.1.0.tar.bz2

New:

  libmirage-2.1.1.tar.xz



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.Q1mk2C/_old  2013-12-02 07:22:46.0 +0100
+++ /var/tmp/diff_new_pack.Q1mk2C/_new  2013-12-02 07:22:46.0 +0100
@@ -17,20 +17,19 @@
 
 
 Name:   libmirage
-%define lname  libmirage8
+%define lname  libmirage9
 %define pname  2_1
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:2.1.0
+Version:2.1.1
 Release:0
 Url:http://cdemu.sf.net/
 
 #Freecode-URL: https://freecode.com/projects/cdemu-for-linux
 #Git-Clone:git://git.code.sf.net/p/cdemu/code
 #DL-URL:   http://downloads.sf.net/cdemu/%name-%version.tar.bz2
-Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
-Patch1: 0001-libMirage-proper-versioning-of-the-introspection-typ.patch
+Source: %name-%version.tar.xz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  pkgconfig >= 0.16
@@ -48,6 +47,7 @@
 %else
 BuildRequires:  pkgconfig(bzip2) >= 1.0.0
 %endif
+BuildRequires:  xz
 
 %description
 A CD-ROM image access library part of the cdemu suite.
@@ -130,7 +130,6 @@
 
 %prep
 %setup -q
-%patch -P 1 -p2
 
 %build
 # gir is busted on 12.1
@@ -157,7 +156,7 @@
 
 %files -n %lname
 %defattr(-,root,root)
-%_libdir/libmirage.so.8*
+%_libdir/libmirage.so.9*
 
 %files %pname
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libmirage for openSUSE:Factory

2013-06-11 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2013-06-11 06:35:03

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage"

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2013-03-26 
15:56:56.0 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2013-06-11 
09:33:46.0 +0200
@@ -1,0 +2,15 @@
+Sun Jun  9 13:54:54 UTC 2013 - jeng...@inai.de
+
+- Update to new upstream release 2.1.0
+* This release adds a MacBinary/NDIF file filter, a new resource
+  fork parser for DMG, samplerate conversion for the SndFile filter,
+  non-blocking I/O, and dynamic device addition/removal.
+- Remove patches (merged upstream):
+  0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch,
+  0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch,
+  0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch,
+  0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
+- Add (cherry-picked fixes):
+  0001-libMirage-proper-versioning-of-the-introspection-typ.patch
+
+---

Old:

  0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
  0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch
  0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch
  0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
  libmirage-2.0.0.tar.xz

New:

  0001-libMirage-proper-versioning-of-the-introspection-typ.patch
  libmirage-2.1.0.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.aUnZv7/_old  2013-06-11 09:33:47.0 +0200
+++ /var/tmp/diff_new_pack.aUnZv7/_new  2013-06-11 09:33:47.0 +0200
@@ -17,33 +17,30 @@
 
 
 Name:   libmirage
-%define lname  libmirage7
-%define pname  2_0
+%define lname  libmirage8
+%define pname  2_1
 Summary:A CD-ROM image access library
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
-Version:2.0.0
+Version:2.1.0
 Release:0
 Url:http://cdemu.sf.net/
 
 #Freecode-URL: https://freecode.com/projects/cdemu-for-linux
 #Git-Clone:git://git.code.sf.net/p/cdemu/code
 #DL-URL:   http://downloads.sf.net/cdemu/%name-%version.tar.bz2
-Source: %name-%version.tar.xz
-Patch1: 0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
-Patch2: 0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch
-Patch3: 0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch
-Patch4: 0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
+Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
+Patch1: 0001-libMirage-proper-versioning-of-the-introspection-typ.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  pkgconfig >= 0.16
-BuildRequires:  xz
 BuildRequires:  pkgconfig(glib-2.0) >= 2.28
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.28
 BuildRequires:  pkgconfig(gobject-2.0) >= 2.28
 BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.30.0
 BuildRequires:  pkgconfig(gtk-doc) >= 1.4
 BuildRequires:  pkgconfig(liblzma) >= 5.0.0
+BuildRequires:  pkgconfig(samplerate) >= 0.1.0
 BuildRequires:  pkgconfig(sndfile) >= 1.0.0
 BuildRequires:  pkgconfig(zlib) >= 1.2.0
 %if 0%{?fedora_version}
@@ -63,7 +60,7 @@
 Summary:A CD-ROM image access library
 Group:  System/Libraries
 # Technically Suggests:, but pretty useless without
-Requires:   libmirage-2_0 >= 2.0
+Requires:   libmirage-%pname >= %version
 
 %description -n %lname
 A CD-ROM image access library part of the cdemu suite.
@@ -72,7 +69,7 @@
 image formats by creating a representation of disc stored in image
 file.
 
-%package 2_0
+%package %pname
 Summary:CD-ROM image format plugins for libmirage
 Group:  System/Libraries
 %if 0%{?suse_version}
@@ -81,7 +78,7 @@
 Requires:   libmirage-data
 %endif
 
-%description 2_0
+%description %pname
 A CD-ROM image access library part of the cdemu suite.
 
 libmirage provides uniform access to the data stored in different
@@ -120,11 +117,11 @@
 
 This package contains the MIME type definitions and documentation.
 
-%package -n typelib-1_0-libmirage-2_0
+%package -n typelib-1_0-libmirage-%pname
 Summary:The libmirage CD-ROM image access library - introspection 
bindings
 Group:  System/Libraries
 
-%description -n typelib-1_0-libmirage-2_0
+%description -n typelib-1_0-libmirage-%pname
 libmirage provides uniform access to the data stored in differen

commit libmirage for openSUSE:Factory

2013-03-26 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2013-03-26 15:56:55

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2013-03-11 
12:06:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2013-03-26 
15:56:56.0 +0100
@@ -1,0 +2,7 @@
+Tue Mar 12 09:30:09 UTC 2013 - jeng...@inai.de
+
+- Add 0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
+  to resolve excess CPU usage during CDDA readout
+  (bnc#809181, bnc#809862)
+
+---
@@ -6,0 +14 @@
+  (bugurl: http://sf.net/p/cdemu/feature-requests/21/)

Old:

  libmirage-2.0.0.tar.bz2

New:

  0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
  libmirage-2.0.0.tar.xz



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.gbAOXj/_old  2013-03-26 15:56:57.0 +0100
+++ /var/tmp/diff_new_pack.gbAOXj/_new  2013-03-26 15:56:57.0 +0100
@@ -28,10 +28,12 @@
 
 #Freecode-URL: https://freecode.com/projects/cdemu-for-linux
 #Git-Clone:git://git.code.sf.net/p/cdemu/code
-Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
+#DL-URL:   http://downloads.sf.net/cdemu/%name-%version.tar.bz2
+Source: %name-%version.tar.xz
 Patch1: 0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
 Patch2: 0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch
 Patch3: 0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch
+Patch4: 0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake >= 2.8.5
 BuildRequires:  pkgconfig >= 0.16
@@ -131,7 +133,7 @@
 
 %prep
 %setup -Tcqa0
-%patch -P 1 -P 2 -P 3 -p2
+%patch -P 1 -P 2 -P 3 -P 4 -p2
 
 %build
 # gir is busted on 12.1

++ 0001-libMirage-SNDFILE-filter-instead-of-a-single-frame-c.patch ++
>From 79e017c9e196a1e4f0be649d265be8060257bee4 Mon Sep 17 00:00:00 2001
From: Rok Mandeljc 
Date: Thu, 7 Mar 2013 23:13:23 +0100
Subject: [PATCH] libMirage: SNDFILE filter: instead of a single frame, cache
 blocks of 588 frames, which is equivalent of one CD-ROM
 audio sector. This way, caching is much more efficient, and
 consequently reduces CPU load. Fix for bug #60.

Edit by Jan Engelhardt 
Increase buffer size even more (see bug #60);
to 2 seconds, to resolve more dropouts.

---
 .../filter-sndfile/filter-sndfile-file-filter.c|   43 +++-
 1 file changed, 23 insertions(+), 20 deletions(-)

diff --git a/libmirage/src/filters/filter-sndfile/filter-sndfile-file-filter.c 
b/libmirage/src/filters/filter-sndfile/filter-sndfile-file-filter.c
index a92f7ae..78c465f 100644
--- a/libmirage/src/filters/filter-sndfile/filter-sndfile-file-filter.c
+++ b/libmirage/src/filters/filter-sndfile/filter-sndfile-file-filter.c
@@ -21,6 +21,9 @@
 
 #define __debug__ "SNDFILE-FileFilter"
 
+/* Number of frames to cache */
+#define NUM_FRAMES 588*75*2
+
 
 /**\
  *  Private structure *
@@ -35,7 +38,7 @@ struct _MirageFileFilterSndfilePrivate
 gint buflen;
 guint8 *buffer;
 
-gint cached_frame;
+gint cached_block;
 };
 
 
@@ -143,7 +146,7 @@ static gboolean 
mirage_file_filter_sndfile_can_handle_data_format (MirageFileFil
 mirage_file_filter_set_file_size(MIRAGE_FILE_FILTER(self), length);
 
 /* Allocate read buffer; we wish to hold a single (multichannel) frame */
-self->priv->buflen = self->priv->format.channels * sizeof(guint16);
+self->priv->buflen = self->priv->format.channels * sizeof(guint16) * 
NUM_FRAMES;
 MIRAGE_DEBUG(self, MIRAGE_DEBUG_PARSER, "%s: buffer length: %d bytes\n", 
__debug__, self->priv->buflen);
 self->priv->buffer = g_try_malloc(self->priv->buflen);
 if (!self->priv->buffer) {
@@ -158,42 +161,42 @@ static gssize mirage_file_filter_sndfile_partial_read 
(MirageFileFilter *_self,
 {
 MirageFileFilterSndfile *self = MIRAGE_FILE_FILTER_SNDFILE(_self);
 goffset position = 
mirage_file_filter_get_position(MIRAGE_FILE_FILTER(self));
-gint frame;
+gint block;
 
-/* Find the frame corresponding to current position */
-frame = position / self->priv->buflen;
-MIRAGE_DEBUG(self, MIRAGE_DEBUG_FILE_IO, "%s: stream position: %ld (0x%lX) 
-> frame #%d (cached: #%d)\n", __debug__, position, position, frame, 
self->priv->cached_frame);
+/* Find th

commit libmirage for openSUSE:Factory

2013-03-11 Thread h_root
Hello community,

here is the log from the commit of package libmirage for openSUSE:Factory 
checked in at 2013-03-11 12:06:00

Comparing /work/SRC/openSUSE:Factory/libmirage (Old)
 and  /work/SRC/openSUSE:Factory/.libmirage.new (New)


Package is "libmirage", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/libmirage/libmirage.changes  2012-05-23 
08:52:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmirage.new/libmirage.changes 2013-03-11 
12:06:01.0 +0100
@@ -1,0 +2,29 @@
+Sun Feb 24 20:08:18 UTC 2013 - jeng...@inai.de
+
+- Add 0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch
+  0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch
+  to make images created by readcd(1) usable again
+
+---
+Sat Jan  5 21:47:42 UTC 2013 - jeng...@inai.de
+
+- Add 0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
+
+---
+Sat Dec 22 08:23:15 UTC 2012 - jeng...@inai.de
+
+- Update to new upstream release 2.0.0 (up from 1.5.0)
+* Added ISZ, CSO and DMG file filters
+* Converted DAA parser to a file filter and added support for the
+  related GBI format
+* Converted audio fragment to a file filter
+* Added file filter machinery and converted existing code to use it
+* Image analyzer displays disc structures
+* Added support for gobject introspection
+* Added support for GZIP and XZ compressed images
+* Added support for ECM'ed files
+* Improved CIF parser
+* Partial support for (one track) MDX images
+* Improved GVFS support
+
+---

Old:

  libmirage-1.5.0.tar.bz2

New:

  0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
  0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch
  0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch
  libmirage-2.0.0.tar.bz2



Other differences:
--
++ libmirage.spec ++
--- /var/tmp/diff_new_pack.00ZB2u/_old  2013-03-11 12:06:02.0 +0100
+++ /var/tmp/diff_new_pack.00ZB2u/_new  2013-03-11 12:06:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libmirage
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -14,20 +14,41 @@
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
+
+
 Name:   libmirage
-%define lname  libmirage6
-%define pname  1_5
+%define lname  libmirage7
+%define pname  2_0
 Summary:A CD-ROM image access library
-Version:1.5.0
-Release:0
-URL:   http://cdemu.sf.net/
 License:GPL-2.0+
 Group:  Development/Libraries/C and C++
+Version:2.0.0
+Release:0
+Url:http://cdemu.sf.net/
 
+#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
+#Git-Clone:git://git.code.sf.net/p/cdemu/code
 Source:http://downloads.sf.net/cdemu/%name-%version.tar.bz2
+Patch1: 0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
+Patch2: 0001-libMirage-READCD-Parser-when-verifying-the-file-don-.patch
+Patch3: 0001-libMirage-READCD-Parser-readcd-from-cdrtools-appears.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-#BuildRequires:autoconf >= 2.59, automake
-BuildRequires: gtk-doc >= 1.4 libtool pkgconfig(glib-2.0) >= 2.6 
pkgconfig(gobject-2.0) >= 2.6 pkgconfig(gmodule-2.0) >= 2.6 pkgconfig(sndfile) 
>= 1.0.0 xz pkgconfig(zlib) pkgconfig >= 0.21
+BuildRequires:  cmake >= 2.8.5
+BuildRequires:  pkgconfig >= 0.16
+BuildRequires:  xz
+BuildRequires:  pkgconfig(glib-2.0) >= 2.28
+BuildRequires:  pkgconfig(gmodule-2.0) >= 2.28
+BuildRequires:  pkgconfig(gobject-2.0) >= 2.28
+BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.30.0
+BuildRequires:  pkgconfig(gtk-doc) >= 1.4
+BuildRequires:  pkgconfig(liblzma) >= 5.0.0
+BuildRequires:  pkgconfig(sndfile) >= 1.0.0
+BuildRequires:  pkgconfig(zlib) >= 1.2.0
+%if 0%{?fedora_version}
+BuildRequires:  bzip2-devel >= 1.0.0
+%else
+BuildRequires:  pkgconfig(bzip2) >= 1.0.0
+%endif
 
 %description
 A CD-ROM image access library part of the cdemu suite.
@@ -36,25 +57,29 @@
 image formats by creating a representation of disc stored in image
 file.
 
-%package -n libmirage6
+%package -n %lname
 Summary:A CD-ROM image access library
 Group:  System/Libraries
 # Technically Suggests:, but pretty useless without
-Requires:  libmirage-1_5 >= 1.5
+Requires:   libmirage-2_0 >