Date: Sat, 3 Jul 2004 13:20:14 +0200 (CEST) From: Stefan Walter <sw@gegenunendlich.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68624: [NEW PORT] graphics/curator: Static Image Gallery Generator for web or CD-ROM galleries Message-ID: <20040703112014.ED4B13C49@kyuzo.dunkelkammer.void> Resent-Message-ID: <200407031120.i63BKPUZ035104@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68624 >Category: ports >Synopsis: [NEW PORT] graphics/curator: Static Image Gallery Generator for web or CD-ROM galleries >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 03 11:20:25 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Stefan Walter >Release: FreeBSD 5.2-CURRENT i386 >Organization: Infinity Approximation Task Force >Environment: System: FreeBSD kyuzo.dunkelkammer.void 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Jun 26 17:06:01 CEST 2004 >Description: Curator is a powerful script that allows one to generate web page image galleries with the intent of displaying photographic images on the Web, or for a CD-ROM presentation or archiving. It generates static web pages only - no special configuration or running scripts are required on the server. The script supports many file formats, hierarchical directories, thumbnail generation and update, per-image description file with any attributes, and 'tracks' of images spanning multiple directories. WWW: http://curator.sourceforge.net/ The man page that comes with the port has been generated from the SGML document that is included in the distribution. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- curator-2.1.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # curator # curator/files # curator/files/curator.1 # curator/Makefile # curator/distinfo # curator/pkg-descr # echo c - curator mkdir -p curator > /dev/null 2>&1 echo c - curator/files mkdir -p curator/files > /dev/null 2>&1 echo x - curator/files/curator.1 sed 's/^X//' >curator/files/curator.1 << 'END-of-curator/files/curator.1' X.TH "curator" "1" "Dec 2003" X.SH "NAME" Xcurator \(em Generate HTML image gallery pages X.SH "SYNOPSIS" X.PP X\fBcurator\fP [\fBoptions\fP] [\fB<root>\fP] X.SH "DESCRIPTION" X.PP XThis manual page documents briefly the X\fBcurator\fP command\&. X.PP XThis manual page was written for the \fBDebian GNU/Linux\fP distribution Xbecause the original program does not have a manual page\&. XInstead, it has documentation embedded within the program itself\&. X.PP X\fBcurator\fP is a powerful script that allows Xone to generate Web page image galleries with the intent of displaying Xphotographic images on the Web, or for a CD-ROM presentation and Xarchiving\&. It generates static Web pages only - no special configuration Xor running scripts are required on the server\&. The script supports many Xfile formats, hierarchical directories, thumbnail generation and update, Xper-image description file with any attributes, and \&'tracks\&' of images Xspanning multiple directories\&. The templates consist of HTML with Xembedded Python\&. Running this script only requires a recent Python Xinterpreter (version 2or more) and the ImageMagick tools\&. X.PP XAll links it generates are relative links, so that the pages can be Xmoved or copied to different media\&. Each image page and directory can be Xassociated any set of attributes which become available from the template X(this way you can implement descriptions, conversion code, camera Xsettings, and more)\&. X.PP XType \&'curator --help-script\&' for help on the scripting environment\&. X X.SH "OPTIONS" X.PP XA more complete list can be gathered from using the --help Xswitch of the command\&. Some options support either short (single Xdash) or long (double dash) formats\&. X.IP "\fB--help\fP, \fB-h\fP" 10 Xshow detailed help message X X.IP "\fB--help-script\fP" 10 Xshow scripting environment documentation X X.IP "\fB--version\fP, \fB-V\fP" 10 Xprints version X X.IP "\fB--verbose\fP, \fB-v\fP" 10 Xrun verbosely (default) X X.IP "\fB--quiet\fP, \fB--silent\fP, \fB-q\fP" 10 Xrun quietly (turns verbosity off) X X.IP "\fB--no-thumbgen\fP" 10 Xdon\&'t generate thumbnails X X.IP "\fB--force-thumbgen\fP, \fB-h\fP" 10 Xoverwrite existing thumbnails X X.IP "\fB--no-index\fP" 10 Xdon\&'t generate HTML indexes X X.IP "\fB--force-index\fP, \fB-i\fP" 10 Xoverwrite existing HTML indexes X X.IP "\fB--no-imagepage\fP" 10 Xdon\&'t generate HTML image pages X X.IP "\fB--force-imagepage\fP, \fB-j\fP" 10 Xoverwrite existing HTML image pages X X.IP "\fB--force\fP" 10 Xgenerate and overwrite everything (i\&.e\&. forces Xthumbnails, indexes and imagepages) X X.IP "\fB--no-html\fP, \fB-n\fP" 10 Xdon\&'t generate html (i\&.e\&. indexes and imagepages) X X.IP "\fB--force-html\fP, \fB-F\fP" 10 Xgenerate and overwrite html (i\&.e\&. forces indexes and Ximagepages) X X.IP "\fB--use-repn\fP" 10 XDon\&'t generate an image page if there is no base file (i\&.e\&. a Xfile without an alternate repn suffix\&. The default selection Xalgorithm is to choose 1) the first of the affinity repn which Xis an image file (see repn-affinity option), 2) the first of Xthe base files which is an image file, 3) (optional) the first Xof the alternate representations which is an image file\&. This Xoption adds step (3)\&. X X.IP "\fB--repn-affinity\fP" 10 XSpecifies a comma separated list of regular expressions to Xmatch for alt\&.repn files and file extensions to prefer when Xsearching for a main image file to generate a page for (e\&.g\&. X"\.jpg,-- 768\.\&.*,\.gif"\&. X X.IP "\fB--templates\fP, \fB-t\fP" 10 XSpecifies the directory where to take templates from (default: Xroot)\&. This takes precedence over the CURATOR_TEMPLATE Xenvironment variable AND over the root X X.IP "\fB--rc\fP" 10 XSpecifies an additional global file to include and run in the Xpage environment before expanding the templates\&. This can be Xused to perform global initialization and customization of Xtemplate variables\&. The file template-rc\&.py is searched in the Xsame order as for templates and is executed in that order as Xwell\&. Note that output when executing this goes to stdout\&. X X.IP "\fB--rccode\fP" 10 Xspecifies additional global init code to run in the global Xenvironment\&. This can be used to parameterize the templates Xfrom the command line (see option -- rc)\&. X X.IP "\fB--save-templates\fP, \fB-S\fP" 10 XSaves the template files in the root of the hierarchy\&. Previous Xcopies, if existing and different from the current template, Xare moved into backup files\&. This can be useful for keeping Xtemplate files around for future regeneration, or for saving a Xcopy before editing\&. X X.IP "\fB--rc\fP" 10 XSpecifies an additional global file to include and run in the Xpage environment before expanding the templates\&. This can be Xused to perform global initialization and customization of Xtemplate variables\&. The file template-rc\&.py is searched in the Xsame order as for templates and is executed in that order as Xwell\&. Note that output when executing this goes to stdout\&. X X.IP "\fB--ignore-errors\fP, \fB-k\fP" 10 XIgnore errors in templates X X.IP "\fB--ignore-pattern\fP, \fB-I\fP" 10 Xregexp to specify image files to ignore X X.IP "\fB--htmlext\fP" 10 Xspecifies html files extension (default: \&'\&.html\&') X X.IP "\fB--attrext\fP" 10 Xspecifies attributes files extension (default: \&'\&.desc\&') X X.IP "\fB--newthumbext\fP" 10 Xspecifies new thumbnail extension/type (default: \&'\&.jpg\&') X X.IP "\fB--thumb-sfx\fP" 10 Xspecifies the thumbnail alt\&.repn\&. suffix (default: \&'thumb\&') X X.IP "\fB--separator\fP, \fB-p\fP" 10 Xspecify the image basename separator from the suffix and Xextension (default: --) X X.IP "\fB--copyright\fP, \fB-C\fP" 10 Xspecifies a copyright notice to include in image conversions X X.IP "\fB--no-meta\fP, \fB-M\fP" 10 Xdisables generator meta information addition X X.IP "\fB--magick-path\fP" 10 Xspecify imagemagick path to use X X.IP "\fB--old-magick\fP" 10 Xuse old imagemagick features (default) X X.IP "\fB--new-magick\fP" 10 Xuse new imagemagick features X X.IP "\fB--no-magick\fP" 10 Xdisable using imagemagick X X.IP "\fB--thumb-size\fP, \fB-s\fP" 10 Xspecifies size in pixels of thumbnail largest side X X.IP "\fB--check-thumb-size\fP" 10 Xcheck the size of existing thumbnails to make sure Xthey\&'re appropriately sized X X.IP "\fB--thumb-quality\fP, \fB-Q\fP" 10 Xspecify quality for thumbnail conversion (see convert(1)) X X.IP "\fB--fast\fP, \fB-X\fP" 10 Xdisables some miscalleneous slow checks, even if the Xconsistency can be shaken up\&. Don\&'t use this, this Xis a debugging tool X X.IP "\fB--clean\fP" 10 Xremove all files generated by curator\&. Curator exits Xafter clean up\&. X X.SH "SEE ALSO" X.PP XFor more information about the program and it\&'s capabilities are Xdescribed in the --help output\&. X.SH "AUTHOR" X.PP X\fBcurator\fP was written by XMartin Blais <blais@iro\&.umontreal\&.ca> Xand may be downloaded directly from Xhttp://curator\&.sourceforge\&.net/ X.PP XThis manual page was created by Dave Baker <dsb3@debian\&.org> for Xthe \fBDebian GNU/Linux\fP system (but may be used by others)\&. XPermission is granted to copy, distribute and/or modify this document Xunder the terms of the GNU Free Documentation XLicense, Version 1\&.1 or any later version published by the Free XSoftware Foundation; with no Invariant Sections, no Front-Cover XTexts and no Back-Cover Texts\&. X...\" created by instant / docbook-to-man, Fri 02 Jul 2004, 15:00 END-of-curator/files/curator.1 echo x - curator/Makefile sed 's/^X//' >curator/Makefile << 'END-of-curator/Makefile' X# New ports collection makefile for: curator X# Date created: 03 Jul 2004 X# Whom: Stefan Walter <sw@gegenunendlich.de> X# X# $FreeBSD$ X# X XPORTNAME= curator XPORTVERSION= 2.1 XCATEGORIES= graphics www python XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= sw@gegenunendlich.de XCOMMENT= Static Image Gallery Generator for web or CD-ROM galleries X XUSE_PYTHON= yes XUSE_PYDISTUTILS=yes X XOPTIONS= PIL "Use Python Imaging Library instead of ImageMagick" off X XPLIST_FILES= bin/curator XMAN1= curator.1 X X.include <bsd.port.pre.mk> X X.if !defined(WITH_PIL) XRUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick X.else XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging X.endif X Xpost-install: X ${INSTALL_MAN} ${FILESDIR}/curator.1 ${PREFIX}/man/man1/curator.1 X X.include <bsd.port.post.mk> END-of-curator/Makefile echo x - curator/distinfo sed 's/^X//' >curator/distinfo << 'END-of-curator/distinfo' XMD5 (curator-2.1.tar.gz) = 48101615a4757347ed3349b6577f0147 XSIZE (curator-2.1.tar.gz) = 37457 END-of-curator/distinfo echo x - curator/pkg-descr sed 's/^X//' >curator/pkg-descr << 'END-of-curator/pkg-descr' XCurator is a powerful script that allows one to generate web page image Xgalleries with the intent of displaying photographic images on the Web, or for Xa CD-ROM presentation or archiving. X XIt generates static web pages only - no special configuration or running Xscripts are required on the server. The script supports many file formats, Xhierarchical directories, thumbnail generation and update, per-image Xdescription file with any attributes, and 'tracks' of images spanning multiple Xdirectories. X XWWW: http://curator.sourceforge.net/ END-of-curator/pkg-descr exit --- curator-2.1.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040703112014.ED4B13C49>