Version bump. Also fixes many MIME related issues - make launching of chm files ...
authorMart Raudsepp <leio@gentoo.org>
Wed, 25 Apr 2007 03:50:04 +0000 (03:50 +0000)
committerMart Raudsepp <leio@gentoo.org>
Wed, 25 Apr 2007 03:50:04 +0000 (03:50 +0000)
Package-Manager: portage-2.1.2.4

x11-misc/xchm/ChangeLog
x11-misc/xchm/Manifest
x11-misc/xchm/files/digest-xchm-1.13 [new file with mode: 0644]
x11-misc/xchm/files/xchm-1.13.desktop [new file with mode: 0644]
x11-misc/xchm/xchm-1.13.ebuild [new file with mode: 0644]

index ca46d41150c488764425a11926ccaba9c65e52bf..a08a6d3b279903c176a6ad6a493f65e2ead18491 100644 (file)
@@ -1,6 +1,15 @@
 # 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.48 2007/03/24 01:34:04 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/ChangeLog,v 1.49 2007/04/25 03:50:04 leio Exp $
+
+*xchm-1.13 (25 Apr 2007)
+
+  25 Apr 2007; <leio@gentoo.org> +files/xchm-1.13.desktop,
+  +xchm-1.13.ebuild:
+  Version bump. Also fixes many MIME related issues - make launching of chm
+  files (with xCHM) work automatically from file managers; make the chm MIME
+  icon provided by this package work properly; update icon and desktop mime
+  database as necessary
 
 *xchm-1.11 (24 Mar 2007)
 
index d9fbf9c24bcd92b1e468b11987f367c0a02b5d32..f852b1024e3e0fca6373ee0f142b30e648c39f60 100644 (file)
@@ -1,5 +1,10 @@
+AUX xchm-1.13.desktop 217 RMD160 25a33983bd471872adf97205021405b9eca2b8ca SHA1 7f0dd9d037720a26eaf97ab2458b283a92589615 SHA256 d95582cf5e7e9f06892d076962037ebe6246995e8957d3c5150dbfa8ff76b8fd
+MD5 e6065074d20c3beb74239390a397f662 files/xchm-1.13.desktop 217
+RMD160 25a33983bd471872adf97205021405b9eca2b8ca files/xchm-1.13.desktop 217
+SHA256 d95582cf5e7e9f06892d076962037ebe6246995e8957d3c5150dbfa8ff76b8fd files/xchm-1.13.desktop 217
 DIST xchm-1.10.tar.gz 371871 RMD160 b7f556c4755cb1aa5097e4865e07404af8b4c203 SHA1 bc9c8b347c877f4983c825737ba3e7a7dab6b125 SHA256 dbed9ed4df515f4035c8c881ff72203cbc1ef697640eeb876267be469343a524
 DIST xchm-1.11.tar.gz 391284 RMD160 081d97e5a2eb3ca47594534f08301a9fc1c99914 SHA1 7ae2712433d4c323dcf43c2d9e7d2d661b11fcd5 SHA256 d463600b3b898069ef45b8bf3a0eca3d86a85666444789ca7aa17c4bdafaa5bd
+DIST xchm-1.13.tar.gz 390882 RMD160 07ac2962ee5da8a4aceda58fecd4578507a71ed9 SHA1 f062f584c9fd00107e28d96342d48ea36b2f2f49 SHA256 2419ed4bd3228f5e2b2dc6df341230b90fb334dacd0967dff1e4fd88d23d3a64
 DIST xchm-1.9.tar.gz 358932 RMD160 9c98b903850d05d703656e3311fd7e7c79a016fd SHA1 c362f63584b2f693bb8903a3633cc70258f2985d SHA256 75e53dedb638ba9eb2efc08e5a8a2e20a4d13b86ea47d9bfa6601d6b9f39ca3b
 EBUILD xchm-1.10.ebuild 2085 RMD160 13f45a4f0e41fecf36ad9ec97ef855badfe047bd SHA1 47bfc83f41dc63e5b9fe377ee537e05426cd8592 SHA256 03811c8ab99594fe6e22976bd56f3c99e9c485ae7b023544e061a5026ecf57ff
 MD5 61f25ea98ebd2ae706ed0f3509467a88 xchm-1.10.ebuild 2085
@@ -9,14 +14,18 @@ EBUILD xchm-1.11.ebuild 2197 RMD160 f00f1e7470301ddfc2fbbcf4639bb3e30da0d183 SHA
 MD5 eed9c8f5e2fffcec802e6ff50a4d3c87 xchm-1.11.ebuild 2197
 RMD160 f00f1e7470301ddfc2fbbcf4639bb3e30da0d183 xchm-1.11.ebuild 2197
 SHA256 ff84ace87228021d2d8e56230dc7e6cd295cd3a5f59c6a25148f8544e043681a xchm-1.11.ebuild 2197
