exiv2 fix builddep.

This commit is contained in:
Ertuğrul Erata
2015-07-23 10:28:34 +03:00
parent 5b9d5625fd
commit 98d5284295
5 changed files with 148 additions and 0 deletions
+22
View File
@@ -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
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static \
--disable-dependency-tracking \
--disable-rpath")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README", "doc/ChangeLog")
@@ -0,0 +1,23 @@
diff -up exiv2-0.18-pre2/src/Makefile.deps exiv2-0.18-pre2/src/Makefile
--- exiv2-0.18-pre2/src/Makefile.deps 2008-09-18 05:26:58.000000000 -0500
+++ exiv2-0.18-pre2/src/Makefile 2008-11-29 05:46:14.000000000 -0600
@@ -192,11 +192,19 @@ $(CCOBJ): %.o: %.cpp
@$(LIBTOOL) --mode=compile $(COMPILE.cc) -DEXV_BUILDING_LIB=1 -o $@ $<
@$(MAKEDEPEND)
@$(POSTDEPEND)
+# The dependancies here are wrong. It generates .lo output,
+# so things are rebuilt *every* time 'make' is called.
+# Let's try a quick-n-dirty hack -- Rex
+ touch $@
$(COBJ): %.o: %.c
@$(LIBTOOL) --mode=compile $(COMPILE.c) -DEXV_BUILDING_LIB=1 -o $@ $<
@$(MAKEDEPEND)
@$(POSTDEPEND)
+# The dependancies here are wrong. It generates .lo output,
+# so things are rebuilt *every* time 'make' is called.
+# Let's try a quick-n-dirty hack -- Rex
+ touch $@
$(sort $(BINOBJ) $(EXIV2OBJ) $(MCOBJ) path-test.o): %.o: %.cpp
$(COMPILE.cc) -o $@ $<
+9
View File
@@ -0,0 +1,9 @@
<html><head><title>kde-48-pisi - Revision 691: /trunk/ext-libs/exiv2/files</title></head>
<body>
<h2>kde-48-pisi - Revision 691: /trunk/ext-libs/exiv2/files</h2>
<ul>
<li><a href="../">..</a></li>
<li><a href="exiv2-0.18-deps.patch">exiv2-0.18-deps.patch</a></li>
</ul>
<hr noshade><em><a href="http://code.google.com/">Google Code</a> powered by <a href="http://subversion.apache.org/">Subversion</a></em>
</body></html>
+79
View File
@@ -0,0 +1,79 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>exiv2</Name>
<Homepage>http://www.exiv2.org</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Another library for parsing, editing, and saving EXIF data</Summary>
<Description>exiv2 is a C++ library and a command line utility to access image metadata. Exiv2 is available as free software and with a commercial license, and is used in a growing number of projects.</Description>
<Archive sha1sum="2f19538e54f8c21c180fa96d17677b7cff7dc1bb" type="targz">http://www.exiv2.org/exiv2-0.24.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>expat-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">exiv2-0.18-deps.patch</Patch>
</Patches>
</Source>
<Package>
<Name>exiv2</Name>
<RuntimeDependencies>
<Dependency>exiv2-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>exiv2-libs</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>exiv2-devel</Name>
<Summary>Development files for exiv2</Summary>
<RuntimeDependencies>
<Dependency release="current">exiv2-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-01-23</Date>
<Version>0.24</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>0.23</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>exiv2</Name>
<Description xml:lang="tr">Exiv2 resimlerin başlık bilgilerine ulaşmak için kullanılan bir C++ kütüphanesi ve komut satırı uygulamasıdır. Exiv2, hem özgür yazılım hem de ticari yazılım lisansıyla kullanılabilir.</Description>
<Description xml:lang="fr">Exiv2 est une librairie C++ ainsi qu'un utilitaire en ligne de commande pour accéder aux méta-données d'images. Exiv2 est disponible en tant que logiciel libre ou avec une licence commerciale et est utilisée par un nombre croissant de projets.</Description>
<Description xml:lang="es">Exiv2 es una librería C++ y una herramienta de línea de comandopara acceder metadatos de imágenes. Exiv2 está disponible como software libre y con licencia comercial, y se utiliza cada vez en más proyectos.</Description>
<Summary xml:lang="tr">EXIF verilerini ayrıştırmak, düzenlemek ve kaydetmek için bir diğer kitaplık</Summary>
</Source>
<Package>
<Name>exiv2-devel</Name>
<Summary xml:lang="tr">exiv2 için geliştirme dosyaları</Summary>
</Package>
</PISI>