Commit graph

8566 commits

Author SHA1 Message Date
obache
e468bbf62d Fixes to build on DragonFly, contains bug fixes for sizeof(mode_t) != sizeof(int) 2010-12-27 04:58:10 +00:00
adam
0c1dfa4c21 Changes 2.4.4:
I. IMPORTANT BUG FIXES
   - UVS support (TrueType/OpenType cmap format 14) support is fixed.
   This regression has been introduced in version 2.4.0.
II. MISCELLANEOUS
   - Detect tricky fonts (e.g. MingLiU)  by the lengths and checksums
     of Type42-persistent subtables (`cvt ', `fpgm', and `prep') when
     a TrueType font without family name is given.  The previous fix,
     introduced in 2.4.3,  was too rigorous,  causing many  subsetted
     fonts (mainly  from PDF files) displayed badly  because FreeType
     forced  rendering with  the TrueType bytecode engine  instead of
     the autohinter.
   - Better support for 64bit platforms.
   - More fixes to improve handling of broken fonts.
2010-12-26 19:16:15 +00:00
wiz
016a35a74c Update to 1.10.2:
Release 1.10.2 (2010-12-25 Chris Wilson <chris@chris-wilson.co.uk>)
===================================================================
The cairo community is pleased to announce the 1.10.2 release of the
cairo graphics library. This is the first update to cairo's stable 1.10
series and contains a large number of bug fixes.

While many people have contributed and have help to test the release,
2 people deserve special recognition for their efforts in tracking down
and fixing bugs, Andrea Canciani and Adrian Johnson. Thanks to their
tremendous efforts, and of all cairo contributors, it is much
appreciated.

We recommend everyone upgrade to cairo 1.10.2 and hope that everyone
will continue to have lots of fun with cairo!

-Chris

Bug fixes
---------

  Fix embedding of grayscale jpegs in PS.
  https://bugs.freedesktop.org/show_bug.cgi?id=31632

  Fix the reported path of extents containing a curve.

  Fix the compositing of unaligned boxes.

  Reset the clipper in PDF upon finish.

  Fix degenerates arcs to become a degenerate line.

  Build support for autoconf 2.67

  Fix painting of transformed patterns in PS

  Fix the EPS bounding box for PS
  https://bugs.freedesktop.org/show_bug.cgi?id=24688

  Fix the missing content for EPS
  https://bugs.freedesktop.org/show_bug.cgi?id=24688

  Fix regression upon changing page size in PS/PDF
  https://bugs.freedesktop.org/show_bug.cgi?id=24691

  Only use ActualText with PDF-1.5 documents

  Fix the bbox for type1 fallbacks.

  Reset the color after ending the context in PDF
  https://bugs.freedesktop.org/show_bug.cgi?id=31140

  Fix the advance of subsetted type1 fonts
  https://bugs.freedesktop.org/show_bug.cgi?id=31062

  Fix handling of EXTEND_NONE gradients for PDF

  Restrict in-place optimisation for a8 image masks with SOURCE
2010-12-26 14:58:43 +00:00
ryoon
333fef39b9 Add mypaint 2010-12-23 11:47:23 +00:00
ryoon
85b17dcc03 Import mypaint-0.9.0 as graphics/mypaint.
MyPaint is a fast and easy open-source graphics application for
digital painters. It lets you focus on the art instead of the
program. You work on your canvas with minimum distractions, bringing
up the interface only when you need it.
2010-12-23 11:45:32 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
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
2010-12-23 11:44:24 +00:00
gls
ebc80f36ef Update to 0.12.1
This version fixes crashes on files from Sigma DPx compact cameras.
2010-12-22 16:02:18 +00:00
taca
9ac6b108a7 Update pear-Image_Graph package to 0.8.0.
0.8.0		2010-10-05 15:39 UTC

Changelog:

