Date: Thu, 18 Nov 2004 23:51:09 +0800 From: Charlie & <root@smtp-1.hotpop.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/74086: New port:chinese/chmsee A viewer for Microsoft Help "CHM" (aka Compiled HTML) files Message-ID: <20041118154726.43F221A01E5@smtp-1.hotpop.com> Resent-Message-ID: <200411181550.iAIFoQbw039476@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74086 >Category: ports >Synopsis: New port:chinese/chmsee A viewer for Microsoft Help "CHM" (aka Compiled HTML) files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Nov 18 15:50:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: hamigua >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD hamigua.org 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Nov 10 15:58:12 CST 2004 root@/bin/hostname:/usr/src/sys/i386/compile/hamigua i386 >Description: A viewer for Microsoft Help "CHM" (aka Compiled HTML) files using gtkhtml3 and chmlib. >How-To-Repeat: >Fix: --- chmsee.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # chmsee/ # chmsee/Makefile # chmsee/distinfo # chmsee/files # chmsee/pkg-descr # chmsee/pkg-plist # chmsee/files/patch-src_chm_lib.c # chmsee/files/patch-src_strings.h # echo c - chmsee/ mkdir -p chmsee/ > /dev/null 2>&1 echo x - chmsee/Makefile sed 's/^X//' >chmsee/Makefile << 'END-of-chmsee/Makefile' X# Ports collection makefile for: chmsee X# Date created: Nov 18, 2004 X# Whom: hamigua <hamigua@cuc.cn> X# X# $FreeBSD$ X# X XPORTNAME= chmsee XPORTVERSION= 0.8.0 XCATEGORIES= chinese textproc XMASTER_SITES= http://linuxfire.dhis.org/~zhong/files/ \ X http://download.linuxsir.org/chmsee/ XDISTNAME= ${PORTNAME}-gtkhtml-${PORTVERSION} X XMAINTAINER= hamigua@cuc.cn XCOMMENT= A viewer for Microsoft Help "CHM" (aka Compiled HTML) files X XUSE_X_PREFIX= yes XUSE_GNOME= gnomehack gnomeprefix gtkhtml3 XUSE_GETTEXT= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes X X.include <bsd.port.mk> END-of-chmsee/Makefile echo x - chmsee/distinfo sed 's/^X//' >chmsee/distinfo << 'END-of-chmsee/distinfo' XMD5 (chmsee-gtkhtml-0.8.0.tar.gz) = 4dd4d79fdf5a5272494097b0bc542179 XSIZE (chmsee-gtkhtml-0.8.0.tar.gz) = 339874 END-of-chmsee/distinfo echo c - chmsee/files mkdir -p chmsee/files > /dev/null 2>&1 echo x - chmsee/pkg-descr sed 's/^X//' >chmsee/pkg-descr << 'END-of-chmsee/pkg-descr' XA viewer for Microsoft Help "CHM" (aka Compiled HTML) files using gtkhtml3 and chmlib. X XWWW: http://linuxfire.dhis.org/~zhong/ END-of-chmsee/pkg-descr echo x - chmsee/pkg-plist sed 's/^X//' >chmsee/pkg-plist << 'END-of-chmsee/pkg-plist' Xbin/chmsee-gtkhtml Xshare/gnome/applications/chmsee-gtkhtml.desktop Xshare/gnome/pixmaps/chmsee-gtkhtml.png END-of-chmsee/pkg-plist echo x - chmsee/files/patch-src_chm_lib.c sed 's/^X//' >chmsee/files/patch-src_chm_lib.c << 'END-of-chmsee/files/patch-src_chm_lib.c' X--- src/chm_lib.c.orig Thu Nov 18 22:43:19 2004 X+++ src/chm_lib.c Thu Nov 18 22:52:11 2004 X@@ -716,23 +716,12 @@ X } X #else X #ifdef CHM_USE_PREAD X-#ifdef CHM_USE_IO64 X- readLen = pread64(h->fd, buf, (long)len, os); X-#else X readLen = pread(h->fd, buf, (long)len, (unsigned long)os); X-#endif X-#else X-#ifdef CHM_USE_IO64 X- oldOs = lseek64(h->fd, 0, SEEK_CUR); X- lseek64(h->fd, os, SEEK_SET); X- readLen = read(h->fd, buf, len); X- lseek64(h->fd, oldOs, SEEK_SET); X #else X oldOs = lseek(h->fd, 0, SEEK_CUR); X lseek(h->fd, (long)os, SEEK_SET); X readLen = read(h->fd, buf, len); X lseek(h->fd, (long)oldOs, SEEK_SET); X-#endif X #endif X #endif X CHM_RELEASE_LOCK(h->mutex); END-of-chmsee/files/patch-src_chm_lib.c echo x - chmsee/files/patch-src_strings.h sed 's/^X//' >chmsee/files/patch-src_strings.h << 'END-of-chmsee/files/patch-src_strings.h' X--- src/strings.h Sat Mar 13 22:28:37 2004 X+++ /dev/null Thu Nov 18 22:36:59 2004 X@@ -1,2 +0,0 @@ X- X-gchar *get_topurl (ChmSee *window); END-of-chmsee/files/patch-src_strings.h exit --- chmsee.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041118154726.43F221A01E5>