Merge pull request #1119 from groni/master
add libburn library for reading, mastering and writing optical discs, add sane-frontendssane-frontends includes the scanadf and xcam programs, add smartmontools Programs to control and monitor storage systems, libisofs library for creating ISO disc images, lsdvd Small application for listing the contents of DVDs
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/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
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-ldconfig-at-install \
|
||||
--with-gnu-ld \
|
||||
--disable-test")
|
||||
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
pisitools.dodoc("AUTHORS", "COPY*", "NEWS", "README")
|
||||
pisitools.dodoc("doc/*")
|
||||
pisitools.remove("/usr/share/doc/libisofs/doxygen.conf*")
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libisofs</Name>
|
||||
<Homepage>http://libburnia-project.org</Homepage>
|
||||
<License>GPLv2</License>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<PartOf>hardware.optical</PartOf>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A library for creating ISO disc images</Summary>
|
||||
<Description>libisofs is a library that handles creating ISO disc image files. It is intended to work together with libburn to write these images to discs</Description>
|
||||
<Archive sha1sum="60e3dfef3c239019ff9ecefebb0114e4febc273c" type="targz">http://files.libburnia-project.org/releases/libisofs-1.4.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>acl-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>libisofs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>acl</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libisofs-devel</Name>
|
||||
<Summary>Development files for libisofs</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libisofs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libisofs/Tutorial</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libisofs/checksums.txt</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libisofs/susp_aaip_2_0.txt</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libisofs/susp_aaip_isofs_names.txt</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libisofs/zisofs_format.txt</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-01-26</Date>
|
||||
<Version>1.4.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-15</Date>
|
||||
<Version>1.2.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ertan Güven</Name>
|
||||
<Email>ertan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libisofs</Name>
|
||||
<Summary xml:lang="tr">ISO kalıbı oluşturmak için gerekli kitaplıklar</Summary>
|
||||
<Description xml:lang="tr">libisofs, ISO kalıbını oluşturmak için gerekli kitaplıkları içeren pakettir. Bu paket ayrıca Libburn'u kullanarak, ISO kalıplarını CD, DVD veya benzeri disklere yazdırmanıza olanağı sağlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libisofs-devel</Name>
|
||||
<Summary xml:lang="tr">libisofs için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.touch("ChangeLog")
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--with-libcap-ng=yes \
|
||||
--enable-drivedb \
|
||||
--with-systemdsystemunitdir=no")
|
||||
|
||||
def build():
|
||||
autotools.make("CXXFLAGS='%s -fpie'" % get.CXXFLAGS())
|
||||
|
||||
def install():
|
||||
pisitools.dosed("smartd.service.in","sysconfig/smartmontools","conf.d/smartd")
|
||||
pisitools.dosed("smartd.service.in","smartd_opts","SMARTD_ARGS")
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "NEWS", "README", "smartd.conf")
|
||||
@@ -0,0 +1,30 @@
|
||||
from comar.service import *
|
||||
|
||||
serviceType="server"
|
||||
serviceDesc = _({"en": "S.M.A.R.T. monitoring daemon",
|
||||
"tr": "S.M.A.R.T. disk izleme hizmeti"})
|
||||
|
||||
serviceConf = "smartd"
|
||||
PIDFILE = "/run/smartd.pid"
|
||||
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
args = "-p %s" % PIDFILE
|
||||
if config.get("smartd_opts"):
|
||||
args = "%s %s" % (args, config.get("smartd_opts"))
|
||||
startService(command="/usr/sbin/smartd",
|
||||
args=args,
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
def reload():
|
||||
# FIXME: That's bad.
|
||||
run("/usr/bin/killall -HUP smartd")
|
||||
|
||||
def status():
|
||||
return isServiceRunning(pidfile=PIDFILE)
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -up smartmontools-5.38/smartd.conf.defaultconf smartmontools-5.38/smartd.conf
|
||||
--- smartmontools-5.38/smartd.conf.defaultconf 2008-08-07 12:21:53.000000000 +0200
|
||||
+++ smartmontools-5.38/smartd.conf 2008-08-07 12:24:26.000000000 +0200
|
||||
@@ -20,7 +20,7 @@
|
||||
# Directives listed below, which will be applied to all devices that
|
||||
# are found. Most users should comment out DEVICESCAN and explicitly
|
||||
# list the devices that they wish to monitor.
|
||||
-DEVICESCAN
|
||||
+DEVICESCAN -H -m root -n standby,10,q
|
||||
|
||||
# Alternative setting to ignore temperature and power-on hours reports
|
||||
# in syslog.
|
||||
@@ -0,0 +1,4 @@
|
||||
# command line options for smartd
|
||||
smartd_opts="-q never"
|
||||
# autogenerated config file options
|
||||
# smartd_conf_opts="-H -m root"
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smartmontools</Name>
|
||||
<Homepage>http://smartmontools.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Programs to control and monitor storage systems using the Self-Monitoring</Summary>
|
||||
<Description>The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI hard disks.</Description>
|
||||
<Archive sha1sum="855c7d555dd405e5b392b1631dc36dd9632db8b8" type="targz">mirrors://sourceforge/smartmontools/6.4/smartmontools-6.4.tar.gz</Archive>
|
||||
<Patches>
|
||||
<!--<Patch level="1">smartmontools-5.38-defaultconf.patch</Patch>-->
|
||||
<!--
|
||||
<Patch level="1">smartmontools-5.40-megaraid.patch</Patch>
|
||||
-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>smartmontools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libcap-ng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="data">/lib/systemd/system</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="man">/usr/share/smartmontools</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/smartd">smartmontools.sysconf</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-01-26</Date>
|
||||
<Version>6.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2015-01-16</Date>
|
||||
<Version>6.0</Version>
|
||||
<Comment>configured without "/lib/systemd/system"</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>6.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-14</Date>
|
||||
<Version>6.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>smartmontools</Name>
|
||||
<Summary xml:lang="tr">Hard disk kontrol ve durumunu gösteren programlar</Summary>
|
||||
<Description xml:lang="tr">smartctl ve smartd adlı ATA ve SCSI diskleri kontrol ve durumlarını gösterir iki program.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/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
|
||||
|
||||
def setup():
|
||||
#autotools.autoreconf("-vfi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-ldconfig-at-install \
|
||||
--with-gnu-ld \
|
||||
--disable-test")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README")
|
||||
@@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libburn</Name>
|
||||
<Homepage>http://libburnia-project.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>hardware.optical</PartOf>
|
||||
<Summary>A library for reading, mastering and writing optical discs</Summary>
|
||||
<Description>Libburn is an open-source library for reading, mastering and writing optical discs.</Description>
|
||||
<Archive sha1sum="0aba7c9ec21647515541479328211afd2e6ebe8a" type="targz">http://files.libburnia-project.org/releases/libburn-1.4.2.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libburn</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libburn-devel</Name>
|
||||
<Summary>Development files for libburn</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libburn</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/libburn-1.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-01-26</Date>
|
||||
<Version>1.4.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-07-10</Date>
|
||||
<Version>1.3.8</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>1.3.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-29</Date>
|
||||
<Version>1.2.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libburn</Name>
|
||||
<Summary xml:lang="tr">Optik diskleri okumak, idare etmek ve yazmak için kitaplıklar</Summary>
|
||||
<Description xml:lang="tr">libburn, optik diskleri okumak, idare etmek ve yazmak için yazılmış, açık kaynak kodlu bir kitaplıktır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libburn-devel</Name>
|
||||
<Summary xml:lang="tr">libburn için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/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("--with-gnu-ld")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "README")
|
||||
|
||||
# There's xsane instead
|
||||
pisitools.remove("/usr/bin/xscanimage")
|
||||
pisitools.remove("/usr/share/man/man1/xscanimage.1")
|
||||
pisitools.removeDir("/usr/share/sane")
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
commit c4cb247732767aed76502069d0b3040c4c4e5123
|
||||
Author: Nils Philippsen <nils@redhat.com>
|
||||
Date: Fri Jul 31 16:21:53 2009 +0200
|
||||
|
||||
patch: array-out-of-bounds
|
||||
|
||||
Squashed commit of the following:
|
||||
|
||||
commit 337bcefaa7a67931095b74317a266a1244978ab6
|
||||
Author: Nils Philippsen <nils@redhat.com>
|
||||
Date: Fri Jul 31 16:03:28 2009 +0200
|
||||
|
||||
fix array subscript out of bounds errors (#133121)
|
||||
|
||||
diff --git a/src/xcam.c b/src/xcam.c
|
||||
index 2d494a5..f6859b7 100644
|
||||
--- a/src/xcam.c
|
||||
+++ b/src/xcam.c
|
||||
@@ -1289,7 +1289,7 @@ save_frame_button (GtkWidget * widget, gpointer client_data,
|
||||
|
||||
/* test for pnm formats */
|
||||
strncpy (testfilename, preferences.filename, sizeof (testfilename));
|
||||
- testfilename[sizeof (testfilename)] = 0;
|
||||
+ testfilename[sizeof (testfilename) - 1] = 0;
|
||||
g_strreverse (testfilename);
|
||||
if (!((!strncmp (testfilename, "mnp.", 4)) ||
|
||||
(!strncmp (testfilename, "mgp.", 4)) ||
|
||||
diff --git a/src/xscanimage.c b/src/xscanimage.c
|
||||
index a36324f..065923d 100644
|
||||
--- a/src/xscanimage.c
|
||||
+++ b/src/xscanimage.c
|
||||
@@ -1284,7 +1284,7 @@ scan_dialog (GtkWidget * widget, gpointer call_data)
|
||||
{ /* We are running in standalone mode */
|
||||
/* test for pnm formats */
|
||||
strncpy (testfilename, preferences.filename, sizeof (testfilename));
|
||||
- testfilename[sizeof (testfilename)] = 0;
|
||||
+ testfilename[sizeof (testfilename) - 1] = 0;
|
||||
g_strreverse (testfilename);
|
||||
if (!((!strncmp (testfilename, "mnp.", 4)) ||
|
||||
(!strncmp (testfilename, "mgp.", 4)) ||
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
commit ddd90b1502a263d03938b1e45a57684d576993ba
|
||||
Author: Nils Philippsen <nils@redhat.com>
|
||||
Date: Fri Jul 31 16:25:58 2009 +0200
|
||||
|
||||
patch: sane-backends-1.0.20
|
||||
|
||||
Squashed commit of the following:
|
||||
|
||||
commit 0c84326fa37bb309481c4d2658ab6cb17c9f0e85
|
||||
Author: Nils Philippsen <nils@redhat.com>
|
||||
Date: Fri Jul 31 16:18:59 2009 +0200
|
||||
|
||||
use SANE_CAP_ALWAYS_SETTABLE only if available
|
||||
|
||||
diff --git a/src/gtkglue.c b/src/gtkglue.c
|
||||
index ba5cbf5..ec81f45 100644
|
||||
--- a/src/gtkglue.c
|
||||
+++ b/src/gtkglue.c
|
||||
@@ -1476,8 +1476,12 @@ gsg_set_sensitivity (GSGDialog * dialog, int sensitive)
|
||||
|| opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget)
|
||||
continue;
|
||||
|
||||
+#ifdef SANE_CAP_ALWAYS_SETTABLE
|
||||
if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
|
||||
gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
|
||||
+#else
|
||||
+ gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sane-frontends</Name>
|
||||
<Homepage>http://www.sane-project.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Graphical frontend to SANE</Summary>
|
||||
<Description>sane-frontends includes the scanadf and xcam programs.</Description>
|
||||
<Archive sha1sum="063e11df3e32d7a43161fd37026a4dc601d5482d" type="targz">ftp://ftp.uwsg.indiana.edu/linux/gentoo/distfiles/sane-frontends-1.0.14.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>sane-backends-devel</Dependency>
|
||||
<Dependency>gimp-devel</Dependency>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">sane-frontends-1.0.14-array-out-of-bounds.patch</Patch>
|
||||
<Patch level="1">sane-frontends-1.0.14-sane-backends-1.0.20.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sane-frontends</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>sane-backends</Dependency>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc/sane-frontends</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>1.0.14</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-02-28</Date>
|
||||
<Version>1.0.14</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sane-frontends</Name>
|
||||
<Summary xml:lang="tr">SANE için grafiksel arayüz paketi</Summary>
|
||||
<Description xml:lang="tr">sane-frontends, scanadf ve xcam grafiksel araçlarını içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
+108272
-107777
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
9b9ab8075004db363887a1bba3405e97a1c840a3
|
||||
ca6bc2b8096de58c2c37f211cf92b33cd3c06de7
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
d83ca8a78d83a151badaa14836049df82a87b3d6
|
||||
475ca0d15e745d591a955b9edd10352cba628970
|
||||
Reference in New Issue
Block a user