QA release
* PLEASE NOTE: Package now needs PHP 5.x (needed for workaround for Bug #16529 and future cleanups)
Bug #16529 Doesn't work with PHP 5.3.0 neufeind
Bug #16834 Column width error, small PHP typo (fix incl.) neufeind
Bug #2685 Plots do not honor ID tags for fills. nosey
Bug #2791 wrong x-axis label position when using ttf font nosey
Bug #2831 using Image_Graph_Fill in Image_Graph_Fill_Array
Bug #2832 GD always outputs PNG nosey
Bug #3346 double as data nosey
Bug #3496 Image/Graph/value/marker.php - dir don't exist
Bug #3984 Cannot inherit image_color
Bug #4080 setSpaceFromBorder missing ??
Bug #4333 Legend division by zero error on PieChart nosey
Bug #4417 Cannot use point ID as marker value nosey
Bug #4430 Call-time pass-by-reference has been deprecated nosey
Bug #4484 SVG output problem with fill and alignment attributes of text nosey
Bug #4522 Image_Graph_Axis::_calcLabelInterval() dont work like it was working before
Bug #4586 Content type image/jpg does not recognized by IE nosey
Bug #4876 mis-type in code -> undefined property nosey
Bug #5066 Reference Notices nosey
Bug #5607 X Axis Labels align to right nosey
Bug #6941 Logarithmic axis values between 0 and 1 nosey
Bug #7364 Incorrect Include in Grid.php nosey
Bug #7367 Windows XP Marker for top Y-value cut nosey
Bug #7375 Windows XP "Only variables should be assigned by reference" notice
Bug #7572 addPoint function in Image_Graph_Dataset_Sequential doesn't use parameter nosey
Bug #7621 Linux Pie Chart Legend does not display nosey
Bug #7729 Wrong axis X label placement
Bug #8055 No Legend with Pie Charts nosey
Bug #11812 "forceMaximum" method uwesteinm
2010-12-22 15:38:32 +00:00
wiz
32409cdcfd Update to 1.7.0:
NEW FEATURES:

General : New plugin to export images to Debian Screenshoots web service (http://screenshots.debian.net).
General : New plugin to export images to an instant messaging contact.
BUGFIXES FROM KDE BUGZILLA:

001 ==> 225174 : Facebook : Support new permission API for applications.
002 ==> 254110 : Facebook : Unable to upload photos to a selected album.
003 ==> 254457 : Facebook : Album target fails.
004 ==> 247107 : Facebook : Export to notes, export to pinboard, export to profile.
005 ==> 219284 : Facebook : digiKam facebook export album.
006 ==> 241046 : Facebook : Export Facebook.
007 ==> 232015 : Facebook : KPhotoAlbum Facebook import plugin.
008 ==> 223601 : Facebook : digiKam can't upload image to facebook.
009 ==> 243381 : ImageViewer : Gwenview (gwenview), signal: Segmentation fault.
010 ==> 256714 : DebianScreenshoots : Add export to screenshots.debian.net.
011 ==> 258953 : DNGConverter : DngConverter changes luminosity of sony ARW files.
012 ==> 255069 : SendImage : Error with spaces in file names in send by email.
013 ==> 251235 : FlashExport : Flash export plugin does not install.
014 ==> 244702 : PicasaWebExport : Picasawebexport unable to select movie.
015 ==> 258824 : PicasaWebExport : After export images to Picasaweb cancel button should change to close.
016 ==> 256713 : Kopete : Send to Kopete contact plugin.
017 ==> 250449 : AdvancedSlideshow : Slideshow does not work with compositing on.
018 ==> 256284 : RemoveRedEyes : digiKam crash on start.
2010-12-22 12:59:36 +00:00
wiz
dafc2d4258 Update to 1.7.0:
BUGFIXES FROM KDE BUGZILLA:

001 ==> 180224 : Memory leakage in image editor?
002 ==> 257676 : Crash when I renane files.
003 ==> 239862 : digiKam crashes when trying to edit a picture.
004 ==> 224454 : Don't show raw files with metadata when searching or filtering.
005 ==> 214837 : Crash while saving picture in pic editor.
006 ==> 256951 : Showfoto crashes on color correction.
007 ==> 217069 : Undo/Redo are greyed out in image editor under MacOSX.
008 ==> 257769 : Crash on Enhance->Lens->Auto-Correction.
009 ==> 257784 : Lens auto correction does not specify unit for "distance to the object".
010 ==> 256050 : digiKam crashed after modifying tag name.
011 ==> 250134 : digiKam crashed during search for duplicates.
012 ==> 243988 : digiKam crashes trying to save plugin changes.
013 ==> 257744 : digiKam crash on importing large collection.
014 ==> 242439 : Crash when going to next picture in picture editor.
015 ==> 235678 : No startup dialog but error dialogs(s).
016 ==> 257898 : Allow displaying folders recursively.
017 ==> 257897 : Amount of duplicate images list is sorted the wrong way round.
018 ==> 234534 : digiKam not synchronizing legacy tags with new nepomuk database.
019 ==> 237642 : digiKam crashes while renaming several files.
020 ==> 258308 : Crash when starting Free Rotation in Image Editor.
021 ==> 248882 : digiKam crashes when renaming using date/time info.
022 ==> 217555 : "Cannot display preview" error when browsing.
023 ==> 258600 : "transupp.cpp" fails to compile on emerged KDE.
024 ==> 233572 : Showfoto crashed on change hue value.
025 ==> 258828 : Crash when I use auto-colors correction tool from image editor.
026 ==> 195561 : Implement a selective saturation filter [patch].
027 ==> 258931 : Linking broken when using -Wl, --no-copy-dt-needed-entries.
028 ==> 258300 : digiKam won't build.
029 ==> 256023 : Cannot work with Sigma-RAW-files (X3F).
030 ==> 257904 : digiKam not reading metadata from foreign images.
031 ==> 256897 : Crash upon unmounting of USB drive.
032 ==> 259257 : Too small font size.
033 ==> 210353 : digiKam duplicates icons for TIFF files.
034 ==> 260299 : X Axis Color Graduation in Curves Window mirrored.
035 ==> 242021 : digiKam crashes during file save.
2010-12-22 12:50:02 +00:00
dsainty
8a36a59e66 The comment about needing jpegint.h no longer appears to apply, so convert
the jpeg dependency to a common or garden buildlink.
2010-12-19 12:32:42 +00:00
wiz
3ff3e90e8a Not make-jobs-safe. (Wants to link against libraw before it is completely
built when run with -j16.)
2010-12-18 23:50:58 +00:00
dsainty
b9192a06bb Remove a portion of patch-aa that patched in a reference to
BUILDLINK_PREFIX.jpeg, which probably never worked, and should be entirely
unnecessary.
2010-12-18 08:15:51 +00:00
obache
880707dc5b Bump PKGREVISION from icu shlib major bump. 2010-12-17 07:36:08 +00:00
adam
bf30d33962 Changes 0.6.20:
* New translation: ro
* Updated translations: it, lv, sk
* --no-fixup now honoured during --create-exif to not create default tags
* Fixed crash when not enough components were given to --set-value
* Made --set-value more forgiving of whitespace
* Allow --set-value on UNDEFINED tags (treating them as byte arrays)
* Honour --machine-readable with --show-mnote and --show-description
* Turned on the --enable-silent-rules configure option
* Adding or removing a thumbnail can be done simultaneously with other options
* Allow --create-exif to be used in place of an input file
2010-12-16 15:00:33 +00:00
adam
667dc7eb80 Changes 0.6.20:
* New translations: bs, tr
* Updated translations: be, cs, da, de, en_GB, en_CA, it, ja, nl, pl, pt_BR,
  pt, ru, sk, sq, sr, sv, vi, zh_CN
* Fixed some problems in the write-exif.c example program
* Stop listing -lm as a required library for dynamic linking in libexif.pc
* Turned on the --enable-silent-rules configure option
* Changed a lot of strings to make the case of the text more consistent
* exif_entry_dump() now displays the correct tag name for GPS tags
* Fixed some invalid format specifiers that caused problems on some platforms
* Display rational numbers with the right number of significant figures
2010-12-16 14:56:54 +00:00
chuck
9ef80d9cd8 get rid of un-needed cppflags in optflags, as it causes the compile to
fail on macosx (complains about -isystem).
2010-12-15 19:08:21 +00:00
adam
9dd8e7ca5a Fix buildling on Mac OS X, without X11, with OpenMP 2010-12-14 22:19:52 +00:00
adam
2cfdd31bb4 * Fixed buildling with Clang.
* Program crashes with image cache enabled. (Image cache doesn't help, anyway.)
2010-12-14 18:26:34 +00:00
adam
018213cec1 Conditional PLIST depending on x11 option in cairo and building on Darwin 2010-12-14 15:02:42 +00:00
adam
62ceec5347 Changes 6.6.6.5:
* Make the PNG encoder always rebuild the palette, to avoid losing
  transparency when it is out of sync with the pixel data.
  Eliminated CompressColormapTransFirst() since the palette is already
  compressed and sorted by opacty now when it's recreated.
* Account for virtual canvas for the -flip / -flop options.
* Also for -transpose and transverse options
* Support -metric fuzz option.

Changes 6.6.6.4:
* Replace IsMagickColorSimilar() which provides the Fuzz Factor threshold
  function.  Note function does not calculate 'distance' in total but
  short-circuits when threshold is reached for faster processing.
* Ordered Dithered handling of Alpha channel was incorrect - fixing
  Bug was introduced v6.6.5-6

Changes 6.6.6.3:
* Fixed two more cases where the PNG encoder lost transparency.

Changes 6.6.6.2:
* Affine multiplication reversed when translating.

Changes 6.6.6.2:
* Revised the "c7x7b" and "c7x7w" ordered-dither maps to be complementary
  to each other.

Changes 6.6.6.1:
* Add support for -evaluate-sequence median.

Changes 6.6.6.0:
* Fixed two more cases where the PNG encoder lost transparency.
* The policy.xml sets not-to-exceed resource values (e.g. policy memory limit
  1GB, -limit 2GB exceeds policy maximum so memory limit is 1GB).
* Support NCC (normalized cross correlation) compare metric.
2010-12-14 10:08:40 +00:00
adam
0864ec9fbc Changes 1.7.0:
* Added new atttribute types:
  M33dAttribute   3x3 double-precision matrix
  M44dAttribute   4x4 double-precision matrix
  V2d             2D double-precision vector
  V3d             3D double-precision vector
* Bug fix: crash when reading a damaged image file (found
  by Apple).  An exception thrown inside the PIZ Huffman
  decoder bypasses initialization of an array of pointers.
  The uninitialized pointers are later passed to operator
  delete.
* Bug fix: crash when reading a damaged image file (found by
  Apple).  Computing the size of input certain buffers may
  overflow and wrap around to a small number, later causing
  writes beyond the end of the buffer.
* In the "Technical Introduction" document, added
  Premultiplied vs. Un-Premulitiplied Color section:
  states explicitly that pixels with zero alpha and non-zero
  RGB are allowed, points out that preserving such a pixel can
  be a problem in application programs with un-premultiplied
  internal image representations.
* exrenvmap improvements:
  - New command line flags set the type of the input image to
    latitude-longitude map or cube-face map, overriding the
    envmap attribute in the input file header.
  - Cube-face maps can now be assembled from or split into six
    square sub-images.
  - Converting a cube-face map into a new cube-face map with
    the same face size copies the image instead of resampling
    it.  This avoids blurring when a cube-face map is assembled
    from or split into sub-images.
* Updated standard chromaticities in ImfAcesFile.cpp to match
  final ACES (Academy Color Encoding Specification) document.
* Added worldToCamera and worldToNDC matrices to ImfStandardAttributes.h
* Increased the maximum length of attribute and channel names
  from 31 to 255 characters.  For files that do contain names
  longer than 31 characters, a new LONG_NAMES_FLAG in the fil
  version number is set.  This flag causes older versions of
  the IlmImf library (1.6.1 and earlier) to reject files with
  long names.  Without the flag, older library versions would
  mis-interpret files with long names as broken.
* Reading luminance/chroma-encoded files via the RGBA
  interface is faster: buffer padding avoids cache thrashing
  for certain image sizes, redundant calls to saturation()
  have been eliminated.
* Added "hemispherical blur" option to exrenvmap.
* Added experimental version of I/O classes for ACES file
  format (restricted OpenEXR format with special primaries
  and white point); added exr2aces file converter.
* Added new constructors to classes Imf::RgbaInputFile and
  Imf::TiledRgbaInputFile.  The new constructors have a
  layerName parameter, which allows the caller to specify
  which layer of a multi-layer or multi-view image will
  be read.
* A number of member functions in classes Imf::Header,
  Imf::ChannelList and Imf::FrameBuffer have parameters
  of type "const char *".  Added equivalent functions that
  take "const std::string &" parameters.
* Added library support for Weta Digital multi-view images:
  StringVector attribute type, multiView standard attribute
  of type StringVector, utility functions related to grouping
  channels into separate views.
2010-12-14 09:55:56 +00:00
adam
9055280b7d Changes 1.0.2:
* Added explicit copy constructors to Imath::Matrix33<T> and
  ImathMatrix44<T> to make conversions between float and double
  matrices more convenient.
* Added slerpShortestArc() and euclideanInnerProduct() functions
  to Imath::Quat<T>.
* Added 4D vector class template Imath::Vec4<T>.
* Copy constructors and assignment operators for Matrix33<T>
  and Matrix44<T> are up to 25% faster.  Added matrix constructors
  that do not initialize the matrix (this is faster in cases where
  the initial value of the matrix is immediately overwritten anyway).
* Rewrote function closestPointOnBox(point,box).  Shortened
  the code, improved numerical accuracy, fixed a bug where
  closestPointOnBox(box.center(),box) would return the center
  of the +Z side of the box, even if the +/-X or +/-Y sides
  were closer.
* Rewrote function findEntryAndExitPoints() in ImathBoxAlgo.h.
  Results are now consistent with those from intersect(), also
  in ImathBoxAlgo.h.
* Made Vec2<T>::length() and Vec3<T>::length() more accurate for
  vectors whose length is less than sqrt(limits<T>::smallest());
* Made Quat<T>::angle() more accurate for small angles.
2010-12-14 09:52:51 +00:00
gls
df204e7c4a Update after adjusting libraw bl3 2010-12-14 07:45:13 +00:00
gls
02aa828850 Add lcms to bl3 2010-12-14 07:43:45 +00:00
gls
017d869264 Fix patch-aa to find new graphics/libraw
Add graphics/lcms as dependency, required by libraw.

PKG_REVISION++
2010-12-13 20:36:53 +00:00
gls
18df375090 Update libraw to 0.12.0
Complete changelist:

* DCB interpolation and FBDD denoising integrated into main LibRaw.
* Two addtional demosaic packs:
o GPL2-licensed: AFD, LMMSE, VCD, Modified AHD and AHD+VCD interpolations.
Additional median filters from 'Modified DCRAW' package. Foveon support also
included in this pack.
o GPL3-licensed: AMaZE interpolation and chromatic aberrations correction from
RawTherapee
* LCMS 2.x support
* New ./configure script, based on GNU autotools.
* Bugfixes:
o Fix in green_matching code to support nonstandard Bayer pattern
o Fixed bug in add_masked_borders_to_bitmap() call for cameras with masked
border composed of odd number of pixels.
* New command line options for unprocessed_raw sample: -B - subtract black
level, -M - add masked pixels to bitmap.
2010-12-13 20:32:30 +00:00
adam
3f8ef55218 Changes 1.7.13:
(built with libpng-1.4.5 and zlib-1.2.5)
2010-12-13 16:15:33 +00:00
adam
89f177a07f Changes 1.6.1:
* support for new libjpeg v7
* fix to display of 8bit characters
2010-12-12 15:25:59 +00:00
wiz
67a2d78261 Put LICENSE in MAINTAINER paragraph. 2010-12-12 13:37:48 +00:00
dsainty
ca43130369 Add missed build dependency on nasm. 2010-12-12 12:36:39 +00:00
dsainty
20138e4560 Add libjpeg-turbo 2010-12-12 11:53:09 +00:00
dsainty
49715530e7 Conflicts with libjpeg-turbo 2010-12-12 11:50:43 +00:00
dsainty
dd5895e9c3 libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD
instructions to accelerate baseline JPEG compression/decompression by about
2-4x on x86 and x86-64 platforms.

XXX Conflicts with graphics/jpeg - which rather demands a solution.
2010-12-12 11:48:56 +00:00
wiz
e2512d11af Update to 1.4.5:
version 1.4.5beta01 [September 25, 2010]
  Fixed possible configure.ac bug introduced in version 1.4.4rc05.
  Rebuilt configure scripts with autoconf-2.68 instead of autoconf-2.65

version 1.4.5beta02 [October 5, 2010]
  Reverted configure scripts to autoconf-2.65
  Fixed problem with symbols creation in Makefile.am which was assuming that
    all versions of cpp write to standard output by default (Martin Banky). The
    bug was introduced in libpng-1.2.9beta5.

version 1.4.5beta03 [October 8, 2010]
  Wrapped long lines in CMakeLists.txt and introduced ${libpng_public_hdrs}
  Undid Makefile.am revision of 1.4.5beta02.

version 1.4.5beta04 [November 8, 2010]
  Check for out-of-range text compression mode in png_set_text().

version 1.4.5rc01 [November 19, 2010]
  No changes.

version 1.4.5beta05 [November 20, 2010]
  Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
  Moved reading of file signature into png_read_sig (Cosmin)
  Fixed atomicity of chunk header serialization (Cosmin)
  Added test for io_state in pngtest.c (Cosmin)
  Added "#!/bin/sh" at the top of contrib/pngminim/*/gather.sh scripts.

version 1.4.5beta06 [November 21, 2010]
  Restored the parentheses in pngrutil.c; they are needed when the
    png_get_*int_*() functions are compiled (i.e., when PNG_USE_READ_MACROS
    is not defined).
  Make the "png_get_uint_16" macro return a png_uint_32 in libpng-1.4 for API
    compatibility.
  Changes to remove gcc warnings (John Bowler)
    Certain optional gcc warning flags resulted in warnings in libpng code.
    With these changes only -Wconversion and -Wcast-qual cannot be turned on.
    Changes are trivial rearrangements of code.  -Wconversion is not possible
    for pngrutil.c (because of the widespread use of += et al on variables
    smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
    with pngwio.c and pngwutil.c because the 'write' callback and zlib
    compression both fail to declare their input buffers with 'const'.

version 1.4.5beta07 [November 25, 2010]
  Reverted png_get_uint_16 macro to beta05 and added comment about the
    potential API incompatibility.

version 1.4.5rc02 [December 2, 2010]
  No changes.

version 1.4.5rc03 [December 3, 2010]
  Added missing vstudio/*/*.vcxproj files to the zip and 7z distributions.

version 1.4.5 [December 9, 2010]
  Removed PNG_NO_WRITE_GAMMA from pngminim/encoder/pngusr.h
2010-12-10 12:37:26 +00:00
kefren
843c908c7a remove dependencies used for built-in cairo, update buildlink3.mk in order
to reflect the latest changes. Changes suggested by obache@
2010-12-09 08:31:40 +00:00
kefren
b699f4d968 Use native cairo as suggested by obache@
PKGREVISION++
2010-12-09 07:42:47 +00:00
wiz
fb2c0c2fed Fix typo, noted by Rumko. 2010-12-08 09:35:29 +00:00
drochner
4e40bbaf88 sync w/ base pkg 2010-12-07 10:05:51 +00:00
wiz
f5710c785f Add upstream bug report URL. 2010-12-06 16:55:23 +00:00
wiz
44d8515e83 Fix build on DragonFly, from Rumko in PR 44193. 2010-12-06 12:16:03 +00:00
markd
c92ceaebe1 Update to KDE SC 4.5.4
4.5.4 brings bugfixes and translation updates
2010-12-06 11:43:38 +00:00
wiz
2e9340f611 Remove comment-less patch which isn't needed to build on NetBSD-current. 2010-12-06 08:52:09 +00:00
wiz
d31591c8be Now that opencv is new enough, enable redeyes plugin.
Bump PKGREVISION.
2010-12-06 08:43:02 +00:00
wiz
a2f5daab34 Add ../../sysutils/desktop-file-utils/desktopdb.mk and bump PKGREVISION. 2010-12-05 23:22:29 +00:00
wiz
6137e6f393 Remove trailing whitespace. 2010-12-05 23:22:10 +00:00
wiz
f4ea9bc2c0 Add patch to fix build with exiv2-0.21. From upstream SVN. 2010-12-05 23:22:00 +00:00
obache
27407832ae Add patches for GLib>2.25, taken from upstream. 2010-12-05 14:45:35 +00:00
wiz
675fa10dfc Update to 2.2.0.
2.2

   (December, 2010)

   General Modifications and Improvements
     * The library has been reorganized. Instead of cxcore, cv, cvaux,
       highgui and ml we now have several smaller modules:
          * opencv_core - core functionality (basic structures, arithmetics
            and linear algebra, dft, XML and YAML I/O ...).
          * opencv_imgproc - image processing (filter, GaussianBlur, erode,
            dilate, resize, remap, cvtColor, calcHist etc.)
          * opencv_highgui - GUI and image & video I/O
          * opencv_ml - statistical machine learning models (SVM, Decision
            Trees, Boosting etc.)
          * opencv_features2d - 2D feature detectors and descriptors (SURF,
            FAST etc.,
               * including the new feature detectors-descriptor-matcher
                 framework)
          * opencv_video - motion analysis and object tracking (optical flow,
            motion templates, background subtraction)
          * opencv_objdetect - object detection in images (Haar & LBP face
            detectors, HOG people detector etc.)
          * opencv_calib3d - camera calibration, stereo correspondence and
            elements of 3D data processing
          * opencv_flann - the Fast Library for Approximate Nearest Neighbors
            (FLANN 1.5) and the OpenCV wrappers
          * opencv_contrib - contributed code that is not mature enough
          * opencv_legacy - obsolete code, preserved for backward
            compatibility
          * opencv_gpu - acceleration of some OpenCV functionality using CUDA
            (relatively unstable, yet very actively developed part of OpenCV)
     * If you detected OpenCV and configured your make scripts using CMake or
       pkg-config tool, your code will likely build fine without any changes.
       Otherwise, you will need to modify linker parameters (change the
       library names) and update the include paths.
     * It is still possible to use #include <cv.h> etc. but the recommended
       notation is:
          * #include "opencv2/imgproc/imgproc.hpp"
          * ..
     * Please, check the new C and C++ samples
       (https://code.ros.org/svn/opencv/trunk/opencv/samples), which now
       include the new-style headers.
     * The new-style wrappers now cover much more of OpenCV 2.x API. The
       documentation and samples are to be added later. You will need numpy
       in order to use the extra added functionality.
          * SWIG-based Python wrappers are not included anymore.
     * OpenCV can now be built for Android (GSoC 2010 project), thanks to
       Ethan Rublee; and there are some samples too. Please, check
       http://opencv.willowgarage.com/wiki/Android
     * The completely new opencv_gpu acceleration module has been created
       with support by NVidia. See below for details.

   New Functionality, Features
     * core:
          * The new cv::Matx<T, m, n> type for fixed-type fixed-size matrices
            has been added. Vec<T, n> is now derived from Matx<T, n, 1>. The
            class can be used for very small matrices, where cv::Mat use
            implies too much overhead. The operators to convert Matx to Mat
            and backwards are available.
          * cv::Mat and cv::MatND are made the same type: typedef cv::Mat
            cv::MatND. Note that many functions do not check the matrix
            dimensionality yet, so be careful when processing 3-, 4- ...
            dimensional matrices using OpenCV.
          * Experimental support for Eigen 2.x/3.x is added (WITH_EIGEN2
            option in CMake). Again, there are convertors from Eigen2
            matrices to cv::Mat and backwards. See
            modules/core/include/opencv2/core/eigen.hpp.
          * cv::Mat can now be print with "<<" operator. See
            opencv/samples/cpp/cout_mat.cpp.
          * cv::exp and cv::log are now much faster thanks to SSE2
            optimization.
     * imgproc:
          * color conversion functions have been rewritten;
               * RGB->Lab & RGB->Luv performance has been noticeably
                 improved. Now the functions assume sRGB input color space
                 (e.g. gamma=2.2). If you want the original linear RGB->L**
                 conversion (i.e. with gamma=1), use CV_LBGR2LAB etc.
               * VNG algorithm for Bayer->RGB conversion has been added. It's
                 much slower than the simple interpolation algorithm, but
                 returns significantly more detailed images
               * The new flavors of RGB->HSV/HLS conversion functions have
                 been added for 8-bit images. They use the whole 0..255 range
                 for the H channel instead of 0..179. The conversion codes
                 are CV_RGB2HSV_FULL etc.

          * special variant of initUndistortRectifyMap for wide-angle cameras
            has been added: initWideAngleProjMap()
     * features2d:
          * the unified framework for keypoint extraction, computing the
            descriptors and matching them has been introduced. The previously
            available and some new detectors and descriptors, like SURF,
            Fast, StarDetector etc. have been wrapped to be used through the
            framework. The key advantage of the new framework (besides the
            uniform API for different detectors and descriptors) is that it
            also provides high-level tools for image matching and textured
            object detection. Please, see documentation
            http://opencv.willowgarage.com/documentation/cpp/features2d_common_interfaces_of_feature_detectors.html
               * and the C++ samples:
                    * descriptor_extractor_matcher.cpp - finding object in a
                      scene using keypoints and their descriptors.
                    * generic_descriptor_matcher.cpp - variation of the above
                      sample where the descriptors do not have to be computed
                      explicitly.
                    * bagofwords_classification.cpp - example of extending
                      the framework and using it to process data from the VOC
                      databases:
                         * http://pascallin.ecs.soton.ac.uk/challenges/VOC/

          * the newest super-fast keypoint descriptor BRIEF by Michael
            Calonder has been integrated by Ethan Rublee. See the sample
            opencv/samples/cpp/video_homography.cpp
          * SURF keypoint detector has been parallelized using TBB (the patch
            is by imahon and yvo2m)
     * objdetect:
          * LatentSVM object detector, implementing P. Felzenszwalb
            algorithm, has been contributed by Nizhniy Novgorod State
            University (NNSU) team. See
               * opencv/samples/c/latentsvmdetect.cpp
     * calib3d:
          * The new rational distortion model:
               * x' = x*(1 + k1*r2 + k2*r4 + k3*r6)/(1 + k4*r2 + k5*r4 +
                 k6*r6) + <tangential_distortion for x>,

                 y' = y*(1 + k1*r2 + k2*r4 + k3*r6)/(1 + k4*r2 + k5*r4 +
                 k6*r6) + <tangential_distortion for y>

               * has been introduced. It is useful for calibration of cameras
                 with wide-angle lenses. Because of the increased number of
                 parameters to optimize you need to supply more data to
                 robustly estimate all of them. Or, simply initialize the
                 distortion vectors with zeros and pass

                 CV_CALIB_RATIONAL_MODEL to enable the new model +
                 CV_CALIB_FIX_K3 + CV_CALIB_FIX_K4 + CV_CALIB_FIX_K5 or other
                 such combinations to selectively enable or disable certain
                 coefficients.

          * rectification of trinocular camera setup, where all 3 heads are
            on the same line, is added. see samples/cpp/3calibration.cpp
     * ml:
          * Gradient boosting trees model has been contributed by NNSU team.
     * highgui:
          * Experimental Qt backend for OpenCV has been added as a result of
            GSoC 2010 project, completed by Yannick Verdie. The backend has a
            few extra features, not present in the other backends, like text
            rendering using TTF fonts, separate "control panel" with sliders,
            push-buttons, checkboxes and radio buttons, interactive zooming,
            panning of the images displayed in highgui windows, "save as"
            etc. Please, check the youtube videos where Yannick demonstrates
            the new features: http://www.youtube.com/user/MrFrenchCookie#p/u
               * The new API is described here:
                 http://opencv.willowgarage.com/documentation/cpp/highgui_qt_new_functions.html
                 To make use of the new API, you need to have Qt SDK (or
                 libqt4 with development packages) installed on your machine,
                 and build OpenCV with Qt support (pass -DWITH_QT=ON to
                 CMake; watch the output, make sure Qt is used as GUI
                 backend)

          * 16-bit and LZW-compressed TIFFs are now supported.
          * You can now set the mode for IEEE1394 cameras on Linux.
     * contrib:
          * Chamfer matching algorithm has been contributed by Marius Muja,
            Antonella Cascitelli, Marco Di Stefano and Stefano Fabri. See
            samples/cpp/chamfer.cpp
     * gpu:
          * This is completely new part of OpenCV, created with the support
            by NVidia. Note that the package is at alpha, probably early beta
            state, so use it with care and check OpenCV SVN for updates.

            In order to use it, you need to have the latest NVidia CUDA SDK
            installed, and build OpenCV with CUDA support (-DWITH_CUDA=ON
            CMake flag). All the functionality is put to cv::gpu namespace.
            The full list of functions and classes can be found at
            opencv/modules/gpu/include/opencv2/gpu/gpu.hpp, and here are some
            major components of the API:
               * image arithmetics, filtering operations, morphology,
                 geometrical transformations, histograms
               * 3 stereo correspondence algorithms: Block Matching, Belief
                 Propagation and Constant-Space Belief Propagation.
               * HOG-based object detector. It runs more than order of
                 magnitude faster than the CPU version!
                    * See opencv/samples/cpp/

     * python bindings:
          * A lot more of OpenCV 2.x functionality is now covered by Python
            bindings.

   Documentation, Samples
     * Links to wiki pages (mostly empty) have been added to each function
       description, see http://opencv.willowgarage.com
     * All the samples have been documented; most samples have been converted
       to C++ to use the new OpenCV API.

   Bug Fixes
     * Over 300 issues have been resolved. Most of the issues (closed and
       still open) are listed at https://code.ros.org/trac/opencv/report/6.
2010-12-05 10:36:40 +00:00
wiz
482d9eda22 Update to 2.1. Changelog of most insteresting changes:
2.1

   (April, 2010)

   General Modifications
       - The whole OpenCV is now using exceptions instead of the old
       libc-style mechanism.
          * That is, instead of checking error code with cvGetErrStatus()
            (which currently always returns 0) you can now just call OpenCV
            functions inside C++ try-catch statements, cv::Exception is now
            derived from std::exception.
       - All the parallel loops in OpenCV have been converted from OpenMP
          * to Intel TBB (http://www.threadingbuildingblocks.org/). Thus
            parallel version of OpenCV can now be built using MSVC 2008
            Express Edition or using earlier than 4.2 versions of GCC.

       - SWIG-based Python wrappers are still included,
          * but they are not built by default and it's generally preferable
            to use the new wrappers. The python samples have been rewritten
            by James Bowman to use the new-style Python wrappers, which have
            been also created by James.
       - OpenCV can now be built and run in 64-bit mode on MacOSX 10.6 and
       Windows (see HighGUI and known problems below).
          * On Windows both MSVC 2008 and mingw64 are known to work.
       - In theory OpenCV is now able to determine the host CPU on-fly and
       make use of SSE/SSE2/... instructions,
          * if they are available. That is, it should be more safe to use
            WITH_SSE* flags in CMake. However, if you want maximum
            portability, it's recommended to turn on just WITH_SSE and
            WITH_SSE2 and leave other SSE* turned off, as we found that using
            WITH_SSE3, WITH_SSSE3 and WITH_SSE4_1 can yield the code
            incompatible with Intel's pre-Penryn or AMD chips.
       - Experimental "static" OpenCV configuration in CMake was contributed
       by Jose Luis Blanco.
          * Pass "BUILD_SHARED_LIBS=OFF" to CMake to build OpenCV statically.

   New Functionality, Features
     * - cxcore, cv, cvaux:
          * Grabcut (http://en.wikipedia.org/wiki/GrabCut) image segmentation
            algorithm has been implemented.
               * See opencv/samples/c/grabcut.cpp
          * new improved version of one-way descriptor is added. See
            opencv/samples/c/one_way_sample.cpp
          * modified version of H. Hirschmuller semi-global stereo matching
            algorithm that we call SGBM
               * (semi-global block matching) has been created. It is much
                 faster than Kolmogorov's graph cuts-based algorithm and yet
                 it's usually better than the block matching StereoBM
                 algorithm. See opencv/samples/c/stereo_matching.cpp.
          * existing StereoBM stereo correspondence algorithm by K. Konolige
            was noticeably improved:
               * added the optional left-right consistency check and speckle
                 filtering, improved performance (by ~20%).
          * User can now control the image areas visible after the stereo
            rectification
               * (see the extended stereoRectify/cvStereoRectify), and also
                 limit the region where the disparity is computed (see
                 CvStereoBMState::roi1, roi2; getValidDisparityROI).
          * Mixture-of-Gaussian based background subtraction algorithm has
            been rewritten for better performance
               * and better accuracy. Alternative C++ interface
                 BackgroundSubtractor has been provided, along with the
                 possibility to use the trained background model to segment
                 the foreground without updating the model. See
                 opencv/samples/c/bgfg_segm.cpp.

       - highgui:
          * MacOSX: OpenCV now includes Cocoa and QTKit backends, in addition
            to Carbon and Quicktime.
               * Therefore you can build OpenCV as 64-bit library. Thanks to
                 Andre Cohen and Nicolas Butko, which components Note however
                 that the backend are now in the alpha state, they can crash
                 or leak memory, so for anything more serious than quick
                 experiments you may prefer to use Carbon and Quicktime. To
                 do that, pass USE_CARBON=ON and USE_QUICKTIME=ON to CMake
                 and build OpenCV in 32-bit mode (i.e. select i386
                 architecture in Xcode).
          * Windows. OpenCV can now be built in 64-bit mode with MSVC 2008
            and also mingw64.
          * Fullscreen has been added (thanks to Yannick Verdie).
               * Call cvSetWindowProperty(window_name, CV_WINDOW_FULLSCREEN,
                 1) to make the particular window to fill the whole screen.
                 This feature is not supported in the Cocoa bindings yet.
          * gstreamer backend has been improved a lot (thanks to Stefano
            Fabri)

   Bug Fixes
     * - about 200 bugs have been fixed

2.0

   (September, 2009)

   New functionality, features:
     * - General:
          * New Python interface officially in.
       - MLL:
          * The new-style class aliases (e.g. cv::SVM ~ CvSVM) and the
            train/predict methods, taking cv::Mat in addition to CvMat, have
            been added. So now MLL can be used more seamlesly with the rest
            of the restyled OpenCV.

2.0 beta

   (September, 2009)

   New functionality, features:
     * General:
          * The brand-new C++ interface for most of OpenCV functionality
            (cxcore, cv, highgui) has been introduced. Generally it means
            that you will need to do less coding to achieve the same results;
            it brings automatic memory management and many other advantages.
               * See the C++ Reference section in opencv/doc/opencv.pdf and
                 opencv/include/opencv/*.hpp.
                    * The previous interface is retained and still supported.
          * The source directory structure has been reorganized; now all the
            external headers are placed in the single directory on all
            platforms.
          * The primary build system is CMake,

     * CXCORE, CV, CVAUX:
          * CXCORE now uses Lapack (CLapack 3.1.1.1 in OpenCV 2.0) in its
            various linear algebra functions (such as solve, invert, SVD,
            determinant, eigen etc.) and the corresponding old-style
            functions (cvSolve, cvInvert etc.
          * Lots of new feature and object detectors and descriptors have
            been added (there is no documentation on them yet), see cv.hpp
            and cvaux.hpp:
               * FAST - the fast corner detector, submitted by Edward Rosten
               * MSER - maximally stable extremal regions, submitted by Liu
                 Liu
               * LDetector - fast circle-based feature detector
                    * by V. Lepetit (a.k.a. YAPE)

               * Fern-based point classifier and the planar object detector -
                    * based on the works by M. Ozuysal and V. Lepetit

               * One-way descriptor - a powerful PCA-based feature
                 descriptor,
                    * S. Hinterstoisser, O. Kutter, N. Navab, P. Fua, and V.
                      Lepetit, "Real-Time Learning of Accurate Patch
                      Rectification". Contributed by Victor Eruhimov

               * Spin Images 3D feature descriptor
                    * based on the A. Johnson PhD thesis; implemented by
                      Anatoly Baksheev

               * Self-similarity features - contributed by Rainer Leinhar
               * HOG people and object detector - the reimplementation of
                 Navneet Dalal framework
                    * (http://pascal.inrialpes.fr/soft/olt/). Currently, only
                      the detection part is ported, but it is fully
                      compatible with the original training code.
                    * See cvaux.hpp and opencv/samples/c/peopledetect.cpp.
               * LBP (Local Binary Pattern) features
               * Extended variant of the Haar feature-based object detector -
                 implemented by Maria Dimashova. It now supports Haar
                 features and LBPs, other features can be added in the same
                 way.
               * Adaptive skin detector and the fuzzy meanshift tracker -
                 contributed by Farhad Dadgostar, see cvaux.hpp and
                 opencv/samples/c/adaptiveskindetector.cpp

          * The new traincascade application complementing the new-style
            HAAR+LBP object detector has been added. See
            opencv/apps/traincascade.
          * The powerful library for approximate nearest neighbor search
            FLANN by Marius Muja is now shipped with OpenCV, and the
            OpenCV-style interface to the library is included into cxcore.
            See cxcore.hpp and opencv/samples/c/find_obj.cpp
          * The bundle adjustment engine has been contributed by PhaseSpace;
            see cvaux.hp
          * Added dense optical flow estimation function based on the paper
               * "Two-Frame Motion Estimation Based on Polynomial Expansion"
                 by G. Farnerback.
               * See cv::calcOpticalFlowFarneback and the C++ documentation
          * Image warping operations (resize, remap, warpAffine,
            warpPerspective) now all support bicubic and Lanczos
            interpolation.
          * Most of the new linear and non-linear filtering operations
            (filter2D, sepFilter2D, erode, dilate ...) support arbitrary
            border modes and can use the valid image pixels outside of the
            ROI (i.e. the ROIs are not "isolated" anymore), see the C++
            documentation.
          * The data can now be saved to and loaded from GZIP-compressed
            XML/YML files, e.g.: cvSave("a.xml.gz", my_huge_matrix);
     * MLL:
          * Added the Extremely Random Trees that train super-fast, comparing
            to Boosting or Random Trees (by Maria Dimashova).
          * The decision tree engine and based on it classes (Decision Tree
            itself, Boost, Random Trees) have been reworked and now:
               * they consume much less memory (up to 200% savings)
               * the training can be run in multiple threads (when OpenCV is
                 built with OpenMP support)
               * the boosting classification on numerical variables is
                 especially fast because of the specialized low-overhead
                 branch.
          * mltest has been added. While far from being complete, it contains
            correctness tests for some of the MLL classes.
     * HighGUI:
          * [Linux] The support for stereo cameras (currently Videre only)
            has been added.
          * There is now uniform interface for capturing video from two-,
            three- ... n-head cameras.
          * Images can now be compressed to or decompressed from buffers in
            the memory, see the C++ HighGUI reference manual
     * Documentation:
          * The reference manual has been converted from HTML to LaTeX (by
            James Bowman and Caroline Pantofaru)

     * Samples, misc.:
          * Better eye detector has been contributed by Shiqi Yu, see
            opencv/data/haarcascades/*[lefteye|righteye]*.xml
          * sample LBP (Local Binary Pattern) cascade for the frontal face
            detection has been created by Maria Dimashova, see
            opencv/data/lbpcascades/lbpcascade_frontalface.xml
          * Several high-quality body parts and facial feature detectors have
            been
               * contributed by Modesto Castrillon-Santana,
               * see opencv/data/haarcascades/haarcascade_mcs*.xml

   Optimization:
     * Many of the basic functions and the image processing operations(like
       arithmetic operations, geometric image transformations, filtering
       etc.) have got SSE2 optimization, so they are several times faster.
     * The model of IPP support has been changed. Now IPP is supposed to be
       detected by CMake at the configuration stage and linked against
       OpenCV. (In the beta it is not implemented yet though).
     * PNG encoder performance improved by factor of 4 by tuning the
       parameters

1.1pre1

   (October, 2008)

   New functionality/features:
     * General:
          * Octave bindings have been added. See interfaces/swig/octave (for
            now, Linux only)
     * CXCORE, CV, CVAUX:
          * Speeded-up Robust Features (SURF), contributed by Liu Liu. see
            samples/c/find_obj.cpp and the documentation opencvref_cv.htm
          * Many improvements in camera calibration:
               * Added stereo camera calibration: cvStereoCalibrate,
                 cvStereoRectify etc.
               * Single camera calibration now uses Levenberg-Marquardt
                 method and supports extra flags to switch on/off
                 optimization of individual camera parameters
               * The optional 3rd radial distortion parameter (k3*r^6) is now
                 supported in every calibration-related function
          * 2 stereo correspondence algorithms:
               * very fast block matching method by Kurt Konolige (processes
                 the Tsukuba stereo pair in <10ms on Core2Duo laptop)
               * slow but more accurate graph-cut based algorithm by
                 Kolmogorov and Zabin
          * Better homography estimation algorithms (RANSAC and LMEDs)
          * new C++ template image classes contributed by Daniel Filip
            (Google inc.). see opencv/cxcore/include/cvwimage.h
          * Fast approximate nearest neighbor search (by Xavier Delacour)
          * Codebook method for background/foreground segmentation (by Gary
            Bradski)
          * Sort function (contributed by Shiqi Yu)
          * [OpenCV+IPP] Face Detection (cvHaarDetectObjects) now runs much
            faster (up to 2x faster) when using IPP 5.3 or higher.
          * Much faster (~4x faster) fixed-point variant of cvRemap has been
            added
     * MLL:
          * Python bindings for MLL have been added. There are no samples
            yet.
     * HighGUI:
          * [Windows, 32bit] Added support for videoInput library. Hence,
            cvcam is [almost] not needed anymore
          * [Windows, 32bit] FFMPEG can now be used for video
            decoding/encoding via ffopencv*.dll
          * [Linux] Added unicap support
          * Improved internal video capturing and video encoding APIs
     * Documentation:
          * OpenCV book has been published (sold separately :) see
            docs/index.htm)

     * New samples (opencv/samples):
          * Many Octave samples
          * find_obj.cpp (SURF), bgfg_codebook.cpp (Codebook BG/FG
            segmentation),
               * stereo_calib.cpp (Stereo calibration and stereo
                 correspondence)
2010-12-05 10:01:52 +00:00