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
Remove use of internal png library function, to make this package
build against the current png package.
From the povray.general newsgroup:
Well - you could remove that call but will probably loose ability to
interrupt/continue render with PNG output.
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
o require at least gcc 3.4 on x86_64, as 3.3 gets an ICE.
o depends on zlib>=1.2.1, which is povray's requirement, so that the
package doesn't try to use its own zlib and libtiff (for some reason
configure fails to configure the provided libs properly when gcc 3.4 is
used)
Bump PKGREVISION.
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.
- a completely rewritten and much more universal configure script.
see INSTALL for more information.
- new documentation format. It has been tested with several newer
browsers, Netscape 4.x will not work well unless you disable style
sheets.
Note some of the png images do not display correctly in some newer
versions of Konqueror. This is a bug in Konqueror. A possible
workaround would be to process all png images through the NetPBM
tools:
pngtopnm image_old.png | pnmtopng > image.png
- new default locations for the configuration files (povray.ini and
povray.conf). See chapter 1 of the documentation for details.
- a new io-restrictions configuration file format. The new format is
not compatible to 3.5 but due to the changed file locations this
does not prevent parallel use of POV-Ray 3.5 and 3.6.
- sample scene render scripts. See section 1.3.6 of the docs for
instructions how to use them.
- a benchmark rendering mode: see section 1.6.2 of the docs.
- KDE integration (file types and panel icons) If someone here is
familiar with doing the same kind of thing in GNOME this would be
helpful.
- various internal changes not directly visible to the user.
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.
Summary of changes in version 3.5:
Major new features:
* New noise functions
* Photon mapping
* Dispersion
* Improved Radiosity
* New light sources
* Light groups
* Isosurface and parametric objects
* Sphere sweep object
* New mesh object
* UV Mapping
* Improved textures
* Improved and faster media
* New patterns
* Functions
Additional new features:
* Reading of JPEG and TIFF image formats
* Projected through
* More realistic attenuation
* New clock keywords
* New image size keywords
* Inverse transform
* Spherical camera
* New float function: inside
* Splines
* Metallic reflection
* Mapping using warps
* Double illuminate flag
* No image and no reflection flags
* Basic Unicode Support
* Declare a float constant from an INI file
Bug fixes and enhancements:
* Light source enhancements
* Fixed normal average, reflection and other related problems
* Fixed cylinder camera problems
* Fixed the use of multiple closed bezier-splines in prism
* Fixed infinite cone bug
* Fixed the use of two subsequent colors, not separated by a comma in
checker, hexagon and bricks.
* Fixed gamma correct bugs
* Numerous other bug fixes and optimizations
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]