--- pictor-2.27.orig/debian/changelog +++ pictor-2.27/debian/changelog @@ -0,0 +1,301 @@ +pictor (2.27-0ubuntu1) trusty; urgency=medium + + * === added directory img, img/pictor_14.png, img/pictor_192.png, + img/pictor_64.png, img/pictor.png: + - add new pictor logo + * debian/pictor.postrm: + - fix copy-n-paste error from musica + + -- Dustin Kirkland Sat, 15 Mar 2014 21:36:49 -0500 + +pictor (2.26-0ubuntu1) trusty; urgency=low + + * debian/apache.conf => debian/pictor.conf, debian/pictor.install, + debian/pictor.links, debian/pictor.postinst, debian/pictor.postrm: + - LP: #1293015 + - fix package installation and removal + + -- Dustin Kirkland Sat, 15 Mar 2014 21:36:47 -0500 + +pictor (2.25-0ubuntu1) trusty; urgency=low + + * index.php: + - support a "filter" parameter, to filter on filenames + - useful on a thumbnails page for an album, where you + only want to see a subset of the pictures in the album, + perhaps those matching a certain date + - currently implemented as a global, which is kind of messy... + * pictor-unload: + - restore functionality that moves the source out of the way, to mark as unloaded + + -- Dustin Kirkland Fri, 01 Nov 2013 13:46:42 -0500 + +pictor (2.24-0ubuntu1) saucy; urgency=low + + * debian/control, debian/pictor-unload.install, debian/pictor- + unload.manpages, pictor-rename, pictor-rename.1, pictor-unload: + - depend on fdupes, to remove duplicate files + - depend on libimage-exiftool-perl for exiftool + - add a new tool, pictor-rename, and its manpage + + rename pictures with a prepended timestamp, YYYY-MM-DD_HH-MM-SS__* + + use dashes instead of colons in time for compatibility with + Mac OS X and Windows + - drastically simplify pictor-unload + + move naming logic to pictor-rename + + use fdupes to sensibly remove duplicate images + + drop card unmounting logic + * debian/control, pictor-rename: + - bump standards + + -- Dustin Kirkland Tue, 13 Aug 2013 09:04:09 -0500 + +pictor (2.23-0ubuntu1) raring; urgency=low + + * index.php: + - center footer table + - update copyright to 2013 + - move descriptions to titles + - support listing albums and thumbnails in the same directory + + -- Dustin Kirkland Thu, 21 Mar 2013 23:59:12 -0500 + +pictor (2.22-0ubuntu1) raring; urgency=low + + * index.php: + - auto resize image to the size of browser window, using javascript + + -- Dustin Kirkland Sat, 05 Jan 2013 11:09:34 -0600 + +pictor (2.21-0ubuntu1) raring; urgency=low + + * debian/control: + - fix lintian warnings + + -- Dustin Kirkland Wed, 31 Oct 2012 17:30:10 +0100 + +pictor (2.20-0ubuntu1) raring; urgency=low + + * index.php: + - ensure error message is visible + + -- Dustin Kirkland Wed, 31 Oct 2012 17:14:48 +0100 + +pictor (2.19-0ubuntu1) precise; urgency=low + + * index.php: + - fix some whitespace + - deprecate $EDIT editing descriptions + + this never worked terribly well, and required www-data have + write permissions on the file, which was messy + - move the has_subdir() functionality to actually test if a directory + has images; this is much more efficient, as a directory that has + 1000 files would have to scan all of those to see if any of those + was a subdirectory; instead, just see if any one of those is an + image, and if so, we'll assume its an album + + LP: #952588 + - fix a broken reference to $url, should be $href + - use isset() to test the existence of various variables and keys + + LP: #952587 + + this should clean up a LOT of noise in /var/log/apache2/error + and improve performance + + define a couple of variables to prevent errors in apache logs + + -- Dustin Kirkland Sun, 11 Mar 2012 17:23:29 -0500 + +pictor (2.18-0ubuntu1) precise; urgency=low + + * index.php: LP: #952186 + - split is_image() to a fast version that doesn't read exif data; + use this one when processing multiple files (thumbnails view) + + -- Dustin Kirkland Sun, 11 Mar 2012 07:10:37 -0500 + +pictor (2.17-0ubuntu1) precise; urgency=low + + [ Fixed in #ubuntu-classroom session ] + * index.php: + - support .png images + + -- Dustin Kirkland Thu, 02 Feb 2012 13:54:14 -0600 + +pictor (2.16-0ubuntu1) precise; urgency=low + + * debian/copyright, index.php, kenburns.js: + - add the kenburns effect for a screensaver mode + + -- Dustin Kirkland Mon, 12 Dec 2011 21:51:34 -0600 + +pictor (2.15-0ubuntu1) oneiric; urgency=low + + * pictor-unload: + - fix timestamps for vfat filesystems :-( + * index.php: + - standardize thumbnail height + + -- Dustin Kirkland Sat, 30 Jul 2011 11:14:40 -0500 + +pictor (2.14-0ubuntu1) oneiric; urgency=low + + * pictor-unload: + - automatically unmount if run with root perms, else prompt via sudo + + -- Dustin Kirkland Thu, 30 Jun 2011 21:44:28 +0000 + +pictor (2.13-0ubuntu1) oneiric; urgency=low + + * index.php: + - remove table borders around thumbnails + - make the thumbnails view full screen + - use a film icon for video clips + - update copyright + * index.php, settings.php: + - eliminate THUMB_COLUMNS global + * settings.php: up the default width do 1024 + + -- Dustin Kirkland Thu, 02 Jun 2011 18:19:30 -0400 + +pictor (2.12-0ubuntu1) natty; urgency=low + + * debian/pictor.links, index.php: rename "assets" to "silk"; gives some + credit to the silk project and perhaps less generic than "assets" + * index.php: fix back/next links in table + + -- Dustin Kirkland Tue, 01 Mar 2011 03:12:25 -0600 + +pictor (2.11-0ubuntu1) natty; urgency=low + + * debian/pictor.links, index.php: rename "icons" link to "assets", + seems that apache2 module "alias" often aliases "icons" directory + + -- Dustin Kirkland Wed, 02 Feb 2011 09:22:35 -0800 + +pictor (2.10-0ubuntu1) natty; urgency=low + + * debian/control, debian/dirs => debian/pictor.dirs, debian/install => + debian/pictor.install, debian/links => debian/pictor.links, + debian/pictor-unload.install, debian/pictor-unload.manpages, + debian/postinst => debian/pictor.postinst, debian/postrm => + debian/pictor.postrm: + - separate pictor-unload to a separate, stand-alone package + * debian/rules: install manpages + * debian/control, debian/rules: migrate to debhelper 7 + * pictor-unload.1: fix formatting + + -- Dustin Kirkland Mon, 31 Jan 2011 18:03:16 -0600 + +pictor (2.9-0ubuntu1) natty; urgency=low + + * index.php, settings.php: change default flipbook image size from + 640 to 800; add a configurable variable to control this + * index.php: move upper bar to just below picture, to try and get more + of the image on the first page; darken the background color + * debian/control, debian/copyright, debian/install, debian/links, + index.php, next.png, prev.png: use the new famfamfam-silk package + * debian/control, debian/copyright: fix lintian warnings + + -- Dustin Kirkland Tue, 14 Dec 2010 11:47:58 -0600 + +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 Sat, 25 Sep 2010 11:38:21 -0700 + +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.27.orig/debian/compat +++ pictor-2.27/debian/compat @@ -0,0 +1 @@ +6 --- pictor-2.27.orig/debian/control +++ pictor-2.27/debian/control @@ -0,0 +1,34 @@ +Source: pictor +Section: web +Priority: optional +Maintainer: Dustin Kirkland +Standards-Version: 3.9.4 +Build-Depends: debhelper (>= 7) +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, famfamfam-silk +Recommends: pictor-unload +Description: 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. + +Package: pictor-unload +Architecture: all +Depends: ${misc:Depends}, fdupes, libimage-exiftool-perl +Breaks: pictor (<< 2.10) +Replaces: pictor (<< 2.10) +Description: tool for unloading and renaming pictures from flash media + Pictor-unload is a tool for unloading pictures from one directory + to another, and renaming them with their timestamp for ordering and + interleaving. --- pictor-2.27.orig/debian/copyright +++ pictor-2.27/debian/copyright @@ -0,0 +1,53 @@ +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) 1997-2013 Dustin Kirkland + Copyright (C) 2011 Will McGugan http://www.willmcgugan.com + All rights reserved. + +License: + + pictor: web application for browsing your pictures + Copyright (C) 1997-2013 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 . + + + Ken Burns effect JQuery plugin + Copyright (C) 2011 Will McGugan http://www.willmcgugan.com + + 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, either version 3 of the + License, or (at your option) any later version. + + 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 Ubuntu packaging: + Copyright (C) 2010-2013 by Dustin Kirkland + released under the GPL-3. + + On Debian systems, the complete text of the GNU General Public + License, version 3, can be found in /usr/share/common-licenses/GPL-3. --- pictor-2.27.orig/debian/pictor-unload.install +++ pictor-2.27/debian/pictor-unload.install @@ -0,0 +1,2 @@ +pictor-unload usr/bin +pictor-rename usr/bin --- pictor-2.27.orig/debian/pictor-unload.manpages +++ pictor-2.27/debian/pictor-unload.manpages @@ -0,0 +1,2 @@ +pictor-unload.1 +pictor-rename.1 --- pictor-2.27.orig/debian/pictor.conf +++ pictor-2.27/debian/pictor.conf @@ -0,0 +1,8 @@ +Alias /pictor /usr/share/pictor + + + Options +FollowSymLinks -Indexes + AllowOverride All + order allow,deny + allow from all + --- pictor-2.27.orig/debian/pictor.dirs +++ pictor-2.27/debian/pictor.dirs @@ -0,0 +1,2 @@ +var/cache/pictor/thumbnails +var/cache/pictor/resize --- pictor-2.27.orig/debian/pictor.install +++ pictor-2.27/debian/pictor.install @@ -0,0 +1,5 @@ +debian/pictor.conf etc/apache2/sites-available/ +settings.php etc/pictor +index.php usr/share/pictor +favicon.ico usr/share/pictor +kenburns.js usr/share/pictor --- pictor-2.27.orig/debian/pictor.links +++ pictor-2.27/debian/pictor.links @@ -0,0 +1,2 @@ +var/cache/pictor usr/share/pictor/tmp +usr/share/icons/silk/16x16 usr/share/pictor/silk --- pictor-2.27.orig/debian/pictor.postinst +++ pictor-2.27/debian/pictor.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +PKG="pictor" +webserver="apache2" + +case "$1" in + configure) + chown www-data:www-data /var/cache/$PKG /var/cache/$PKG/thumbnails /var/cache/$PKG/resize + a2ensite $PKG + 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.27.orig/debian/pictor.postrm +++ pictor-2.27/debian/pictor.postrm @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +PKG="pictor" + +case "$1" in + remove) + if [ -e "/etc/apache2/sites-enabled/${PKG}.conf" ]; then + a2dissite $PKG + fi + ;; + purge) + rm -rf /var/lib/$PKG/* /etc/$PKG/apache.conf /var/cache/$PKG /etc/$PKG/ + [ -h /usr/share/$PKG/pictures ] && rm -f /usr/share/$PKG/pictures || true + ;; +esac + +#DEBHELPER# + +exit 0 --- pictor-2.27.orig/debian/rules +++ pictor-2.27/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@