--- pictor-2.8.orig/debian/postrm +++ pictor-2.8/debian/postrm @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +package="pictor" + +case "$1" in + purge) + rm -rf /var/cache/$package + ;; +esac + +#DEBHELPER# + +exit 0 --- pictor-2.8.orig/debian/copyright +++ pictor-2.8/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Dustin Kirkland +Fri, 18 Jul 2008 00:24:37 +0100 + +It was downloaded from: http://launchpad.net/pictor + +Upstream Authors: Dustin Kirkland + +Copyright: + Copyright (C) 2002-2009 Dustin Kirkland + All rights reserved. + +License: + + pictor: web application for browsing your pictures + Copyright (C) 2000-2010 Dustin Kirkland + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, version 3 of the + License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + + The icons are licensed under the Creative Commons Attribution 2.5 license, + . In accordance with CCA2.5, + the icons are available at . + +The Ubuntu packaging: + Copyright (C) 2010 by Dustin Kirkland + released under the GPL-3. --- pictor-2.8.orig/debian/install +++ pictor-2.8/debian/install @@ -0,0 +1,7 @@ +debian/apache.conf etc/pictor +settings.php etc/pictor +index.php usr/share/pictor +favicon.ico usr/share/pictor +next.png usr/share/pictor +prev.png usr/share/pictor +pictor-unload usr/bin --- pictor-2.8.orig/debian/apache.conf +++ pictor-2.8/debian/apache.conf @@ -0,0 +1,8 @@ +Alias /pictor /usr/share/pictor + + + Options +FollowSymLinks -Indexes + AllowOverride All + order allow,deny + allow from all + --- pictor-2.8.orig/debian/rules +++ pictor-2.8/debian/rules @@ -0,0 +1,34 @@ +#!/usr/bin/make -f + +build: + +clean: + rm -rf debian/pictor debian/files debian/pictor.debhelper.log + +install:build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -X.bzr + dh_link + dh_install -X.bzr + +# Everything else is handled by dh_install + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -X.bzr + dh_installdebconf + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_builddeb + +binary: binary-indep +.PHONY: build clean binary-indep binary install + +binary-arch: --- pictor-2.8.orig/debian/links +++ pictor-2.8/debian/links @@ -0,0 +1,2 @@ +var/cache/pictor usr/share/pictor/tmp +etc/pictor/apache.conf etc/apache2/sites-available/pictor --- pictor-2.8.orig/debian/dirs +++ pictor-2.8/debian/dirs @@ -0,0 +1,2 @@ +var/cache/pictor/thumbnails +var/cache/pictor/resize --- pictor-2.8.orig/debian/control +++ pictor-2.8/debian/control @@ -0,0 +1,23 @@ +Source: pictor +Section: web +Priority: optional +Maintainer: Dustin Kirkland +Standards-Version: 3.8.3 +Build-Depends: debhelper (>= 6.0) +Homepage: http://launchpad.net/pictor +Vcs-Bzr: http://bazaar.launchpad.net/~kirkland/pictor/main + +Package: pictor +Architecture: all +Depends: ${misc:Depends}, debconf (>= 0.5) | debconf-2.0, apache2, libapache2-mod-php5, php5-imagick +Description: a web application for browsing your pictures + Pictor is a simple web application for browsing your pictures in a + in a filesystem (without a complicated database schema). Pictures + are organized in filesystem directories of any depth. Albums are + directories that contain pictures. Thumbnails are generated and + cached as necessary, and images are dynamically resized on the fly. + . + Pictor is useful as for low-traffic browsing of your pictures on + a local webserver, but is not necessarily recommended for high + traffic picture sharing, as Pictor's dynamic image scaling can + be cpu-intensive. --- pictor-2.8.orig/debian/postinst +++ pictor-2.8/debian/postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +package="pictor" +webserver="apache2" + +case "$1" in + configure) + chown www-data:www-data /var/cache/$package /var/cache/$package/thumbnails /var/cache/$package/resize + a2ensite $package + invoke-rc.d $webserver reload + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- pictor-2.8.orig/debian/changelog +++ pictor-2.8/debian/changelog @@ -0,0 +1,104 @@ +pictor (2.8-0ubuntu1) maverick; urgency=low + + * debian/install, pictor-unload, pictor-unload.1: add a script that + helps unload files from a source media, renaming them appropriately + and optionally unmounting the media when done + * index.php: allow for client to override thumb columns + + -- Dustin Kirkland Tue, 24 Aug 2010 15:29:04 -0400 + +pictor (2.7-0ubuntu1) maverick; urgency=low + + * index.php: drop the unecessary title at the top + * camera.png, debian/copyright, debian/install, favicon.ico, index.php, + next.png, prev.png: add a favicon, next and previous buttons, update + copyright to add famfamfam + + -- Dustin Kirkland Tue, 24 Aug 2010 15:28:58 -0400 + +pictor (2.6-0ubuntu1) lucid; urgency=low + + * index.php: scale images to bestfit=true + + -- Dustin Kirkland Mon, 15 Feb 2010 19:37:24 -0600 + +pictor (2.5-0ubuntu1) lucid; urgency=low + + * index.php: use exif data to determine if image, catch imagick exceptions + + -- Dustin Kirkland Wed, 10 Feb 2010 11:46:06 -0600 + +pictor (2.4-0ubuntu1) lucid; urgency=low + + * index.php: use a backward compatible scaleImage() invocation that works + with Hardy's php + + -- Dustin Kirkland Tue, 09 Feb 2010 11:40:42 -0600 + +pictor (2.3-0ubuntu1) lucid; urgency=low + + * index.php: center license text + + -- Dustin Kirkland Mon, 08 Feb 2010 20:08:54 -0600 + +pictor (2.2-0ubuntu1) lucid; urgency=low + + * rebuild using better tools, and prepare for PPA uploads backported to + older Ubuntu releases + * debian/rules: drop get-orig-source, no longer needed, handled by my + own scripts + + -- Dustin Kirkland Mon, 08 Feb 2010 19:09:33 -0600 + +pictor (2.1) lucid; urgency=low + + * debian/apache.conf: turn off indexes + * index.php: + - quote href's + - use htmlspecialchars judiciously + - deprecate weather and airport support (for now) + - don't hardcode lower footer width + - sanity check numbers a bit better + + -- Dustin Kirkland Sat, 06 Feb 2010 22:30:12 -0600 + +pictor (2.0) lucid; urgency=low + + * Initial packaging + * settings.php: prep for installation to /etc/pictor + * debian/install: + - fix install typo + - deprecate thumbs script + * index.php: + - print useful error message if no pictures are found + - generate/cache thumbnails + - add support to enable/disable search function + - replace album search with native php code, rather than shell find + - deprecate old location method + - use php's exif extractor + - get auto-rotate working for thumbnails and generated images + - add 1920x1080 size + - don't force size on image display + - move get_cache_filename() to a function + - remove search capability for now, until we have a better way of + handling it + - improve slideshow handling, dark background, resize form + - index.php: color cells light blue on hover, s/surf/goto/g + - use /var/cache/pictor/resize dir + - beautify table printing + - update cache cleaning + - add a way to change the delay on the slideshow + - change copyright working, remove my email address + * debian/rules, debian/dirs, debian/links: add support for a thumbnail + cache dir + * debian/control: + - bump standards ver + - misc depends + - depend on php's imagick module + * debian/rules: install changelog + * debian/copyright: drop icons artifact from musica + * debian/dirs, debian/links, debian/postinst, debian/postrm: support + cache resize dir, remove cache on purge, use links file + + + -- Dustin Kirkland Sat, 30 Jan 2010 19:29:47 -0800 --- pictor-2.8.orig/debian/compat +++ pictor-2.8/debian/compat @@ -0,0 +1 @@ +6