From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-editors/ted/Manifest | 1 + app-editors/ted/files/ted-2.23-make.patch | 11 ++++++ app-editors/ted/metadata.xml | 7 ++++ app-editors/ted/ted-2.23.ebuild | 66 +++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 app-editors/ted/Manifest create mode 100644 app-editors/ted/files/ted-2.23-make.patch create mode 100644 app-editors/ted/metadata.xml create mode 100644 app-editors/ted/ted-2.23.ebuild (limited to 'app-editors/ted') diff --git a/app-editors/ted/Manifest b/app-editors/ted/Manifest new file mode 100644 index 000000000000..5afd480f9060 --- /dev/null +++ b/app-editors/ted/Manifest @@ -0,0 +1 @@ +DIST ted-2.23.src.tar.gz 4672208 SHA256 3fa992c2bc96af3ca788ef941cb5314f4a1d843202efd0201b8b4ee9adbf316c SHA512 c6541e5a07545a08b30cb9b33429d9a7675f9252df32ccca5cdb4f2ff09978085d28d015a42922baf8c95db1ea6379a9d1088541aafd9ce45b8870212496849f WHIRLPOOL 14f757dbc3cee1adae3abcc63ce32d9ebec4de5d5764060826321469a6d2c18339d239e9c0b084aaeb9979595d42411d1f86efb6280e85b7f4e8ea91db7775cd diff --git a/app-editors/ted/files/ted-2.23-make.patch b/app-editors/ted/files/ted-2.23-make.patch new file mode 100644 index 000000000000..f97093b47648 --- /dev/null +++ b/app-editors/ted/files/ted-2.23-make.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2013-04-01 13:24:45.854051804 +0400 ++++ Makefile 2013-04-01 13:25:02.618052336 +0400 +@@ -246,7 +246,7 @@ + : To install Ted, you can now run 'make install' AS ROOT + + package.shared: compile.shared tedPackage/makefile +- cd tedPackage && make package.shared ++ cd tedPackage && $(MAKE) package.shared + : + : Dynamically linked package ready. + : To install Ted, you can now run 'make install' AS ROOT diff --git a/app-editors/ted/metadata.xml b/app-editors/ted/metadata.xml new file mode 100644 index 000000000000..91f4e72fb544 --- /dev/null +++ b/app-editors/ted/metadata.xml @@ -0,0 +1,7 @@ + + + + + maintainer-needed@gentoo.org + + diff --git a/app-editors/ted/ted-2.23.ebuild b/app-editors/ted/ted-2.23.ebuild new file mode 100644 index 000000000000..5e52affa3b1a --- /dev/null +++ b/app-editors/ted/ted-2.23.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="X-based rich text editor" +HOMEPAGE="http://www.nllgg.nl/Ted" +SRC_URI="ftp://ftp.nluug.nl/pub/editors/ted/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" + +RDEPEND="x11-libs/gtk+:2 + media-libs/tiff + virtual/jpeg + media-libs/libpng + x11-libs/libXft + x11-libs/libXpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/Ted-${PV}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-make.patch + + sed -i -e 's|/Ted/|/share/Ted/|' \ + "${S}"/appFrame/appFrameConfig.h.in \ + "${S}"/Ted/tedConfig.h.in || die + + # bug #461256 + find . -name makefile.in -exec sed -i -e '/ar r/s/ar/$(AR)/' {} \; || die + + # force to build dynamic binary, do not strip it + sed -i \ + -e 's/.static//g' \ + -e '/strip/d' \ + tedPackage/makefile.in || die 'sed failed on tedPackage/makefile.in' + + # Fix build with freetype-2.5 + sed -i "s|^\(#[ \t]*include[ \t]*<\)freetype/|\1|" appFrame/appFontConfig.c || die + + mkdir lib || die +} + +src_configure() { + tc-export AR CC RANLIB + + local dir + for dir in appFrame appUtil bitmap docBuf ind Ted tedPackage; do + cd "${S}"/${dir} + econf --cache-file=../config.cache || die "configure in ${dir} failed" + done +} + +src_compile() { + emake package.shared +} + +src_install() { + default + dosym /usr/share/Ted/examples/rtf2pdf.sh /usr/bin/rtf2pdf.sh +} -- cgit v1.2.3-65-gdbad