- update to 3.2.8:

* crash fix in cue filter

OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=72
This commit is contained in:
Dirk Mueller 2024-08-18 13:00:58 +00:00 committed by Git OBS Bridge
commit 9eed332381
6 changed files with 456 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
libmirage-3.2.7.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa892480d7954bcca8292ad00f2e08b7b3e23e54d288eb14a05c50d454bdb3d3
size 229564

BIN
libmirage-3.2.8.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

236
libmirage.changes Normal file
View File

@ -0,0 +1,236 @@
-------------------------------------------------------------------
Sun Aug 18 13:00:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.2.8:
* crash fix in cue filter
-------------------------------------------------------------------
Thu Dec 28 17:03:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.2.7:
* SNDFILE filter: ignore .BIN files
* SNDFILE filter: fix signalling of read errors
-------------------------------------------------------------------
Sat Feb 5 12:46:06 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 3.2.6
* Improve error messages during plugin loading
* Remove two-character patterns from apple disk image MIME
-------------------------------------------------------------------
Tue Apr 20 03:24:48 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 3.2.5
* Added Vala bindings
* Display a warning when ISRC validation fails
* Fix crash caused by buffer overrun
- Fixed broken URL
- Dropped upstream fixed
0001-libMirage-utils.h-added-missing-extern-specifiers.patch
- Dropped upstream fixed CVE-2019-15757.patch
(fixed since 3.2.3, commit bf3f346)
-------------------------------------------------------------------
Sun Jun 7 00:01:27 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Add 0001-libMirage-utils.h-added-missing-extern-specifiers.patch .
-------------------------------------------------------------------
Fri May 1 13:48:45 UTC 2020 - Aaron Stern <ukbeast89@protonmail.com>
- Update to release 3.2.4
* Remove old unused code.
-------------------------------------------------------------------
Thu Dec 19 22:37:39 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- 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)
-------------------------------------------------------------------
Tue Sep 3 09:53:55 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Add CVE-2019-15757.patch [boo#1148728]
-------------------------------------------------------------------
Mon Aug 26 08:28:33 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- 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]
-------------------------------------------------------------------
Mon Jul 1 13:34:01 UTC 2019 - Aaron Stern <ukbeast89@ptotonmail.com>
- 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.
-------------------------------------------------------------------
Mon Aug 7 13:30:23 UTC 2017 - jengelh@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)
-------------------------------------------------------------------
Sat Apr 06 08:39:43 UTC 2017 - zenitur@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.
-------------------------------------------------------------------
Mon Feb 6 18:08:02 UTC 2017 - jengelh@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.
-------------------------------------------------------------------
Mon Nov 23 20:34:07 UTC 2015 - sor.alexei@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.
-------------------------------------------------------------------
Tue Nov 25 05:46:30 UTC 2014 - jengelh@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()
-------------------------------------------------------------------
Thu Oct 2 13:29:26 UTC 2014 - jengelh@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.
-------------------------------------------------------------------
Sat Sep 6 13:26:49 UTC 2014 - jengelh@inai.de
- Update to new upstream release 3.0.1
* added missing installation rules for GBI and XMD MIME types
-------------------------------------------------------------------
Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@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.
-------------------------------------------------------------------
Sun Nov 24 11:18:45 UTC 2013 - jengelh@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)
-------------------------------------------------------------------
Sun Jun 9 13:54:54 UTC 2013 - jengelh@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
-------------------------------------------------------------------
Tue Mar 12 09:30:09 UTC 2013 - jengelh@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)
-------------------------------------------------------------------
Sun Feb 24 20:08:18 UTC 2013 - jengelh@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
(bugurl: http://sf.net/p/cdemu/feature-requests/21/)
-------------------------------------------------------------------
Sat Jan 5 21:47:42 UTC 2013 - jengelh@inai.de
- Add 0001-libMirage-CMake-fix-SOVERSION-which-should-be-set-to.patch
-------------------------------------------------------------------
Sat Dec 22 08:23:15 UTC 2012 - jengelh@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
-------------------------------------------------------------------
Mon May 21 17:33:17 UTC 2012 - jengelh@inai.de
- Initial package for build.opensuse.org

190
libmirage.spec Normal file
View File

@ -0,0 +1,190 @@
#
# spec file for package libmirage
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libmirage
%define lname libmirage11
%define pname 3_2
Summary: A CD-ROM image access library
License: GPL-2.0-or-later
Group: Development/Libraries/C and C++
Version: 3.2.8
Release: 0
URL: https://cdemu.sourceforge.io/about/libmirage/
#Git-Clone: https://github.com/cdemu/cdemu.git
Source: http://downloads.sourceforge.net/cdemu/%name-%version.tar.xz
BuildRequires: cmake >= 3.7
BuildRequires: intltool >= 0.21
BuildRequires: pkg-config >= 0.16
BuildRequires: pkgconfig(bzip2) >= 1.0.0
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
BuildRequires: pkgconfig(samplerate) >= 0.1.0
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(sndfile) >= 1.0.0
BuildRequires: pkgconfig(vapigen)
BuildRequires: pkgconfig(zlib) >= 1.2.4
Recommends: %name-lang
%description
A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different
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
Group: System/Libraries
# Technically Suggests:, but pretty useless without
Requires: libmirage-%pname >= %version
%description -n %lname
A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
%package %pname
Summary: CD-ROM image format plugins for libmirage
Group: System/Libraries
Recommends: libmirage-data
%description %pname
A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
This package provides the image format plugins for libmirage.
%package devel
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.
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
This package contains files needed to develop with libmirage.
%package data
Summary: MIME type definitions and documentation for libmirage
Group: Development/Libraries/C and C++
Requires(post): shared-mime-info
Requires(postun): shared-mime-info
BuildArch: noarch
%description data
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
This package contains the MIME type definitions and documentation.
%package vala
Summary: Vala bindings to libmirage
BuildArch: noarch
%description vala
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
This package contains the Vala bindings to libmirage
%package -n typelib-1_0-libmirage-%pname
Summary: Introspection bindings for the libmirage CD-ROM image access library
Group: System/Libraries
%description -n typelib-1_0-libmirage-%pname
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
This package provides the GObject Introspection bindings for libmirage.
%prep
%autosetup -p1
%build
%cmake \
-DCMAKE_MODULE_LINKER_FLAGS="" \
-DVAPI_ENABLED=ON
%cmake_build
%install
%cmake_install
%find_lang %name
%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
%_libdir/libmirage.so.11*
%files %pname
%_libdir/libmirage-3*/
%files data
%_datadir/gtk-doc/
%_datadir/mime/packages/*
%files devel
%_includedir/libmirage-3*/
%_libdir/libmirage.so
%_libdir/pkgconfig/libmirage.pc
%_datadir/gir-1.0
%files vala
%dir %_datadir/vala/vapi
%_datadir/vala/vapi/%name.vapi
%files lang -f %name.lang
%files -n typelib-1_0-libmirage-%pname
%_libdir/girepository-1.0
%changelog