summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-04-01 10:03:10 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-04-01 10:03:10 +0000
commitfa0b918e1778d1b304fa71c64bb573c886c91d55 (patch)
treebb00a16d1217018e14f47e890a38f56a3239261e /app-editors
parentAdd spanish (es) description (diff)
downloadgentoo-2-fa0b918e1778d1b304fa71c64bb573c886c91d55.tar.gz
gentoo-2-fa0b918e1778d1b304fa71c64bb573c886c91d55.tar.bz2
gentoo-2-fa0b918e1778d1b304fa71c64bb573c886c91d55.zip
Version bump
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/ted/ChangeLog8
-rw-r--r--app-editors/ted/files/ted-2.23-make.patch11
-rw-r--r--app-editors/ted/ted-2.23.ebuild63
3 files changed, 81 insertions, 1 deletions
diff --git a/app-editors/ted/ChangeLog b/app-editors/ted/ChangeLog
index e23b228f1f2b..f6383ef623aa 100644
--- a/app-editors/ted/ChangeLog
+++ b/app-editors/ted/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/ted
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.57 2013/04/01 09:21:22 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ChangeLog,v 1.58 2013/04/01 10:03:10 pinkbyte Exp $
+
+*ted-2.23 (01 Apr 2013)
+
+ 01 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> +ted-2.23.ebuild,
+ +files/ted-2.23-make.patch:
+ Version bump
01 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> ted-2.22.ebuild:
Fix QA issues in desktop file, wrt bug #461252. Thanks to Agostino Sarubbo
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/ted-2.23.ebuild b/app-editors/ted/ted-2.23.ebuild
new file mode 100644
index 000000000000..a8f60fc900e6
--- /dev/null
+++ b/app-editors/ted/ted-2.23.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/ted/ted-2.23.ebuild,v 1.1 2013/04/01 10:03:10 pinkbyte Exp $
+
+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'
+
+ 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
+}