imlib add repo
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#!/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 shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
optimizationtype = "--enable-amd64" if get.ARCH() == "x86_64" else "--enable-mmx"
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-static \
|
||||
--with-x \
|
||||
--with-jpeg \
|
||||
--with-png \
|
||||
--with-tiff \
|
||||
--with-gif \
|
||||
--with-zlib \
|
||||
--with-bzip2 \
|
||||
%s \
|
||||
--enable-visibility-hiding" % optimizationtype)
|
||||
#--with-id3 \
|
||||
shelltools.system("sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool")
|
||||
shelltools.system("sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dohtml("doc/*")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO")
|
||||
@@ -0,0 +1,12 @@
|
||||
--- imlib2-config.in~ 2006-10-27 00:17:29.000000000 +0200
|
||||
+++ imlib2-config.in 2006-10-27 00:17:29.000000000 +0200
|
||||
@@ -45,8 +45,7 @@
|
||||
echo $includes
|
||||
;;
|
||||
--libs)
|
||||
- libdirs=-L@libdir@
|
||||
- echo $libdirs -lImlib2 @my_libs@
|
||||
+ echo -lImlib2 @my_libs@
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
@@ -0,0 +1,28 @@
|
||||
From 5dde234b2d3caf067ea827858c53adc5d4c56c13 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sat, 18 Jan 2014 13:56:54 -0500
|
||||
Subject: [PATCH] imlib2-config: delete old reference to @my_libs@
|
||||
|
||||
This was cleaned up a while ago, but this file was missed.
|
||||
|
||||
URL: https://bugs.gentoo.org/497894
|
||||
---
|
||||
imlib2-config.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/imlib2-config.in b/imlib2-config.in
|
||||
index cf814c6..965f7c3 100644
|
||||
--- a/imlib2-config.in
|
||||
+++ b/imlib2-config.in
|
||||
@@ -46,7 +46,7 @@ while test $# -gt 0; do
|
||||
;;
|
||||
--libs)
|
||||
libdirs=-L@libdir@
|
||||
- echo $libdirs -lImlib2 @my_libs@
|
||||
+ echo $libdirs -lImlib2
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
--
|
||||
1.8.4.3
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--- src/modules/loaders/loader_gif.c.orig
|
||||
+++ src/modules/loaders/loader_gif.c
|
||||
@@ -40,7 +40,11 @@ load(ImlibImage * im, ImlibProgressFunct
|
||||
#endif
|
||||
if (fd < 0)
|
||||
return 0;
|
||||
+#if defined(GIFLIB_MAJOR) && (GIFLIB_MAJOR >= 5)
|
||||
+ gif = DGifOpenFileHandle(fd, NULL);
|
||||
+#else
|
||||
gif = DGifOpenFileHandle(fd);
|
||||
+#endif
|
||||
if (!gif)
|
||||
{
|
||||
close(fd);
|
||||
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>imlib2</Name>
|
||||
<Homepage>http://enlightenment.org/Libraries/Imlib2</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Second version of the general image loading and rendering library</Summary>
|
||||
<Description>Imlib 2 is the successor to Imlib. It is not just a newer version - it is a completely new library. Imlib2 can be installed alongside Imlib 1.x without any problems since they are effectively different libraries - but they Have very similar functionality.</Description>
|
||||
<Archive sha1sum="238943914df6caacda910ec9cfc81f4269a025aa" type="targz">http://sourceforge.net/projects/enlightenment/files/imlib2-src/1.4.6/imlib2-1.4.6.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>giflib-devel</Dependency>
|
||||
<Dependency>libid3tag-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">imlib2-1.4.5-no-my-libs.patch</Patch>
|
||||
<Patch level="0">imlib2-giflib5.patch</Patch>
|
||||
<!--Patch level="0">imlib2-1.3.0-multilib.patch</Patch-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>imlib2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>giflib</Dependency>
|
||||
<Dependency>libid3tag</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/imlib2</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>imlib2-devel</Name>
|
||||
<Summary>Development files for imlib2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">imlib2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.4.6</Version>
|
||||
<Comment>Fix build.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>1.4.6</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-26</Date>
|
||||
<Version>1.4.6</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>1.4.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>namsp-01@hotmail.it</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>imlib2</Name>
|
||||
<Summary xml:lang="tr">Genel resim yükleme ve tarama kütüphanesi'nin ikinci versiyonu</Summary>
|
||||
<Description xml:lang="tr">Imlib 2, Imlib'in gelişmişidir. Sadece ileri bir sürümü değildir, tamamen yeni bir kütüphanedir. Imlib2 ve Imlib 1.x tamamen farklı oldukları için bir arada kurulu bulunabilirler. İkisi de aynı amaçla yapılmıştır.</Description>
|
||||
<Description xml:lang="fr">Imlib 2 est le successeur de Imlib. Il ne s'agit pas là juste d'une version plus récente d'imlib 1, mais vraiment d'une librairie complètement différente. S'agissant effectivement d'une différente librairie - même si elles ont des fonctionnalités similaires, Imlib2 peut être installée aux côtés de Imlib1.x sans aucun problème.</Description>
|
||||
<Description xml:lang="es">Imlib 2 es el sucesor de Imlib. no es simplemente una versión actualizada - es una librería completamente nueva. Imlib2 puede instalarse junto con Imlib 1.x sin problemas, ya que efectivamente son librerías diferentes - sin embargo tienen una funcionalidad similar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>imlib2-devel</Name>
|
||||
<Summary xml:lang="tr">imlib2 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user