t1utils: first pisi rel

This commit is contained in:
blue-devil
2020-06-04 00:58:18 +03:00
parent a68673174e
commit 1681133ad1
4 changed files with 103 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.autoreconf("-vif")
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("LICENSE", "README*")
@@ -0,0 +1,31 @@
From 3f1ddda424353f0f926dd28efa47b0ac61556ce8 Mon Sep 17 00:00:00 2001
From: Eddie Kohler <ekohler@gmail.com>
Date: Wed, 16 Aug 2017 12:37:34 -0400
Subject: [PATCH] Check for memmem declaration; sometimes it is not declared by
default.
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5b4e3ff..b4dc4fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,7 @@ dnl strerror()?
dnl
AC_REPLACE_FUNCS([strerror memmem])
+AC_CHECK_DECLS([memmem])
dnl
@@ -88,7 +89,7 @@ char* strerror(int errno);
#endif
/* Prototype memmem if we don't have it. */
-#if !HAVE_MEMMEM
+#if !HAVE_MEMMEM || !HAVE_DECL_MEMMEM
void* memmem(const void* haystack, size_t haystack_len,
const void* needle, size_t needle_len);
#endif
+43
View File
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>t1utils</Name>
<Homepage>http://www.lcdf.org/type/#t1utils</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>office.misc</PartOf>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Type 1 Font utilities</Summary>
<Description>t1utils contains six tools (t1ascii, t1binary, t1disasm, t1asm, t1unmac and t1mac) for dealing with Type 1 fonts.</Description>
<Archive sha1sum="939c7e87250bf619c772aca6175a80638f09dcca" type="targz">https://github.com/kohler/t1utils/archive/v1.41.tar.gz</Archive>
<Patches>
<!-- Check for memmem declaration; sometimes it is not declared by default.
https://github.com/kohler/t1utils/commit/3f1ddda424353f0f926dd28efa47b0ac61556ce8-->
<Patch level="1">3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch</Patch>
</Patches>
</Source>
<Package>
<Name>t1utils</Name>
<Summary>Type 1 Font utilities</Summary>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-06-03</Date>
<Version>1.41</Version>
<Comment>First Pisi Release</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>t1utils</Name>
<Summary xml:lang="tr">Tip 1 fontlar için araçlar</Summary>
<Description xml:lang="tr">t1utils Tip 1 fontları dönüştürmek için 6 araç (t1ascii, t1binary, t1disasm, t1asm, t1unmac ve t1mac) içerir.</Description>
</Source>
</PISI>