moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
|
||||
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-rpath \
|
||||
--without-x \
|
||||
--enable-cxx \
|
||||
--with-pic")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
if get.buildTYPE() == "emul32": return
|
||||
|
||||
pisitools.rename("/%s/tiff-%s" % (get.docDIR(), get.srcVERSION()), get.srcNAME())
|
||||
@@ -0,0 +1,13 @@
|
||||
--- libtiff/tif_dir.c 2011-04-04 05:58:54.000000000 -0400
|
||||
+++ libtiff/tif_dir.c.oden 2011-04-04 05:59:08.000000000 -0400
|
||||
@@ -370,6 +370,10 @@ _TIFFVSetField(TIFF* tif, ttag_t tag, va
|
||||
case TIFFTAG_YCBCRSUBSAMPLING:
|
||||
td->td_ycbcrsubsampling[0] = (uint16) va_arg(ap, int);
|
||||
td->td_ycbcrsubsampling[1] = (uint16) va_arg(ap, int);
|
||||
+ if (td->td_ycbcrsubsampling[0] > 4)
|
||||
+ td->td_ycbcrsubsampling[0] = (td->td_compression == 7) ? 1 : 2;
|
||||
+ if (td->td_ycbcrsubsampling[1] > 4)
|
||||
+ td->td_ycbcrsubsampling[1] = (td->td_compression == 7) ? 1 : 2;
|
||||
break;
|
||||
case TIFFTAG_TRANSFERFUNCTION:
|
||||
v = (td->td_samplesperpixel - td->td_extrasamples) > 1 ? 3 : 1;
|
||||
@@ -0,0 +1,24 @@
|
||||
diff -Naur tiff-3.9.1/Makefile.am tiff-3.9.1.oden/Makefile.am
|
||||
--- tiff-3.9.1/Makefile.am 2009-08-21 18:46:01.000000000 +0200
|
||||
+++ tiff-3.9.1.oden/Makefile.am 2009-08-30 12:43:13.000000000 +0200
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
dist_doc_DATA = $(docfiles)
|
||||
|
||||
-SUBDIRS = port libtiff tools build contrib test man html
|
||||
+SUBDIRS = port libtiff tools build test man html
|
||||
|
||||
release:
|
||||
(rm -f $(top_srcdir)/RELEASE-DATE && echo $(LIBTIFF_RELEASE_DATE) > $(top_srcdir)/RELEASE-DATE)
|
||||
diff -Naur tiff-3.9.1/Makefile.in tiff-3.9.1.oden/Makefile.in
|
||||
--- tiff-3.9.1/Makefile.in 2009-08-28 20:41:13.000000000 +0200
|
||||
+++ tiff-3.9.1.oden/Makefile.in 2009-08-30 12:43:33.000000000 +0200
|
||||
@@ -331,7 +331,7 @@
|
||||
nmake.opt
|
||||
|
||||
dist_doc_DATA = $(docfiles)
|
||||
-SUBDIRS = port libtiff tools build contrib test man html
|
||||
+SUBDIRS = port libtiff tools build test man html
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
@@ -0,0 +1,10 @@
|
||||
--- libtiff/tif_jpeg.c 2010-09-30 13:43:31.045146032 +0200
|
||||
+++ libtiff/tif_jpeg.c.oden 2010-09-30 13:44:59.005141117 +0200
|
||||
@@ -850,6 +850,7 @@ JPEGPreDecode(TIFF* tif, tsample_t s)
|
||||
if (downsampled_output) {
|
||||
/* Need to use raw-data interface to libjpeg */
|
||||
sp->cinfo.d.raw_data_out = TRUE;
|
||||
+ sp->cinfo.d.do_fancy_upsampling = FALSE;
|
||||
tif->tif_decoderow = JPEGDecodeRaw;
|
||||
tif->tif_decodestrip = JPEGDecodeRaw;
|
||||
tif->tif_decodetile = JPEGDecodeRaw;
|
||||
@@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>tiff</Name>
|
||||
<Homepage>http://www.remotesensing.org/libtiff/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for manipulation of TIFF (Tag Image File Format) images</Summary>
|
||||
<Description>This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.</Description>
|
||||
<Archive sha1sum="652e97b78f1444237a82cbcfe014310e776eb6f0" type="targz">ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>jbigkit-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>tiff</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>jbigkit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-devel</Name>
|
||||
<Summary>Developement files for tiff</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">tiff</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-docs</Name>
|
||||
<Summary>Documentation for tiff</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for tiff</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">tiff</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit</Dependency>
|
||||
<Dependency>xz-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-19</Date>
|
||||
<Version>4.0.3</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-02-08</Date>
|
||||
<Version>4.0.3</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2" type="security">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>4.0.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1" type="security">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>4.0.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>tiff</Name>
|
||||
<Summary xml:lang="tr">TIFF (Tag Image File Format) türündeki resimleri işlemeye aracılık eden kütüphane</Summary>
|
||||
<Description xml:lang="tr">Bu kütüphane TIFF (Tag Image File Format) resim biçimi desteği sağlar. Bu biçim resim bilgisi saklamak için pek çok yerde kullanılır.</Description>
|
||||
<Description xml:lang="fr">Ce logiciel fournit le support pour le format "Tag Image File Format" (TIFF), un format très employé pour stocker des informations d'image.</Description>
|
||||
<Description xml:lang="es">Este software facilita soporte para el formato de imagen etiqueteado (TIFF), un formato para almacenamiento de imágenes de uso común.</Description>
|
||||
<Description xml:lang="pl">Biblioteka do manipulacji plikami w formacie TIFF.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-docs</Name>
|
||||
<Summary xml:lang="tr">tiff için belgelendirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-devel</Name>
|
||||
<Summary xml:lang="tr">tiff için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>tiff-32bit</Name>
|
||||
<Summary xml:lang="tr">tiff için 32-bit paylaşımlı kitaplıklar</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user