[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / gimp

File: [cvs.NetBSD.org] / pkgsrc / graphics / gimp / Makefile (download)

Revision 1.330, Mon Jun 15 11:00:45 2020 UTC (5 months, 1 week ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.329: +4 -5 lines

gimp: Update to 2.10.20

Changelog:
Overview of Changes from GIMP 2.10.18 to GIMP 2.10.20
=====================================================

Tools:

  - Crop tool now has a "Delete cropped pixels" option active only in
    image crop mode, allowing to choose whether to crop layers or only
    the canvas (cropped pixels will be made invisible as out-of-canvas
    but would still be present). The option is unchecked by default,
    as it is the non-destructive behavior, which also means the
    default behavior is changed.
  - Crop tool in image crop mode will not crop layers with "Lock
    pixels" on, anymore, even if "Delete cropped pixels" is checked.
  - Painting tools can now restore opacity and blend mode from
    presets.

User interface:

  - Image / Precision renamed to Image > Encoding
  - Tool groups can now display their tool list on hover rather than
    on click. This can be set in Preferences, in the Toolbox tab.
  - Improved update notification GUI in About dialog, and now also
    showing an update comment when one was set in gimp_versions.json.
  - Palette Editor dockable: the color index in the current palette is
    now shown in front of the color name.

Plugins:

  - In file-psd, make the data_start and data_len fields of the
    PSDimageres and PSDlayerres structs unsigned, to avoid potential
    overflow/sign-extension
  - file-raw: Canon CR3 files are now properly recognized by GIMP and
    sent to your raw developer software of choice.
  - PNG and TIFF export: "Save color values from transparent pixels"
    defaults now to not saving color values (i.e. channels set to 0)
    when alpha channel is present and 0 itself.
  - PDF import: multi-pages are now imported in bottom-first order,
    similar to animated formats, and also similar to defaults for PDF
    export. This brings consistency but break existing behavior, hence
    needs to be noted.
  - Added support for exporting 16-bit PSDs, read and write channels
    from/to PSd in the right order

Filters:

  - The 'Vignette' filter now has on-canvas controls
  - New 'Filters -> Blur -> Focus Blur' filter with on-canvas controls
    to emulate out-of-focus blurring
  - New 'Filters -> Blur -> Variable Blur' filter that uses an aux
    mask input to blur an image with variable intensity
  - New 'Filters -> Light and Shadow -> Bloom' filter

Updated translations:

  - British English, Catalan, Chinese (Taiwan), Dutch, Finnish,
    German, Greek, Italian, Korean, Polish, Romanian, Russian,
    Spanish, Swedish, Turkish, Ukrainian

Icons:

  - Replace fileicon.ico with version contain 24x24, 64x64, 128x128,
    and 256x256 sizes for Windows icon
  - Replace wilber.ico with version containing 128x128 size of Windows
    icon

Bug fixes:

  - #189, #354, #872, #1439, #3405, #3533, #3558, #3777, #3841, #4094,
    #4328, #4363, #4487, #4618, #4641, #4663, #4696, #4734, #4745,
    ##4793, 4827, #4846, #4858, #4871, #4895, #4904, #4919, #4967,
    ##4968, #4992, 4996, #5009, #5010, #5033

# $NetBSD: Makefile,v 1.330 2020/06/15 11:00:45 ryoon Exp $

DISTNAME=	gimp-2.10.20
CATEGORIES=	graphics
MASTER_SITES=	https://download.gimp.org/pub/gimp/v${PKGVERSION_NOREV:R}/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	https://www.gimp.org/
COMMENT=	The GNU image manipulation program
LICENSE=	gnu-lgpl-v3 AND gnu-gpl-v3

BUILD_DEPENDS+=	gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
BUILD_DEPENDS+=	gettext-tools>=0.19:../../devel/gettext-tools
DEPENDS+=	glib-networking>=2.36.2:../../net/glib-networking
CONFLICTS+=	gimp<=1.2.3

USE_LANGUAGES+=		c c++14
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes

USE_TOOLS+=		gmake pkg-config perl
USE_TOOLS+=		intltool msgfmt msgmerge xgettext

GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--disable-alsatest
CONFIGURE_ARGS+=	--disable-glibtest
CONFIGURE_ARGS+=	--disable-gtktest
CONFIGURE_ARGS+=	--disable-python
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--without-linux-input

PKG_SYSCONFSUBDIR=	gimp/2.0
PKGCONFIG_OVERRIDE=	gimp.pc.in
UNLIMIT_RESOURCES+=	datasize

# GCC 4.x C++14 support is not new enough.
GCC_REQD+=	5

.include "../../mk/bsd.prefs.mk"

EGDIR=			${PREFIX}/share/examples/gimp-2.0
.for f in controllerrc gimprc gtkrc menurc sessionrc templaterc unitrc
CONF_FILES+=		${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor

# checking for xgettext version (>= 0.19)... no
_TOOLS_USE_PKGSRC.xgettext=	yes

# Ensure we export symbols in the linked shared object.
LDFLAGS+=		${EXPORT_SYMBOLS_LDFLAGS}

PLIST_VARS+=	remote
.if ${OPSYS} == "Darwin"
PLIST_SUBST+=	GIMP_DEBUG_TOOL_DIR="bin"
.else
PLIST_SUBST+=	GIMP_DEBUG_TOOL_DIR="libexec"
.endif

pre-configure:
	ln -s mypaint-brushes-2.0.pc	\
	  ${BUILDLINK_DIR}/share/pkgconfig/mypaint-brushes-1.0.pc
	
.include "options.mk"
.include "../../archivers/xz/buildlink3.mk"
BUILDLINK_API_DEPENDS.freetype2+=	freetype2>=2.8.1
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.fontconfig+=	fontconfig>=2.12.4
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
BUILDLINK_API_DEPENDS.babl+=		babl>=0.1.78
.include "../../graphics/babl/buildlink3.mk"
BUILDLINK_API_DEPENDS.gegl+=		gegl>=0.4.24
.include "../../graphics/gegl/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/gexiv2/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/libart/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/libmypaint/buildlink3.mk"
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/mypaint-brushes/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
.include "../../graphics/openjpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../graphics/libwmf/buildlink3.mk"
.include "../../print/poppler-data/buildlink3.mk"
.include "../../print/poppler-glib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.if !empty(PKG_BUILD_OPTIONS.gtk2:Mx11)
PLIST.remote=	yes
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-xmc
CONFIGURE_ARGS+=	--without-libxpm
.endif
.if !empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
.include "../../x11/gtk-mac-integration/buildlink3.mk"
.endif
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"