summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/kile/ChangeLog8
-rw-r--r--app-editors/kile/files/kile-2.0.1-desktop-entry.diff16
-rw-r--r--app-editors/kile/kile-2.0.1.ebuild71
3 files changed, 94 insertions, 1 deletions
diff --git a/app-editors/kile/ChangeLog b/app-editors/kile/ChangeLog
index bda70f187df4..bf256100a1e4 100644
--- a/app-editors/kile/ChangeLog
+++ b/app-editors/kile/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/kile
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/kile/ChangeLog,v 1.106 2008/02/19 01:12:19 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/kile/ChangeLog,v 1.107 2008/05/17 20:03:57 carlo Exp $
+
+*kile-2.0.1 (17 May 2008)
+
+ 17 May 2008; Carsten Lohrke <carlo@gentoo.org>
+ +files/kile-2.0.1-desktop-entry.diff, +kile-2.0.1.ebuild:
+ Version bump.
19 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> kile-1.9.3.ebuild,
kile-2.0.ebuild:
diff --git a/app-editors/kile/files/kile-2.0.1-desktop-entry.diff b/app-editors/kile/files/kile-2.0.1-desktop-entry.diff
new file mode 100644
index 000000000000..9b84b6885683
--- /dev/null
+++ b/app-editors/kile/files/kile-2.0.1-desktop-entry.diff
@@ -0,0 +1,16 @@
+--- ./src/kile/kile.desktop.orig 2008-05-17 21:31:51.000000000 +0200
++++ ./src/kile/kile.desktop 2008-05-17 21:33:50.000000000 +0200
+@@ -3,7 +3,7 @@
+ Type=Application
+ Exec=kile
+ Icon=kile
+-DocPath=kile/index.html
++X-DocPath=kile/index.html
+ Comment=(La)TeX development environment
+ Comment[be]=Асяроддзе распрацоўкі (La)TeX
+ Comment[bg]=Графичен интерфейс на (La)TeX
+@@ -79,4 +79,3 @@
+ GenericName[zh_CN]=LaTeX 前端
+ MimeType=text/x-tex;text/x-kilepr;
+ Categories=Qt;KDE;Office;
+-Encoding=UTF-8
diff --git a/app-editors/kile/kile-2.0.1.ebuild b/app-editors/kile/kile-2.0.1.ebuild
new file mode 100644
index 000000000000..9ed2ee363f3a
--- /dev/null
+++ b/app-editors/kile/kile-2.0.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/kile/kile-2.0.1.ebuild,v 1.1 2008/05/17 20:03:57 carlo Exp $
+
+ARTS_REQUIRED="never"
+
+inherit kde
+
+DESCRIPTION="A LaTeX Editor and TeX shell for kde"
+HOMEPAGE="http://kile.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="kde"
+
+RDEPEND="dev-lang/perl
+ virtual/latex-base
+ dev-tex/latex2html
+ kde? (
+ || ( ( =kde-base/kpdf-3.5*
+ =kde-base/kghostview-3.5*
+ =kde-base/kdvi-3.5*
+ =kde-base/kviewshell-3.5* )
+ =kde-base/kdegraphics-3.5* )
+ )"
+
+need-kde 3.5
+
+LANGS="ar bg br ca cs cy da de el en_GB es et eu fi fr ga gl hi hu is it ja lt ms mt nb
+nds nl nn pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta th tr uk zh_CN"
+
+for lang in ${LANGS}; do
+ IUSE="${IUSE} linguas_${lang}"
+done
+
+PATCHES="${FILESDIR}/kile-2.0.1-desktop-entry.diff"
+
+src_unpack() {
+ kde_src_unpack
+
+ if [[ -n ${LINGUAS} ]]; then
+ MAKE_TRANSL=$(echo $(echo "${LINGUAS} ${LANGS}" | tr '[[:space:]]' '\n' | sort | uniq -d))
+ sed -i -e "s:^SUBDIRS.*=.*:SUBDIRS = ${MAKE_TRANSL}:" "${S}/translations/Makefile.am" || die "sed for locale failed"
+ rm -f "${S}/configure"
+ fi
+}
+
+pkg_postinst() {
+ echo
+ elog "${P} can use the following optional tools:"
+ elog "- Adobe Reader (PDF Viewer) - app-text/acroread"
+ elog "- DVIPNG (PNG previews) - app-text/dvipng"
+ elog "- ImageMagick (PNG previews) - media-gfx/imagemagick"
+ elog "- zip (Archive) - app-arch/zip"
+ elog "- DBlatex (Docbook to LaTeX) - cf. Gentoo bug 129368"
+ elog "- Asymptote - media-gfx/asymptote"
+ elog "- Tex4ht (LaTeX to Web) - dev-tex/tex4ht"
+ elog "- Lilypond (Music Typesetting) - media-sound/lilypond"
+ elog "- Web-Browser (either of) - kde-base/konqueror"
+ elog " - www-client/mozilla-firefox"
+ elog " - www-client/seamonkey"
+ elog "For viewing BibTeX files:"
+ elog "- Kbibtex - app-text/kbibtex"
+ elog "- KBib - cf. Gentoo bug 147057"
+ elog "- JabRef - app-text/jabref"
+ elog "- pybliographer - app-office/pybliographer"
+ echo
+ elog "If you want to use either of these, please install them separately."
+}