Re: NEW: print/foo2zjs

2007-09-25 Thread Mike Erdely
On Tue, Sep 25, 2007 at 05:40:18PM +0200, Antoine Jacoutot wrote: > On Tuesday 25 September 2007 10:13:13 Giovanni Bechis wrote: > > Message added, port available at http://bigio.snb.it/openbsd/foo2zjs.tgz > > You obviously did not try it... or you would have noticed ${LOCALBASE} didn't > expend.

Re: NEW: print/foo2zjs

2007-09-25 Thread Mike Erdely
On Tue, Sep 25, 2007 at 08:19:37PM +0200, Antoine Jacoutot wrote: > On Tue, 25 Sep 2007, Giovanni Bechis wrote: >> Thanks, it prints fine on i386 with a Hp 2600n > > Cool. > Thanks for testing. As we discussed, I'll be able to test on macppc and i386 tonight with my 2600n as well. -ME

Re: NEW: print/foo2zjs

2007-09-25 Thread Antoine Jacoutot
On Tue, 25 Sep 2007, Giovanni Bechis wrote: Thanks, it prints fine on i386 with a Hp 2600n Cool. Thanks for testing. -- Antoine

Re: NEW: print/foo2zjs

2007-09-25 Thread Giovanni Bechis
On Tue, Sep 25, 2007 at 05:40:18PM +0200, Antoine Jacoutot wrote: [...] > Anyway, I worked on your port and came up with the attached tarball. > I cannot test it as I don't have any supported printer for this driver, so > please have a look at it, test it and if it goes well, I'll import it soon.

Re: NEW: print/foo2zjs

2007-09-25 Thread Antoine Jacoutot
On Tuesday 25 September 2007 10:13:13 Giovanni Bechis wrote: > Message added, port available at http://bigio.snb.it/openbsd/foo2zjs.tgz You obviously did not try it... or you would have noticed ${LOCALBASE} didn't expend. Anyway, I worked on your port and came up with the attached tarball. I cann

Re: NEW: print/foo2zjs

2007-09-25 Thread Giovanni Bechis
On Mon, Sep 24, 2007 at 10:07:20AM +0200, Antoine Jacoutot wrote: [...] > Linking the PPD files to $LOCALBASE/share/cups/model/foo2zjs is the way to go. > I choose this way because writing directly to ${LOCALBASE}/share/foomatic/db/source creates some callisions: ===> Installing foo2zjs-20070901

Re: NEW: print/foo2zjs

2007-09-24 Thread Antoine Jacoutot
On Monday 24 September 2007 10:15:09 Jacob Meuser wrote: > but if foomatic directories are already linked to CUPS directories, > installing these file to foomatic directories will make them usable to > CUPS without any extra work. Even better than what I suggested. I'm all for it. -- Antoine

Re: NEW: print/foo2zjs

2007-09-24 Thread Jacob Meuser
On Mon, Sep 24, 2007 at 09:53:49AM +0200, Giovanni Bechis wrote: > On Sun, Sep 23, 2007 at 08:55:13PM +0200, Antoine Jacoutot wrote: > > On Sun, 23 Sep 2007, Mike Erdely wrote: > >> OK to commit? > > > > Why are ppd, xml... files installed this way? > > Couln't they use the foomatic subdirs? > > i.

Re: NEW: print/foo2zjs

2007-09-24 Thread Antoine Jacoutot
On Monday 24 September 2007 09:53:49 Giovanni Bechis wrote: > Foomatic-db is not needed nor cups, I think it could be better to install foomatic-db does not need to be a dependency even if we install the files into $PREFIX/share/foomatic/ The advantage is that foomatic-db-engine will be able

Re: NEW: print/foo2zjs

2007-09-24 Thread Giovanni Bechis
On Sun, Sep 23, 2007 at 08:55:13PM +0200, Antoine Jacoutot wrote: > On Sun, 23 Sep 2007, Mike Erdely wrote: >> OK to commit? > > Why are ppd, xml... files installed this way? > Couln't they use the foomatic subdirs? > i.e. $LOCALBASE/share/foomatic/db/source/ > Foomatic-db is not needed nor cups, I

Re: NEW: print/foo2zjs

2007-09-24 Thread Antoine Jacoutot
On Monday 24 September 2007 09:08:17 Giovanni Bechis wrote: > We use `install -o_cups -g_cups` to install all files so those users > are needed. This does not answer the question. Why do you use -o_cups -g_cups then? > This was the original behaviour, we changed this later: > http://marc.info/?l=

Re: NEW: print/foo2zjs

2007-09-24 Thread Jacob Meuser
On Mon, Sep 24, 2007 at 09:08:17AM +0200, Giovanni Bechis wrote: > On Sun, Sep 23, 2007 at 08:55:13PM +0200, Antoine Jacoutot wrote: > > Also, is CUPS really needed for this to work? > > > We use `install -o_cups -g_cups` to install all files so those users > are needed. but CUPS doesn't really us

Re: NEW: print/foo2zjs

2007-09-24 Thread Giovanni Bechis
On Sun, Sep 23, 2007 at 08:55:13PM +0200, Antoine Jacoutot wrote: > Also, is CUPS really needed for this to work? > We use `install -o_cups -g_cups` to install all files so those users are needed. > Can't the ppd be symlinked from (for example) > $LOCALBASEshare/foomatic/db/source/PPD/foo to > $

