diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/t1lib | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/t1lib')
-rw-r--r-- | media-libs/t1lib/Manifest | 1 | ||||
-rw-r--r-- | media-libs/t1lib/files/t1lib-5.1.1-parallel.patch | 12 | ||||
-rw-r--r-- | media-libs/t1lib/files/t1lib-do-not-install-t1lib_doc.patch | 19 | ||||
-rw-r--r-- | media-libs/t1lib/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/t1lib/t1lib-5.1.2.ebuild | 73 |
5 files changed, 110 insertions, 0 deletions
diff --git a/media-libs/t1lib/Manifest b/media-libs/t1lib/Manifest new file mode 100644 index 000000000000..42e318bd3d66 --- /dev/null +++ b/media-libs/t1lib/Manifest @@ -0,0 +1 @@ +DIST t1lib-5.1.2.tar.gz 1872534 SHA256 821328b5054f7890a0d0cd2f52825270705df3641dbd476d58d17e56ed957b59 SHA512 9f424b19c6f35cc4f194ff7351a4c2352216462c7d1b1d9650ad3a05cf48c6e90c89ccbcda5ecc47a4169a39a850cf84a1fcbf88b3b15614860c27364b631ae3 WHIRLPOOL cc819ac6bbef0d961e1d24d29e4fc748b1a9b9549f8409098ab7b01d0a8613b409fc833a5cfe13596e18faac98cb9f1cdc823581442c1d587a1b723aa96d9050 diff --git a/media-libs/t1lib/files/t1lib-5.1.1-parallel.patch b/media-libs/t1lib/files/t1lib-5.1.1-parallel.patch new file mode 100644 index 000000000000..d829c9ff1756 --- /dev/null +++ b/media-libs/t1lib/files/t1lib-5.1.1-parallel.patch @@ -0,0 +1,12 @@ +diff -Naur t1lib-5.1.1-orig/lib/Makefile.in t1lib-5.1.1/lib/Makefile.in +--- t1lib-5.1.1-orig/lib/Makefile.in 2006-11-05 17:06:05.000000000 -0600 ++++ t1lib-5.1.1/lib/Makefile.in 2007-10-04 21:21:20.000000000 -0600 +@@ -133,7 +133,7 @@ + cp t1lib/t1lib.h . + + +-libt1x.la: $(T1LIBX_OBJS) ++libt1x.la: $(T1LIBX_OBJS) libt1.la + $(LIBTOOL) --mode=link \ + $(CC) $(LDFLAGS) -o $@ $(T1LIBX_OBJS) \ + -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \ diff --git a/media-libs/t1lib/files/t1lib-do-not-install-t1lib_doc.patch b/media-libs/t1lib/files/t1lib-do-not-install-t1lib_doc.patch new file mode 100644 index 000000000000..e8dc5585e23a --- /dev/null +++ b/media-libs/t1lib/files/t1lib-do-not-install-t1lib_doc.patch @@ -0,0 +1,19 @@ +--- doc/Makefile.in.orig 2008-05-04 17:55:52.000000000 +0400 ++++ doc/Makefile.in 2008-05-04 17:55:58.000000000 +0400 +@@ -89,16 +89,6 @@ + + + install: dummy +- if (test -f t1lib_doc.ps) \ +- then \ +- $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ +- $(INSTALL_DATA) t1lib_doc.ps $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ +- fi; +- if (test -f t1lib_doc.pdf) \ +- then \ +- $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ +- $(INSTALL_DATA) t1lib_doc.pdf $(DESTDIR)@T1LIB_DATA_DIR@/doc; \ +- fi; + + + uninstall: dummy diff --git a/media-libs/t1lib/metadata.xml b/media-libs/t1lib/metadata.xml new file mode 100644 index 000000000000..696065edd338 --- /dev/null +++ b/media-libs/t1lib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>fonts</herd> +</pkgmetadata> diff --git a/media-libs/t1lib/t1lib-5.1.2.ebuild b/media-libs/t1lib/t1lib-5.1.2.ebuild new file mode 100644 index 000000000000..8e0b0f63ca81 --- /dev/null +++ b/media-libs/t1lib/t1lib-5.1.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils flag-o-matic libtool toolchain-funcs + +DESCRIPTION="A Type 1 Font Rasterizer Library for UNIX/X11" +HOMEPAGE="ftp://metalab.unc.edu/pub/Linux/libs/graphics/" +SRC_URI="ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${P}.tar.gz" + +LICENSE="LGPL-2 GPL-2" +SLOT="5" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="X doc static-libs" + +RDEPEND="X? ( + x11-libs/libXaw + x11-libs/libX11 + x11-libs/libXt + )" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base ) + X? ( + x11-libs/libXfont + x11-proto/xproto + x11-proto/fontsproto + )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.1.1-parallel.patch + epatch "${FILESDIR}"/${PN}-do-not-install-t1lib_doc.patch + + sed -i -e "s:dvips:#dvips:" "${S}"/doc/Makefile.in + sed -i -e "s:\./\(t1lib\.config\):/etc/t1lib/\1:" "${S}"/xglyph/xglyph.c + # Needed for sane .so versionning on fbsd. Please don't drop. + elibtoolize +} + +src_configure() { + econf \ + --datadir="${EPREFIX}/etc" \ + $(use_enable static-libs static) \ + $(use_with X x) +} + +src_compile() { + local myopt="" + tc-export CC + + use alpha && append-flags -mieee + + if ! use doc; then + myopt="without_doc" + else + VARTEXFONTS=${T}/fonts + fi + + emake ${myopt} || die "emake failed." +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + + + dodoc Changes README* + if use doc; then + cd doc + insinto /usr/share/doc/${PF} + doins *.pdf *.dvi + fi +} |