dvd+rw-tools:add repo
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("Makefile.m4", "^CFLAGS.*\+=\$\(WARN\).*", "CFLAGS=" + get.CFLAGS())
|
||||
pisitools.dosed("Makefile.m4", "^CXXFLAGS+=\$\(WARN\).*", "CXXFLAGS=" + get.CXXFLAGS() + " -fno-exceptions")
|
||||
|
||||
def build():
|
||||
autotools.make("CC='%s' CXX='%s'" % (get.CC(), get.CXX()))
|
||||
|
||||
def install():
|
||||
pisitools.dobin("dvd+rw-booktype")
|
||||
pisitools.dobin("dvd+rw-format")
|
||||
pisitools.dobin("dvd+rw-mediainfo")
|
||||
pisitools.dobin("dvd-ram-control")
|
||||
pisitools.dobin("growisofs")
|
||||
|
||||
pisitools.dohtml(".")
|
||||
pisitools.doman("growisofs.1")
|
||||
@@ -0,0 +1,13 @@
|
||||
--- ./growisofs_mmc.cpp.joe 2006-04-27 20:45:00.788446635 +0200
|
||||
+++ ./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 @@
|
||||
--- dvd/transport.hxx~ 2008-03-25 21:24:47.000000000 -0400
|
||||
+++ dvd/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 @@
|
||||
--- dvd+rw-tools-7.0/dvd+rw-format.cpp.wexit 2007-06-21 12:42:30.000000000 +0200
|
||||
+++ dvd+rw-tools-7.0/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
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
--- transport.hxx 2008-01-23 12:01:45.000000000 +0200
|
||||
+++ transport.hxx 2008-01-23 12:02:12.000000000 +0200
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
#include <sys/time.h>
|
||||
+#include <limits.h>
|
||||
|
||||
inline long getmsecs()
|
||||
{ struct timeval tv;
|
||||
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>dvd+rw-tools</Name>
|
||||
<Homepage>http://fy.chalmers.se/~appro/linux/DVD+RW/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Tools for DVD+RW/-RW drives</Summary>
|
||||
<Description>dvd+rw-tools is a set of tools to work with DVD+-RW drives.</Description>
|
||||
<Archive sha1sum="6400e013934ff589b4b224eced03fd9f42ed719b" type="targz">http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">dvd+rw-tools-7.0-dvddl.patch</Patch>
|
||||
<Patch level="1">dvd+rw-tools-7.0-wctomb.patch</Patch>
|
||||
<Patch level="1">dvd+rw-tools-7.0-wexit.patch</Patch>
|
||||
<Patch>gcc-4.3.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>dvd+rw-tools</Name>
|
||||
<RuntimeDependencies>
|
||||
<!-- For growisofs' mkisofs dependency -->
|
||||
<Dependency>cdrkit</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2016-10-09</Date>
|
||||
<Version>7.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>dvd+rw-tools</Name>
|
||||
<Summary xml:lang="tr">DVD+RW/-RW sürücüler için birtakım araçlar</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user