diff --git a/.djvulibre.metadata b/.djvulibre.metadata new file mode 100644 index 0000000..7e94092 --- /dev/null +++ b/.djvulibre.metadata @@ -0,0 +1 @@ +e74c23e5480535898a6549aec11e5cfa1228e1ea SOURCES/djvulibre-3.5.28.tar.gz diff --git a/.gitignore b/.gitignore index 027ea81..783a626 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -djvulibre-3.5.22.tar.gz -/djvulibre-3.5.24.tar.gz - -/djvulibre-3.5.25.3.tar.gz -/djvulibre-3.5.27.tar.gz -/djvulibre-3.5.28.tar.gz +SOURCES/djvulibre-3.5.28.tar.gz diff --git a/0001-Check-for-zero-width-and-height.patch b/SOURCES/0001-Check-for-zero-width-and-height.patch similarity index 100% rename from 0001-Check-for-zero-width-and-height.patch rename to SOURCES/0001-Check-for-zero-width-and-height.patch diff --git a/djvulibre-3.5.22-cdefs.patch b/SOURCES/djvulibre-3.5.22-cdefs.patch similarity index 100% rename from djvulibre-3.5.22-cdefs.patch rename to SOURCES/djvulibre-3.5.22-cdefs.patch diff --git a/djvulibre-3.5.27-check-image-size.patch b/SOURCES/djvulibre-3.5.27-check-image-size.patch similarity index 100% rename from djvulibre-3.5.27-check-image-size.patch rename to SOURCES/djvulibre-3.5.27-check-image-size.patch diff --git a/djvulibre-3.5.27-check-input-pool.patch b/SOURCES/djvulibre-3.5.27-check-input-pool.patch similarity index 100% rename from djvulibre-3.5.27-check-input-pool.patch rename to SOURCES/djvulibre-3.5.27-check-input-pool.patch diff --git a/djvulibre-3.5.27-djvuport-stack-overflow.patch b/SOURCES/djvulibre-3.5.27-djvuport-stack-overflow.patch similarity index 100% rename from djvulibre-3.5.27-djvuport-stack-overflow.patch rename to SOURCES/djvulibre-3.5.27-djvuport-stack-overflow.patch diff --git a/djvulibre-3.5.27-export-file.patch b/SOURCES/djvulibre-3.5.27-export-file.patch similarity index 100% rename from djvulibre-3.5.27-export-file.patch rename to SOURCES/djvulibre-3.5.27-export-file.patch diff --git a/djvulibre-3.5.27-integer-overflow.patch b/SOURCES/djvulibre-3.5.27-integer-overflow.patch similarity index 100% rename from djvulibre-3.5.27-integer-overflow.patch rename to SOURCES/djvulibre-3.5.27-integer-overflow.patch diff --git a/djvulibre-3.5.27-out-of-bound-write-2.patch b/SOURCES/djvulibre-3.5.27-out-of-bound-write-2.patch similarity index 100% rename from djvulibre-3.5.27-out-of-bound-write-2.patch rename to SOURCES/djvulibre-3.5.27-out-of-bound-write-2.patch diff --git a/djvulibre-3.5.27-unsigned-short-overflow.patch b/SOURCES/djvulibre-3.5.27-unsigned-short-overflow.patch similarity index 100% rename from djvulibre-3.5.27-unsigned-short-overflow.patch rename to SOURCES/djvulibre-3.5.27-unsigned-short-overflow.patch diff --git a/djvulibre.spec b/SPECS/djvulibre.spec similarity index 93% rename from djvulibre.spec rename to SPECS/djvulibre.spec index a3ca5e7..05b75fd 100644 --- a/djvulibre.spec +++ b/SPECS/djvulibre.spec @@ -3,7 +3,7 @@ Summary: DjVu viewers, encoders, and utilities Name: djvulibre Version: 3.5.28 -Release: 4%{?dist} +Release: 10%{?dist} License: GPLv2+ URL: http://djvu.sourceforge.net/ Source0: http://downloads.sourceforge.net/djvu/%{name}-%{version}.tar.gz @@ -68,16 +68,16 @@ Development files for DjVuLibre. %prep %setup -q -%patch0 -p1 -b .cdefs +%patch -P0 -p1 -b .cdefs #%patch1 -p1 -b .cflags -%patch6 -p1 -b .export-file -%patch8 -p1 -b .check-image-size -%patch9 -p1 -b .integer-overflow -%patch10 -p1 -b .check-input-pool -%patch11 -p1 -b .djvuport-stack-overflow -%patch12 -p1 -b .unsigned-short-overflow -%patch14 -p1 -b .out-of-bound-write-2 -%patch15 -p1 -b .zero-size-image +%patch -P6 -p1 -b .export-file +%patch -P8 -p1 -b .check-image-size +%patch -P9 -p1 -b .integer-overflow +%patch -P10 -p1 -b .check-input-pool +%patch -P11 -p1 -b .djvuport-stack-overflow +%patch -P12 -p1 -b .unsigned-short-overflow +%patch -P14 -p1 -b .out-of-bound-write-2 +%patch -P15 -p1 -b .zero-size-image %build @@ -185,13 +185,34 @@ fi %changelog -* Tue May 07 2024 Marek Kasik - 3.5.28-4 +* Wed Dec 25 2024 Arkady L. Shane - 3.5.28-10 +- Rebuilt for MSVSphere 10 + +* Wed Jul 17 2024 Fedora Release Engineering - 3.5.28-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue May 07 2024 Marek Kasik - 3.5.28-9 - Check for zero-size image when allocating GBuffer -- Resolves: #2234737 +- Resolves: #2234738 -* Tue May 07 2024 Marek Kasik - 3.5.28-3 +* Tue May 07 2024 Marek Kasik - 3.5.28-8 - Improve image size fix -- Resolves: #2234740 +- Resolves: #2234741 + +* Wed Jan 24 2024 Fedora Release Engineering - 3.5.28-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 3.5.28-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 3.5.28-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 3.5.28-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 3.5.28-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 3.5.28-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/djvulibre-3.5.25.3-cflags.patch b/djvulibre-3.5.25.3-cflags.patch deleted file mode 100644 index e2b7c5f..0000000 --- a/djvulibre-3.5.25.3-cflags.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff -up djvulibre-3.5.25/configure~ djvulibre-3.5.25/configure ---- djvulibre-3.5.25/configure~ 2012-05-08 05:56:53.000000000 +0300 -+++ djvulibre-3.5.25/configure 2012-10-10 00:01:36.000000000 +0300 -@@ -14733,6 +14733,7 @@ fi - - OPTS= - -+if false; then - saved_CXXFLAGS="$CXXFLAGS" - saved_CFLAGS="$CFLAGS" - CXXFLAGS= -@@ -14750,6 +14751,7 @@ fi - *) CFLAGS="$CFLAGS $opt" ;; - esac - done -+fi - if test x$ac_debug = xno ; then - OPTS=-DNDEBUG - -@@ -14770,6 +14772,7 @@ $as_echo "no" >&6; } - fi - - -+if false; then - opt="-O3" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts $opt" >&5 - $as_echo_n "checking if $CXX accepts $opt... " >&6; } -@@ -14801,6 +14804,7 @@ $as_echo "no" >&6; } - fi - - fi -+fi - - - opt="-Wno-non-virtual-dtor" -@@ -14819,6 +14823,7 @@ $as_echo "no" >&6; } - - fi - -+if false; then - cpu=`uname -m 2>/dev/null` - test -z "$cpu" && cpu=${host_cpu} - case "${host_cpu}" in -@@ -14860,6 +14865,7 @@ $as_echo "no" >&6; } - - ;; - esac -+fi - else - - opt="-Wall" diff --git a/sources b/sources deleted file mode 100644 index a488d62..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (djvulibre-3.5.28.tar.gz) = db3b8a5b56d700e911be32057f721a2a597e6f52e6fade203ad75ad76ab2d8facff2e474fd18beea703ccd5fa6425352e619a8fda40e69add1724dbee26050c6