You are not logged in.

#1 2004-04-06 22:42:03

angelus
Member
From: Argentina
Registered: 2004-02-07
Posts: 18

[multimedia: graphic] xchm -> chmlib

xchm is a .chm help viewer for unix, and chmlib is a library to decode chm.  big_smile

xchm PKGBUILD:

# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
pkgname=xchm
pkgver=0.9.1
pkgrel=1
pkgdesc="The UNIX chm viewer"
url="http://xchm.sourceforge.net"
depends=('chmlib' 'wxgtk')
source=("http://umn.dl.sourceforge.net/sourceforge/xchm/$pkgname-$pkgver.tar.gz")
md5sums=("5ba671e09e4c3ac46ffb5ce9d2c985eb")

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

chmlib PKGBUILD:

# Contributor: J. Santiago Hirschfeld <jsantiagoh@yahoo.com.ar>
pkgname=chmlib
pkgver=0.31
pkgrel=1
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
url="http://66.93.236.84/%7Ejedwin/projects/chmlib/"
depends=('glibc')
source=("http://66.93.236.84/%7Ejedwin/projects/chmlib/$pkgname-$pkgver.tgz")
md5sums=('5ff2d8476d4124d04aae11601b844c63')

build() {
  cd $startdir/src/$pkgname-$pkgver
  sed -i "s:gcc-3.2:gcc:" Makefile
  sed -i "s:/usr/local/:$startdir/pkg/usr:" Makefile
  
  make 

  mkdir $startdir/pkg/usr
  mkdir $startdir/pkg/usr/bin
  mkdir $startdir/pkg/usr/lib
  mkdir $startdir/pkg/usr/include
  
  make install
  
  # Additional Utilities
  make extract_chmLib
  make chm_http 
  cp extract_chmLib chm_http $startdir/pkg/usr/bin
}

Offline

#2 2004-04-07 10:03:23

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [multimedia: graphic] xchm -> chmlib

the lib and the xchm program are excellent! I had them when I was in Slack. The dev had to play with the virtual fs that wxWidgets provide [because that's how CHM links work]

this is the only working good solution that I'm aware of, for one to use compiled html [chm] which IMO is a very good file-format for Documentation/API etc..

so please if you read these lines, and you are a maintainer please consider taking this pkg in a TUR or even in extra

thank you very much, mr angelus..

Offline

#3 2004-04-07 16:32:48

DanEE
Member
From: Fribourg, Switzerland
Registered: 2003-07-10
Posts: 43

Re: [multimedia: graphic] xchm -> chmlib

I have trouble with xchm, because every time I click on the fonts button the program crashes!

Do you have the same problems??

Offline

#4 2004-04-07 22:14:27

angelus
Member
From: Argentina
Registered: 2004-02-07
Posts: 18

Re: [multimedia: graphic] xchm -> chmlib

DanEE,
      I don't have that problem, the fonts here works fine, it shows the fonts avaliable for gtk+. Do u have a similar problem with another gtk+ app? (not gtk2+ ).

Thanks for trying the package, maybe it wasn't that useless after all.

Offline

#5 2004-04-08 15:03:43

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [multimedia: graphic] xchm -> chmlib

angelus wrote:

DanEE,
      I don't have that problem, the fonts here works fine, it shows the fonts avaliable for gtk+. Do u have a similar problem with another gtk+ app? (not gtk2+ ).

Thanks for trying the package, maybe it wasn't that useless after all.

it is not useless!!

To solve the fonts problem you have<not related with wxgtk> but GTK1 maybe? you can try wxgtk2 [from the devel]. if you would like could can build a pkg for archlinux for wxgtk2 [1 sucks big time] tongue

or you can try solving the font issue for gtk1

Offline

#6 2004-04-08 16:13:13

DanEE
Member
From: Fribourg, Switzerland
Registered: 2003-07-10
Posts: 43

Re: [multimedia: graphic] xchm -> chmlib

I have some problems with programs that use gtk1 I think and I don't know why...
I get errors like this:

Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 4278 error_code 2 request_code 45 minor_code 0

It happens from time to time with other programs

After all xchm would be very usefull if I could make the fonts bigger! smile

Offline

#7 2004-04-08 16:49:23

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [multimedia: graphic] xchm -> chmlib

DanEE wrote:

After all xchm would be very usefull if I could make the fonts bigger!

because I'm not sure about the GDK-error [google it, and pacman the last gdk], or you can try a magnifier or 'gnome-font-properties'

Offline

#8 2004-04-09 09:34:18

Bobonov
Member
From: Roma - Italy
Registered: 2003-05-07
Posts: 295

Re: [multimedia: graphic] xchm -> chmlib

Do not hope to have it, I already submitted it twice in the past but no answer.....

Offline

#9 2004-05-16 09:30:58

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [multimedia: graphic] xchm -> chmlib

plz add this to staging or sth like it..
this is a very useful app

Offline

#10 2004-09-03 10:05:50

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [multimedia: graphic] xchm -> chmlib

now that wxGTK is built with GTK2{!}

latest versions (at the time of writing)

pkgname=chmlib
pkgver=0.35
pkgrel=1
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
url="http://66.93.236.84/%7Ejedwin/projects/chmlib/"
depends=('glibc')
source=("http://66.93.236.84/%7Ejedwin/projects/chmlib/$pkgname-$pkgver.tgz")

build() {
  cd $startdir/src/$pkgname-$pkgver
  sed -i "s:/usr/local:$startdir/pkg/usr:" Makefile
#  sed -i "s:/bin/sed:/usr/bin/sed:" libtool

  make

  mkdir $startdir/pkg/usr
  mkdir $startdir/pkg/usr/bin
  mkdir $startdir/pkg/usr/lib
  mkdir $startdir/pkg/usr/include

  make install

  # Additional Utilities
  make test_chmLib
  make enum_chmLib
  make extract_chmLib
  make chm_http
  cp extract_chmLib enum_chmLib test_chmLib chm_http $startdir/pkg/usr/bin
}
pkgname=xchm
pkgver=0.9.4
pkgrel=1
pkgdesc="The UNIX chm viewer"
url="http://xchm.sourceforge.net"
depends=('chmlib' 'wxgtk')
source=("http://umn.dl.sourceforge.net/sourceforge/xchm/$pkgname-$pkgver.tar.gz")

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install
}

this next shot is dedicated to Tobias and Roberto. Doesn't this shot look really nice {notice the FONTS}:
xchm_gtk2.png

Thanks again!

Offline

#11 2004-12-11 23:13:52

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [multimedia: graphic] xchm -> chmlib

I really wish someone maintained this packages (and these packages could go in extra). It's a very useful tool afterall.

btw, there is a new system going on for packaging so you just have to wait smile

if you want to have your own repo btw, you must generate  a db and just tell us the url wink

[see how, other does it]

thanks for the packages. Keep it up!

Offline

Board footer

Powered by FluxBB