Infodrom Oldenburg

— galrey —

3.10.2003: Galrey cannot be executed twice galrey 1.0.0-1
When galrey is called a second time for a photo album, it creates image pages and thumbnails for thumbnails etc. This is a bit annoying but can be fixed with a very small patch.
Download: Patch, Debian binary Package, Debian source Package, dsc file.
3.10.2003: Galrey has problems with files and memos galrey 1.0.0-1

When not all picture files are attributed with a memo or if more pictures are listed in the memo file than exist on the disk, galrey will fail. I discovered three problems with this:

  1. When a memo file is used, only filenames from the memo file are used, but not necessarily all files found.

    Fix: after building @orderedfiles, check agains the original list and push missing files to the end.

  2. When a memo file is used, only filenames from the memo file are used, but the number of files to work on are already determined, hence some files would be left out if the memo file contains more descriptions than files.

    Fix: Recalculate the number of files to process or 3.

  3. When a memo file is used, all included filenames are used, also non-existing ones, making identify fail. Also some files weren't used due to the above.

    Fix: Check whether the file exists before pushing it to @orderedfiles.

The following patch contains fixes 1 and 3, hence automatically fixing 2.

Download: Patch, Debian binary Package, Debian source Package, dsc file.