chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] can't get phoghorn running


From: Markus Klotzbuecher
Subject: Re: [Chicken-users] can't get phoghorn running
Date: Tue, 21 Aug 2012 13:47:55 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Aug 20, 2012 at 10:26:41PM +0200, Peter Bex wrote:
> On Mon, Aug 20, 2012 at 10:11:04PM +0200, Markus Klotzbuecher wrote:
> > Hi All,
> > 
> > I would like to try the phoghorn image gallery generator, but I just
> > can't get the egg compiled. It fails because it can't find the epeg
> > library and "epeg-config". I can't find it either, not as a debian
> > package nor as sources on the net.
> > 
> > Is the epeg code still developed?
> 
> No, epeg is dead, even more dead than imlib2.  I think the current
> replacement library from the E project for both these libraries
> is the "evas" library.  I had plans to convert phoghorn to evas
> someday (and make an evas egg), but I don't currently use phoghorn
> anymore.
> 
> > From looking at the phoghorn code it seems that imlib2 is also
> > supported. Could it be used with the latter only?
> 
> I think you could easily hack out the epeg bits; imlib2 supports
> jpeg as well, I think.

That indeed turned out to be easy (patch attached).
But I can't get it to work with spiffy. I added the following to
launch and configure spiffy:

;; runspiffy.scm
(use spiffy ssp-handler)

(file-extension-handlers `(("ssp" . ,ssp-handler)))
(index-files '("index.ssp"))
(server-port 8080)
(root-path "/home/mk/web/wwwroot")


and in wwwroot there is

galleries/ 
galleries/index.ssp       ;; copied from the phoghorn egg page
galleries/zoomed.ssp      ;; 
galleries/gallery1/       ;; folders with images
...

Now when browse to localhost:8080/galleries/ I see the contexts of
index.ssp (apparently as a result of executing index.sspx)

No need to mention I'm a web-development noob...

Thanks for any hints!
Markus


Attachment: 0001-remove-epeg-dependency-from-phoghorn.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]