1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

graphics/darktable: Update to 1.6.6

The patch "patch-tools_generate__prefs.xsl" was committed upstream and
is no longer needed.

Differential Revision:	https://reviews.freebsd.org/D2385
Reviewed by:	kwm
Approved by:	kwm
This commit is contained in:
Jean-Sébastien Pédron 2015-05-03 09:08:08 +00:00
parent 53b41c0b4b
commit 4d99d37459
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385239
3 changed files with 3 additions and 17 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= darktable
PORTVERSION= 1.6.4
PORTREVISION= 1
PORTVERSION= 1.6.6
CATEGORIES= graphics
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION}/

View File

@ -1,2 +1,2 @@
SHA256 (darktable-1.6.4.tar.xz) = c5f705e8164c014acf0dac2ffc5b730362068c2864622121ca6fa9f330368d2a
SIZE (darktable-1.6.4.tar.xz) = 3117168
SHA256 (darktable-1.6.6.tar.xz) = f85e4b8219677eba34f5a41e1a0784cc6ec06576326a99f04e460a4f41fd21a5
SIZE (darktable-1.6.6.tar.xz) = 3097760

View File

@ -1,13 +0,0 @@
--- tools/generate_prefs.xsl.orig 2015-04-03 13:59:08 UTC
+++ tools/generate_prefs.xsl
@@ -231,7 +231,9 @@
<xsl:text> gint min = 0;&#xA; gint max = G_MAXINT;&#xA;</xsl:text>
<xsl:apply-templates select="type" mode="range"/>
<xsl:text> </xsl:text><xsl:apply-templates select="type" mode="factor"/>
- <xsl:text> min *= factor; max *= factor;
+ <xsl:text> double tmp;
+ tmp = min * (double)factor; min = tmp;
+ tmp = max * (double)factor; max = tmp;
widget = gtk_spin_button_new_with_range(min, max, 1);
gtk_spin_button_set_digits(GTK_SPIN_BUTTON(widget), 0);
gtk_spin_button_set_value(GTK_SPIN_BUTTON(widget), dt_conf_get_int("</xsl:text><xsl:value-of select="name"/><xsl:text>") * factor);