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 /media-gfx/fondu |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/fondu')
-rw-r--r-- | media-gfx/fondu/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/fondu/files/fondu-20060102-build-fix.patch | 70 | ||||
-rw-r--r-- | media-gfx/fondu/fondu-20060102-r1.ebuild | 32 | ||||
-rw-r--r-- | media-gfx/fondu/metadata.xml | 11 |
4 files changed, 119 insertions, 0 deletions
diff --git a/media-gfx/fondu/Manifest b/media-gfx/fondu/Manifest new file mode 100644 index 000000000000..dd238024e1ed --- /dev/null +++ b/media-gfx/fondu/Manifest @@ -0,0 +1,6 @@ +AUX fondu-20060102-build-fix.patch 2446 SHA256 1719b84e44e807499babe9eebd24c948d0c3f3837a5826bcb59b9e6e240e3462 SHA512 02bd3202020718501540249d9f97c82ee3ddae25f6371a06d7b448fb43e393b5b2bcf5d6609395e6928d5bb559ed6b36614ae6cae271b4aae6afa2f0916b533b WHIRLPOOL 61f43d049802a1e483d21a0ce1dca1037cb642398c2fd6899d66499cf1823832d3e3914bd228d540c7948533aac85fb72d0186b0bfe434480292de20fa9a5da7 +DIST fondu_src-060102.tgz 131516 SHA256 22bb535d670ebc1766b602d804bebe7e84f907c219734e6a955fcbd414ce5794 SHA512 01d31901ab50eee70a74a3e211d78c55173748ad6e0cdadcda471a1f543856795a3bd8b421206cde044d240a1b425f32f6e40239ade0e87517e00b6ed9277bce WHIRLPOOL 26a39158cc4bda39f62c6dee9f6ab62fa9f5e0143924550e1bc806285e16755d6dd212b8c5b56c46bf7beb9a35019ab9171beb7d31d9887480a984b032d02d66 +EBUILD fondu-20060102-r1.ebuild 729 SHA256 e9feefa6ffc2095b11ae5044ce26932140fa23b14877fddf82d66458afd39d41 SHA512 35b4307249bc29771253a65050d932f598ef4d493a5226a40a838386b54b301b38689a44d1bfeb44734296a8ae4fe8dd4a6c7efd5a4f1a3214ec2732c8f7a335 WHIRLPOOL 60710b816eb192eb9a6869da1ecc5559d89229d5116e6b292da2f1fea2121ec27cf7f30b8aeb1def387f70781dc3f9ff9214f1a914b2ce94ac422c0bd3e7c62a +MISC ChangeLog 3021 SHA256 56a13cb3ecc064b078f6b25e45095ff9ef1a7720b2bbced42bd5616256f27560 SHA512 ae442ae480849753c5bd413bf987f6bebdb69651eff60679dedc612061ef3f75919a000e4a38bebfcf3d471eb77924e67f3ac9134ff390a7d684aede35514feb WHIRLPOOL 55396ce5c8372493466750dd2edeac72cab73b77dcf7600d7cfc8c5c07160cd1ccda5df2e0b17055bc2340cac4e9af4c8206aeb670f5f0672dfcc75996f5ad5a +MISC ChangeLog-2015 2124 SHA256 066fb3b29c0f34578828e3a07cb5b748db988167a267023957b2d8bb3ca469d8 SHA512 cb953bb581aaa8215fd72090822d43785be805761d27269aa90578df4fbf5eb203f5ceacb953109239ac1cbc2073ff7d9f2da338519efff964856d5257ce6667 WHIRLPOOL c5e5187012b58c941fc7ab4bef71a27b4f2bd00083dae2ab7b007b775fd627674d767602c0fcac61f768f3e86a9946b19cbb503f73189c1802eba1ca9120e549 +MISC metadata.xml 313 SHA256 f6a6690c2f029ec739375226e55d70a1f4042c77a65a6085334ff8e5cd50f76f SHA512 142d5ea488f33eaf8b47fc0d3cb330bc01a425756a7d49ad0df7f60dcebf1ba986684b4dd2e2c44ce41d2af018b9586f94f903ce7ba2aec0eb8958d8b7586e48 WHIRLPOOL 06ee167260fb58922810c430246afb2ffeb28fa2ee440a40ed6e922e02fa6d609a440e046a5cd7db904b2f88794638776c77711db04f1ced149286ee3fd3e5be diff --git a/media-gfx/fondu/files/fondu-20060102-build-fix.patch b/media-gfx/fondu/files/fondu-20060102-build-fix.patch new file mode 100644 index 000000000000..d84d0b7bde4e --- /dev/null +++ b/media-gfx/fondu/files/fondu-20060102-build-fix.patch @@ -0,0 +1,70 @@ +Fixes: +x86_64-pc-linux-gnu-gcc -O2 -c -o fondu.o fondu.c +fondu.c: In function 'BuildFondList': +fondu.c:515: error: called object 'strlen' is not a function + +x86_64-pc-linux-gnu-gcc -O2 -c -o frommacbinary.o frommacbinary.c +frommacbinary.c: In function 'Usage': +frommacbinary.c:58: warning: too few arguments for format + +Upstream: https://sourceforge.net/tracker/?func=detail&aid=2875547&group_id=39411&atid=425133 +Author: Peter Volkov <pva@gentoo.org> + +=== modified file 'fondu.c' +--- fondu.c 2009-10-09 07:24:15 +0000 ++++ fondu.c 2009-10-09 07:25:49 +0000 +@@ -473,7 +473,7 @@ + } + if ( styleoff!=0 ) { + unsigned char stringoffsets[48]; +- int strcnt, strlen, format; ++ int strcnt, strlength, format; + char **strings, *pt; + fseek(f,styleoff,SEEK_SET); + /* class = */ getushort(f); +@@ -484,11 +484,11 @@ + strcnt = getushort(f); + strings = malloc(strcnt*sizeof(char *)); + for ( j=0; j<strcnt; ++j ) { +- strlen = getc(f); +- strings[j] = malloc(strlen+2); +- strings[j][0] = strlen; +- strings[j][strlen+1] = '\0'; +- for ( k=0; k<strlen; ++k ) ++ strlength = getc(f); ++ strings[j] = malloc(strlength+2); ++ strings[j][0] = strlength; ++ strings[j][strlength+1] = '\0'; ++ for ( k=0; k<strlength; ++k ) + strings[j][k+1] = getc(f); + } + for ( j=0; j<48; ++j ) { +@@ -498,11 +498,11 @@ + if ( k!=-1 || stringoffsets[j]==0 ) + continue; /* this style doesn't exist */ + format = stringoffsets[j]-1; +- strlen = strings[0][0]; ++ strlength = strings[0][0]; + if ( format!=0 && format!=-1 ) + for ( k=0; k<strings[format][0]; ++k ) +- strlen += strings[ strings[format][k+1]-1 ][0]; +- pt = cur->psnames[j] = malloc(strlen+1); ++ strlength += strings[ strings[format][k+1]-1 ][0]; ++ pt = cur->psnames[j] = malloc(strlength+1); + strcpy(pt,strings[ 0 ]+1); + pt += strings[ 0 ][0]; + if ( format!=0 && format!=-1 ) + +=== modified file 'frommacbinary.c' +--- frommacbinary.c 2009-10-09 07:24:15 +0000 ++++ frommacbinary.c 2009-10-09 07:27:54 +0000 +@@ -55,7 +55,7 @@ + /* frombin filenames */ + + static void Usage(char *prog) { +- fprintf( stderr, "Usage: %s [-usage] [-help] [-version] filenames\n" ); ++ fprintf( stderr, "Usage: frombin [-usage] [-help] [-version] filenames\n" ); + fprintf( stderr, " -usage\t\tPrints this message\n" ); + fprintf( stderr, " -help\t\tPrints this message\n" ); + fprintf( stderr, " -version\t\tPrints the version of the program\n" ); + diff --git a/media-gfx/fondu/fondu-20060102-r1.ebuild b/media-gfx/fondu/fondu-20060102-r1.ebuild new file mode 100644 index 000000000000..03f2e4f22ced --- /dev/null +++ b/media-gfx/fondu/fondu-20060102-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils + +MY_PV=${PV:2:6} + +DESCRIPTION="Utilities for converting between and manipulating mac fonts and unix fonts" +HOMEPAGE="http://fondu.sourceforge.net/" +SRC_URI="http://fondu.sourceforge.net/${PN}_src-${MY_PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + sed -e 's:^CFLAGS =:CFLAGS +=:' \ + -e 's:$(CFLAGS) -o:$(CFLAGS) $(LDFLAGS) -o:' \ + -e 's:wilprefix:prefix:' \ + -i Makefile.in || die "failed to sed" + epatch "${FILESDIR}/${P}-build-fix.patch" +} + +src_install() { + default + doman *.1 +} diff --git a/media-gfx/fondu/metadata.xml b/media-gfx/fondu/metadata.xml new file mode 100644 index 000000000000..ba3e8d06b8fb --- /dev/null +++ b/media-gfx/fondu/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">fondu</remote-id> + </upstream> +</pkgmetadata> |