pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/darktable graphics/darktable: Depend on exiftool



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0760cb295680
branches:  trunk
changeset: 381020:0760cb295680
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Thu Jun 23 20:05:11 2022 +0000

description:
graphics/darktable: Depend on exiftool

darktable's build system looked for exiftool and if found installed
extract_wb_from_images.sh, which broke the build on systems with
exiftool.  Rather than prevent finding exiftool or making it an
option, just depend on it, because almost everyone who uses darktable
will want exiftool anyway.

diffstat:

 graphics/darktable/Makefile |  10 ++++++++--
 graphics/darktable/PLIST    |   3 ++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r 860ef1688f3a -r 0760cb295680 graphics/darktable/Makefile
--- a/graphics/darktable/Makefile       Thu Jun 23 17:30:14 2022 +0000
+++ b/graphics/darktable/Makefile       Thu Jun 23 20:05:11 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.130 2022/06/23 07:12:40 nia Exp $
+# $NetBSD: Makefile,v 1.131 2022/06/23 20:05:11 gdt Exp $
 
 DISTNAME=      darktable-3.6.1
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=darktable-org/}
 GITHUB_PROJECT=        darktable
@@ -19,6 +19,7 @@
 USE_TOOLS+=            gmake intltool msgfmt pkg-config bash:run
 
 REPLACE_BASH+= tools/common.sh
+REPLACE_BASH+= tools/extract_wb_from_images.sh
 REPLACE_BASH+= tools/purge_from_cache.sh          
 REPLACE_BASH+= tools/purge_non_existing_images.sh 
 REPLACE_BASH+= tools/purge_unused_tags.sh
@@ -63,6 +64,11 @@
 pre-configure:
        ${MKDIR} ${WRKDIR}/pkgsrc_build
 
+# exiftool presence controls whether a script is installed.  It is
+# simplest to just depend, and almost everyone who would used
+# darktable would want exiftool anyway.
+DEPENDS+=      p5-Image-ExifTool-[0-9]*:../../graphics/p5-Image-ExifTool
+
 BUILDLINK_API_DEPENDS.sqlite3+=        sqlite3>=3.7.14.1nb1
 
 .include "../../databases/sqlite3/buildlink3.mk"
diff -r 860ef1688f3a -r 0760cb295680 graphics/darktable/PLIST
--- a/graphics/darktable/PLIST  Thu Jun 23 17:30:14 2022 +0000
+++ b/graphics/darktable/PLIST  Thu Jun 23 20:05:11 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2021/11/30 13:00:15 cirnatdan Exp $
+@comment $NetBSD: PLIST,v 1.17 2022/06/23 20:05:11 gdt Exp $
 bin/darktable
 bin/darktable-chart
 bin/darktable-cli
@@ -317,6 +317,7 @@
 share/darktable/themes/darktable-icons.css
 share/darktable/themes/darktable.css
 share/darktable/tools/common.sh
+share/darktable/tools/extract_wb_from_images.sh
 share/darktable/tools/purge_from_cache.sh
 share/darktable/tools/purge_non_existing_images.sh
 share/darktable/tools/purge_unused_tags.sh



Home | Main Index | Thread Index | Old Index