diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2008-01-05 14:44:59 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2008-01-05 14:44:59 +0000 |
commit | 55aed9183f484259cdebcf871817dbb420996900 (patch) | |
tree | 66c293e4f52b4948a71df88cbd6b9c75d9aa2851 /x11-misc | |
parent | amd64 stable wrt #204360 (diff) | |
download | gentoo-2-55aed9183f484259cdebcf871817dbb420996900.tar.gz gentoo-2-55aed9183f484259cdebcf871817dbb420996900.tar.bz2 gentoo-2-55aed9183f484259cdebcf871817dbb420996900.zip |
Version bump. Migrate to wxGTK-2.8.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/xchm/ChangeLog | 10 | ||||
-rw-r--r-- | x11-misc/xchm/files/digest-xchm-1.14 | 3 | ||||
-rw-r--r-- | x11-misc/xchm/files/xchm.desktop | 13 | ||||
-rw-r--r-- | x11-misc/xchm/xchm-1.14.ebuild | 54 |
4 files changed, 70 insertions, 10 deletions
diff --git a/x11-misc/xchm/ChangeLog b/x11-misc/xchm/ChangeLog index cbe170ce46b4..a144e63cc714 100644 --- a/x11-misc/xchm/ChangeLog +++ b/x11-misc/xchm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xchm -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/ChangeLog,v 1.57 2007/12/20 01:13:42 dirtyepic Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/ChangeLog,v 1.58 2008/01/05 14:44:58 dirtyepic Exp $ + +*xchm-1.14 (05 Jan 2008) + + 05 Jan 2008; Ryan Hill <dirtyepic@gentoo.org> files/xchm.desktop, + +xchm-1.14.ebuild: + Version bump. Migrate to wxGTK-2.8. 20 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> +files/xchm-1.13-gcc-4.3.patch, xchm-1.13-r1.ebuild: diff --git a/x11-misc/xchm/files/digest-xchm-1.14 b/x11-misc/xchm/files/digest-xchm-1.14 new file mode 100644 index 000000000000..0fe86f219258 --- /dev/null +++ b/x11-misc/xchm/files/digest-xchm-1.14 @@ -0,0 +1,3 @@ +MD5 0f398af788a9e1a7c6f4e65b5ca31cf3 xchm-1.14.tar.gz 394735 +RMD160 d0dafab82c5f99cecc2eaab94bdabc873428534e xchm-1.14.tar.gz 394735 +SHA256 3c58152a83b12a395fe2e79bce9d4281f2ad9c19350e6750e72abba52282a83f xchm-1.14.tar.gz 394735 diff --git a/x11-misc/xchm/files/xchm.desktop b/x11-misc/xchm/files/xchm.desktop index c94f68c367d2..aced6708cb5e 100644 --- a/x11-misc/xchm/files/xchm.desktop +++ b/x11-misc/xchm/files/xchm.desktop @@ -1,14 +1,11 @@ [Desktop Entry] +Type=Application +Version=1.0 Name=xCHM Comment=Compiled HTML Help (CHM) file viewer Comment[fr]=Visionneuse de fichiers Compiled HTML Help (CHM) -Exec=xchm %f -TryExec=xchm -Terminal=false -Type=Application Icon=xchm -Categories=Viewer;Utility; -MimeType=application/x-chm; - -[Desktop Action View] +TryExec=xchm Exec=xchm %f +MimeType=application/x-chm; +Categories=Viewer;Utility; diff --git a/x11-misc/xchm/xchm-1.14.ebuild b/x11-misc/xchm/xchm-1.14.ebuild new file mode 100644 index 000000000000..aeb1b4d65ea5 --- /dev/null +++ b/x11-misc/xchm/xchm-1.14.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/xchm-1.14.ebuild,v 1.1 2008/01/05 14:44:58 dirtyepic Exp $ + +WX_GTK_VER="2.8" + +inherit eutils wxwidgets flag-o-matic fdo-mime gnome2-utils + +DESCRIPTION="Utility for viewing Microsoft .chm files." +HOMEPAGE="http://xchm.sf.net" +SRC_URI="mirror://sourceforge/xchm/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="nls" +DEPEND=">=app-doc/chmlib-0.36 + =x11-libs/wxGTK-2.8*" + +src_compile() { + append-flags -fno-strict-aliasing + + econf ${myconf} \ + $(use_enable nls) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + dodoc AUTHORS README ChangeLog + + cp "${D}"/usr/share/pixmaps/xchm-32.xpm "${D}"/usr/share/pixmaps/xchm.xpm + rm -f "${D}"/usr/share/pixmaps/xchm-*.xpm + rm -f "${D}"/usr/share/pixmaps/xchmdoc*.xpm + + insinto /usr/share/applications + doins "${FILESDIR}"/xchm.desktop + insinto /usr/share/mime/packages + doins "${FILESDIR}"/xchm.xml +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |