alternative from mk/jpeg.buildlink3.mk
This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).
The mechanical edits were applied via the following script:
#!/bin/sh
for d in */*; do
[ -d "$d" ] || continue
for i in "$d/"Makefile* "$d/"*.mk; do
case "$i" in *.orig|*"*"*) continue;; esac
out="$d/x"
sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
-e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
< "$i" > "$out"
if cmp -s "$i" "$out"; then
rm -f "$out"
else
echo "Edited $i"
mv -f "$i" "$i.orig" && mv "$out" "$i"
fi
done
done
Shared directories can now be created independently by the pacakges
needing them and will be removed automatically by pkg_delete when empty.
Packages needing empty directories can use the @pkgdir command in PLIST.
Discussed and ok'd in thread starting at
http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
help from Mihai Chelaru (kefren):
F-Spot supports 16 common files types, including JPEG, GIF, TIFF,
RAW, and others.
It can import your photos from your hard drive, camera (including
PTP type), or iPod.
Photos can be tagged for searching and grouping, and the timeline
gives quick sense of temporal location, and quantity of photos
taken. F-Spot can view and export EXIF and XMP metadata in your
images.
Other features include fullscreen and slideshow modes.
Editing photos in F-Spot is a breeze. Easily rotate, crop, resize,
and adjust red eye and other color settings with a few simple
clicks. Versioning ensures your originals are never altered.
Enter descriptions of photos that are saved in the actual file so
other people and programs will be able to see them, whether they
use F-Spot or not.
F-Spot allows for quick and precise color adjustments, including
brightness, contrast, hue, saturation, and temperature.