Re: NEW: print/foo2zjs

2007-09-23 Thread Antoine Jacoutot
On Sun, 23 Sep 2007, Mike Erdely wrote: OK to commit? Why are ppd, xml... files installed this way? Couln't they use the foomatic subdirs? i.e. $LOCALBASE/share/foomatic/db/source/ Also, is CUPS really needed for this to work? Can't the ppd be symlinked from (for example) $LOCALBASEshare/foom

Re: NEW: print/foo2zjs

2007-09-23 Thread Matthias Kilian
On Sun, Sep 23, 2007 at 12:15:25PM +0200, Giovanni Bechis wrote: > > I just noticed yet another other small problem: it doesn't honour > > CFLAGS (-O2 -Wall always appended), and in icc2ps, just -O3 is used > > and LDFLAGS is ignored. > > > Port fixed and available at: > http://bigio.snb.it/openbs

Re: NEW: print/foo2zjs

2007-09-23 Thread Giovanni Bechis
On Sun, Sep 23, 2007 at 11:44:44AM +0200, Matthias Kilian wrote: > On Sun, Sep 23, 2007 at 01:00:13AM -0400, Mike Erdely wrote: > > OK to commit? > > I just noticed yet another other small problem: it doesn't honour > CFLAGS (-O2 -Wall always appended), and in icc2ps, just -O3 is used > and LDFLAG

Re: NEW: print/foo2zjs

2007-09-23 Thread Matthias Kilian
On Sun, Sep 23, 2007 at 01:00:13AM -0400, Mike Erdely wrote: > OK to commit? I just noticed yet another other small problem: it doesn't honour CFLAGS (-O2 -Wall always appended), and in icc2ps, just -O3 is used and LDFLAGS is ignored. Ciao, Kili

Re: NEW: print/foo2zjs

2007-09-22 Thread Mike Erdely
On Thu, Sep 20, 2007 at 02:12:14PM +0200, Giovanni Bechis wrote: > On Wed, Sep 19, 2007 at 03:33:13PM -0400, Mike Erdely wrote: > > > However, neiter merdely@ nor me were sure about this, and further > > > looking at the PLIST, I notice that the PPDs are installed into two > > > directories (share/

Re: NEW: print/foo2zjs

2007-09-20 Thread Giovanni Bechis
On Wed, Sep 19, 2007 at 03:33:13PM -0400, Mike Erdely wrote: > > However, neiter merdely@ nor me were sure about this, and further > > looking at the PLIST, I notice that the PPDs are installed into two > > directories (share/foo2zjs/PPD and share/foo2jzs/model). Could you > > (Giovanni) check weth

Re: NEW: print/foo2zjs

2007-09-19 Thread Mike Erdely
On Wed, Sep 19, 2007 at 09:28:50PM +0200, Matthias Kilian wrote: > Commenting here, after some short discussions on icb... > > IMHO, since the port already run-depends on cups, there's no reason > not to install the PPDs right into the cups directory > (${PREFIX}/share/cups/model). From the foo2zj

Re: NEW: print/foo2zjs

2007-09-19 Thread Matthias Kilian
Hi, On Wed, Sep 19, 2007 at 01:45:43PM -0400, Mike Erdely wrote: [...] > > Port available at http://bigio.snb.it/openbsd/foo2zjs.tgz > > Giovanni > > Tested on i386 and macppc. Works with my HP CLJ 2600n. > LOCALBASE in pkg/MESSAGE needs to be replaced with PREFIX. > > With that change, ok to

Re: NEW: print/foo2zjs

2007-09-19 Thread Mike Erdely
On Sun, Sep 16, 2007 at 12:55:05PM +0200, Giovanni Bechis wrote: > foo2hp is an open source printer driver for printers that use the > Zenographics ZjStream wire protocol for their print data, > such as the HP Color LaserJet 2600n or Hp 1600. > > Tested on i386 with Hp2600n. > I provide the dist

Re: NEW: print/foo2zjs

2007-09-16 Thread Giovanni Bechis
On Sun, Sep 16, 2007 at 01:27:13PM +0200, Matthias Kilian wrote: > The upstream author even seems to insist > in not providing packages. > I know but the installation instructions provided does not work with OpenBSD. > I can understand that rapidly changing > stuff like the foomatic db doesn't sup

Re: NEW: print/foo2zjs

2007-09-16 Thread Matthias Kilian
On Sun, Sep 16, 2007 at 12:55:05PM +0200, Giovanni Bechis wrote: > I provide the distfile because upstream overwrites the same file on every > update. > Anyone wants to mirror this distfile too ? Copied over to http://openbsd.dead-parrot.de/distfiles/, but I'm really not happy with this. The upstr

NEW: print/foo2zjs

2007-09-16 Thread Giovanni Bechis
foo2hp is an open source printer driver for printers that use the Zenographics ZjStream wire protocol for their print data, such as the HP Color LaserJet 2600n or Hp 1600. Tested on i386 with Hp2600n. I provide the distfile because upstream overwrites the same file on every update. Anyone wants