diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/ttf2pt1 |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/ttf2pt1')
-rw-r--r-- | app-text/ttf2pt1/Manifest | 10 | ||||
-rw-r--r-- | app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff | 39 | ||||
-rw-r--r-- | app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch | 22 | ||||
-rw-r--r-- | app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch | 82 | ||||
-rw-r--r-- | app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch | 20 | ||||
-rw-r--r-- | app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch | 11 | ||||
-rw-r--r-- | app-text/ttf2pt1/metadata.xml | 11 | ||||
-rw-r--r-- | app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild | 40 |
8 files changed, 235 insertions, 0 deletions
diff --git a/app-text/ttf2pt1/Manifest b/app-text/ttf2pt1/Manifest new file mode 100644 index 000000000000..94d061449568 --- /dev/null +++ b/app-text/ttf2pt1/Manifest @@ -0,0 +1,10 @@ +AUX ttf2pt1-3.4.0-man-pages.diff 1441 SHA256 9ee30134825bcddde474f9df69e8ef410825396482fb84e2554755ef36614093 SHA512 af4d6a11db15fc7113bcd3872682899400de01cc97169d0027fe4457c8c9abf02c8b7f93c0ae5783ab05964c4816087118686f3e8195a0ff4d6b5eae41df3b0f WHIRLPOOL 852ab007ce7ea96c505f6007b10fa76de26d2810b406a6451ab078a1c85e0ff3dc8dd71476d07cd5e44a298800ae0b69b32f35a21527271ed267da574e9e7e89 +AUX ttf2pt1-3.4.4-LDFLAGS.patch 933 SHA256 57d3d96231fa0a00b64c2c4e10a9d9e46c7eafbb457dfcf3d6b4dbcdd0116f81 SHA512 b0d292828a71a3f4668e7ce3d177b45030fd7739b9a10fc37ab6788f2a34e4bfdcb2730086592ca5b17071c34b1b3e448642e6fcdc721e5f6e8c0b67511859bf WHIRLPOOL d9d0d939dd1795286cf432dc4b1d5b38008116f188dcd54949df543bcdba35bb95075c7af717847595408308a8a4f88dafca753ad8e7a3cac92ccee9e08b5961 +AUX ttf2pt1-3.4.4-Makefile.patch 2911 SHA256 cb7a90cb39e7091c05e1dd1a870aa3fa438588abb6e8cc878528966b169607a6 SHA512 a1bb5f9f2b7517d09bf093b12ac99bfcc517546568fce395aad430de06128b3f3d62e153bdcef249738392676bc21a3e26cbdd1a42203093c56ce8ee035757eb WHIRLPOOL 76b91d1dade0d3dde6feba414cef148131fda0121d64856df7f7754f3afc3602a806f63655da8e5e586d24c31ca87a1584e70a3170c123b90a3e2ca51fb901f9 +AUX ttf2pt1-3.4.4-freetype-2.5.patch 626 SHA256 af1d6f1c8e77ce988e84c706ab5bc05efd0dfb72f5775f7185bd2b20e142cfe7 SHA512 41c137dc87a1c5c38469d6faf9cf5349a4ae8677ae9640ce7707df191acb91c85ad82eaf485238b1864c20556301436c5e0133af67529a9cf136285e09d344bc WHIRLPOOL 5a5bf26ab85ad454e6430842ef3038b18289871267569b7a05354c6217d113bb8cf1fcf92c240eb86fef57aa0bbc7b630c5127b5da6b1b95b17d2338cc645e7f +AUX ttf2pt1-3.4.4-freetype.patch 378 SHA256 cd235a861eae7e1fe3e2c69da71086a78e195dd634df403fba3d4207d81d97a2 SHA512 93cdd2cb660a9416d30189e0ef1e14c97ca686efa2902d8617aec585040ff74b7bea6354296a99600096d1c73acda085217264d5d07e716f2d90a457ea4e9669 WHIRLPOOL be118be0736eae2a2750a72529f932f1997d3d7456da7866d561e77dbed3c3e5384dfb8b07f96e88e356ca58ea720c7976c888497df2537dfe6e43600eed708c +DIST ttf2pt1-3.4.4.tgz 230547 SHA256 ae926288be910073883b5c8a3b8fc168fde52b91199fdf13e92d72328945e1d0 SHA512 ff2b41b0d54c2feb8565c4bcf9fbc2ce799aa6228815c2787e26127f6c0ca380114b3ab7a12fa50a52279a3452bcb91dbad5c661e83078f25036f69a4d1cf014 WHIRLPOOL 10d4f372e52bbba9f405a3e811f7404a47f25259655f0ce85e4e06381c4a69cbce79833f5d15d900d4bd09cb740b4a74ce1506e56c1f58a67b2f3cf90da7884a +EBUILD ttf2pt1-3.4.4-r1.ebuild 1108 SHA256 9ef3df62b3bd91ca51474961c0072c3fdbceae5c33ce69dd86ddbb5f8bc8f0e3 SHA512 85018e09079c1fccf23ad97287372d0a9faabd0229a8349b3761880ad8073c088945e2e51df8ba3cc0d5cc2623f2f9ded4decd803d3d90e8b941b0646cab38d0 WHIRLPOOL 9aea4fc36dab0592cc596f772ab19978579e86a272829ab9ecf634c3c5fe8b05230e83c13848263bf55a51716df1fcacfdb17d92881f45e4de95d523c923aebf +MISC ChangeLog 2629 SHA256 1fc5cfbf3a13258a71989571b7fa1d7bdbf9b26f04cc9c539d99fc42a7998f0e SHA512 27ce13c05e1f98e57fea67d275b68b594d50caa592289fb44e5b1053104b03109d796c80b73d7a0d19a64887b542a06c95878fb5142dfd4af20a06ffb68e9e7e WHIRLPOOL 7e340878e666bf6fddb2b2f2b7c5c371789e03af66840490efaaabfcd99ff38718c244553e97ae48122a160e1db46013be59a6978e87922449c56f136b5355bb +MISC ChangeLog-2015 4145 SHA256 bc263799fc291c67966493af7aed33403debce58b311ff18cd8da155301e6659 SHA512 8598c068420ea36190a4a4e0b772956cb7e04fd6c09f971a63f88cdc1b1356fdd3e688c6d35f2103e7072c0f4d8118bd77c72b7e346435048e9dae6384b795a4 WHIRLPOOL df760f310fc3e0a95ce69aa446dc31c02fc6577a14778ee660d9d7972ab93294931dc44dff9044f91b2e38fa8f1ff447d7e70f2c7cecb1974e172c0f68363dd6 +MISC metadata.xml 315 SHA256 357a6a81aa43ea0aa977ecac4892b8d6cdf6114a6a9bbe2e22df43afa6d92c45 SHA512 2061dd88c2b81b9ac8c6f55bf10f39908f457741f14b4e949563b9195a3e5a09724ed585569acd5426bf0f95d740abdd1a4a61301f970814c7cf6e45f960a9e3 WHIRLPOOL 5db4b6f071c7b4eec001448347889a8cc295f437982e11d4a3cbf0c14f82505172a33f62a8ae294ef4e0ed1a7eb8f19bae3ca6989f2481475f7bb064aa33f9ab diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff b/app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff new file mode 100644 index 000000000000..2d301244272c --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.0-man-pages.diff @@ -0,0 +1,39 @@ +diff -ur ttf2pt1-3.4.0.orig/ttf2pt1.1 ttf2pt1-3.4.0/ttf2pt1.1 +--- ttf2pt1-3.4.0.orig/ttf2pt1.1 2001-11-25 00:58:11.000000000 +0000 ++++ ttf2pt1-3.4.0/ttf2pt1.1 2006-08-15 19:15:37.129672839 +0000 +@@ -109,7 +109,8 @@ + .. + .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 + . \" AM - accent mark definitions +-.bd B 3 ++''' Next line commented because it garbles bold font when viewed with man-1.6 ++'''.bd B 3 + . \" fudge factors for nroff and troff + .if n \{\ + . ds #H 0 +diff -ur ttf2pt1-3.4.0.orig/ttf2pt1_convert.1 ttf2pt1-3.4.0/ttf2pt1_convert.1 +--- ttf2pt1-3.4.0.orig/ttf2pt1_convert.1 2001-11-25 00:58:13.000000000 +0000 ++++ ttf2pt1-3.4.0/ttf2pt1_convert.1 2006-08-15 19:16:14.369517359 +0000 +@@ -109,7 +109,8 @@ + .. + .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 + . \" AM - accent mark definitions +-.bd B 3 ++''' Next line commented because it garbles bold font when viewed with man-1.6 ++'''.bd B 3 + . \" fudge factors for nroff and troff + .if n \{\ + . ds #H 0 +diff -ur ttf2pt1-3.4.0.orig/ttf2pt1_x2gs.1 ttf2pt1-3.4.0/ttf2pt1_x2gs.1 +--- ttf2pt1-3.4.0.orig/ttf2pt1_x2gs.1 2001-11-25 00:58:13.000000000 +0000 ++++ ttf2pt1-3.4.0/ttf2pt1_x2gs.1 2006-08-15 19:16:30.770568473 +0000 +@@ -109,7 +109,8 @@ + .. + .\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 + . \" AM - accent mark definitions +-.bd B 3 ++''' Next line commented because it garbles bold font when viewed with man-1.6 ++'''.bd B 3 + . \" fudge factors for nroff and troff + .if n \{\ + . ds #H 0 diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch new file mode 100644 index 000000000000..3d03e03e14ca --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-LDFLAGS.patch @@ -0,0 +1,22 @@ +diff --git a/Makefile b/Makefile +index 2616d46..cf72cba 100644 +--- a/Makefile ++++ b/Makefile +@@ -179,7 +179,7 @@ app/RPM/ttf2pt1.spec: app/RPM/ttf2pt1.spec.src version.h + sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' <app/RPM/ttf2pt1.spec.src >$@ + + t1asm: t1asm.c +- $(CC) $(CFLAGS) -o t1asm -DSTANDALONE t1asm.c $(LIBS) ++ $(CC) $(CFLAGS) -o t1asm -DSTANDALONE t1asm.c $(LDFLAGS) $(LIBS) + + ttf2pt1.o: ttf2pt1.c ttf.h pt1.h global.h version.h + $(CC) $(CFLAGS) -c ttf2pt1.c +@@ -203,7 +203,7 @@ runt1asm.o: runt1asm.c global.h + $(CC) $(CFLAGS) $(CFLAGS_EXTT1ASM) -c runt1asm.c + + ttf2pt1: ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o +- $(CC) $(CFLAGS) -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o $(LIBS) ++ $(CC) $(CFLAGS) -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o $(LDFLAGS) $(LIBS) + + CHANGES: CHANGES.html + scripts/unhtml <CHANGES.html >CHANGES diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch new file mode 100644 index 000000000000..6c760f43dd21 --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-Makefile.patch @@ -0,0 +1,82 @@ +diff -Naur ttf2pt1-3.4.4-orig/Makefile ttf2pt1-3.4.4/Makefile +--- ttf2pt1-3.4.4-orig/Makefile 2007-07-15 20:06:50.000000000 -0600 ++++ ttf2pt1-3.4.4/Makefile 2007-07-15 20:12:40.000000000 -0600 +@@ -9,7 +9,7 @@ + # + # Use GNU C even if it's not the default compiler + # +-#CC=gcc ++CC=gcc + # + # Use the standard ANSI C compiler on HP-UX even if it's not default + # +@@ -60,18 +60,18 @@ + # (if the include and lib directory do not match your installation, + # modify them), also uncomment LIBS_FT + # +-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2 -I/usr/local/include ++CFLAGS_FT = -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include + + # + # The FreeType-2 library flags (disabled by default) + +-LIBS_FT= ++#LIBS_FT= + + # To enable use of the FreeType-2 library + # (if the include and lib directory do not match your installation, + # modify them), also uncomment CFLAGS_FT + # +-#LIBS_FT= -L/usr/local/lib -lfreetype ++LIBS_FT= -L/usr/lib -lfreetype + + # + # The flags for C compiler for the Autotrace library (disabled by default). +@@ -120,18 +120,18 @@ + # Installation-related stuff + # + # The base dir for installation and subdirs in it +-INSTDIR = /usr/local ++INSTDIR = /usr + # for binaries + BINDIR = $(INSTDIR)/bin + # for binaries of little general interest + LIBXDIR = $(INSTDIR)/libexec/ttf2pt1 + # for scripts, maps/encodings etc. + SHAREDIR = $(INSTDIR)/share/ttf2pt1 +-MANDIR = $(INSTDIR)/man ++MANDIR = $(INSTDIR)/share/man + + # owner and group of installed files + OWNER = root +-GROUP = bin ++GROUP = root + + # After you have configured the Makefile, comment out the following + # definition: +@@ -244,17 +244,19 @@ + chmod -R go-w $(SHAREDIR) + scripts/inst_file ttf2pt1 $(BINDIR)/ttf2pt1 $(OWNER) $(GROUP) 0755 + [ -f $(BINDIR)/t1asm ] || scripts/inst_file t1asm $(LIBXDIR)/t1asm $(OWNER) $(GROUP) 0755 +- sed 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|;\ +- s|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|;\ +- s|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|;' <scripts/convert >cvt.tmp ++ sed -e 's|^TTF2PT1_BINDIR=$$|TTF2PT1_BINDIR=$(BINDIR)|' \ ++ -e 's|^TTF2PT1_LIBXDIR=$$|TTF2PT1_LIBXDIR=$(LIBXDIR)|' \ ++ -e 's|^TTF2PT1_SHAREDIR=$$|TTF2PT1_SHAREDIR=$(SHAREDIR)|' \ ++ <scripts/convert >cvt.tmp + scripts/inst_file cvt.tmp $(BINDIR)/ttf2pt1_convert $(OWNER) $(GROUP) 0755 + scripts/inst_file cvt.tmp $(SHAREDIR)/scripts/convert $(OWNER) $(GROUP) 0755 + rm cvt.tmp + scripts/inst_file scripts/x2gs $(BINDIR)/ttf2pt1_x2gs $(OWNER) $(GROUP) 0755 + for i in $(MANS1); do { \ +- sed 's|TTF2PT1_BINDIR|$(BINDIR)|;\ +- s|TTF2PT1_LIBXDIR|$(LIBXDIR)|;\ +- s|TTF2PT1_SHAREDIR|$(SHAREDIR)|;' <$$i >$(MANDIR)/man1/$$i \ ++ sed -e 's|TTF2PT1_BINDIR|$(BINDIR)|' \ ++ -e 's|TTF2PT1_LIBXDIR|$(LIBXDIR)|' \ ++ -e 's|TTF2PT1_SHAREDIR|$(SHAREDIR)|' \ ++ <$$i >$(MANDIR)/man1/$$i \ + && chown $(OWNER) $(MANDIR)/man1/$$i \ + && chgrp $(GROUP) $(MANDIR)/man1/$$i \ + && chmod 0644 $(MANDIR)/man1/$$i \ diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch new file mode 100644 index 000000000000..613da6c7339b --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype-2.5.patch @@ -0,0 +1,20 @@ +diff -Naur ttf2pt1-3.4.4-orig/ft.c ttf2pt1-3.4.4/ft.c +--- ttf2pt1-3.4.4.orig/ft.c 2014-07-02 14:19:32.000000000 -0700 ++++ ttf2pt1-3.4.4/ft.c 2014-07-02 14:20:22.794538869 -0700 +@@ -13,11 +13,11 @@ + #include <ctype.h> + #include <sys/types.h> + #include <ft2build.h> +-#include <freetype/freetype.h> +-#include <freetype/ftglyph.h> +-#include <freetype/ftsnames.h> +-#include <freetype/ttnameid.h> +-#include <freetype/ftoutln.h> ++#include <freetype2/freetype.h> ++#include <freetype2/ftglyph.h> ++#include <freetype2/ftsnames.h> ++#include <freetype2/ttnameid.h> ++#include <freetype2/ftoutln.h> + #include "pt1.h" + #include "global.h" + diff --git a/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch new file mode 100644 index 000000000000..8257742ebe59 --- /dev/null +++ b/app-text/ttf2pt1/files/ttf2pt1-3.4.4-freetype.patch @@ -0,0 +1,11 @@ +diff -Naur ttf2pt1-3.4.4-orig/ft.c ttf2pt1-3.4.4/ft.c +--- ttf2pt1-3.4.4-orig/ft.c 2007-07-15 20:23:43.000000000 -0600 ++++ ttf2pt1-3.4.4/ft.c 2007-07-15 20:24:02.000000000 -0600 +@@ -12,6 +12,7 @@ + #include <stdlib.h> + #include <ctype.h> + #include <sys/types.h> ++#include <ft2build.h> + #include <freetype/freetype.h> + #include <freetype/ftglyph.h> + #include <freetype/ftsnames.h> diff --git a/app-text/ttf2pt1/metadata.xml b/app-text/ttf2pt1/metadata.xml new file mode 100644 index 000000000000..7c608c9e66b9 --- /dev/null +++ b/app-text/ttf2pt1/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>fonts@gentoo.org</email> + <name>Fonts</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">ttf2pt1</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild b/app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild new file mode 100644 index 000000000000..624146104adb --- /dev/null +++ b/app-text/ttf2pt1/ttf2pt1-3.4.4-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="True Type Font to Postscript Type 1 Converter" +HOMEPAGE="http://ttf2pt1.sourceforge.net/" +SRC_URI="mirror://sourceforge/ttf2pt1/${P}.tgz" + +LICENSE="ttf2pt1" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="" + +DEPEND=">=media-libs/freetype-2.5.1:2" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-Makefile.patch + epatch "${FILESDIR}"/${P}-LDFLAGS.patch + epatch "${FILESDIR}"/${PN}-3.4.0-man-pages.diff + epatch "${FILESDIR}"/${P}-freetype.patch + epatch "${FILESDIR}"/${P}-freetype-2.5.patch + + sed -i -e "/^CC=/ { s:gcc:$(tc-getCC): }" Makefile + sed -i -e "/^CFLAGS_SYS=/ { s:-O.*$:${CFLAGS}: }" Makefile + sed -i -e "/^LIBS_FT=/ { s:-L/usr/lib:-L/usr/$(get_libdir): }" Makefile + sed -i -e "/^LIBXDIR =/ { s:libexec:$(get_libdir): }" Makefile +} + +src_install() { + emake INSTDIR="${D}"/usr install + dodir /usr/share/doc/${PF} + pushd "${D}"/usr/share/ttf2pt1 > /dev/null + rm -r app other + mv [A-Z]* ../doc/${PF} + popd > /dev/null +} |