Import chmsee-1.1.0

Gtk viewer for Microsoft HTML Help (aka "CHM", Compiled HTML) files
using chmlib and Mozilla's gecko engine.

Based on a submission from Jiri B. with some tweaks.
This commit is contained in:
ajacoutot 2010-07-06 16:43:29 +00:00
parent e823f8e823
commit 2bf9e8303d
5 changed files with 117 additions and 0 deletions

43
textproc/chmsee/Makefile Normal file
View File

@ -0,0 +1,43 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/07/06 16:43:29 ajacoutot Exp $
COMMENT = html help viewer
DISTNAME = chmsee-1.1.0
CATEGORIES = textproc x11
HOMEPAGE = http://code.google.com/p/chmsee/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://chmsee.googlecode.com/files/
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread-stubs stdc++ xcb xcb-render
WANTLIB += xcb-render-util xml2 z
MODULES = devel/cmake \
devel/gettext
BUILD_DEPENDS = ::devel/xulrunner/1.9,-devel
RUN_DEPENDS = ::devel/desktop-file-utils \
::devel/xulrunner/1.9
LIB_DEPENDS = nspr4.>=21,plc4,plds4::devel/nspr \
chm::devel/chmlib \
gdk-x11-2.0.>=1403,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
gcrypt.>=15::security/libgcrypt
USE_X11 = Yes
NO_REGRESS = Yes
.include <bsd.port.mk>

5
textproc/chmsee/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (chmsee-1.1.0.tar.gz) = z1OCUTgBvF8hcVoixtSF0w==
RMD160 (chmsee-1.1.0.tar.gz) = GWGm6rPNNxJ1PG8u3Vo3iV5wT4U=
SHA1 (chmsee-1.1.0.tar.gz) = 05Jp+C1eMXxmc5kEodGfl0vdJEQ=
SHA256 (chmsee-1.1.0.tar.gz) = jXZSny7N4rTBJap1KzamnUR9XVmoLqM/lxrbseFyIeU=
SIZE (chmsee-1.1.0.tar.gz) = 135895

View File

@ -0,0 +1,11 @@
--- CMakeLists.txt.orig Fri Jul 2 00:18:31 2010
+++ CMakeLists.txt Fri Jul 2 00:18:48 2010
@@ -8,7 +8,7 @@ set(CMAKE_BUILD_TYPE Release)
find_package(PkgConfig)
pkg_check_modules (CHMSEE REQUIRED gthread-2.0 glib-2.0 libxml-2.0 gtk+-2.0>=2.16 nspr)
-pkg_search_module(XULRUNNER REQUIRED mozilla-gtkmozembed-embedding>=1.9 xulrunner-gtkmozembed>=1.9)
+pkg_search_module(XULRUNNER REQUIRED xulrunner-gtkmozembed-embedding>=1.9 xulrunner-gtkmozembed>=1.9)
set(CHMSEE_INCLUDE_DIRS ${CHMSEE_INCLUDE_DIRS} ${XULRUNNER_INCLUDE_DIRS})
set(CHMSEE_CFLAGS_OTHER ${CHMSEE_CFLAGS_OTHER} ${XULRUNNER_CFLAGS_OTHER} -Wall)

View File

@ -0,0 +1,2 @@
Gtk viewer for Microsoft HTML Help (aka "CHM", Compiled HTML) files
using chmlib and Mozilla's gecko engine.

56
textproc/chmsee/pkg/PLIST Normal file
View File

@ -0,0 +1,56 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/07/06 16:43:29 ajacoutot Exp $
@bin bin/chmsee
share/applications/chmsee.desktop
share/chmsee/
share/chmsee/about-dialog.ui
share/chmsee/book-closed.png
share/chmsee/book-open.png
share/chmsee/chmsee-icon.png
share/chmsee/chmsee-splash.png
share/chmsee/default-prefs.js
share/chmsee/helpdoc.png
share/chmsee/hide-pane.png
share/chmsee/openfile-dialog.ui
share/chmsee/setup-window.ui
share/chmsee/show-pane.png
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/chmsee.mo
share/locale/ca/LC_MESSAGES/chmsee.mo
share/locale/cs/LC_MESSAGES/chmsee.mo
share/locale/da/LC_MESSAGES/chmsee.mo
share/locale/de/LC_MESSAGES/chmsee.mo
share/locale/el/LC_MESSAGES/chmsee.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/chmsee.mo
share/locale/es/LC_MESSAGES/chmsee.mo
share/locale/fr/LC_MESSAGES/chmsee.mo
share/locale/he/LC_MESSAGES/chmsee.mo
share/locale/id/LC_MESSAGES/chmsee.mo
share/locale/it/LC_MESSAGES/chmsee.mo
share/locale/ms/
share/locale/ms/LC_MESSAGES/
share/locale/ms/LC_MESSAGES/chmsee.mo
share/locale/nb/LC_MESSAGES/chmsee.mo
share/locale/pl/LC_MESSAGES/chmsee.mo
share/locale/pt/LC_MESSAGES/chmsee.mo
share/locale/pt_BR/LC_MESSAGES/chmsee.mo
share/locale/ro/LC_MESSAGES/chmsee.mo
share/locale/ru/LC_MESSAGES/chmsee.mo
share/locale/sk/LC_MESSAGES/chmsee.mo
share/locale/sv/LC_MESSAGES/chmsee.mo
share/locale/sw/
share/locale/sw/LC_MESSAGES/
share/locale/sw/LC_MESSAGES/chmsee.mo
share/locale/uk/LC_MESSAGES/chmsee.mo
share/locale/vi/LC_MESSAGES/chmsee.mo
share/locale/zh_CN/LC_MESSAGES/chmsee.mo
share/locale/zh_TW/LC_MESSAGES/chmsee.mo
share/mime-info/
share/mime-info/chmsee.keys
share/mime-info/chmsee.mime
share/pixmaps/
share/pixmaps/chmsee-icon.png
@exec %D/bin/update-desktop-database
@unexec-delete %D/bin/update-desktop-database