Unverified Kaydet (Commit) 556dfbb9 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

netpbm is compiled.

jbigkit headers was sent wrong place. It was fixed.
üst 997567eb
......@@ -16,10 +16,10 @@ def install():
destDir="/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
inarytools.dolib("libjbig/libjbig.a", destinationDirectory = destDir, mode=755)
inarytools.dolib("libjbig/libjbig85.a", destinationDirectory = destDir, mode=755)
inarytools.dolib("libjbig/jbig.h", destinationDirectory = destDir, mode=755)
inarytools.dolib("libjbig/jbig_ar.h", destinationDirectory = destDir, mode=755)
inarytools.dolib("libjbig/jbig85.h", destinationDirectory = destDir, mode=755)
inarytools.insinto("/usr/include", "libjbig/jbig.h")
inarytools.insinto("/usr/include", "libjbig/jbig_ar.h")
inarytools.insinto("/usr/include", "libjbig/jbig85.h")
if get.buildTYPE() == "emul32":
inarytools.dobin("pbmtools/jbgtopbm")
inarytools.dobin("pbmtools/pbmtojbg")
......@@ -27,5 +27,5 @@ def install():
inarytools.dobin("pbmtools/pbmtojbg85")
inarytools.doman("pbmtools/jbgtopbm.1", "pbmtools/pbmtojbg.1")
inarytools.dodoc("ANNOUNCE", "CHANGES", "COPYING", "TODO")
......@@ -35,6 +35,13 @@
</Files>
</Package>
<History>
<Update release="2">
<Date>2019-12-12</Date>
<Version>2.1</Version>
<Comment>Rebuilded with fixing headers and 32bit package.</Comment>
<Name>Suleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
<Update release="1">
<Date>2019-04-12</Date>
<Version>2.1</Version>
......
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/copy-left/gpl-3.0.txt
from inary.actionsapi import autotools
from inary.actionsapi import inarytools
from inary.actionsapi import shelltools
from inary.actionsapi import get
import os
def makedepends(d):
for root, dirs, files in os.walk(d):
for name in files:
if name == "Makefile":
shelltools.touch(os.path.join(root, "depend.mk"))
def setup():
inarytools.dosed("config.mk", "^STRIPFLAG.*=.*", "STRIPFLAG = ")
# force external jasper usage
inarytools.echo("config.mk", "JASPERLIB = -ljasper")
inarytools.echo("config.mk", "JASPERHDR_DIR = /usr/include/jasper")
makedepends("./")
def build():
autotools.make('CFLAGS="%s -fPIC -O3 -ffast-math -pedantic -fno-common" LDFLAGS="%s" -j1' % (get.CFLAGS(), get.LDFLAGS()))
def install():
inarytools.dodir("/")
autotools.make('-j1 package pkgdir=%s/usr' % get.installDIR())
inarytools.remove("/usr/bin/manweb")
for data in ["VERSION","pkginfo","README","pkgconfig_template","config_template"]:
inarytools.remove("/usr/%s" % data)
for directory in ["link", "man/web"]:
inarytools.removeDir("/usr/%s" % directory)
inarytools.domove("/usr/misc", "/usr/share/netpbm")
inarytools.domove("/usr/man", "/usr/share")
# remove conflicts with jbigkit
for i in ["pbm", "pgm"]:
inarytools.remove("/usr/share/man/man5/%s.5" % i)
inarytools.dodoc("README", "doc/*LICENSE*")
This diff is collapsed.
<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
<Source>
<Name>netpbm</Name>
<Homepage>http://netpbm.sourceforge.net/</Homepage>
<Packager>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>A set of utilities to convert to/from the netpbm (and related) formats</Summary>
<Description>Netpbm is a toolkit for manipulation of graphic images, including conversion of images between a variety of different formats. There are over 300 separate tools in the package including converters for about 100 graphics formats.</Description>
<Archive sha1sum="df844a252704f37d1e7f64c9a1d98f244f4fc6c7" type="targz">https://netcologne.dl.sourceforge.net/project/netpbm/super_stable/10.73.29/netpbm-10.73.29.tgz</Archive>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="config.mk">config.mk</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>jasper-devel</Dependency>
<Dependency>tiff</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>jbig2dec-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>netpbm</Name>
<RuntimeDependencies>
<Dependency>jasper</Dependency>
<Dependency>tiff</Dependency>
<Dependency>jbig2dec</Dependency>
<Dependency>libpng</Dependency>
<Dependency>libjpeg-turbo</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/netpbm</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>netpbm-devel</Name>
<Summary>Development files for netpbm</Summary>
<RuntimeDependencies>
<Dependency release="current">netpbm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2019-12-12</Date>
<Version>10.73.29</Version>
<Comment>First release</Comment>
<Name>Süleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
</History>
</INARY>
<INARY>
<Source>
<Name>netpbm</Name>
<Summary xml:lang="tr">Netpbm vb. gibi formatlar arasında dönüşüm yapan araçlar serisi</Summary>
</Source>
<Package>
<Name>netpbm-devel</Name>
<Summary xml:lang="tr">netpbm için geliştirme dosyaları</Summary>
</Package>
</INARY>
<INARY>
<Name>science.astronomy</Name>
</INARY>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment