add lsdvd

This commit is contained in:
groni
2016-01-26 18:08:45 +01:00
parent a1c7682db4
commit 88cecd27a9
9 changed files with 187 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/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():
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
@@ -0,0 +1,15 @@
--- lsdvd-0.10/lsdvd.c.jdw 2003-09-30 07:01:00.000000000 +1000
+++ lsdvd-0.10/lsdvd.c 2007-11-10 17:16:17.000000000 +1100
@@ -153,9 +153,9 @@
fclose (filehandle);
- title[32] = '\0';
- while(i-- > 2)
- if(title[i] == ' ') title[i] = '\0';
+ while (i > 0 && title[i-1] == ' ')
+ i--;
+ title[i] = '\0';
return 0;
}
@@ -0,0 +1,27 @@
Index: lsdvd-0.16/configure.in
===================================================================
--- lsdvd-0.16.orig/configure.in
+++ lsdvd-0.16/configure.in
@@ -10,8 +10,8 @@ fi
AC_CHECK_LIB(dvdread, DVDOpen, , AC_MSG_ERROR([libdvdread not found!]))
AC_MSG_CHECKING([for dvdread/ifo_read.h])
-AC_TRY_COMPILE([#include <dvdread/ifo_read.h>
- #include <stdint.h>], ,
+AC_TRY_COMPILE([#include <stdint.h>
+ #include <dvdread/ifo_read.h>], ,
AC_MSG_RESULT([yes]),
AC_MSG_RESULT([no])
AC_MSG_ERROR([Header files for dvdread not found]))
Index: lsdvd-0.16/lsdvd.c
===================================================================
--- lsdvd-0.16.orig/lsdvd.c
+++ lsdvd-0.16/lsdvd.c
@@ -13,6 +13,7 @@
* 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros,
* output info structures in form of a Perl module, by Henk Vergonet.
*/
+#include <stdint.h>
#include <dvdread/ifo_read.h>
#include <string.h>
#include <sys/stat.h>
+60
View File
@@ -0,0 +1,60 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lsdvd</Name>
<Homepage>http://untrepid.com/lsdvd</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Small application for listing the contents of DVDs</Summary>
<Description>lsdvd is a small application which lists the contents of DVDs to your terminal.</Description>
<Archive sha1sum="aa44b8c33c66df2a131e469988ced2b11ebf9aab" type="targz">mirrors://sourceforge/lsdvd/lsdvd-0.17.tar.gz</Archive>
<BuildDependencies>
<Dependency>libdvdread-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patch level="1">lsdvd-0.16-types.patch</Patch>-->
<!--<Patch level="1">lsdvd-0.16-strip-trailing-spaces.patch</Patch>-->
</Patches>
</Source>
<Package>
<Name>lsdvd</Name>
<RuntimeDependencies>
<Dependency>libdvdread</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="3">
<Date>2016-01-26</Date>
<Version>0.17</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-03-09</Date>
<Version>0.16</Version>
<Comment>Rebuild.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="1">
<Date>2009-12-25</Date>
<Version>0.16</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>lsdvd</Name>
<Summary xml:lang="tr">DVD bilgilerini toplamaya yarayan bir araç</Summary>
<Description xml:lang="tr">lsdvd, terminal üzerinden DVD'lerin içeriğini görüntülemeye yarayan basit bir araçtır.</Description>
</Source>
</PISI>
+56
View File
@@ -17519,6 +17519,62 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>lsdvd</Name>
<Homepage>http://untrepid.com/lsdvd</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>hardware.optical</PartOf>
<Summary xml:lang="en">Small application for listing the contents of DVDs</Summary>
<Summary xml:lang="tr">DVD bilgilerini toplamaya yarayan bir araç</Summary>
<Description xml:lang="en">lsdvd is a small application which lists the contents of DVDs to your terminal.</Description>
<Description xml:lang="tr">lsdvd, terminal üzerinden DVD&apos;lerin içeriğini görüntülemeye yarayan basit bir araçtır.</Description>
<Archive type="targz" sha1sum="aa44b8c33c66df2a131e469988ced2b11ebf9aab">mirrors://sourceforge/lsdvd/lsdvd-0.17.tar.gz</Archive>
<BuildDependencies>
<Dependency>libdvdread-devel</Dependency>
</BuildDependencies>
<SourceURI>hardware/optical/lsdvd/pspec.xml</SourceURI>
</Source>
<Package>
<Name>lsdvd</Name>
<RuntimeDependencies>
<Dependency>libdvdread</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="3">
<Date>2016-01-26</Date>
<Version>0.17</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-03-09</Date>
<Version>0.16</Version>
<Comment>Rebuild.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="1">
<Date>2009-12-25</Date>
<Version>0.16</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libburn</Name>
+1 -1
View File
@@ -1 +1 @@
88532f67ea1977097324a23e22d21f6492988c4c
ca6bc2b8096de58c2c37f211cf92b33cd3c06de7
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
58d5c23f5008eefaa8be8a6e67120a81020f4e15
475ca0d15e745d591a955b9edd10352cba628970