diff --git a/office/misc/t1utils/actions.py b/office/misc/t1utils/actions.py new file mode 100644 index 0000000000..346b3383df --- /dev/null +++ b/office/misc/t1utils/actions.py @@ -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*") \ No newline at end of file diff --git a/office/misc/t1utils/files/3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch b/office/misc/t1utils/files/3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch new file mode 100644 index 0000000000..8e0e25dc1a --- /dev/null +++ b/office/misc/t1utils/files/3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch @@ -0,0 +1,31 @@ +From 3f1ddda424353f0f926dd28efa47b0ac61556ce8 Mon Sep 17 00:00:00 2001 +From: Eddie Kohler +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 diff --git a/office/misc/t1utils/pspec.xml b/office/misc/t1utils/pspec.xml new file mode 100644 index 0000000000..ee4436f4ba --- /dev/null +++ b/office/misc/t1utils/pspec.xml @@ -0,0 +1,43 @@ + + + + + t1utils + http://www.lcdf.org/type/#t1utils + + Blue Devil + bluedevil@sctzine.com + + office.misc + GPLv2 + app:console + Type 1 Font utilities + t1utils contains six tools (t1ascii, t1binary, t1disasm, t1asm, t1unmac and t1mac) for dealing with Type 1 fonts. + https://github.com/kohler/t1utils/archive/v1.41.tar.gz + + + 3f1ddda424353f0f926dd28efa47b0ac61556ce8.patch + + + + + t1utils + Type 1 Font utilities + + /usr/share/doc + /usr/share/man + /usr/bin + + + + + + 2020-06-03 + 1.41 + First Pisi Release + Blue Devil + bluedevil@sctzine.com + + + \ No newline at end of file diff --git a/office/misc/t1utils/translations.xml b/office/misc/t1utils/translations.xml new file mode 100644 index 0000000000..54de2e027b --- /dev/null +++ b/office/misc/t1utils/translations.xml @@ -0,0 +1,8 @@ + + + + t1utils + Tip 1 fontlar için araçlar + t1utils Tip 1 fontları dönüştürmek için 6 araç (t1ascii, t1binary, t1disasm, t1asm, t1unmac ve t1mac) içerir. + + \ No newline at end of file