Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
CinePaint is a free open source painting and image retouching program designed
to work best with 35mm film and other high resolution high dynamic range images.
It is the most popular open source tool in the motion picture industry - used
in 2 Fast 2 Furious, Scooby-Doo, Harry Potter, Stuart Little and other feature
films. CinePaint is used for painting of background mattes and for
frame-by-frame retouching of movies. It is being extended to do film
restoration. CinePaint is available for Linux, Macintosh OS X, Windows, and
other popular operating systems. This software was formerly known as
FilmGimp.
Animation renderers and 35mm film scanners are capable of creating greater color
bit-depth than can be displayed on monitors (8-bit per channel) or can be
manipulated in most programs. The 32-bit per channel color capacity of CinePaint
appeals most to cinematographers and professional still photographers. However,
CinePaint is a general-purpose tool useful for working on images for motion
pictures, print, and the Web. CinePaint supports many file formats, conventional
formats such as JPEG, PNG, TIFF, and TGA images -- and more exotic motion
picture digital intermediate formats such as Cineon and OpenEXR.
CinePaint is free software. The generosity and commitment of its developers,
users and sponsors make CinePaint possible.
+37
View File
@@ -0,0 +1,37 @@
# $NetBSD: Makefile,v 1.47 2013/06/06 12:54:28 wiz Exp $
DISTNAME= cinepaint-0.22-1
PKGNAME= cinepaint-0.22.1
PKGREVISION= 21
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cinepaint/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.cinepaint.org/
COMMENT= Motion picture painting and image retouching program
PKG_INSTALLATION_TYPES= overwrite pkgviews
MAKE_JOBS_SAFE= no
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config msgfmt gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-gtk2
CONFIGURE_ARGS+= --without-python
PKGCONFIG_OVERRIDE= cinepaint-gtk.pc.in
BUILDLINK_API_DEPENDS.lcms+= lcms>=1.13 # needs _cmsLCMScolorSpace
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/fltk13/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
+630
View File
@@ -0,0 +1,630 @@
@comment $NetBSD: PLIST,v 1.9 2009/12/22 15:42:20 drochner Exp $
bin/cinepaint
bin/cinepaint-remote
bin/cinepainttool
include/cinepaint/app/errors.h
include/cinepaint/app/trace.h
include/cinepaint/chainbutton.h
include/cinepaint/channelops_pdb.h
include/cinepaint/compat.h
include/cinepaint/config.h
include/cinepaint/convert_pdb.h
include/cinepaint/dialog.h
include/cinepaint/dll_api.h
include/cinepaint/edit_pdb.h
include/cinepaint/export.h
include/cinepaint/fileops_pdb.h
include/cinepaint/fl_i18n_cinepaint.h
include/cinepaint/float16.h
include/cinepaint/gtkdirtree.h
include/cinepaint/guides_pdb.h
include/cinepaint/helpui.h
include/cinepaint/image_convert.h
include/cinepaint/image_limits.h
include/cinepaint/image_pdb.h
include/cinepaint/intl.h
include/cinepaint/libgimp/gimp.h
include/cinepaint/libgimp/gimp1.2.h
include/cinepaint/libgimp/gimpcompat.h
include/cinepaint/libgimp/gimpintl.h
include/cinepaint/libgimp/gimpmath.h
include/cinepaint/libgimp/gimpui.h
include/cinepaint/libgimp/stdplugins-intl.h
include/cinepaint/matrix.h
include/cinepaint/menu.h
include/cinepaint/pdb.h
include/cinepaint/pixmap.h
include/cinepaint/plugin_main.h
include/cinepaint/plugin_pdb.h
include/cinepaint/rint.h
include/cinepaint/selection_pdb.h
include/cinepaint/size_entry.h
include/cinepaint/ui.h
include/cinepaint/undo_pdb.h
include/cinepaint/unit.h
include/cinepaint/unit_pdb.h
include/cinepaint/unitmenu.h
include/cinepaint/version.h
include/cinepaint/widgets.h
include/cinepaint/wire/c_typedefs.h
include/cinepaint/wire/datadir.h
include/cinepaint/wire/dl_list.h
include/cinepaint/wire/enums.h
include/cinepaint/wire/event.h
include/cinepaint/wire/iodebug.h
include/cinepaint/wire/libtile.h
include/cinepaint/wire/precision.h
include/cinepaint/wire/protocol.h
include/cinepaint/wire/taskswitch.h
include/cinepaint/wire/wire.h
include/cinepaint/wire/wire_types.h
include/cinepaint/wire/wirebuffer.h
lib/cinepaint/0.22-1/extra/dcraw
lib/cinepaint/0.22-1/extra/jhead
lib/cinepaint/0.22-1/plug-ins/blur
lib/cinepaint/0.22-1/plug-ins/bmp
lib/cinepaint/0.22-1/plug-ins/bracketing_to_hdr
lib/cinepaint/0.22-1/plug-ins/cineon
lib/cinepaint/0.22-1/plug-ins/collect
lib/cinepaint/0.22-1/plug-ins/compose
lib/cinepaint/0.22-1/plug-ins/dbbrowser
lib/cinepaint/0.22-1/plug-ins/decompose
lib/cinepaint/0.22-1/plug-ins/dicom
lib/cinepaint/0.22-1/plug-ins/edge
lib/cinepaint/0.22-1/plug-ins/fits
lib/cinepaint/0.22-1/plug-ins/gauss_rle
lib/cinepaint/0.22-1/plug-ins/gbr
lib/cinepaint/0.22-1/plug-ins/gifload
lib/cinepaint/0.22-1/plug-ins/hdr
lib/cinepaint/0.22-1/plug-ins/icc_examin_cp
lib/cinepaint/0.22-1/plug-ins/iff
lib/cinepaint/0.22-1/plug-ins/iol
lib/cinepaint/0.22-1/plug-ins/jpeg
lib/cinepaint/0.22-1/plug-ins/mblur
lib/cinepaint/0.22-1/plug-ins/median
lib/cinepaint/0.22-1/plug-ins/minimum
lib/cinepaint/0.22-1/plug-ins/noisify
lib/cinepaint/0.22-1/plug-ins/openexr
lib/cinepaint/0.22-1/plug-ins/pdf
lib/cinepaint/0.22-1/plug-ins/pic
lib/cinepaint/0.22-1/plug-ins/png
lib/cinepaint/0.22-1/plug-ins/pnm
lib/cinepaint/0.22-1/plug-ins/psd
lib/cinepaint/0.22-1/plug-ins/psd_save
lib/cinepaint/0.22-1/plug-ins/rawphoto
lib/cinepaint/0.22-1/plug-ins/retinex
lib/cinepaint/0.22-1/plug-ins/rotate
lib/cinepaint/0.22-1/plug-ins/screenshot
lib/cinepaint/0.22-1/plug-ins/script-fu
lib/cinepaint/0.22-1/plug-ins/sgi
lib/cinepaint/0.22-1/plug-ins/sharpen
lib/cinepaint/0.22-1/plug-ins/snoise
lib/cinepaint/0.22-1/plug-ins/sobel
lib/cinepaint/0.22-1/plug-ins/spread
lib/cinepaint/0.22-1/plug-ins/tga
lib/cinepaint/0.22-1/plug-ins/tiff
lib/cinepaint/0.22-1/plug-ins/unsharp
lib/cinepaint/0.22-1/plug-ins/xwd
lib/libcinepaint.la
lib/libcinepaintHalf.la
lib/libcinepaint_fl_i18n.la
lib/pkgconfig/cinepaint-gtk.pc
man/man1/cinepaint.1
man/man1/cinepainttool.1
share/aclocal/cinepaint.m4
share/applications/cinepaint.desktop
share/cinepaint/0.22-1/brushes/10x10squareBlurf16.gbr
share/cinepaint/0.22-1/brushes/10x10squaref16.gbr
share/cinepaint/0.22-1/brushes/11circlef16.gbr
share/cinepaint/0.22-1/brushes/11fcirclef16.gbr
share/cinepaint/0.22-1/brushes/13circlef16.gbr
share/cinepaint/0.22-1/brushes/13fcirclef16.gbr
share/cinepaint/0.22-1/brushes/15circlef16.gbr
share/cinepaint/0.22-1/brushes/15fcirclef16.gbr
share/cinepaint/0.22-1/brushes/17circlef16.gbr
share/cinepaint/0.22-1/brushes/17fcirclef16.gbr
share/cinepaint/0.22-1/brushes/19circlef16.gbr
share/cinepaint/0.22-1/brushes/19fcirclef16.gbr
share/cinepaint/0.22-1/brushes/1circlef16.gbr
share/cinepaint/0.22-1/brushes/20x20squareBlurf16.gbr
share/cinepaint/0.22-1/brushes/20x20squaref16.gbr
share/cinepaint/0.22-1/brushes/30x30twinklef16.gbr
share/cinepaint/0.22-1/brushes/3circlef16.gbr
share/cinepaint/0.22-1/brushes/3fcirclef16.gbr
share/cinepaint/0.22-1/brushes/5circlef16.gbr
share/cinepaint/0.22-1/brushes/5fcirclef16.gbr
share/cinepaint/0.22-1/brushes/5x5squareBlurf16.gbr
share/cinepaint/0.22-1/brushes/5x5squaref16.gbr
share/cinepaint/0.22-1/brushes/7circlef16.gbr
share/cinepaint/0.22-1/brushes/7fcirclef16.gbr
share/cinepaint/0.22-1/brushes/9circlef16.gbr
share/cinepaint/0.22-1/brushes/9fcirclef16.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal01.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal02.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal03.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal04.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal05.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal06.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal07.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal08.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal09.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal10.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal11.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal12.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal13.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal14.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal15.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal16.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal17.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal18.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal19.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal20.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal21.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal22.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal23.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal24.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal25.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal26.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal27.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal28.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal29.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal30.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal31.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal32.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal33.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal34.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal35.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal36.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal37.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal38.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal39.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal40.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal41.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal42.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal43.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal44.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal45.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal46.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal47.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal48.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal49.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal50.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal51.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal52.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal53.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal54.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal55.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal56.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal57.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal58.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal59.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal60.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal61.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal62.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal63.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal64.gbr
share/cinepaint/0.22-1/brushes/NS1-Charcoal65.gbr
share/cinepaint/0.22-1/brushes/SketchBrush-16.gih
share/cinepaint/0.22-1/brushes/SketchBrush-32.gih
share/cinepaint/0.22-1/brushes/SketchBrush-64.gih
share/cinepaint/0.22-1/brushes/callig1f16.gbr
share/cinepaint/0.22-1/brushes/callig2f16.gbr
share/cinepaint/0.22-1/brushes/callig3f16.gbr
share/cinepaint/0.22-1/brushes/callig4f16.gbr
share/cinepaint/0.22-1/brushes/confettif16.gbr
share/cinepaint/0.22-1/brushes/dunesf16.gbr
share/cinepaint/0.22-1/brushes/feltpen.gih
share/cinepaint/0.22-1/brushes/galaxy_bigf16.gbr
share/cinepaint/0.22-1/brushes/galaxy_smallf16.gbr
share/cinepaint/0.22-1/brushes/galaxyf16.gbr
share/cinepaint/0.22-1/brushes/hsparks.gih
share/cinepaint/0.22-1/brushes/pixelf16.gbr
share/cinepaint/0.22-1/brushes/vine.gih
share/cinepaint/0.22-1/curves/D100ev0
share/cinepaint/0.22-1/curves/DavidFmidtoneBoostA
share/cinepaint/0.22-1/curves/EV3-4.0
share/cinepaint/0.22-1/curves/FG_baseline_conservative_v3
share/cinepaint/0.22-1/curves/FG_baseline_v3
share/cinepaint/0.22-1/curves/FG_ev3_v2
share/cinepaint/0.22-1/curves/FG_ev3_v3
share/cinepaint/0.22-1/curves/FG_ev3_v34
share/cinepaint/0.22-1/curves/FG_ev5_v2
share/cinepaint/0.22-1/curves/FG_ev5_v3
share/cinepaint/0.22-1/curves/FG_point_and_shoot
share/cinepaint/0.22-1/curves/FG_point_and_shoot_conservative_v31
share/cinepaint/0.22-1/curves/FG_point_and_shoot_conservative_v32
share/cinepaint/0.22-1/curves/FG_point_and_shoot_v31
share/cinepaint/0.22-1/curves/FG_point_and_shoot_v32
share/cinepaint/0.22-1/curves/FG_provia_v3
share/cinepaint/0.22-1/curves/FG_provia_v31
share/cinepaint/0.22-1/curves/FG_provia_v32
share/cinepaint/0.22-1/curves/FG_provia_v33
share/cinepaint/0.22-1/curves/FG_provia_v34
share/cinepaint/0.22-1/curves/FG_provia_v40
share/cinepaint/0.22-1/curves/FG_white_wedding_v3
share/cinepaint/0.22-1/curves/FG_white_wedding_v31
share/cinepaint/0.22-1/curves/FG_white_wedding_v32
share/cinepaint/0.22-1/curves/FG_white_wedding_v33
share/cinepaint/0.22-1/curves/FG_white_wedding_v34
share/cinepaint/0.22-1/curves/FG_white_wedding_v35
share/cinepaint/0.22-1/curves/FGs_Provia_v34
share/cinepaint/0.22-1/curves/FGs_White_Wedding_v35
share/cinepaint/0.22-1/curves/Fotogenic_Provia_v3.3
share/cinepaint/0.22-1/curves/Fuji_Astia
share/cinepaint/0.22-1/curves/Fuji_Superia_Reala
share/cinepaint/0.22-1/curves/JTs_All_In_One
share/cinepaint/0.22-1/curves/KGM_Agfa_Optima
share/cinepaint/0.22-1/curves/KGM_fotogenetic_ev3_v34_5
share/cinepaint/0.22-1/curves/KGM_fotogenetic_ev3_v34_6
share/cinepaint/0.22-1/curves/KGM_fotogenetic_ev3_v43
share/cinepaint/0.22-1/curves/KGM_oldskools_mtb_v1_3
share/cinepaint/0.22-1/curves/Klaus_1
share/cinepaint/0.22-1/curves/Klaus_2
share/cinepaint/0.22-1/curves/Klaus_3
share/cinepaint/0.22-1/curves/OldSkoOLs_Midtone_Enhance_v3h
share/cinepaint/0.22-1/curves/OldSkoOLs_Normal_v2
share/cinepaint/0.22-1/curves/OldSkoOLs_dlt
share/cinepaint/0.22-1/curves/OldSkoOLs_mte_v3.1
share/cinepaint/0.22-1/curves/Oldskools_mte_v2.14d
share/cinepaint/0.22-1/curves/Oldskools_mte_v2.14h
share/cinepaint/0.22-1/curves/Oldskools_mte_v3
share/cinepaint/0.22-1/curves/Oldskools_mte_v3h
share/cinepaint/0.22-1/curves/Optima2
share/cinepaint/0.22-1/curves/Optimav1
share/cinepaint/0.22-1/curves/P+S-4.0
share/cinepaint/0.22-1/curves/Provia-4.0
share/cinepaint/0.22-1/curves/README.curves
share/cinepaint/0.22-1/curves/Velvia
share/cinepaint/0.22-1/curves/astiav1
share/cinepaint/0.22-1/curves/basic-curve_141
share/cinepaint/0.22-1/curves/basic-curve_152
share/cinepaint/0.22-1/curves/basic-curve_159
share/cinepaint/0.22-1/curves/bh_filmcurve1
share/cinepaint/0.22-1/curves/bh_filmcurve2
share/cinepaint/0.22-1/curves/bright_2
share/cinepaint/0.22-1/curves/bright_3
share/cinepaint/0.22-1/curves/bright_4
share/cinepaint/0.22-1/curves/courbeA
share/cinepaint/0.22-1/curves/courbeB
share/cinepaint/0.22-1/curves/curve039
share/cinepaint/0.22-1/curves/curve114d
share/cinepaint/0.22-1/curves/custom_jt
share/cinepaint/0.22-1/curves/custom_jt1
share/cinepaint/0.22-1/curves/custom_jt3
share/cinepaint/0.22-1/curves/ev_0_custom
share/cinepaint/0.22-1/curves/ev_3_custom_normal
share/cinepaint/0.22-1/curves/ev_5_custom_normal
share/cinepaint/0.22-1/curves/ev_7_custom_contrast
share/cinepaint/0.22-1/curves/ev_7_custom_less
share/cinepaint/0.22-1/curves/ev_7_custom_normal
share/cinepaint/0.22-1/curves/henk1-03
share/cinepaint/0.22-1/curves/jt_all-in-1Curve
share/cinepaint/0.22-1/curves/jt_all_around1-1-03
share/cinepaint/0.22-1/curves/jt_auto
share/cinepaint/0.22-1/curves/jt_custom_color12-31-02
share/cinepaint/0.22-1/curves/oldskools_mtb_v1
share/cinepaint/0.22-1/curves/oldskools_mtc_v1
share/cinepaint/0.22-1/curves/provia_d70
share/cinepaint/0.22-1/curves/sReala
share/cinepaint/0.22-1/curves/sReala2
share/cinepaint/0.22-1/curves/sReala_12
share/cinepaint/0.22-1/curves/sReala_2alpha
share/cinepaint/0.22-1/curves/sReala_v2a_120505
share/cinepaint/0.22-1/curves/sReala_version2
share/cinepaint/0.22-1/curves/sRealav1
share/cinepaint/0.22-1/curves/s_bright_1
share/cinepaint/0.22-1/curves/s_bright_2
share/cinepaint/0.22-1/curves/s_bright_3
share/cinepaint/0.22-1/curves/s_bright_4
share/cinepaint/0.22-1/curves/s_dark_1
share/cinepaint/0.22-1/curves/s_dark_2
share/cinepaint/0.22-1/curves/s_dark_3
share/cinepaint/0.22-1/curves/s_dark_4
share/cinepaint/0.22-1/curves/s_high
share/cinepaint/0.22-1/curves/s_low
share/cinepaint/0.22-1/curves/s_low_bright_3
share/cinepaint/0.22-1/curves/s_low_bright_4
share/cinepaint/0.22-1/curves/s_low_dark_3
share/cinepaint/0.22-1/curves/s_low_dark_4
share/cinepaint/0.22-1/curves/s_med
share/cinepaint/0.22-1/curves/v2
share/cinepaint/0.22-1/curves/v2h
share/cinepaint/0.22-1/curves/v3
share/cinepaint/0.22-1/curves/v3h
share/cinepaint/0.22-1/curves/v3hb
share/cinepaint/0.22-1/gimprc
share/cinepaint/0.22-1/gimprc_user
share/cinepaint/0.22-1/gradients/Abstract_1
share/cinepaint/0.22-1/gradients/Abstract_2
share/cinepaint/0.22-1/gradients/Abstract_3
share/cinepaint/0.22-1/gradients/Aneurism
share/cinepaint/0.22-1/gradients/Blinds
share/cinepaint/0.22-1/gradients/Blue_Green
share/cinepaint/0.22-1/gradients/Browns
share/cinepaint/0.22-1/gradients/Brushed_Aluminium
share/cinepaint/0.22-1/gradients/Burning_Paper
share/cinepaint/0.22-1/gradients/Burning_Transparency
share/cinepaint/0.22-1/gradients/CD
share/cinepaint/0.22-1/gradients/CD_Half
share/cinepaint/0.22-1/gradients/Caribbean_Blues
share/cinepaint/0.22-1/gradients/Coffee
share/cinepaint/0.22-1/gradients/Cold_Steel
share/cinepaint/0.22-1/gradients/Cold_Steel_2
share/cinepaint/0.22-1/gradients/Crown_molding
share/cinepaint/0.22-1/gradients/Danish_flag
share/cinepaint/0.22-1/gradients/Dark_1
share/cinepaint/0.22-1/gradients/Deep_Sea
share/cinepaint/0.22-1/gradients/Default
share/cinepaint/0.22-1/gradients/Flare_Glow_Angular_1
share/cinepaint/0.22-1/gradients/Flare_Glow_Radial_1
share/cinepaint/0.22-1/gradients/Flare_Glow_Radial_2
share/cinepaint/0.22-1/gradients/Flare_Glow_Radial_3
share/cinepaint/0.22-1/gradients/Flare_Glow_Radial_4
share/cinepaint/0.22-1/gradients/Flare_Radial_101
share/cinepaint/0.22-1/gradients/Flare_Radial_102
share/cinepaint/0.22-1/gradients/Flare_Radial_103
share/cinepaint/0.22-1/gradients/Flare_Rays_Radial_1
share/cinepaint/0.22-1/gradients/Flare_Rays_Radial_2
share/cinepaint/0.22-1/gradients/Flare_Rays_Size_1
share/cinepaint/0.22-1/gradients/Flare_Sizefac_101
share/cinepaint/0.22-1/gradients/Four_bars
share/cinepaint/0.22-1/gradients/French_flag
share/cinepaint/0.22-1/gradients/French_flag_smooth
share/cinepaint/0.22-1/gradients/Full_saturation_spectrum_CCW
share/cinepaint/0.22-1/gradients/Full_saturation_spectrum_CW
share/cinepaint/0.22-1/gradients/German_flag
share/cinepaint/0.22-1/gradients/German_flag_smooth
share/cinepaint/0.22-1/gradients/Golden
share/cinepaint/0.22-1/gradients/Greens
share/cinepaint/0.22-1/gradients/Horizon_1
share/cinepaint/0.22-1/gradients/Horizon_2
share/cinepaint/0.22-1/gradients/Incandescent
share/cinepaint/0.22-1/gradients/Land_1
share/cinepaint/0.22-1/gradients/Land_and_Sea
share/cinepaint/0.22-1/gradients/Metallic_Something
share/cinepaint/0.22-1/gradients/Mexican_flag
share/cinepaint/0.22-1/gradients/Mexican_flag_smooth
share/cinepaint/0.22-1/gradients/Nauseating_Headache
share/cinepaint/0.22-1/gradients/Neon_Cyan
share/cinepaint/0.22-1/gradients/Neon_Green
share/cinepaint/0.22-1/gradients/Neon_Yellow
share/cinepaint/0.22-1/gradients/Pastel_Rainbow
share/cinepaint/0.22-1/gradients/Pastels
share/cinepaint/0.22-1/gradients/Purples
share/cinepaint/0.22-1/gradients/Radial_Eyeball_Blue
share/cinepaint/0.22-1/gradients/Radial_Eyeball_Brown
share/cinepaint/0.22-1/gradients/Radial_Eyeball_Green
share/cinepaint/0.22-1/gradients/Radial_Glow_1
share/cinepaint/0.22-1/gradients/Radial_Rainbow_Hoop
share/cinepaint/0.22-1/gradients/Romanian_flag
share/cinepaint/0.22-1/gradients/Romanian_flag_smooth
share/cinepaint/0.22-1/gradients/Rounded_edge
share/cinepaint/0.22-1/gradients/Shadows_1
share/cinepaint/0.22-1/gradients/Shadows_2
share/cinepaint/0.22-1/gradients/Shadows_3
share/cinepaint/0.22-1/gradients/Skyline
share/cinepaint/0.22-1/gradients/Skyline_polluted
share/cinepaint/0.22-1/gradients/Square_Wood_Frame
share/cinepaint/0.22-1/gradients/Sunrise
share/cinepaint/0.22-1/gradients/Three_bars_sin
share/cinepaint/0.22-1/gradients/Tropical_Colors
share/cinepaint/0.22-1/gradients/Tube_Red
share/cinepaint/0.22-1/gradients/Wood_1
share/cinepaint/0.22-1/gradients/Wood_2
share/cinepaint/0.22-1/gradients/Yellow_Contrast
share/cinepaint/0.22-1/gradients/Yellow_Orange
share/cinepaint/0.22-1/gtkrc
share/cinepaint/0.22-1/gtkrc.forest2
share/cinepaint/0.22-1/iol/colordifference.iol
share/cinepaint/0.22-1/iol/gradient.iol
share/cinepaint/0.22-1/iol/gradient2.iol
share/cinepaint/0.22-1/iol/gradient3.iol
share/cinepaint/0.22-1/iol/halfblack.iol
share/cinepaint/0.22-1/iol/halftrans.iol
share/cinepaint/0.22-1/iol/luma.iol
share/cinepaint/0.22-1/iol/lumakey.iol
share/cinepaint/0.22-1/iol/readme.txt
share/cinepaint/0.22-1/palettes/Bears
share/cinepaint/0.22-1/palettes/Bgold
share/cinepaint/0.22-1/palettes/Blues
share/cinepaint/0.22-1/palettes/Borders
share/cinepaint/0.22-1/palettes/Browns_And_Yellows
share/cinepaint/0.22-1/palettes/Caramel
share/cinepaint/0.22-1/palettes/Cascade
share/cinepaint/0.22-1/palettes/China
share/cinepaint/0.22-1/palettes/Coldfire
share/cinepaint/0.22-1/palettes/Cool_Colors
share/cinepaint/0.22-1/palettes/Cranes
share/cinepaint/0.22-1/palettes/Dark_pastels
share/cinepaint/0.22-1/palettes/Default
share/cinepaint/0.22-1/palettes/Ega
share/cinepaint/0.22-1/palettes/Firecode
share/cinepaint/0.22-1/palettes/Gold
share/cinepaint/0.22-1/palettes/GrayViolet
share/cinepaint/0.22-1/palettes/Grayblue
share/cinepaint/0.22-1/palettes/Grays
share/cinepaint/0.22-1/palettes/Greens
share/cinepaint/0.22-1/palettes/Hilite
share/cinepaint/0.22-1/palettes/Kahki
share/cinepaint/0.22-1/palettes/Lights
share/cinepaint/0.22-1/palettes/Muted
share/cinepaint/0.22-1/palettes/Named_Colors
share/cinepaint/0.22-1/palettes/News3
share/cinepaint/0.22-1/palettes/Op2
share/cinepaint/0.22-1/palettes/Paintjet
share/cinepaint/0.22-1/palettes/Pastels
share/cinepaint/0.22-1/palettes/Plasma
share/cinepaint/0.22-1/palettes/Reds
share/cinepaint/0.22-1/palettes/Reds_And_Purples
share/cinepaint/0.22-1/palettes/Royal
share/cinepaint/0.22-1/palettes/Topographic
share/cinepaint/0.22-1/palettes/Visibone
share/cinepaint/0.22-1/palettes/Visibone2
share/cinepaint/0.22-1/palettes/Volcano
share/cinepaint/0.22-1/palettes/Warm_Colors
share/cinepaint/0.22-1/palettes/Web
share/cinepaint/0.22-1/patterns/3dgreen.pat
share/cinepaint/0.22-1/patterns/Craters.pat
share/cinepaint/0.22-1/patterns/Moonfoot.pat
share/cinepaint/0.22-1/patterns/amethyst.pat
share/cinepaint/0.22-1/patterns/bark.pat
share/cinepaint/0.22-1/patterns/blue.pat
share/cinepaint/0.22-1/patterns/bluegrid.pat
share/cinepaint/0.22-1/patterns/bluesquares.pat
share/cinepaint/0.22-1/patterns/blueweb.pat
share/cinepaint/0.22-1/patterns/brick.pat
share/cinepaint/0.22-1/patterns/burlap.pat
share/cinepaint/0.22-1/patterns/burlwood.pat
share/cinepaint/0.22-1/patterns/choc_swirl.pat
share/cinepaint/0.22-1/patterns/corkboard.pat
share/cinepaint/0.22-1/patterns/cracked.pat
share/cinepaint/0.22-1/patterns/crinklepaper.pat
share/cinepaint/0.22-1/patterns/electric.pat
share/cinepaint/0.22-1/patterns/fibers.pat
share/cinepaint/0.22-1/patterns/granite1.pat
share/cinepaint/0.22-1/patterns/ground1.pat
share/cinepaint/0.22-1/patterns/ice.pat
share/cinepaint/0.22-1/patterns/java.pat
share/cinepaint/0.22-1/patterns/leather.pat
share/cinepaint/0.22-1/patterns/leaves.pat
share/cinepaint/0.22-1/patterns/leopard.pat
share/cinepaint/0.22-1/patterns/lightning.pat
share/cinepaint/0.22-1/patterns/marble1.pat
share/cinepaint/0.22-1/patterns/marble2.pat
share/cinepaint/0.22-1/patterns/marble3.pat
share/cinepaint/0.22-1/patterns/nops.pat
share/cinepaint/0.22-1/patterns/paper.pat
share/cinepaint/0.22-1/patterns/parque1.pat
share/cinepaint/0.22-1/patterns/parque2.pat
share/cinepaint/0.22-1/patterns/parque3.pat
share/cinepaint/0.22-1/patterns/pastel.pat
share/cinepaint/0.22-1/patterns/pine.pat
share/cinepaint/0.22-1/patterns/pink_marble.pat
share/cinepaint/0.22-1/patterns/pool.pat
share/cinepaint/0.22-1/patterns/qube1.pat
share/cinepaint/0.22-1/patterns/rain.pat
share/cinepaint/0.22-1/patterns/recessed.pat
share/cinepaint/0.22-1/patterns/redcube.pat
share/cinepaint/0.22-1/patterns/rock.pat
share/cinepaint/0.22-1/patterns/sky.pat
share/cinepaint/0.22-1/patterns/slate.pat
share/cinepaint/0.22-1/patterns/sm_squares.pat
share/cinepaint/0.22-1/patterns/starfield.pat
share/cinepaint/0.22-1/patterns/stone33.pat
share/cinepaint/0.22-1/patterns/terra.pat
share/cinepaint/0.22-1/patterns/walnut.pat
share/cinepaint/0.22-1/patterns/warning.pat
share/cinepaint/0.22-1/patterns/wood1.pat
share/cinepaint/0.22-1/patterns/wood2.pat
share/cinepaint/0.22-1/patterns/wood3.pat
share/cinepaint/0.22-1/patterns/wood4.pat
share/cinepaint/0.22-1/patterns/wood5.pat
share/cinepaint/0.22-1/printrc_user
share/cinepaint/0.22-1/ps-menurc
share/cinepaint/0.22-1/scripts/sphere.scm
share/cinepaint/0.22-1/spot.splash.ppm
share/cinepaint/0.22-1/tips.txt
share/cinepaint/0.22-1/user_install
share/fonts/FreeSans.ttf
share/locale/ca/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/ca/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/ca/LC_MESSAGES/cinepaint.mo
share/locale/cs/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/cs/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/cs/LC_MESSAGES/cinepaint.mo
share/locale/da/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/da/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/da/LC_MESSAGES/cinepaint.mo
share/locale/de/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/de/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/de/LC_MESSAGES/cinepaint.mo
share/locale/de/LC_MESSAGES/icc_examin_cp.mo
share/locale/el/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/el/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/el/LC_MESSAGES/cinepaint.mo
share/locale/en_GB/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/en_GB/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/en_GB/LC_MESSAGES/cinepaint.mo
share/locale/eo/LC_MESSAGES/icc_examin_cp.mo
share/locale/es/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/es/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/es/LC_MESSAGES/cinepaint.mo
share/locale/fi/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/fi/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/fi/LC_MESSAGES/cinepaint.mo
share/locale/fr/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/fr/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/fr/LC_MESSAGES/cinepaint.mo
share/locale/fr/LC_MESSAGES/icc_examin_cp.mo
share/locale/ga/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/ga/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/ga/LC_MESSAGES/cinepaint.mo
share/locale/gl/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/gl/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/gl/LC_MESSAGES/cinepaint.mo
share/locale/hr/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/hr/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/hr/LC_MESSAGES/cinepaint.mo
share/locale/hu/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/hu/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/hu/LC_MESSAGES/cinepaint.mo
share/locale/it/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/it/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/it/LC_MESSAGES/cinepaint.mo
share/locale/ja/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/ja/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/ja/LC_MESSAGES/cinepaint.mo
share/locale/ko/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/ko/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/ko/LC_MESSAGES/cinepaint.mo
share/locale/lt/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/lt/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/lt/LC_MESSAGES/cinepaint.mo
share/locale/nl/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/nl/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/nl/LC_MESSAGES/cinepaint.mo
share/locale/nn/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/nn/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/nn/LC_MESSAGES/cinepaint.mo
share/locale/no/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/no/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/no/LC_MESSAGES/cinepaint.mo
share/locale/pl/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/pl/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/pl/LC_MESSAGES/cinepaint.mo
share/locale/pt/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/pt/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/pt/LC_MESSAGES/cinepaint.mo
share/locale/pt_BR/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/pt_BR/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/pt_BR/LC_MESSAGES/cinepaint.mo
share/locale/ro/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/ro/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/ro/LC_MESSAGES/cinepaint.mo
share/locale/ru/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/ru/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/ru/LC_MESSAGES/cinepaint.mo
share/locale/sk/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/sk/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/sk/LC_MESSAGES/cinepaint.mo
share/locale/sl/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/sl/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/sl/LC_MESSAGES/cinepaint.mo
share/locale/sv/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/sv/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/sv/LC_MESSAGES/cinepaint.mo
share/locale/tr/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/tr/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/tr/LC_MESSAGES/cinepaint.mo
share/locale/uk/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/uk/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/uk/LC_MESSAGES/cinepaint.mo
share/locale/zh_CN/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/zh_CN/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/zh_CN/LC_MESSAGES/cinepaint.mo
share/locale/zh_TW/LC_MESSAGES/cinepaint-script-fu.mo
share/locale/zh_TW/LC_MESSAGES/cinepaint-std-plugins.mo
share/locale/zh_TW/LC_MESSAGES/cinepaint.mo
share/pixmaps/cinepaint.png
@pkgdir include/include/cinepaint/wire
@pkgdir include/include/cinepaint/libgimp
+23
View File
@@ -0,0 +1,23 @@
$NetBSD: distinfo,v 1.18 2013/03/28 21:43:06 joerg Exp $
SHA1 (cinepaint-0.22-1.tar.gz) = 717580b9b8b1044d76f1f0e4330e1c8104e2a206
RMD160 (cinepaint-0.22-1.tar.gz) = 1f8e06486ed5e74ad483abec305d4fcef0538572
Size (cinepaint-0.22-1.tar.gz) = 12380745 bytes
SHA1 (patch-aa) = a9a08e9ee48d235a7b862ee660af64afb77036e3
SHA1 (patch-ab) = 601c0cb6dabacb4d88120a6b2784588bcf06b8b5
SHA1 (patch-ac) = 819bd88a7ed2a321d1ae7b1a37ac3e2551ff916d
SHA1 (patch-ad) = 643ad8210fa479d4f2c3b83cebc5af92c9a310a1
SHA1 (patch-ae) = 37d0b131dc19406add4bde0af5affbcec7f5930d
SHA1 (patch-af) = 2e6f01e2b246570f1e8fda375a2f1e779d4c47da
SHA1 (patch-ag) = 0ee39b21c552311dcaa63d801c6f2dc9c858270b
SHA1 (patch-ah) = 3415f2b6f775a7b66b9d443cab94757b3b378928
SHA1 (patch-app_gradient.c) = 9b6d38f1d3a5c417b3f69f4107637ec1ec33da0c
SHA1 (patch-app_layers__dialog.c) = a9c4459edc83bd7e3faf1c90d9f4cff5d5e69a19
SHA1 (patch-plug-ins_bracketing__to__hdr_br__core_ResponseSolver.hpp) = e5e457d8f8ceb0ae3b4b965cbc740969b4ed81d4
SHA1 (patch-plug-ins_bracketing__to__hdr_br__core_br__Image.cpp) = a369c351d8bb05e79afa6c19592fbc148143d985
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__examin.h) = eb4dba58efd6ff19c5eae770361b49fdacd4b375
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__oyranos.h) = a5a72d106b655f79932b0d2d032136a32acbeafb
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__oyranos__extern.cpp) = 2e733a0c557236a735b97a7174795965b4bd4e0c
SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__speicher.h) = 1eef5be81fe36c2eb9ecf50606ecb294644e15f4
SHA1 (patch-plug-ins_pdf_pdf.cpp) = e0af79a6f2e8962edc90d53ceef1b521aacb8e55
SHA1 (patch-plug-ins_png_png.c) = 2420634637b44756b8e545efd3274fe469bbb3fa
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.2 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/hdr/fromrad.h.orig 2004-11-19 06:52:27.000000000 +0000
+++ plug-ins/hdr/fromrad.h
@@ -27,10 +27,9 @@
#define MAXELEN 0x7fff
#define MINRUN 4
-typedef unsigned char BYTE; /* 8-bit unsigned integer */
-static BYTE (*g_bval)[256] = NULL;
+static unsigned char (*g_bval)[256] = NULL;
-typedef BYTE COLR[4]; /* red, green, blue, exponent */
+typedef unsigned char COLR[4]; /* red, green, blue, exponent */
#define copycolr(c1,c2) (c1[0]=c2[0],c1[1]=c2[1], \
c1[2]=c2[2],c1[3]=c2[3])
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: patch-ab,v 1.3 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/tiff/tiff_plug_in.h.orig 2006-12-11 16:01:11.000000000 +0000
+++ plug-ins/tiff/tiff_plug_in.h
@@ -144,9 +144,6 @@
#endif
#endif
-#if (!__unix__ && !__APPLE__)
-typedef struct tiff TIFF;
-#endif
#ifndef COMPRESSION_JP2000
#define COMPRESSION_JP2000 34712
+39
View File
@@ -0,0 +1,39 @@
$NetBSD: patch-ac,v 1.6 2011/11/23 23:30:30 joerg Exp $
--- configure.orig 2007-06-12 05:51:31.000000000 +0000
+++ configure
@@ -22331,13 +22331,13 @@ fi
fi
if test -z "$THREAD_LIBS"; then
- echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
+ echo "$as_me:$LINENO: checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" >&5
+echo $ECHO_N "checking for pthread_create in ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}... $ECHO_C" >&6
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -22396,7 +22396,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
if test $ac_cv_lib_pthread_pthread_create = yes; then
- THREAD_LIBS='-lpthread'
+ THREAD_LIBS='${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}'
else
echo "$as_me:$LINENO: result: none" >&5
echo "${ECHO_T}none" >&6
@@ -22589,7 +22589,7 @@ else
echo "${ECHO_T}no" >&6
fi
-if test "x$PKG_CONFIG" == "xno"; then
+if test "x$PKG_CONFIG" = "xno"; then
{ echo "$as_me:$LINENO: WARNING:
*** Check for pkg-config failed. Many packages requires it.
*** You can download it from http://pkgconfig.sourceforge.net/ ." >&5
+12
View File
@@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.6 2011/11/23 23:30:30 joerg Exp $
--- app/app_procs.c.orig 2007-01-16 08:43:41.000000000 +0000
+++ app/app_procs.c
@@ -73,6 +73,7 @@
#include "brush.h"
#include "layout.h"
#include "minimize.h"
+#include "store_frame_manager.h"
#include "depth/displaylut.h"
#include "config.h"
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-ae,v 1.4 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/icc_examin/icc_examin/threads.cpp.orig 2007-03-07 20:07:32.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/threads.cpp
@@ -58,10 +58,12 @@ int fl_create_thread(Fl_Thread& t, void
ret = pthread_attr_getstacksize( &tattr, &size );
/* setting the size of the stack also */
+#ifdef PTHREAD_STACK_MIN
if(size > PTHREAD_STACK_MIN)
size = PTHREAD_STACK_MIN + /*size +*/ 0x800000;
std::cout<<"neue Stackgroesse: "<< PTHREAD_STACK_MIN <<" "<< 0x800000 <<" ";
ret = pthread_attr_setstacksize(&tattr, size);
+#endif
/* only size specified in tattr*/
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-af,v 1.4 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/icc_examin/icc_examin/icc_helfer_fltk.cpp.orig 2007-04-21 09:24:09.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/icc_helfer_fltk.cpp
@@ -226,7 +226,7 @@ namespace icc_examin_ns {
int awake(void)
{
- Fl::awake(0);
+ Fl::awake((void*)0);
return 0;
}
int leerWait(void) { return 0; }
+16
View File
@@ -0,0 +1,16 @@
$NetBSD: patch-ag,v 1.4 2009/12/22 15:42:20 drochner Exp $
--- plug-ins/icc_examin/icc_examin/configure.orig 2007-05-10 15:48:30.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/configure
@@ -207,9 +207,9 @@ else
echo "SunOS detected"
OSUNAME=SunOS
else
- if [ $UNAME_ = "OpenBSD" ] || [ $UNAME_ = "NetBSD" ] || [ $UNAME_ = "FreeBSD" ]; then
+ if [ $UNAME_ = "OpenBSD" ] || [ $UNAME_ = "NetBSD" ] || [ $UNAME_ = "FreeBSD" ] || [ $UNAME_ = "DragonFly" ]; then
echo "BSD = 1" >> $CONF
- OS_EXT=.bsd
+# OS_EXT=.bsd
echo "#define BSD 1" >> $CONF_H
echo "BSD $UNAME_ detected"
OSUNAME=BSD
+20
View File
@@ -0,0 +1,20 @@
$NetBSD: patch-ah,v 1.3 2009/12/22 15:42:20 drochner Exp $
--- plug-ins/icc_examin/icc_examin/configure.sh.orig 2007-05-10 15:45:12.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/configure.sh
@@ -398,11 +398,11 @@ if [ -n "$PREPARE_MAKEFILES" ] && [ $PRE
if [ -n "$MAKEFILE_DIR" ]; then
for i in $MAKEFILE_DIR; do
echo preparing Makefile in "$i/"
- if [ $OSUNAME = "BSD" ]; then
- test -f "$i/makefile".in && cat "$i/makefile".in | sed 's/#if/.if/g ; s/#end/.end/g ; s/#else/.else/g ' >> "$i/makefile"
- else
+# if [ $OSUNAME = "BSD" ]; then
+# test -f "$i/makefile".in && cat "$i/makefile".in | sed 's/#if/.if/g ; s/#end/.end/g ; s/#else/.else/g ' >> "$i/makefile"
+# else
test -f "$i/makefile".in && cat "$i/makefile".in | sed 's/#if/if/g ; s/#elif/elif/g ; s/#else/else/g ; s/#end/end/g ' >> "$i/makefile"
- fi
+# fi
mv "$i/makefile" "$i/Makefile"
done
fi
@@ -0,0 +1,13 @@
$NetBSD: patch-app_gradient.c,v 1.1 2012/07/03 18:08:21 joerg Exp $
--- app/gradient.c.orig 2012-07-03 13:54:31.000000000 +0000
+++ app/gradient.c
@@ -5451,7 +5451,7 @@ grad_load_gradient(char *filename)
g_message (_("Corrupt segment %d in gradient file '%s'."),
i, filename);
fclose (file);
- return NULL;
+ return;
}
#else
if (sscanf(line, "%lf%lf%lf%lf%lf%lf%lf%lf%lf%lf%lf%d%d",
@@ -0,0 +1,13 @@
$NetBSD: patch-app_layers__dialog.c,v 1.1 2012/07/03 18:08:21 joerg Exp $
--- app/layers_dialog.c.orig 2012-07-03 13:55:55.000000000 +0000
+++ app/layers_dialog.c
@@ -2769,7 +2769,7 @@ layer_widget_preview_redraw (LayerWidget
# ifdef DEBUG
printf("%s:%d %s() wrong data or widget\n", __FILE__,__LINE__,__func__);
# endif
- return FALSE;
+ return;
}
@@ -0,0 +1,13 @@
$NetBSD: patch-plug-ins_bracketing__to__hdr_br__core_ResponseSolver.hpp,v 1.1 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/bracketing_to_hdr/br_core/ResponseSolver.hpp.orig 2011-11-23 16:54:11.000000000 +0000
+++ plug-ins/bracketing_to_hdr/br_core/ResponseSolver.hpp
@@ -44,7 +44,7 @@
#include "Exception.hpp" // IF_FAIL_EXCEPTION()
#include "br_macros.hpp"
#include "ResponseSolverBase.hpp"
-
+#include <cstring>
namespace br {
@@ -0,0 +1,12 @@
$NetBSD: patch-plug-ins_bracketing__to__hdr_br__core_br__Image.cpp,v 1.1 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/bracketing_to_hdr/br_core/br_Image.cpp.orig 2011-11-23 16:53:30.000000000 +0000
+++ plug-ins/bracketing_to_hdr/br_core/br_Image.cpp
@@ -26,6 +26,7 @@
*/
#include <iostream>
#include <cmath> // pow()
+#include <cstring>
#include "br_types.hpp" // ImageID
#include "br_enums.hpp" // DataType, ReportWhat
@@ -0,0 +1,12 @@
$NetBSD: patch-plug-ins_icc__examin_icc__examin_icc__examin.h,v 1.1 2013/03/28 21:43:06 joerg Exp $
--- plug-ins/icc_examin/icc_examin/icc_examin.h.orig 2013-03-28 13:10:09.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/icc_examin.h
@@ -47,7 +47,6 @@ class ICCwaehler;
class ICCexamin;
extern ICCexamin *icc_examin;
class ICCexaminIO;
-class icc_examin_ns::EinModell;
namespace icc_examin_ns {
enum IccGamutFormat {
@@ -0,0 +1,56 @@
$NetBSD: patch-plug-ins_icc__examin_icc__examin_icc__oyranos.h,v 1.1 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/icc_examin/icc_examin/icc_oyranos.h.orig 2011-11-23 17:00:10.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/icc_oyranos.h
@@ -34,6 +34,7 @@
#include "icc_speicher.h"
#include "icc_vrml_parser.h"
+#include <cstring>
#include <string>
#include <list>
#include <map>
@@ -146,8 +147,8 @@ class Oyranos
int byte,
int kanaele,
const char* ausgangs_profil__geraet,
- int byte,
- int kanaele,
+ int ausgangs_byte,
+ int ausgangs_kanaele,
int farb_intent,
const char* cmm, // 4 bytes 'lcms' 'APPL'
int cmm_optionen); // BPC, precission
@@ -156,8 +157,8 @@ class Oyranos
int byte,
int kanaele,
const char* ausgangs_profil__geraet,
- int byte,
- int kanaele,
+ int ausgangs_byte,
+ int ausgangs_kanaele,
int farb_intent,
const char* cmm, // 4 bytes 'lcms' 'APPL'
int cmm_optionen,
@@ -167,8 +168,8 @@ class Oyranos
int byte,
int kanaele,
const char* ausgangs_profil__geraet,
- int byte,
- int kanaele,
+ int ausgangs_byte,
+ int ausgangs_kanaele,
int farb_intent,
const char* cmm, // 4 bytes 'lcms' 'APPL'
int cmm_optionen,
@@ -185,8 +186,8 @@ class Oyranos
int byte,
int kanaele,
const char* ausgangs_profil__geraet,
- int byte,
- int kanaele,
+ int ausgangs_byte,
+ int ausgangs_kanaele,
int farb_intent,
int cmm_optionen,
const char* simulations_profil,
@@ -0,0 +1,12 @@
$NetBSD: patch-plug-ins_icc__examin_icc__examin_icc__oyranos__extern.cpp,v 1.1 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/icc_examin/icc_examin/icc_oyranos_extern.cpp.orig 2011-11-23 17:11:56.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/icc_oyranos_extern.cpp
@@ -29,6 +29,7 @@
#include "icc_utils.h"
#include "icc_fenster.h"
+#include <cstdlib>
using namespace icc_examin_ns;
@@ -0,0 +1,13 @@
$NetBSD: patch-plug-ins_icc__examin_icc__examin_icc__speicher.h,v 1.1 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/icc_examin/icc_examin/icc_speicher.h.orig 2011-11-23 17:06:00.000000000 +0000
+++ plug-ins/icc_examin/icc_examin/icc_speicher.h
@@ -32,6 +32,8 @@
#define ICC_SPEICHER_H
#include "icc_utils.h"
+#include <cstdlib>
+#include <cstring>
#include <string>
#define DBG_SPEICHER_START if(icc_debug >= 3) DBG_PROG_START
@@ -0,0 +1,13 @@
$NetBSD: patch-plug-ins_pdf_pdf.cpp,v 1.1 2011/11/23 23:30:30 joerg Exp $
--- plug-ins/pdf/pdf.cpp.orig 2011-11-23 17:14:05.000000000 +0000
+++ plug-ins/pdf/pdf.cpp
@@ -40,6 +40,8 @@
#include "pdf.h"
#include "pdf_dialog.h"
+#include <cstring>
+
extern "C" {
#include <gtk/gtk.h>
#include "lib/plugin_main.h"
@@ -0,0 +1,407 @@
$NetBSD: patch-plug-ins_png_png.c,v 1.2 2012/08/12 22:04:48 wiz Exp $
Fix build with png-1.5.
https://sourceforge.net/tracker/?func=detail&aid=3255946&group_id=75029&atid=542708
--- plug-ins/png/png.c.orig 2006-11-24 20:52:55.000000000 +0000
+++ plug-ins/png/png.c
@@ -405,7 +405,7 @@ load_image (gchar *filename) /* I - File
info = (png_infop)calloc(sizeof(png_info), 1);
#endif /* PNG_LIBPNG_VER > 88 */
- if (setjmp (pp->jmpbuf))
+ if (setjmp (png_jmpbuf(pp)))
{
g_message ("%s\nPNG error. File corrupted?", filename);
return image;
@@ -448,15 +448,15 @@ load_image (gchar *filename) /* I - File
*/
#ifndef WORDS_BIGENDIAN
- if(info->bit_depth == 16)
+ if(png_get_bit_depth(pp, info) == 16)
png_set_swap(pp);
#endif
- if (info->color_type == PNG_COLOR_TYPE_GRAY && info->bit_depth < 8) {
+ if (png_get_color_type(pp, info) == PNG_COLOR_TYPE_GRAY && png_get_bit_depth(pp, info) < 8) {
png_set_expand(pp);
}
- if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8) {
+ if (png_get_color_type(pp, info) == PNG_COLOR_TYPE_PALETTE && png_get_bit_depth(pp, info) < 8) {
png_set_packing(pp);
}
@@ -464,8 +464,8 @@ load_image (gchar *filename) /* I - File
* Expand G+tRNS to GA, RGB+tRNS to RGBA
*/
- if (info->color_type != PNG_COLOR_TYPE_PALETTE &&
- (info->valid & PNG_INFO_tRNS)) {
+ if (png_get_color_type(pp, info) != PNG_COLOR_TYPE_PALETTE &&
+ png_get_valid(pp, info, PNG_INFO_tRNS) != 0) {
png_set_expand(pp);
}
@@ -482,7 +482,7 @@ load_image (gchar *filename) /* I - File
#if PNG_LIBPNG_VER > 99
if (png_get_valid(pp, info, PNG_INFO_tRNS) &&
- info->color_type == PNG_COLOR_TYPE_PALETTE)
+ png_get_color_type(pp, info) == PNG_COLOR_TYPE_PALETTE)
{
png_get_tRNS(pp, info, &alpha_ptr, &num, NULL);
/* Copy the existing alpha values from the tRNS chunk */
@@ -505,9 +505,9 @@ load_image (gchar *filename) /* I - File
png_read_update_info(pp, info);
- if(info->bit_depth==16)
+ if(png_get_bit_depth(pp, info) == 16)
{
- switch (info->color_type)
+ switch (png_get_color_type(pp, info))
{
case PNG_COLOR_TYPE_RGB : /* RGB */
bpp = 6;
@@ -545,7 +545,7 @@ load_image (gchar *filename) /* I - File
}
else
{
- switch (info->color_type)
+ switch (png_get_color_type(pp, info))
{
case PNG_COLOR_TYPE_RGB : /* RGB */
bpp = 3;
@@ -582,7 +582,7 @@ load_image (gchar *filename) /* I - File
};
}
- image = gimp_image_new(info->width, info->height, image_type);
+ image = gimp_image_new(png_get_image_width(pp, info), png_get_image_height(pp, info), image_type);
if (image == -1)
{
g_message("Can't allocate new image\n%s", filename);
@@ -595,7 +595,7 @@ load_image (gchar *filename) /* I - File
* Create the "background" layer to hold the image...
*/
- layer = gimp_layer_new(image, _("Background"), info->width, info->height,
+ layer = gimp_layer_new(image, _("Background"), png_get_image_width(pp, info), png_get_image_height(pp, info),
layer_type, 100, NORMAL_MODE);
gimp_image_add_layer(image, layer, 0);
@@ -627,20 +627,23 @@ load_image (gchar *filename) /* I - File
empty= 0; /* by default assume no full transparent palette entries */
- if (info->color_type & PNG_COLOR_MASK_PALETTE) {
+ if (png_get_color_type(pp, info) & PNG_COLOR_MASK_PALETTE) {
+ png_colorp palette;
+ int num_palette;
+ png_get_PLTE(pp, info, &palette, &num_palette);
#if PNG_LIBPNG_VER > 99
if (png_get_valid(pp, info, PNG_INFO_tRNS)) {
for (empty= 0; empty < 256 && alpha[empty] == 0; ++empty);
/* Calculates number of fully transparent "empty" entries */
- gimp_image_set_cmap(image, (guchar *) (info->palette + empty),
- info->num_palette - empty);
+ gimp_image_set_cmap(image, (guchar *) (palette + empty),
+ num_palette - empty);
} else {
- gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette);
+ gimp_image_set_cmap(image, (guchar *)palette, num_palette);
}
#else
- gimp_image_set_cmap(image, (guchar *)info->palette, info->num_palette);
+ gimp_image_set_cmap(image, (guchar *)palette, num_palette);
#endif /* PNG_LIBPNG_VER > 99 */
}
@@ -659,18 +662,18 @@ load_image (gchar *filename) /* I - File
*/
tile_height = gimp_tile_height ();
- pixel = g_new(guchar, tile_height * info->width * bpp);
+ pixel = g_new(guchar, tile_height * png_get_image_width(pp, info) * bpp);
pixels = g_new(guchar *, tile_height);
- if(info->bit_depth==16)
+ if(png_get_bit_depth(pp, info) == 16)
{
for (i = 0; i < tile_height; i ++)
- pixels[i] = pixel + info->width * info->channels * i * 2;
+ pixels[i] = pixel + png_get_image_width(pp, info) * png_get_channels(pp, info) * i * 2;
}
else
{
for (i = 0; i < tile_height; i ++)
- pixels[i] = pixel + info->width * info->channels * i;
+ pixels[i] = pixel + png_get_image_width(pp, info) * png_get_channels(pp, info) * i;
}
for (pass = 0; pass < num_passes; pass ++)
@@ -680,11 +683,11 @@ load_image (gchar *filename) /* I - File
*/
for (begin = 0, end = tile_height;
- begin < info->height;
+ begin < png_get_image_height(pp, info);
begin += tile_height, end += tile_height)
{
- if (end > info->height)
- end = info->height;
+ if (end > png_get_image_height(pp, info))
+ end = png_get_image_height(pp, info);
num = end - begin;
@@ -697,20 +700,28 @@ load_image (gchar *filename) /* I - File
gimp_pixel_rgn_set_rect(&pixel_rgn, pixel, 0, begin,
drawable->width, num);
- gimp_progress_update(((double)pass + (double)end / (double)info->height) /
+ gimp_progress_update(((double)pass + (double)end / (double)png_get_image_height(pp, info)) /
(double)num_passes);
};
};
#if defined(PNG_iCCP_SUPPORTED)
+ {
+ png_charp iccp_name;
+ int iccp_compression_type;
+ png_bytep iccp_profile;
+ png_uint_32 iccp_proflen;
+ png_get_iCCP(pp, info, &iccp_name, &iccp_compression_type, &iccp_profile, &iccp_proflen);
+
/* set icc profile */
- if (info->iccp_proflen > 0) {
- gimp_image_set_icc_profile_by_mem (image, info->iccp_proflen,
- info->iccp_profile,
+ if (iccp_proflen > 0) {
+ gimp_image_set_icc_profile_by_mem (image, iccp_proflen,
+ iccp_profile,
ICC_IMAGE_PROFILE);
printf ("%s:%d %s() set embedded profile \"%s\"\n",
__FILE__,__LINE__,__func__,
- info->iccp_name);
+ iccp_name);
+ }
}
#endif
@@ -808,6 +819,8 @@ save_image (gchar *filename, /*
blue; /* Used for palette background */
time_t cutime; /* Time since epoch */
struct tm *gmt; /* GMT broken down */
+ int color_type; /* type of colors in image */
+ int bit_depth; /* width of colors in bit */
/*
* PNG 0.89 and newer have a sane, forwards compatible constructor.
@@ -824,7 +837,7 @@ save_image (gchar *filename, /*
info = (png_infop)calloc(sizeof(png_info), 1);
#endif /* PNG_LIBPNG_VER > 88 */
- if (setjmp (pp->jmpbuf))
+ if (setjmp (png_jmpbuf(pp)))
{
g_message ("%s\nPNG error. Couldn't save image", filename);
return 0;
@@ -863,10 +876,6 @@ save_image (gchar *filename, /*
png_set_compression_level (pp, pngvals.compression_level);
- info->width = drawable->width;
- info->height = drawable->height;
- info->interlace_type = pngvals.interlaced;
-
/*
* Set color type and remember bytes per pixel count
*/
@@ -874,71 +883,67 @@ save_image (gchar *filename, /*
switch (type)
{
case RGB_IMAGE :
- info->color_type = PNG_COLOR_TYPE_RGB;
- info->bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_RGB;
+ bit_depth = 8;
bpp = 3;
break;
case RGBA_IMAGE :
- info->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
- info->bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_RGB_ALPHA;
+ bit_depth = 8;
bpp = 4;
break;
case GRAY_IMAGE :
- info->color_type = PNG_COLOR_TYPE_GRAY;
- info->bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_GRAY;
+ bit_depth = 8;
bpp = 1;
break;
case GRAYA_IMAGE :
- info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
- info->bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
+ bit_depth = 8;
bpp = 2;
break;
case INDEXED_IMAGE :
bpp = 1;
- info->bit_depth = 8;
- info->color_type = PNG_COLOR_TYPE_PALETTE;
- info->valid |= PNG_INFO_PLTE;
- info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors);
- info->num_palette= num_colors;
+ bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_PALETTE;
+ png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap (image_ID, &num_colors), num_colors);
break;
case INDEXEDA_IMAGE :
bpp = 2;
- info->bit_depth = 8;
- info->color_type = PNG_COLOR_TYPE_PALETTE;
+ bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_PALETTE;
respin_cmap (pp, info, image_ID); /* fix up transparency */
break;
case U16_RGB_IMAGE :
- info->color_type = PNG_COLOR_TYPE_RGB;
- info->bit_depth = 16;
+ color_type = PNG_COLOR_TYPE_RGB;
+ bit_depth = 16;
bpp = 6;
break;
case U16_RGBA_IMAGE :
- info->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
- info->bit_depth = 16;
+ color_type = PNG_COLOR_TYPE_RGB_ALPHA;
+ bit_depth = 16;
bpp = 8;
break;
case U16_GRAY_IMAGE :
- info->color_type = PNG_COLOR_TYPE_GRAY;
- info->bit_depth = 16;
+ color_type = PNG_COLOR_TYPE_GRAY;
+ bit_depth = 16;
bpp = 2;
break;
case U16_GRAYA_IMAGE :
- info->color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
- info->bit_depth = 16;
+ color_type = PNG_COLOR_TYPE_GRAY_ALPHA;
+ bit_depth = 16;
bpp = 4;
break;
case U16_INDEXED_IMAGE :
bpp = 2;
- info->bit_depth = 16;
- info->color_type = PNG_COLOR_TYPE_PALETTE;
- info->valid |= PNG_INFO_PLTE;
- info->palette= (png_colorp) gimp_image_get_cmap(image_ID, &num_colors);
- info->num_palette= num_colors;
+ bit_depth = 16;
+ color_type = PNG_COLOR_TYPE_PALETTE;
+ png_set_PLTE(pp, info, (png_colorp) gimp_image_get_cmap (image_ID, &num_colors), num_colors);
break;
case U16_INDEXEDA_IMAGE :
bpp = 4;
- info->bit_depth = 16;
- info->color_type = PNG_COLOR_TYPE_PALETTE;
+ bit_depth = 16;
+ color_type = PNG_COLOR_TYPE_PALETTE;
respin_cmap (pp, info, image_ID); /* fix up transparency */
break;
default:
@@ -950,16 +955,22 @@ save_image (gchar *filename, /*
* Fix bit depths for (possibly) smaller colormap images
*/
- if (info->valid & PNG_INFO_PLTE) {
- if (info->num_palette <= 2)
- info->bit_depth= 1;
- else if (info->num_palette <= 4)
- info->bit_depth= 2;
- else if (info->num_palette <= 16)
- info->bit_depth= 4;
+ if (png_get_valid(pp, info, PNG_INFO_PLTE)) {
+ png_colorp palette;
+ int num_palette;
+ png_get_PLTE(pp, info, &palette, &num_palette);
+
+ if (num_palette <= 2)
+ bit_depth= 1;
+ else if (num_palette <= 4)
+ bit_depth= 2;
+ else if (num_palette <= 16)
+ bit_depth= 4;
/* otherwise the default is fine */
}
+ png_set_IHDR(pp, info, drawable->width, drawable->height, bit_depth, color_type, pngvals.interlaced ? PNG_INTERLACE_ADAM7 : PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
+
// write icc profile
#if defined(PNG_iCCP_SUPPORTED)
if (gimp_image_has_icc_profile (image_ID, ICC_IMAGE_PROFILE)) {
@@ -971,9 +982,11 @@ save_image (gchar *filename, /*
png_set_iCCP (pp, info,
gimp_image_get_icc_profile_description (image_ID, ICC_IMAGE_PROFILE),
0, buffer, size);
+#if 0
printf ("%s:%d %s() embedd icc profile \"%s\"\n",
__FILE__,__LINE__,__func__,
info->iccp_name);
+#endif
}
#endif
@@ -1039,13 +1052,13 @@ save_image (gchar *filename, /*
* Convert unpacked pixels to packed if necessary
*/
- if (info->color_type == PNG_COLOR_TYPE_PALETTE && info->bit_depth < 8)
+ if (png_get_color_type(pp, info) == PNG_COLOR_TYPE_PALETTE && png_get_bit_depth(pp, info) < 8)
png_set_packing(pp);
/* Set swapping for 16 bit per sample images */
#ifndef WORDS_BIGENDIAN
- if (info->bit_depth == 16)
+ if (png_get_bit_depth(pp, info) == 16)
png_set_swap(pp);
#endif
@@ -1077,7 +1090,7 @@ save_image (gchar *filename, /*
num = end - begin;
gimp_pixel_rgn_get_rect (&pixel_rgn, pixel, 0, begin, drawable->width, num);
- if (info->valid & PNG_INFO_tRNS) {
+ if (png_get_valid(pp, info, PNG_INFO_tRNS) != 0) {
for (i = 0; i < num; ++i) {
fixed= pixels[i];
for (k = 0; k < drawable->width; ++k) {
@@ -1085,7 +1098,7 @@ save_image (gchar *filename, /*
}
}
/* Forgot this case before, what if there are too many colors? */
- } else if (info->valid & PNG_INFO_PLTE && bpp == 2) {
+ } else if (png_get_valid(pp, info, PNG_INFO_PLTE) && bpp == 2) {
for (i = 0; i < num; ++i) {
fixed= pixels[i];
for (k = 0; k < drawable->width; ++k) {
@@ -1097,7 +1110,7 @@ save_image (gchar *filename, /*
png_write_rows (pp, pixels, num);
gimp_progress_update (((double)pass + (double)end /
- (double)info->height) / (double)num_passes);
+ (double)png_get_image_height(pp, info)) / (double)num_passes);
};
};