Remove some HTML output from the code that should be controlled only by
the templates (' ' when no navigation, extra '<br>' elements).
Add controls for directory separator in menus and the text labels for
the navigation elements.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
* Report 404 for HEAD requests to non-existing files or directories
* Scale images when they are requested from the cache instead of
before the index is displayed.
* Sort pictures the same way when viewing images as when viewing
directories
* New option GalleryUnderscoresToSpaces to convert underscores to
spaces in the listing of directories.
* Remember choosen width by setting a cookie
* Two new configuration options GalleryDocFile and GalleryImgFile
that makes it possible to configured which filetypes should be
displayed. See the documentation for details.
* Switched to use Text::Template instead of CGI::FastTemplate,
see the UPGRADE file for details.
* Create copyright notices on pictures using truetype fonts instead
of png images. Font, color and size can be configured.
and various bug fixes.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
- Support mod_perl version 1 and 2 (1.99) (Michael Legart)
- Send status code 500 on errors, 404 on file not found and
make IE show our own errorpage. (Thomas L. Kjeldsen)
- Bugfix for directories named "0" (Andreas Plesner Jacobsen)
- Added "selection mode". Select images with checkboxes and
get a list of filenames. (Peter Andreasen)
- Fix to let the module work with perl 5.005 (Aaron)
- Do not allow scaling pictures to sizes above their
original size (Aaron)
- Added GalleryUseFileDate option to make A::G show
the files timestamps instead of using the EXIF value (Dennis Haney)
- Remember display size when turning Slideshow off (Hans Joergensen)
- Nice new layout (Thomas Kjaer)
- New option GalleryEXIFMode to control the way EXIF
info is displayed. See docs for details (Michael Legart)
- Support for the FNumber EXIF value (Thomas Corell)
- Added GalleryRootText option to allow changing the name of
the root element in the menu (Christopher Knight)
- Use Image::Imlib2 instead of Inline::C (Andreas Plesner Jacobsen)
- New option GalleryMaxThumbnailsPerPage to limit the number
of thumbnails displayed per page. Disabled by default
and requires templates update. (Michael Legart)
- Bugfix for the GalleryThumbnailSize option. Both height and
width max sizes are now obeyed. (David Gee)
Notable changes:
* Apache now internally handles image dispatch which enables use of
all Apache caching possibilities
* Support the EXIF Orientation key for automatic rotate
* Directory comments
* New GallerySortBy option to allow sort by time, size etc.
* Set width/height on thumbnail images for better performance
* InlineDir is no longer configurable using PerlSetVar
* Write to the error log if unable to open files in the cache
* Added slideshow feature
* Moved the cache to one single directory outside the webscope
* Allow user to customize the "No info found" message
Some people have been reporting problems with Apache segfaulting
when displaying images from certain cameras (eg. the Canon G2).
The problem can be solved by using Image::Info 1.11 or earlier.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.