summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/ipe
downloadgentoo-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-gfx/ipe')
-rw-r--r--media-gfx/ipe/Manifest2
-rw-r--r--media-gfx/ipe/files/ipe-7.1.3-gold.patch30
-rw-r--r--media-gfx/ipe/ipe-7.1.2.ebuild78
-rw-r--r--media-gfx/ipe/ipe-7.1.3.ebuild81
-rw-r--r--media-gfx/ipe/metadata.xml14
5 files changed, 205 insertions, 0 deletions
diff --git a/media-gfx/ipe/Manifest b/media-gfx/ipe/Manifest
new file mode 100644
index 000000000000..fefdd9f11fd5
--- /dev/null
+++ b/media-gfx/ipe/Manifest
@@ -0,0 +1,2 @@
+DIST ipe-7.1.2-src.tar.gz 1416404 SHA256 3390de67ee22b2de74acfab2e9fb29bcfd6fe180688086febb758dc8a82eda11 SHA512 9d49c5f116a6271fce5a5a6c77cad64e348b17b9b02d1be8bece341231ebc15f642d6af49e73958e4d26814eafc52be38855e4d24e8cf44488da6a752151a189 WHIRLPOOL 80770369cf07fa9bdf2f3d40fe88e2e312d65c9b075f3eae44822ede2e38cc5f378c8078ab21e14a25a604977578b3be71978dd71844c7877abc50ba0f7f8f4c
+DIST ipe-7.1.3-src.tar.gz 1497624 SHA256 4b3c537aeb9720e74ee5e63d50e1ec1f760f90b3896ffb9acc8c20353f60b8e9 SHA512 eea85ed6f4bc23e746222e01f4cdfd101c9c18aeb19fcba9abff565a65614a2a5e6630ddf9f7b024cac225582a34238a22f6fc5cf7dcc3733b8281ce844ef23d WHIRLPOOL a1b46452fb3b2d5da72a411eca48a2e24331416727b4013cecebad962817d3029c63a972ae7ee743b35cfe9adc4dc3c59d04572e9b472fdf774ad67202b0b264
diff --git a/media-gfx/ipe/files/ipe-7.1.3-gold.patch b/media-gfx/ipe/files/ipe-7.1.3-gold.patch
new file mode 100644
index 000000000000..a28fafa15c43
--- /dev/null
+++ b/media-gfx/ipe/files/ipe-7.1.3-gold.patch
@@ -0,0 +1,30 @@
+ src/ipe/Makefile | 2 +-
+ src/ipescript/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ipe/Makefile b/src/ipe/Makefile
+index 21ac500..5a7a1ad 100644
+--- a/src/ipe/Makefile
++++ b/src/ipe/Makefile
+@@ -10,7 +10,7 @@ TARGET = $(call exe_target,ipe)
+ CPPFLAGS += -I../include -I../ipecanvas -I../ipecairo -I../ipelua \
+ $(LUA_CFLAGS) $(UI_CFLAGS) $(CAIRO_CFLAGS) $(ZLIB_CFLAGS)
+ LIBS += -L$(buildlib) -lipecanvas -lipecairo -lipelua -lipe -lipeui \
+- $(LUA_LIBS) $(UI_LIBS) $(CAIRO_LIBS) $(ZLIB_LIBS)
++ $(LUA_LIBS) $(UI_LIBS) $(CAIRO_LIBS) $(ZLIB_LIBS) -ldl
+
+ CPPFLAGS += -DIPELETDIR=\"$(IPELETDIR)\"
+ CPPFLAGS += -DIPELUADIR=\"$(IPELUADIR)\"
+diff --git a/src/ipescript/Makefile b/src/ipescript/Makefile
+index ff35fd9..2315f1f 100644
+--- a/src/ipescript/Makefile
++++ b/src/ipescript/Makefile
+@@ -8,7 +8,7 @@ include ../common.mak
+ TARGET = $(call exe_target,ipescript)
+
+ CPPFLAGS += -I../include -I../ipelua $(LUA_CFLAGS)
+-LIBS += -L$(buildlib) -lipelua -lipe $(LUA_LIBS)
++LIBS += -L$(buildlib) -lipelua -lipe $(LUA_LIBS) -ldl
+
+ CPPFLAGS += -DIPELETDIR=\"$(IPELETDIR)\"
+ CPPFLAGS += -DIPESTYLEDIR=\"$(IPESTYLEDIR)\"
diff --git a/media-gfx/ipe/ipe-7.1.2.ebuild b/media-gfx/ipe/ipe-7.1.2.ebuild
new file mode 100644
index 000000000000..d77a93f3ba2b
--- /dev/null
+++ b/media-gfx/ipe/ipe-7.1.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit eutils toolchain-funcs qt4-r2
+
+DESCRIPTION="Drawing editor for creating figures in PDF or PS formats"
+HOMEPAGE="http://ipe7.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ipe7/${PN}/7.1.0/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="app-text/texlive-core
+ dev-lang/lua
+ media-libs/freetype:2
+ x11-libs/cairo
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/src"
+
+search_urw_fonts() {
+ # colon-separated list of paths
+ local texmfdist="$(kpsewhich -var-value=TEXMFDIST)"
+ # according to TeX directory structure
+ local urwdir=fonts/type1/urw
+ # add colon as field separator
+ local IFS="${IFS}:" dir
+ for dir in ${texmfdist}; do
+ if [[ -d ${dir}/${urwdir} ]]; then
+ URWFONTDIR="${dir}/${urwdir}"
+ return 0
+ fi
+ done
+ return 1
+}
+
+pkg_setup() {
+ if search_urw_fonts; then
+ einfo "URW fonts found in ${URWFONTDIR}"
+ else
+ ewarn "Could not find directory containing URW fonts"
+ ewarn "Ipe will not function properly without them."
+ fi
+}
+
+src_prepare() {
+ sed -i \
+ -e 's/fpic/fPIC/' \
+ -e 's/moc-qt4/moc/' \
+ -e "s:\$(IPEPREFIX)/lib:\$(IPEPREFIX)/$(get_libdir):g" \
+ config.mak || die
+ sed -i -e 's/install -s/install/' common.mak || die
+
+}
+
+src_compile() {
+ emake \
+ CXX=$(tc-getCXX) \
+ IPEPREFIX="${EPREFIX}/usr" \
+ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html"
+}
+
+src_install() {
+ emake install \
+ IPEPREFIX="${EPREFIX}/usr" \
+ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
+ INSTALL_ROOT="${ED}"
+ dodoc ../{news,readme}.txt
+ doicon ipe/icons/ipe.png
+ make_desktop_entry ipe Ipe ipe
+}
diff --git a/media-gfx/ipe/ipe-7.1.3.ebuild b/media-gfx/ipe/ipe-7.1.3.ebuild
new file mode 100644
index 000000000000..526bb3ef62c3
--- /dev/null
+++ b/media-gfx/ipe/ipe-7.1.3.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils qt4-r2 toolchain-funcs
+
+DESCRIPTION="Drawing editor for creating figures in PDF or PS formats"
+HOMEPAGE="http://ipe7.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ipe7/${PN}/7.1.0/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-text/texlive-core
+ dev-lang/lua
+ media-libs/freetype:2
+ x11-libs/cairo
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/src"
+
+search_urw_fonts() {
+ # colon-separated list of paths
+ local texmfdist="$(kpsewhich -var-value=TEXMFDIST)"
+ # according to TeX directory structure
+ local urwdir=fonts/type1/urw
+ # add colon as field separator
+ local IFS="${IFS}:" dir
+ for dir in ${texmfdist}; do
+ if [[ -d ${dir}/${urwdir} ]]; then
+ URWFONTDIR="${dir}/${urwdir}"
+ return 0
+ fi
+ done
+ return 1
+}
+
+pkg_setup() {
+ if search_urw_fonts; then
+ einfo "URW fonts found in ${URWFONTDIR}"
+ else
+ ewarn "Could not find directory containing URW fonts"
+ ewarn "Ipe will not function properly without them."
+ fi
+}
+
+src_prepare() {
+ sed -i \
+ -e 's/fpic/fPIC/' \
+ -e 's/moc-qt4/moc/' \
+ -e "s:\$(IPEPREFIX)/lib:\$(IPEPREFIX)/$(get_libdir):g" \
+ config.mak || die
+ sed -i -e 's/install -s/install/' common.mak || die
+
+ epatch "${FILESDIR}"/${P}-gold.patch
+}
+
+src_compile() {
+ emake \
+ CXX=$(tc-getCXX) \
+ IPEPREFIX="${EPREFIX}/usr" \
+ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html"
+}
+
+src_install() {
+ emake install \
+ IPEPREFIX="${EPREFIX}/usr" \
+ IPEDOCDIR="${EPREFIX}/usr/share/doc/${PF}/html" \
+ INSTALL_ROOT="${ED}"
+ dodoc ../{news,readme}.txt
+ doicon ipe/icons/ipe.png
+ make_desktop_entry ipe Ipe ipe
+}
diff --git a/media-gfx/ipe/metadata.xml b/media-gfx/ipe/metadata.xml
new file mode 100644
index 000000000000..a92043c8c104
--- /dev/null
+++ b/media-gfx/ipe/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <longdescription lang="en">
+ Ipe is a drawing editor for creating figures in PDF or
+ (encapsulated) Postscript format. Ipe supports making small figures
+ for inclusion into LaTeX documents as well as making multi-page PDF
+ presentations.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">ipe7</remote-id>
+ </upstream>
+</pkgmetadata>