+EBUILD xchm-1.13.ebuild 2523 RMD160 b4b65d1d9a3b4f16983ad8745e7d5c0b8b14d66c SHA1 7307fa62ec95ee81ee81a943c5fb6fb6837ddb25 SHA256 60117e9539b7ee3def81df09204663883297d70046d061f39fe2b363a798506f
+MD5 035e5943142d6c638c670421d5f9f04b xchm-1.13.ebuild 2523
+RMD160 b4b65d1d9a3b4f16983ad8745e7d5c0b8b14d66c xchm-1.13.ebuild 2523
+SHA256 60117e9539b7ee3def81df09204663883297d70046d061f39fe2b363a798506f xchm-1.13.ebuild 2523
 EBUILD xchm-1.9.ebuild 2076 RMD160 08e23408d40d24e88ae64f11a56c067c90b3bc75 SHA1 b5461574b0150c9f6b5f6a9bd65bb1fff5cfae24 SHA256 773ebe57cf1f91df24614d73d7f96f9af081d3223b02101fd7d03cba130d75a9
 MD5 56ef8c2fd4e15141d2abd544585aea20 xchm-1.9.ebuild 2076
 RMD160 08e23408d40d24e88ae64f11a56c067c90b3bc75 xchm-1.9.ebuild 2076
 SHA256 773ebe57cf1f91df24614d73d7f96f9af081d3223b02101fd7d03cba130d75a9 xchm-1.9.ebuild 2076
-MISC ChangeLog 8009 RMD160 0d1bfe558c9d27faa584b58c01b653d4e121e22b SHA1 e6c51192725f4aa89c4c317df2e4775c47970663 SHA256 fa2e92e328177bbf542d3d2e6f658463a769246b040c38f380a6010e9a77b342
-MD5 fc0a4fcf43646006afede8b5156dceb5 ChangeLog 8009
-RMD160 0d1bfe558c9d27faa584b58c01b653d4e121e22b ChangeLog 8009
-SHA256 fa2e92e328177bbf542d3d2e6f658463a769246b040c38f380a6010e9a77b342 ChangeLog 8009
+MISC ChangeLog 8364 RMD160 d78542aad82761e0eed865b5e40ec871dfbffbee SHA1 2e98c37ae4bb564d46a1ef57ad4c51a0dd3c8cee SHA256 2a080702c4bbed074f7a46e94b6809041ad88b680b3174d5ca5f8398f06cc88e
+MD5 9eb31ad9d487137f0e3a507ab44c7a50 ChangeLog 8364
+RMD160 d78542aad82761e0eed865b5e40ec871dfbffbee ChangeLog 8364
+SHA256 2a080702c4bbed074f7a46e94b6809041ad88b680b3174d5ca5f8398f06cc88e ChangeLog 8364
 MISC metadata.xml 258 RMD160 9ac4d74e8cfb7c4d3b9bab9676a52755968bec01 SHA1 4c7b059fc8a6d9d81360e4ac132c2db306fe8cb4 SHA256 b66f1a4d91cfec01c1815b4a14ea1f77ca7381508d2d2a2c9349877c3ea5e533
 MD5 b3eaea0776f1bc5e23ac048a309415e5 metadata.xml 258
 RMD160 9ac4d74e8cfb7c4d3b9bab9676a52755968bec01 metadata.xml 258
@@ -27,6 +36,9 @@ SHA256 ce81dee3b75452e4a3f8b21b8f2a0d08487e8b80abd411992c6b5e65a71e086d files/di
 MD5 218762a92a749ed4d6f5ec8bd4f9e9f0 files/digest-xchm-1.11 229
 RMD160 a0b230dd25fb6bf39a0047b20ed948dc68c2b243 files/digest-xchm-1.11 229
 SHA256 9b7fad6626f9f73e43323282340d0152bf689c8601e509c588a55ff73b0626bb files/digest-xchm-1.11 229
+MD5 a8fe0e635041c642bd32492e72e5cb81 files/digest-xchm-1.13 229
+RMD160 1977883bdd791a38afb9ecf3e21945886f5c1f04 files/digest-xchm-1.13 229
+SHA256 0a5004b47c7fd29b7f5958097299f66fd6865e26eda6cd75e658ecb0c41794f1 files/digest-xchm-1.13 229
 MD5 a322d4474f6bf3ad510423dcc4685281 files/digest-xchm-1.9 226
 RMD160 cded7f3eb77dac2b487fd6768a63a9164c68e9a7 files/digest-xchm-1.9 226
 SHA256 ab292fbdd9cf3a6069643d4a5b4abdecf85e57fcfb36429888cff67aae14b91b files/digest-xchm-1.9 226
