Initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
# Ignore BPM archives and signatures
|
||||||
|
*.bpm
|
||||||
|
*.bpm.sig
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Ignore this package
|
||||||
|
echo "ignore"
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
name: dvd-rw-tools
|
||||||
|
description: Tools for DVD+RW/-RW drives
|
||||||
|
version: "7.1"
|
||||||
|
revision: 1
|
||||||
|
url: https://web.archive.org/web/20250512175714/https://fy.chalmers.se/~appro/linux/DVD+RW/
|
||||||
|
license: GPL-2.0-or-later
|
||||||
|
architecture: any
|
||||||
|
type: source
|
||||||
|
depends:
|
||||||
|
- cdrtools
|
||||||
|
- gcc-libs
|
||||||
|
- glibc
|
||||||
|
downloads:
|
||||||
|
- url: https://ftp2.osuosl.org/pub/blfs/conglomeration/dvd+rw-tools/dvd+rw-tools-${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
|
# The prepare function is executed in the root of the temp directory
|
||||||
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
|
prepare() {
|
||||||
|
cd "$BPM_SOURCE"
|
||||||
|
|
||||||
|
# Apply patches
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/dvddl.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/glibc.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/sysmacros.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/wctomb.patch
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/wexit.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
# The build function is executed in the source directory
|
||||||
|
# This function is used to compile the source code
|
||||||
|
build() {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
# The package function is executed in the source directory
|
||||||
|
# This function is used to move the compiled files into the output directory
|
||||||
|
package() {
|
||||||
|
make prefix="$BPM_OUTPUT"/usr install
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/dvd-rw-tools/LICENSE
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
--- a/growisofs_mmc.cpp.joe 2006-04-27 20:45:00.788446635 +0200
|
||||||
|
+++ b/growisofs_mmc.cpp 2006-04-27 20:46:01.666824300 +0200
|
||||||
|
@@ -1412,9 +1412,7 @@
|
||||||
|
blocks += 15, blocks &= ~15;
|
||||||
|
|
||||||
|
if (blocks <= split)
|
||||||
|
- fprintf (stderr,":-( more than 50%% of space will be *wasted*!\n"
|
||||||
|
- " use single layer media for this recording\n"),
|
||||||
|
- exit (FATAL_START(EMEDIUMTYPE));
|
||||||
|
+ fprintf (stderr,":-? more than 50%% of space will be *wasted*!\n");
|
||||||
|
|
||||||
|
blocks /= 16;
|
||||||
|
blocks += 1;
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
diff -up transport.hxx.glibc2.6.90 transport.hxx
|
||||||
|
--- a/transport.hxx.glibc2.6.90 2007-08-15 12:56:17.000000000 +0200
|
||||||
|
+++ b/transport.hxx 2007-08-15 12:56:42.000000000 +0200
|
||||||
|
@@ -11,6 +11,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <limits.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <fcntl.h>
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
--- a/growisofs.c 2018-10-25 17:33:50.039660925 +0200
|
||||||
|
+++ b/growisofs.c 2018-10-25 17:34:10.649662395 +0200
|
||||||
|
@@ -450,6 +450,7 @@
|
||||||
|
# include <sys/wait.h>
|
||||||
|
# include <sys/mman.h>
|
||||||
|
# include <signal.h>
|
||||||
|
+# include <sys/sysmacros.h>
|
||||||
|
# include <poll.h>
|
||||||
|
# include <sys/resource.h>
|
||||||
|
# include <sys/utsname.h>
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/transport.hxx~ 2008-03-25 21:24:47.000000000 -0400
|
||||||
|
+++ b/transport.hxx 2008-03-25 21:25:36.000000000 -0400
|
||||||
|
@@ -116,7 +116,7 @@
|
||||||
|
extern "C" char *plusminus_locale()
|
||||||
|
{ static class __plusminus {
|
||||||
|
private:
|
||||||
|
- char str[4];
|
||||||
|
+ char str[MB_LEN_MAX];
|
||||||
|
public:
|
||||||
|
__plusminus() { setlocale(LC_CTYPE,ENV_LOCALE);
|
||||||
|
int l = wctomb(str,(wchar_t)(unsigned char)'±');
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/dvd+rw-format.cpp.wexit 2007-06-21 12:42:30.000000000 +0200
|
||||||
|
+++ b/dvd+rw-format.cpp 2007-06-21 12:44:13.000000000 +0200
|
||||||
|
@@ -245,7 +245,7 @@ int main (int argc, char *argv[])
|
||||||
|
alarm(1);
|
||||||
|
while ((waitpid(pid,&i,0) != pid) && !WIFEXITED(i)) ;
|
||||||
|
if (WEXITSTATUS(i) == 0) fprintf (stderr,"\n");
|
||||||
|
- exit (0);
|
||||||
|
+ exit (WEXITSTATUS(i));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
Reference in New Issue
Block a user