vcdimager: dropped unmaintained port

This commit is contained in:
Tim Biermann 2023-09-24 09:32:54 +02:00
parent 931d98a92e
commit 2e6de00b32
Signed by: tb
GPG Key ID: 42F8B4E30B673606
4 changed files with 0 additions and 160 deletions

View File

@ -1,37 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cdxa2mpeg
-rwxr-xr-x root/root usr/bin/vcd-info
-rwxr-xr-x root/root usr/bin/vcdimager
-rwxr-xr-x root/root usr/bin/vcdxbuild
-rwxr-xr-x root/root usr/bin/vcdxgen
-rwxr-xr-x root/root usr/bin/vcdxminfo
-rwxr-xr-x root/root usr/bin/vcdxrip
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libvcd/
-rw-r--r-- root/root usr/include/libvcd/files.h
-rw-r--r-- root/root usr/include/libvcd/files_private.h
-rw-r--r-- root/root usr/include/libvcd/inf.h
-rw-r--r-- root/root usr/include/libvcd/info.h
-rw-r--r-- root/root usr/include/libvcd/logging.h
-rw-r--r-- root/root usr/include/libvcd/sector.h
-rw-r--r-- root/root usr/include/libvcd/types.h
-rw-r--r-- root/root usr/include/libvcd/version.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libvcdinfo.a
-rwxr-xr-x root/root usr/lib/libvcdinfo.la
lrwxrwxrwx root/root usr/lib/libvcdinfo.so -> libvcdinfo.so.0.2.0
lrwxrwxrwx root/root usr/lib/libvcdinfo.so.0 -> libvcdinfo.so.0.2.0
-rwxr-xr-x root/root usr/lib/libvcdinfo.so.0.2.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libvcdinfo.pc
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/cdxa2mpeg.1.gz
-rw-r--r-- root/root usr/share/man/man1/vcd-info.1.gz
-rw-r--r-- root/root usr/share/man/man1/vcdimager.1.gz
-rw-r--r-- root/root usr/share/man/man1/vcdxbuild.1.gz
-rw-r--r-- root/root usr/share/man/man1/vcdxgen.1.gz
-rw-r--r-- root/root usr/share/man/man1/vcdxminfo.1.gz
-rw-r--r-- root/root usr/share/man/man1/vcdxrip.1.gz

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF349dkTQZ/FEoZCPdMd5ODXcYPsj0MhLgZu4QJ33BPBH9K67iW0WIUdNrdboyMWdUk5GTaKVN0cKE4oqC0ny8vww=
SHA256 (Pkgfile) = f0ba58a7d87f6c7f45beea03c5ac769ada6232ce93cb1264132485ea0ef1cae9
SHA256 (.footprint) = 2fd1e17c6f286f2d8961bcab528c14657ebaedf831fd5a48ffe0605e0e4a3027
SHA256 (vcdimager-2.0.1.tar.gz) = 67515fefb9829d054beae40f3e840309be60cda7d68753cafdd526727758f67a
SHA256 (resurrect_library_symbols.patch) = e998bcc11b47e9a853baeb930155d71cba42e013e042a26a40ee82c2cacd3714

View File

@ -1,22 +0,0 @@
# Description: Create (S)VCDs
# URL: https://www.gnu.org/software/vcdimager/
# Maintainer: unmaintained
# Depends on: libcdio libxml2 popt
name=vcdimager
version=2.0.1
release=1
source=(https://mirror.aarnet.edu.au/pub/gnu/$name/$name-$version.tar.gz
resurrect_library_symbols.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/resurrect_library_symbols.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
}

View File

@ -1,95 +0,0 @@
Description: Resurrect symbols in libvcdinfo
The library with SONAME libvcdinfo.so.0 used to have symbols vcdinfo_msf2lba,
vcdinfo_lba2msf, vcdinfo_msf2lsn and _vcd_malloc; resurrect them not to break
the ABI.
Author: Nicolas Boullis <nboullis@debian.org>
https://sources.debian.org/data/main/v/vcdimager/2.0.1+dfsg-3/debian/patches/resurrect_library_symbols
Index: b/lib/info.c
===================================================================
--- a/lib/info.c
+++ b/lib/info.c
@@ -1640,6 +1640,48 @@ vcdinfo_inc_msf (uint8_t *p_min, uint8_t
}
}
+/*!
+ Convert minutes, seconds and frame (MSF components) into a
+ logical block address (or LBA).
+ See also cdio_msf_to_lba which uses msf_t as its single parameter.
+*/
+#undef vcdinfo_msf2lba
+lba_t
+vcdinfo_msf2lba (uint8_t min, uint8_t sec, int8_t frame)
+{
+ return CDIO_CD_FRAMES_PER_SEC*(CDIO_CD_SECS_PER_MIN*min + sec) + frame;
+}
+
+/*!
+ Convert minutes, seconds and frame (MSF components) into a
+ logical block address (or LBA).
+ See also cdio_msf_to_lba which uses msf_t as its single parameter.
+*/
+void
+vcdinfo_lba2msf (lba_t lba, uint8_t *p_min, uint8_t *p_sec, uint8_t *p_frame)
+{
+ *p_min = lba / (60*75);
+ lba %= (60*75);
+ *p_sec = lba / 75;
+ *p_frame = lba % 75;
+}
+
+/*!
+ Convert minutes, seconds and frame (MSF components) into a
+ logical sector number (or LSN).
+*/
+lsn_t
+vcdinfo_msf2lsn (uint8_t min, uint8_t sec, int8_t frame)
+{
+ lba_t lba=75*(60*min + sec) + frame;
+ if (lba < CDIO_PREGAP_SECTORS) {
+ vcd_error ("lba (%u) less than pregap sector (%u)",
+ (unsigned int) lba, CDIO_PREGAP_SECTORS);
+ return lba;
+ }
+ return lba - CDIO_PREGAP_SECTORS;
+}
+
const char *
vcdinfo_ofs2str (const vcdinfo_obj_t *p_obj, unsigned int offset, bool ext)
{
Index: b/lib/util.c
===================================================================
--- a/lib/util.c
+++ b/lib/util.c
@@ -119,6 +119,18 @@ _vcd_strsplit(const char str[], char del
}
void *
+_vcd_malloc (size_t size)
+{
+ void *new_mem = malloc (size);
+
+ vcd_assert (new_mem != NULL);
+
+ memset (new_mem, 0, size);
+
+ return new_mem;
+}
+
+void *
_vcd_memdup (const void *mem, size_t count)
{
void *new_mem = NULL;
Index: b/include/libvcd/info.h
===================================================================
--- a/include/libvcd/info.h
+++ b/include/libvcd/info.h
@@ -752,7 +752,7 @@ extern "C" {
See also msf_to_lba which uses msf_t as its single parameter.
*/
void
- vcdinfo_lba2msf (lba_t lba, uint8_t *min, uint8_t *sec, uint8_t *frame);
+ vcdinfo_lba2msf (lba_t lba, uint8_t *p_min, uint8_t *p_sec, uint8_t *p_frame);
/*!
Get the item id for a given list ID.