diff --git a/x11-misc/xchm/files/digest-xchm-1.13 b/x11-misc/xchm/files/digest-xchm-1.13
new file mode 100644 (file)
index 0000000..bc6d748
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b444e36d6f1c7b3d772d1986ea9929dc xchm-1.13.tar.gz 390882
+RMD160 07ac2962ee5da8a4aceda58fecd4578507a71ed9 xchm-1.13.tar.gz 390882
+SHA256 2419ed4bd3228f5e2b2dc6df341230b90fb334dacd0967dff1e4fd88d23d3a64 xchm-1.13.tar.gz 390882
diff --git a/x11-misc/xchm/files/xchm-1.13.desktop b/x11-misc/xchm/files/xchm-1.13.desktop
new file mode 100644 (file)
index 0000000..58542d3
--- /dev/null
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=0.9.2
+Name=xCHM
+Comment=Utility for viewing Microsoft .chm files
+Exec=xchm %f
+Icon=xchm
+StartupNotify=true
+Type=Application
+Categories=Office;Viewer;
+MimeType=application/x-chm;
diff --git a/x11-misc/xchm/xchm-1.13.ebuild b/x11-misc/xchm/xchm-1.13.ebuild
new file mode 100644 (file)
index 0000000..fa3b655
--- /dev/null
@@ -0,0 +1,84 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xchm/xchm-1.13.ebuild,v 1.1 2007/04/25 03:50:04 leio Exp $
+
+inherit 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 unicode"
+DEPEND=">=app-doc/chmlib-0.31
+       >=x11-libs/wxGTK-2.6.0"
+# Tested to work against a local install of 2.8.3
+
+src_compile() {
+       local myconf
+       export WX_GTK_VER="2.6"
+
+       if use unicode; then
+               need-wxwidgets unicode
+       else
+               need-wxwidgets gtk2
+       fi
+
+       append-flags -fno-strict-aliasing
+
+       myconf="${myconf} --with-wx-config=${WX_CONFIG}"
+
+       econf ${myconf} \
+               $(use_enable nls) \
+               || die "econf failed"
+
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die
+       dodoc AUTHORS README ChangeLog
+
+       # fixes desktop and icon problems
+       rm ${D}/usr/share/pixmaps/xchm-*.xpm ${D}/usr/share/pixmaps/xchmdoc-*.xpm
+
+       dodir /usr/share/icons/hicolor/16x16/apps/
+       install -m 644 ${S}/art/xchm-16.xpm \
+               ${D}/usr/share/icons/hicolor/16x16/apps/xchm.xpm
+       dodir /usr/share/icons/hicolor/32x32/apps/
+       install -m 644 ${S}/art/xchm-32.xpm \
+               ${D}/usr/share/icons/hicolor/32x32/apps/xchm.xpm
+       dodir /usr/share/icons/hicolor/48x48/apps/
+       install -m 644 ${S}/art/xchm-48.xpm \
+               ${D}/usr/share/icons/hicolor/48x48/apps/xchm.xpm
+       dodir /usr/share/icons/hicolor/128x128/apps/
+       install -m 644 ${S}/art/xchm-128.xpm \
+               ${D}/usr/share/icons/hicolor/128x128/apps/xchm.xpm
+       dodir /usr/share/icons/hicolor/16x16/mimetypes/
+       install -m 644 ${S}/art/xchmdoc-16.xpm \
+               ${D}/usr/share/icons/hicolor/16x16/mimetypes/application-x-chm.xpm
+       dodir /usr/share/icons/hicolor/32x32/mimetypes/
+       install -m 644 ${S}/art/xchmdoc-32.xpm \
+               ${D}/usr/share/icons/hicolor/32x32/mimetypes/application-x-chm.xpm
+       dodir /usr/share/icons/hicolor/48x48/mimetypes/
+       install -m 644 ${S}/art/xchmdoc-48.xpm \
+               ${D}/usr/share/icons/hicolor/48x48/mimetypes/application-x-chm.xpm
+       dodir /usr/share/icons/hicolor/128x128/mimetypes/
+       install -m 644 ${S}/art/xchmdoc-128.xpm \
+               ${D}/usr/share/icons/hicolor/128x128/mimetypes/application-x-chm.xpm
+       insinto /usr/share/applications
+       newins ${FILESDIR}/${P}.desktop ${PN}.desktop
+}
+
+pkg_postinst() {
+       fdo-mime_desktop_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       fdo-mime_desktop_database_update
+       gnome2_icon_cache_update
+}