Here's a first stab at the control file:

Source: photofloat
Section: web
Priority: optional
Maintainer: Antoine Beaupré <anar...@debian.org>
Build-Depends: debhelper (>= 8.0.0), java-compiler
Standards-Version: 3.9.3
Homepage: http://zx2c4.com/projects/photofloat/
#Vcs-Git: git://git.debian.org/collab-maint/photofloat.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/photofloat.git;a=summary

Package: photofloat
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
    python-imaging,
    libjs-jquery,
    libjs-jquery-mousewheel,
    yui-compressor,
    libhtmlunit-java,
    lmodern
Recommends: libapache2-mod-php5 | php5-fpm | php5-cgi, httpd
Description: Web 2.0 Photo Gallery Done Right via Static JSON & Dynamic 
Javascript
 PhotoFloat is a new open source web photo gallery aimed at sleekness
 and speed. It keeps with an old hat mentality, preferring to work over
 directory structures rather than esoteric photo database management
 software. Everything it generates is static, which means it's extremely
 fast.

A more succint todo:

 1. install main.py as photofloat during build
 2. remove duplicate libraries from tarball and fix the result
 3. install files in the proper places
 4. make a working default gallery

1, 2 and 3 are mandatory, the main work being #2. #3 may also be
difficult, but once it's done #4 is easy.

The files to remove from the tarball are:

web/js/000-jquery-1.7.2.js - symlink to 
/usr/share/javascript/jquery/jquery.pack.js
web/js/003-mousewheel.js - symlink to 
/usr/share/javascript/jquery-mousewheel/jquery.mousewheel.js
web/utils/htmlunit-2.8* - remove from source, build against 
/usr/share/java/htmlunit-core-js.jar
web/utils/yuicompressor* - use during build, consider uglify instead
fonts/* - symlink to /usr/share/texmf/fonts/opentype/public/lm

I also consider removing those:

utils/google-compiler* - replace with uglify/yui-compressor?

This can simply be ignored and installed as an example file, but not
enabled: web/js/999-googletracker.js

Those should also eventually be removed:

web/js/001-hashchange.js
web/js/004-fullscreen.js

... once packaged in Debian.

-- 
Celui qui sait jouir du peu qu'il a est toujours assez riche.
                         - Démocrite

Attachment: pgpKYNe8IXh5I.pgp
Description: PGP signature

Reply via email to