gnupic: Re: [gnupic] making xwisp2 more UNIX compliant
Subject:
Re: [gnupic] making xwisp2 more UNIX compliant
From:
Marco Pantaleoni ####@####.####
Date:
26 Oct 2005 16:20:21 +0100
Message-Id: <200510261719.53366.panta@elasticworld.org>
On Wednesday 26 October 2005 13:03, ####@####.#### wrote:
> Ok. Mow I agree ;) But not about the different distros. The bin and
> share directories are absolutely UNIX standard. With using the a prefix
> variable you can install it to /usr/local, /usr, /opt /sw (fink on Mac
> OS X) or wherever you have a bin and a share.
> And no, I'm not planning to make debs or rpms. But maybe a fink file
> (I'm still a Mac user).
> So if nobody totally disagrees with me, I now ask Rob to add the install
> rule and the search path for xwisp2.cfg. It won't do any harm, only make
> people happy ;)
I apologize if you receive this mail twice. The mailer daemon for the list
gave me an error for messages size bigger than 30 Kb, so I'm resending without
attachments.
I took the freedom to modify the unix makefile (xwisp2_gu.mak) to add
installation support for unix/linux systems. The config file "xwisp2.cfg" is
installed under ${prefix}/share/xwisp2.
I had to add a minor modification to the source code, enabled only on unix, to
make xwisp2 to look in ${prefix}/share/xwisp2 before than in other places.
I also added some rules to make snapshots and packages using checkinstall.
You can pass "prefix" to the makefile (default is "/usr/local").
Now you can:
make -f xwisp2_gu.mak clean
make -f xwisp2_gu.mak prefix=/usr
make -f xwisp2_gu.mak install
Then if you want to make a debian package or a RPM package:
make -f xwisp2_gu.mak checkinstall
You can download the modified source tarball (with rev.num bumbed to 1.8.02)
as:
http://www.elasticworld.org/xwisp2-1.8.02.tar.gz
Debian package:
http://www.elasticworld.org/xwisp2_182-1_i386.deb
RPM package:
http://www.elasticworld.org/xwisp2-182-1.i386.rpm
Cheers,
Marco
--
Marco Pantaleoni
elastiC language developer
http://www.elasticworld.org
[Content type application/pgp-signature not shown. Download]