[packages/vamps] Up to 0.99.2
arekm
arekm at pld-linux.org
Fri Nov 27 21:42:41 CET 2026
commit 5b8b81d68ae0e17387e03087210b168998f3c7e6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:13:03 2026 +0100
Up to 0.99.2
vamps-format.patch | 40 ++++++++++++++++++++++++++++++++++++++++
vamps-stdint.patch | 10 ----------
vamps.spec | 15 ++++++++-------
3 files changed, 48 insertions(+), 17 deletions(-)
---
diff --git a/vamps.spec b/vamps.spec
index 717a1ed..42ee8b4 100644
--- a/vamps.spec
+++ b/vamps.spec
@@ -1,14 +1,14 @@
Summary: Tool to recompress and modify the structure of a DVD
Summary(pl.UTF-8): Narzędzie do przepakowywania i modyfikowania struktury DVD
Name: vamps
-Version: 0.99
-Release: 7
+Version: 0.99.2
+Release: 1
License: GPL v2
Group: Applications
-Source0: http://dl.sourceforge.net/vamps/%{name}-%{version}.tar.gz
-# Source0-md5: 63d61f2dd5c9df2eb2ad948164a56bae
-Patch0: %{name}-stdint.patch
-URL: http://vamps.sourceforge.net/
+Source0: https://downloads.sourceforge.net/vamps/%{name}-%{version}.tar.gz
+# Source0-md5: 7d438185a2ae95ebb245472d9fa47d06
+Patch0: %{name}-format.patch
+URL: https://vamps.sourceforge.net/
BuildRequires: libdvdread-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,7 +33,8 @@ strumienia obrazu lub tylko dla ES, lub dla pełnego PS.
%build
%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -fomit-frame-pointer -DHAVE_BUILTIN_EXPECT"
+ CFLAGS="%{rpmcflags} -fomit-frame-pointer -DHAVE_BUILTIN_EXPECT" \
+ LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/vamps-format.patch b/vamps-format.patch
new file mode 100644
index 0000000..f9601d6
--- /dev/null
+++ b/vamps-format.patch
@@ -0,0 +1,40 @@
+# uint64_t is unsigned long on LP64, %llu mismatches it
+--- vamps-0.99.2.orig/vamps/vamps.c
++++ vamps-0.99.2/vamps/vamps.c
+@@ -315,30 +315,30 @@
+ // print this run's statistics if wanted
+ if (verbose >= 1)
+ {
+- fprintf (stderr, "Info: Total bytes read: %llu\n", bytes_read);
+- fprintf (stderr, "Info: Total bytes written: %llu\n", bytes_written);
++ fprintf (stderr, "Info: Total bytes read: %" PRIu64 "\n", bytes_read);
++ fprintf (stderr, "Info: Total bytes written: %" PRIu64 "\n", bytes_written);
+ fprintf (stderr, "Info: Total sequence headers in video stream: %d\n",
+ sequence_headers);
+ fprintf (stderr,
+ "Info: Total navigation packs (system headers/PCI/DSI): %d\n",
+ nav_packs);
+ fprintf (stderr,
+-"Info: Total bytes vaporized in audio and subpicture streams: %llu (%.2f%%)\n",
++"Info: Total bytes vaporized in audio and subpicture streams: %" PRIu64 " (%.2f%%)\n",
+ (uint64_t) skipped_aux_packs * SECT_SIZE,
+ (double) skipped_aux_packs /
+ (double) (bytes_read / SECT_SIZE) * 100.0);
+ fprintf (stderr,
+- "Info: Total bytes vaporized in cell gaps: %llu (%.2f%%)\n",
++ "Info: Total bytes vaporized in cell gaps: %" PRIu64 " (%.2f%%)\n",
+ (uint64_t) cell_gap_packs * SECT_SIZE,
+ (double) cell_gap_packs /
+ (double) (bytes_read / SECT_SIZE) * 100.0);
+ fprintf (stderr,
+- "Info: Total bytes vaporized in video stream: %llu (%.2f%%)\n",
++ "Info: Total bytes vaporized in video stream: %" PRIu64 " (%.2f%%)\n",
+ (uint64_t) skipped_video_packs * SECT_SIZE,
+ (double) skipped_video_packs /
+ (double) (bytes_read / SECT_SIZE) * 100.0);
+ fprintf (stderr,
+- "Info: Total padding bytes in video stream: %llu (%.2f%%)\n",
++ "Info: Total padding bytes in video stream: %" PRIu64 " (%.2f%%)\n",
+ padding_bytes,
+ (double) padding_bytes / (double) bytes_written * 100.0);
+ fprintf (stderr, "Info: Total vaporization factor: %.3f\n",
diff --git a/vamps-stdint.patch b/vamps-stdint.patch
deleted file mode 100644
index 3108a19..0000000
--- a/vamps-stdint.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- vamps-0.98/play_cell/play_cell.c.orig 2005-11-16 21:20:30.000000000 +0100
-+++ vamps-0.98/play_cell/play_cell.c 2006-02-15 22:41:04.000000000 +0100
-@@ -26,6 +26,7 @@
- * 2004/10/03: Initial.
- */
-
-+#include <stdint.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdarg.h>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vamps.git/commitdiff/5b8b81d68ae0e17387e03087210b168998f3c7e6
More information about the pld-cvs-commit
mailing list