diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-05-26 15:20:39 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-05-26 15:20:39 +0000 |
commit | 78c9e51ef5e51995ed60c65532c54917d47b11d9 (patch) | |
tree | 5e250d0a61127d0fbdfa314b1cf4325ef59bb1bf /app-text/highlight | |
parent | sys-apps/policycoreutils: fix libsemanage dependency. (diff) | |
download | gentoo-2-78c9e51ef5e51995ed60c65532c54917d47b11d9.tar.gz gentoo-2-78c9e51ef5e51995ed60c65532c54917d47b11d9.tar.bz2 gentoo-2-78c9e51ef5e51995ed60c65532c54917d47b11d9.zip |
Desktop entry with icon.
(Portage version: 2.1.5.2)
Diffstat (limited to 'app-text/highlight')
-rw-r--r-- | app-text/highlight/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/highlight/highlight-2.6.10.ebuild | 4 | ||||
-rw-r--r-- | app-text/highlight/highlight-2.6.9.ebuild | 49 |
3 files changed, 7 insertions, 51 deletions
diff --git a/app-text/highlight/ChangeLog b/app-text/highlight/ChangeLog index fe03e6108083..0fff31784b4b 100644 --- a/app-text/highlight/ChangeLog +++ b/app-text/highlight/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/highlight # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.18 2008/05/23 14:12:21 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/ChangeLog,v 1.19 2008/05/26 15:20:39 drac Exp $ + + 26 May 2008; Samuli Suominen <drac@gentoo.org> highlight-2.6.10.ebuild: + Desktop entry with icon. *highlight-2.6.10 (23 May 2008) diff --git a/app-text/highlight/highlight-2.6.10.ebuild b/app-text/highlight/highlight-2.6.10.ebuild index e5098b486605..b0b62079e0d1 100644 --- a/app-text/highlight/highlight-2.6.10.ebuild +++ b/app-text/highlight/highlight-2.6.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-2.6.10.ebuild,v 1.1 2008/05/23 14:12:21 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-2.6.10.ebuild,v 1.2 2008/05/26 15:20:39 drac Exp $ WX_GTK_VER=2.6 @@ -46,5 +46,7 @@ src_install() { emake -f makefile \ DESTDIR="${D}" \ install-gui || die "emake install-gui failed." + doicon src/gui/${PN}.xpm + make_desktop_entry ${PN}-gui Highlight ${PN} "Utility;TextTools" fi } diff --git a/app-text/highlight/highlight-2.6.9.ebuild b/app-text/highlight/highlight-2.6.9.ebuild deleted file mode 100644 index 38162c92fb32..000000000000 --- a/app-text/highlight/highlight-2.6.9.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-2.6.9.ebuild,v 1.4 2008/05/05 12:34:07 drac Exp $ - -WX_GTK_VER=2.6 - -inherit wxwidgets eutils toolchain-funcs - -DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight" -HOMEPAGE="http://www.andre-simon.de" -SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" -IUSE="wxwindows" - -DEPEND="wxwindows? ( =x11-libs/wxGTK-2.6* )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc43.patch \ - "${FILESDIR}"/${P}-asneeded.patch - sed -i \ - -e "s:-O2::" \ - -e "s:CFLAGS:CXXFLAGS:g" \ - src/makefile || die "sed failed." -} - -src_compile() { - emake -f makefile CXX="$(tc-getCXX)" all || die "emake all failed." - if use wxwindows; then - need-wxwidgets ansi - emake -f makefile CXX="$(tc-getCXX)" all-gui || die "emake all-gui failed." - fi -} - -src_install() { - dodir /usr/bin - emake -f makefile \ - DESTDIR="${D}" \ - install || die "emake install failed." - if use wxwindows; then - emake -f makefile \ - DESTDIR="${D}" \ - install-gui || die "emake install-gui failed." - fi -} |