Merge pull request #7588 from blue-devil/master
fix cyclic index and libimagequant
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
#!/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.system("sed -r 's/^install:.*/install:/;/install.*STATICLIB/d' -i Makefile")
|
||||||
|
autotools.configure("--with-openmp")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
autotools.make("shared imagequant.pc")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
#pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README*", "COPYING", "ANNOUNCE")
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
diff -rupN --no-dereference libimagequant-2.12.6/Makefile libimagequant-2.12.6-new/Makefile
|
||||||
|
--- libimagequant-2.12.6/Makefile 2019-12-30 16:44:13.000000000 +0100
|
||||||
|
+++ libimagequant-2.12.6-new/Makefile 2019-12-30 22:23:35.196992505 +0100
|
||||||
|
@@ -114,7 +114,7 @@ install: all $(PKGCONFIG)
|
||||||
|
install -d $(DESTDIR)$(PKGCONFIGDIR)
|
||||||
|
install -d $(DESTDIR)$(INCLUDEDIR)
|
||||||
|
install -m 644 $(STATICLIB) $(DESTDIR)$(LIBDIR)/$(STATICLIB)
|
||||||
|
- install -m 644 $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIBVER)
|
||||||
|
+ install -m 755 $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIBVER)
|
||||||
|
ln -sf $(SHAREDLIBVER) $(DESTDIR)$(LIBDIR)/$(SHAREDLIB)
|
||||||
|
install -m 644 $(PKGCONFIG) $(DESTDIR)$(PKGCONFIGDIR)/$(PKGCONFIG)
|
||||||
|
install -m 644 libimagequant.h $(DESTDIR)$(INCLUDEDIR)/libimagequant.h
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libimagequant</Name>
|
||||||
|
<Homepage>https://pngquant.org/lib/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Palette quantization library that powers pngquant and other PNG optimizers</Summary>
|
||||||
|
<Description>Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.</Description>
|
||||||
|
<Archive sha1sum="950dd2cc5b7f611f365caa072601da1f0379d6c6" type="targz">https://github.com/ImageOptim/libimagequant/archive/2.12.6.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">libimagequant_solibperm.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libimagequant</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgomp</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libimagequant-devel</Name>
|
||||||
|
<Summary>Development files for libimagequant</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libimagequant</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-15</Date>
|
||||||
|
<Version>2.12.6</Version>
|
||||||
|
<Comment>First Pisi Release</Comment>
|
||||||
|
<Name>Blue Devil</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libimagequant</Name>
|
||||||
|
<Summary xml:lang="tr">pngquant ve diger PNG en-iyilestiricilerini giclendiren, palet nicelendirme kitapligidir</Summary>
|
||||||
|
<Description xml:lang="tr">RGBA gorsellerin 8-bit indislenmis-renk gorsellerine donusumu icin kucuk moduler bi c kitapligidir..</Description>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libimagequant-devel</Name>
|
||||||
|
<Summary xml:lang="tr">libimagequant için geliştirme dosyaları</Summary>
|
||||||
|
<Description xml:lang="tr">libimagequant-devel, libimagequant için geliştirme dosyaları içerir.</Description>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
+211297
-211240
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
5ac05c01e4bbb76b089933dd628d0c6d0fefb8d5
|
c3c35936224779b5cc93917d0c429e945f891c3a
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
3ae39479ddd27baec1d2385f69de657b0beae88d
|
a65102ac55be4aedef3db4c96ea48e937e59891d
|
||||||
@@ -45,8 +45,6 @@
|
|||||||
<Dependency>perl-Encode-Locale</Dependency>
|
<Dependency>perl-Encode-Locale</Dependency>
|
||||||
<Dependency>perl-HTTP-Negotiate</Dependency>
|
<Dependency>perl-HTTP-Negotiate</Dependency>
|
||||||
<Dependency>perl-WWW-Robotrules</Dependency>
|
<Dependency>perl-WWW-Robotrules</Dependency>
|
||||||
<!-- optional dependency - for url schemes -->
|
|
||||||
<!--<Dependency>perl-LWP-Protocol-https</Dependency>-->
|
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
|||||||
Reference in New Issue
Block a user