gnupic: Re: [gnupic] making xwisp2 more UNIX compliant


Previous by date: 26 Oct 2005 01:50:38 +0100 Re: [gnupic] PICP , OLIMEX serial port programmer, Rajesh Sankaran
Next by date: 26 Oct 2005 01:50:38 +0100 Re: [gnupic] making xwisp2 more UNIX compliant, Jeff
Previous in thread:
Next in thread: 26 Oct 2005 01:50:38 +0100 Re: [gnupic] making xwisp2 more UNIX compliant, Jeff

Subject: RE: [gnupic] making xwisp2 more UNIX compliant
From: Chen Xiao Fan ####@####.####
Date: 26 Oct 2005 01:50:38 +0100
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C0A289354@spex>

Please refer to my comments below.

Regards,
Xiaofan

-----Original Message-----
From: Easy B ####@####.####
Sent: Wednesday, October 26, 2005 12:56 AM
To: List GNUPIC
Subject: [gnupic] making xwisp2 more UNIX compliant

>Hi list

>I already suggested to Rob to make xwisp2 more a UNIX app, by adding  
>a install rule to the Makefile, that puts it into $(PREFIX)/bin and  
>the required xwisp2.cfg into $(PREFIX)/share/xwisp2/. I know that you  
>normally but configuration files as "."-file into the home directory,  
>but this is a file for all users and /etc is not the right place for  
>it, right? Excuse me, but I'm a Mac user and want someone to confirm  
>this ;)
>Anyway, this is my suggestion:
>
>PREFIX=/usr/local
>...
>install:
>     cp -f xwisp2u $(PREFIX)/bin/xwisp2
>     cp -f xwlistu $(PREFIX)/bin/xwlist
>     -mkdir $(PREFIX)/share/xwisp2
>     cp -f xwisp2.cfg $(PREFIX)/share/xwisp2/
>
>The right search path for xwisp2.cfg has to be added to the source  
>code. I thought of "../share/xwisp2" or the absolute path if this  
>doesn't work.

xwisp2.cfg is not a user configuration file like .bashrc.
It is also not a system configuration file like those
under /etc. It is an integrated part of xwisp2 software
package. Therefore it should be in the same directory
as two binary applications.

On the other hand, environment variable 'XWISP2' can be set
as per one's own preferences. Please refer to the README file.

>And I also think that renaming xwisp2_gu.mak to Makefile or  
>GNUmakefile would make life easier too. make, make install...

Renaming xwisp2_gu.mak to Makefile or GNUmakefile is not
really good idea since xwisp2 is cross-platform. Anyway,
a simply cp/copy command will get your like easier, right?
"Make -f xwisp2_gu.mak" is also not so difficult to type with
tab completion under Linux and Windows XP.

>What do you Linux guys think?

I am not really an experienced Linux guy but I have one simple 
suggestion to make xwisp2 more UNIX like. I guess the first thing 
is to rename the package as "xwisp2181s.zip" and "xwisp2181.zip" 
instead of "XWISP2181S.zip" and "XWISP2181.zip".

And actually I think xwisp2 is an OS/2 software in the first place.
But one of the most important attraction of xwisp2 is its 
cross-platform capability.

>Cheers,
>Ezra.



Previous by date: 26 Oct 2005 01:50:38 +0100 Re: [gnupic] PICP , OLIMEX serial port programmer, Rajesh Sankaran
Next by date: 26 Oct 2005 01:50:38 +0100 Re: [gnupic] making xwisp2 more UNIX compliant, Jeff
Previous in thread:
Next in thread: 26 Oct 2005 01:50:38 +0100 Re: [gnupic] making xwisp2 more UNIX compliant, Jeff


Powered by ezmlm-browse 0.20.