X-Loop: help-debbugs@HIDDEN
Subject: [bug#68337] [PATCH 0/2] Add ajam and argyllcms
Resent-From: striness@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 09 Jan 2024 04:33:01 +0000
Resent-Message-ID: <handler.68337.B.17047747286083 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 68337
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 68337 <at> debbugs.gnu.org
Cc: Ulf Herrman <striness@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17047747286083
(code B ref -1); Tue, 09 Jan 2024 04:33:01 +0000
Received: (at submit) by debbugs.gnu.org; 9 Jan 2024 04:32:08 +0000
Received: from localhost ([127.0.0.1]:38036 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rN3mZ-0001a3-Nj
for submit <at> debbugs.gnu.org; Mon, 08 Jan 2024 23:32:07 -0500
Received: from lists.gnu.org ([2001:470:142::17]:58434)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <striness@HIDDEN>) id 1rN3mU-0001ZU-Jq
for submit <at> debbugs.gnu.org; Mon, 08 Jan 2024 23:32:05 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <striness@HIDDEN>)
id 1rN3mH-0005fo-4g
for guix-patches@HIDDEN; Mon, 08 Jan 2024 23:31:49 -0500
Received: from tilde.club ([2607:5300:203:b92b::114])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <striness@HIDDEN>)
id 1rN3mF-0005Kd-L2
for guix-patches@HIDDEN; Mon, 08 Jan 2024 23:31:48 -0500
Received: by tilde.club (Postfix, from userid 5378)
id 5B0BC226F39B5; Tue, 9 Jan 2024 04:31:42 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 5B0BC226F39B5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail;
t=1704774702; bh=7QO78r+l6AJ/75/LUr4VbKsi490G3NlRrxwpcc8m00E=;
h=From:To:Cc:Subject:Date:From;
b=MLf/h8VptDqNdYsR+SZwybItAHQ7Ad3LdGG482KKAC/WtnkKv9XfkotvsvsmxW7wP
X15LCDX0sEu/AXpmLARoVG/cMJj9xlnqVCAWNvsxq+zwgWf/49x1LWwggyKp0kFMEO
f/9kCxJsaXZ7bwOrmQJo2xja6YRg5u3ZBf2/AA+8=
From: striness@HIDDEN
Date: Mon, 8 Jan 2024 22:30:57 -0600
Message-ID: <cover.1704773652.git.striness@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:5300:203:b92b::114;
envelope-from=striness@HIDDEN; helo=tilde.club
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)
From: Ulf Herrman <striness@HIDDEN>
This patch series adds ajam, a variant of the Jam build tool pre-patched for
use with Argyllcms, and then adds Argyllcms, a Color Management System capable
of creating color profiles for scanners, cameras, displays, and printers.
I've verified that at least targen seems to work.
I wasn't sure where to put argyllcms, so for now I put it in (gnu packages
ghostscript) because that's where lcms is.
Note that there was some discussion surrounding Jam's license earlier. I
don't believe that has concluded yet, but it seems likely that it will end up
classified as Free.
Ulf Herrman (2):
gnu: Add ajam.
gnu: Add argyllcms.
gnu/local.mk | 2 +
gnu/packages/build-tools.scm | 30 ++
gnu/packages/ghostscript.scm | 78 ++++
.../patches/ajam-add-unistd-include.patch | 37 ++
.../patches/argyllcms-prepare-Jamtop.patch | 356 ++++++++++++++++++
5 files changed, 503 insertions(+)
create mode 100644 gnu/packages/patches/ajam-add-unistd-include.patch
create mode 100644 gnu/packages/patches/argyllcms-prepare-Jamtop.patch
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: striness@HIDDEN Subject: bug#68337: Acknowledgement ([PATCH 0/2] Add ajam and argyllcms) Message-ID: <handler.68337.B.17047747286083.ack <at> debbugs.gnu.org> References: <cover.1704773652.git.striness@HIDDEN> X-Gnu-PR-Message: ack 68337 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 68337 <at> debbugs.gnu.org Date: Tue, 09 Jan 2024 04:33:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 68337 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 68337: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68337 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: [bug#68337] [PATCH 1/2] gnu: Add ajam.
Resent-From: striness@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 09 Jan 2024 04:38:02 +0000
Resent-Message-ID: <handler.68337.B68337.17047750366644 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68337
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 68337 <at> debbugs.gnu.org
Cc: Ulf Herrman <striness@HIDDEN>
Received: via spool by 68337-submit <at> debbugs.gnu.org id=B68337.17047750366644
(code B ref 68337); Tue, 09 Jan 2024 04:38:02 +0000
Received: (at 68337) by debbugs.gnu.org; 9 Jan 2024 04:37:16 +0000
Received: from localhost ([127.0.0.1]:38047 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rN3rX-0001j6-Ps
for submit <at> debbugs.gnu.org; Mon, 08 Jan 2024 23:37:16 -0500
Received: from tilde.club ([2607:5300:203:b92b::114]:48504 ident=postfix)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <striness@HIDDEN>) id 1rN3rV-0001iy-O1
for 68337 <at> debbugs.gnu.org; Mon, 08 Jan 2024 23:37:14 -0500
Received: by tilde.club (Postfix, from userid 5378)
id ADA41226F39B5; Tue, 9 Jan 2024 04:37:06 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club ADA41226F39B5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail;
t=1704775026; bh=nogF3/drYpYsENWwZDmF+nDmOPiv1cfCHzsaxFh4lNs=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=FkNmPvdnuJmgjlVOtk60c6/vFeDZeSaDQuBU5TmMP0rCVSptqMJowzqC43PMtVRIb
1qjz1zlru7aYZS6W9AfzVcHhQWyMzPNEw1FYjhXTGxbzQW8qaUQj9napkQoWjacNBq
YlsDG8qkqlRIs6DKeRoAALNk0Ih81hagJwrDfYjE=
From: striness@HIDDEN
Date: Mon, 8 Jan 2024 22:35:43 -0600
Message-ID: <b4b1f270b19077af52ec087d781c46d93ae28677.1704773652.git.striness@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1704773652.git.striness@HIDDEN>
References: <cover.1704773652.git.striness@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
From: Ulf Herrman <striness@HIDDEN>
* gnu/packages/build-tools.scm (ajam): New variable.
* gnu/packages/patches/ajam-add-unistd-include.patch: New patch.
* gnu/local.mk (dist_patch_DATA): register it.
Change-Id: I6f093b3c215199d3a19bab66d77af3d2e79b3749
---
gnu/local.mk | 1 +
gnu/packages/build-tools.scm | 30 +++++++++++++++
.../patches/ajam-add-unistd-include.patch | 37 +++++++++++++++++++
3 files changed, 68 insertions(+)
create mode 100644 gnu/packages/patches/ajam-add-unistd-include.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 533b32a00b..436308c241 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -907,6 +907,7 @@ dist_patch_DATA =3D \
%D%/packages/patches/agda-stdlib-use-runhaskell.patch \
%D%/packages/patches/agg-am_c_prototype.patch \
%D%/packages/patches/agg-2.5-gcc8.patch \
+ %D%/packages/patches/ajam-add-unistd-include.patch \
%D%/packages/patches/akonadi-paths.patch \
%D%/packages/patches/akonadi-not-relocatable.patch \
%D%/packages/patches/akonadi-timestamps.patch \
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 9e6ed6eec6..89fe9d903e 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -290,6 +290,36 @@ (define-public gn
;; X11 license.
(license (list license:bsd-3 license:x11)))))
=20
+(define-public ajam
+ (package
+ (name "ajam")
+ (version "2.5.2-1.3.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.argyllcms.com/jam-" version=
".tgz"))
+ (sha256
+ (base32
+ "09nadmqidbci0p0mlf7aw199yhc93n6028xq01vajklmsy5pdhsp"))
+ (patches
+ (search-patches "ajam-add-unistd-include.patch"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-/bin/sh
+ (lambda _
+ (substitute* "execunix.c"
+ (("\"/bin/sh\"")
+ (string-append "\"" (which "sh") "\"")))))
+ (add-before 'configure 'set-CC
+ (lambda _
+ (setenv "CC" "gcc"))))))
+ (home-page "https://www.argyllcms.com/doc/Compiling.html")
+ (synopsis "Jam build tool prepatched for use in Argyllcms")
+ (description "Jam build tool prepatched for use in Argyllcms")
+ (license (license:non-copyleft "file://README.ORG"))))
+
(define-public meson
(package
(name "meson")
diff --git a/gnu/packages/patches/ajam-add-unistd-include.patch b/gnu/packa=
ges/patches/ajam-add-unistd-include.patch
new file mode 100644
index 0000000000..8c66f77b94
--- /dev/null
+++ b/gnu/packages/patches/ajam-add-unistd-include.patch
@@ -0,0 +1,37 @@
+diff --git a/execunix.c b/execunix.c
+index 3ae4c76..469f8d7 100755
+--- a/execunix.c
++++ b/execunix.c
+@@ -38,6 +38,8 @@
+ * 12/27/02 (seiwald) - grist .bat file with pid for system uniqueness=0D
+ */=0D
+ =0D
++#include <unistd.h>=0D
++#include <sys/wait.h>=0D
+ # include "jam.h"=0D
+ # include "lists.h"=0D
+ # include "execcmd.h"=0D
+diff --git a/fileunix.c b/fileunix.c
+index 4c9a5a6..871b752 100755
+--- a/fileunix.c
++++ b/fileunix.c
+@@ -33,6 +33,7 @@
+ * 12/30/02 (seiwald) - skip solaris' empty archive member names (/, //xx=
x)=0D
+ */=0D
+ =0D
++# include <unistd.h>=0D
+ # include "jam.h"=0D
+ # include "filesys.h"=0D
+ # include "pathsys.h"=0D
+diff --git a/make1.c b/make1.c
+index 3f7f14a..66e61d1 100755
+--- a/make1.c
++++ b/make1.c
+@@ -49,6 +49,7 @@
+ * 12/03/02 (seiwald) - fix odd includes support by grafting them onto de=
pends=0D
+ */=0D
+ =0D
++# include <unistd.h>=0D
+ # include "jam.h"=0D
+ =0D
+ # include "lists.h"=0D
--=20
2.41.0
X-Loop: help-debbugs@HIDDEN
Subject: [bug#68337] [PATCH 2/2] gnu: Add argyllcms.
Resent-From: striness@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 09 Jan 2024 04:46:02 +0000
Resent-Message-ID: <handler.68337.B68337.170477553012111 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 68337
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 68337 <at> debbugs.gnu.org
Cc: Ulf Herrman <striness@HIDDEN>
Received: via spool by 68337-submit <at> debbugs.gnu.org id=B68337.170477553012111
(code B ref 68337); Tue, 09 Jan 2024 04:46:02 +0000
Received: (at 68337) by debbugs.gnu.org; 9 Jan 2024 04:45:30 +0000
Received: from localhost ([127.0.0.1]:38059 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1rN3zU-00037H-GH
for submit <at> debbugs.gnu.org; Mon, 08 Jan 2024 23:45:30 -0500
Received: from tilde.club ([142.44.150.184]:38230 ident=postfix)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <striness@HIDDEN>) id 1rN3zP-0002wz-N3
for 68337 <at> debbugs.gnu.org; Mon, 08 Jan 2024 23:45:26 -0500
Received: by tilde.club (Postfix, from userid 5378)
id 0D5FB226F39B5; Tue, 9 Jan 2024 04:45:16 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 tilde.club 0D5FB226F39B5
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.club; s=mail;
t=1704775516; bh=/EvqwvsCERbHrIMvs0pZVDftvXoTw+4Ma0aw6MARx+k=;
h=From:To:Cc:Subject:Date:In-Reply-To:References:From;
b=atDhs5uRwTVOX9UyQqBY22b9b9i71+yy2cZgsLN0Z2H0mw3S+/Mz+uemu1ZRfADZW
fRx9uF/riOHTt7n1idReOPBDYjzWTdlyma5+pdlpAfaqDeNbOfO+KdaFbIkY74pa2d
EeZT4Y4HBY75sp8tln5zYJMQ2v+G1okrdCJTRiMQ=
From: striness@HIDDEN
Date: Mon, 8 Jan 2024 22:35:44 -0600
Message-ID: <795597a93647eaa153610dbab6860faa874b863b.1704773652.git.striness@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <cover.1704773652.git.striness@HIDDEN>
References: <cover.1704773652.git.striness@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
From: Ulf Herrman <striness@HIDDEN>
* gnu/packages/ghostscript.scm (argyllcms): New variable.
* gnu/packages/patches/argyllcms-prepare-Jamtop.patch: New patch.
* gnu/local.mk (dist_patch_DATA): register it.
Change-Id: I1ef7c9f7379a76d111aba9c75f0aa3bf9cbd0f07
---
gnu/local.mk | 1 +
gnu/packages/ghostscript.scm | 78 ++++
.../patches/argyllcms-prepare-Jamtop.patch | 356 ++++++++++++++++++
3 files changed, 435 insertions(+)
create mode 100644 gnu/packages/patches/argyllcms-prepare-Jamtop.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 436308c241..418d98d517 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -922,6 +922,7 @@ dist_patch_DATA = \
%D%/packages/patches/aoflagger-use-system-provided-pybind11.patch \
%D%/packages/patches/apr-fix-atomics.patch \
%D%/packages/patches/apr-skip-getservbyname-test.patch \
+ %D%/packages/patches/argyllcms-prepare-Jamtop.patch \
%D%/packages/patches/ark-skip-xar-test.patch \
%D%/packages/patches/arpack-ng-propagate-rng-state.patch \
%D%/packages/patches/asli-use-system-libs.patch \
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 502b41bb99..e2ac7024a0 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -29,6 +29,7 @@
(define-module (gnu packages ghostscript)
#:use-module (gnu packages)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages compression)
#:use-module (gnu packages cups)
#:use-module (gnu packages fontutils)
@@ -38,6 +39,7 @@ (define-module (gnu packages ghostscript)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages tcl)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages xorg)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
@@ -73,6 +75,82 @@ (define-public lcms
(home-page "https://www.littlecms.com/")
(properties '((cpe-name . "little_cms_color_engine")))))
+(define-public argyllcms
+ (package
+ (name "argyllcms")
+ (version "3.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://argyllcms.com/Argyll_V"
+ version "_src.zip"))
+ (sha256
+ (base32
+ "1jyd1qgs396z9hc0vvh376sh1vznfj9yql73ajdfgpf6gcfmmpag"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; No tests?
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; These modifications are specific to guix, so patch in a phase
+ ;; instead of a snippet.
+ (add-after 'unpack 'fix-Jamtop
+ (lambda _
+ (invoke "patch"
+ "--force" "--no-backup-if-mismatch" "--input"
+ #+(local-file
+ (search-patch "argyllcms-prepare-Jamtop.patch")))))
+ (replace 'configure
+ (lambda _
+ (setenv "CC" "gcc")))
+ (replace 'build
+ (lambda* (#:key (make-flags '()) (parallel-build? #t)
+ #:allow-other-keys)
+ (apply invoke "jam" (string-append "PREFIX=" #$output)
+ `(,@(if parallel-build?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags))))
+ (replace 'check
+ (lambda* (#:key target (make-flags '()) (tests? (not target))
+ (test-target "check") (parallel-tests? #t)
+ #:allow-other-keys)
+ (if tests?
+ (apply invoke "jam" test-target
+ `(,@(if parallel-tests?
+ `("-j" ,(number->string (parallel-job-count)))
+ '())
+ ,@make-flags))
+ (format #t "test suite not run~%"))))
+ (replace 'install
+ (lambda* (#:key (make-flags '()) #:allow-other-keys)
+ (apply invoke "jam" "install" "DESTDIR="
+ ;; For some reason it strips a leading /
+ (string-append "PREFIX=/" #$output) make-flags))))))
+ (inputs
+ (list libx11
+ libxdmcp
+ libxext
+ libxxf86vm
+ libxinerama
+ libxrandr
+ libxscrnsaver
+ libtiff
+ libjpeg-turbo
+ libpng
+ openssl
+ zlib))
+ (native-inputs (list ajam unzip))
+ (home-page "https://www.argyllcms.com")
+ (synopsis "ICC compatible color management system.")
+ (description "ArgyllCMS is an ICC compatible color management system,
+available as Open Source. It supports accurate ICC profile creation for
+scanners, cameras and film recorders, and calibration and profiling of
+displays and RGB, CMY & CMYK printers.")
+ (license license:agpl3)))
+
+
(define-public libpaper
(package
(name "libpaper")
diff --git a/gnu/packages/patches/argyllcms-prepare-Jamtop.patch b/gnu/packages/patches/argyllcms-prepare-Jamtop.patch
new file mode 100644
index 0000000000..6fa09e9e2a
--- /dev/null
+++ b/gnu/packages/patches/argyllcms-prepare-Jamtop.patch
@@ -0,0 +1,356 @@
+diff --git a/Jamtop b/Jamtop
+index 55854fd..2b1089e 100755
+--- a/Jamtop
++++ b/Jamtop
+@@ -77,65 +77,68 @@ USE_USBDK = false ; # [false]
+
+ # Information for compiling and linking GUI programs
+
+-if $(UNIX) {
+- if $(OS) = MACOSX {
+- LINKFLAGS += -framework IOKit ;
+- LINKFLAGS += -framework CoreFoundation ;
+- LINKFLAGS += -framework AppKit ;
+- LINKFLAGS += -framework AudioToolbox ;
+-
+- # Hmm. Would be nice to use pkg-config here, if system has it.
+- } else {
+- if [ GLOB /usr/X11R6/include/X11 : X.h ] {
+- LibWinH = /usr/X11R6/include ;
+- } else if [ GLOB /usr/include/X11 : X.h ] {
+- LibWinH = /usr/include ;
+- } else if [ GLOB /usr/local/include/X11 : X.h ] {
+- LibWinH = /usr/local/include ;
+- } else {
+- EXIT Unable to locate the X11 include files ;
+- }
+-
+- if $(HOST64) {
+- if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/X11R6/lib ;
+- } else if [ GLOB /usr/lib/x86_64-linux-gnu : libX11.so libX11.a ] {
+- LibWinD = /usr/lib/x86_64-linux-gnu ;
+- } else if [ GLOB /usr/lib64 : libX11.so libX11.a ] {
+- LibWinD = /usr/lib64 ;
+- } else if [ GLOB /usr/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/lib ;
+- } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/local/lib ;
+- } else {
+- ECHO Unable to locate the 64 bit X11 library files ;
+- }
+- } else {
+- if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/X11R6/lib ;
+- } else if [ GLOB /usr/lib/i386-linux-gnu : libX11.so libX11.a ] {
+- LibWinD = /usr/lib/i386-linux-gnu ;
+- } else if [ GLOB /usr/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/lib ;
+- } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] {
+- LibWinD = /usr/local/lib ;
+- } else {
+- ECHO Unable to locate the 32 bit X11 library files ;
+- }
+- }
+- if $(OS) = FREEBSD {
+- LINKFLAGS += -g -lrt -lusb ;
+- GUILINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ;
+- } else if $(OS) = OPENBSD {
+- LINKFLAGS += ;
+- GUILINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -L/usr/local/lib ;
+- } else {
+- LINKFLAGS += -ldl -lrt ;
+- GUILINKFLAGS += -L$(LibWinD) -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ;
+- }
+- # HDRS += $(LibWinH) ;
+- }
+-}
++LINKFLAGS += -ldl -lrt ;
++GUILINKFLAGS += -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ;
++
++# if $(UNIX) {
++# if $(OS) = MACOSX {
++# LINKFLAGS += -framework IOKit ;
++# LINKFLAGS += -framework CoreFoundation ;
++# LINKFLAGS += -framework AppKit ;
++# LINKFLAGS += -framework AudioToolbox ;
++
++# # Hmm. Would be nice to use pkg-config here, if system has it.
++# } else {
++# if [ GLOB /usr/X11R6/include/X11 : X.h ] {
++# LibWinH = /usr/X11R6/include ;
++# } else if [ GLOB /usr/include/X11 : X.h ] {
++# LibWinH = /usr/include ;
++# } else if [ GLOB /usr/local/include/X11 : X.h ] {
++# LibWinH = /usr/local/include ;
++# } else {
++# EXIT Unable to locate the X11 include files ;
++# }
++
++# if $(HOST64) {
++# if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] {
++# LibWinD = /usr/X11R6/lib ;
++# } else if [ GLOB /usr/lib/x86_64-linux-gnu : libX11.so libX11.a ] {
++# LibWinD = /usr/lib/x86_64-linux-gnu ;
++# } else if [ GLOB /usr/lib64 : libX11.so libX11.a ] {
++# LibWinD = /usr/lib64 ;
++# } else if [ GLOB /usr/lib : libX11.so libX11.a ] {
++# LibWinD = /usr/lib ;
++# } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] {
++# LibWinD = /usr/local/lib ;
++# } else {
++# ECHO Unable to locate the 64 bit X11 library files ;
++# }
++# } else {
++# if [ GLOB /usr/X11R6/lib : libX11.so libX11.a ] {
++# LibWinD = /usr/X11R6/lib ;
++# } else if [ GLOB /usr/lib/i386-linux-gnu : libX11.so libX11.a ] {
++# LibWinD = /usr/lib/i386-linux-gnu ;
++# } else if [ GLOB /usr/lib : libX11.so libX11.a ] {
++# LibWinD = /usr/lib ;
++# } else if [ GLOB /usr/local/lib : libX11.so libX11.a ] {
++# LibWinD = /usr/local/lib ;
++# } else {
++# ECHO Unable to locate the 32 bit X11 library files ;
++# }
++# }
++# if $(OS) = FREEBSD {
++# LINKFLAGS += -g -lrt -lusb ;
++# GUILINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ;
++# } else if $(OS) = OPENBSD {
++# LINKFLAGS += ;
++# GUILINKFLAGS += -L$(LibWinD) -g -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss -L/usr/local/lib ;
++# } else {
++# LINKFLAGS += -ldl -lrt ;
++# GUILINKFLAGS += -L$(LibWinD) -lX11 -lXext -lXxf86vm -lXinerama -lXrandr -lXau -lXdmcp -lXss ;
++# }
++# # HDRS += $(LibWinH) ;
++# }
++# }
+
+ # Standard system library support:
+
+@@ -146,113 +149,117 @@ rule CheckForLibrary {
+ lcase = $(<:L) ;
+ libname = $(lcase) ;
+ subd = "" ;
+-
+- if $(>) {
+- libname = $(>) ;
+- }
+-
+- if $(3) {
+- subd = $(3) ;
+- }
+-
+- if ! $(BUILTIN_$(UCASE)) && $(UNIX) {
+- if [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/local/include$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/x86_64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/alpha-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/aarch64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/arm-linux-gnueabi$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/arm-linux-gnueabihf$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/hppa-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/i386-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/x86_64-kfreebsd-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/i386-kfreebsd-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/loongarch64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/m68k-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/mips-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/mipsel-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/mips64el-linux-gnuabi64$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/powerpc-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/powerpc-linux-gnuspe$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/powerpc64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/powerpc64le-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/riscv64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/s390x-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/sh4-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/sparc-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/sparc64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
+- || [ GLOB /usr/include/x86_64-linux-gnux32$(subd) : $(lcase).h $(lcase)lib.h ] {
+- if [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ]
+- || [ GLOB /usr/local/lib : lib$(lcase).so ]
+- || [ GLOB /usr/local/lib : lib$(lcase).a ]
+- || [ GLOB /usr/lib64 : lib$(lcase).so ]
+- || [ GLOB /usr/lib64 : lib$(lcase).a ]
+- || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/alpha-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/alpha-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/aarch64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/aarch64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/arm-linux-gnueabi : lib$(lcase).so ]
+- || [ GLOB /usr/lib/arm-linux-gnueabi : lib$(lcase).a ]
+- || [ GLOB /usr/lib/arm-linux-gnueabihf : lib$(lcase).so ]
+- || [ GLOB /usr/lib/arm-linux-gnueabihf : lib$(lcase).a ]
+- || [ GLOB /usr/lib/hppa-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/hppa-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/i386-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/i386-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/i386-kfreebsd-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/i386-kfreebsd-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/loongarch64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/loongarch64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/m68k-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/m68k-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/mips-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/mips-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/mipsel-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/mipsel-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/mips64el-linux-gnuabi64 : lib$(lcase).so ]
+- || [ GLOB /usr/lib/mips64el-linux-gnuabi64 : lib$(lcase).a ]
+- || [ GLOB /usr/lib/powerpc-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/powerpc-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/powerpc-linux-gnuspe : lib$(lcase).so ]
+- || [ GLOB /usr/lib/powerpc-linux-gnuspe : lib$(lcase).a ]
+- || [ GLOB /usr/lib/powerpc64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/powerpc64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/powerpc64le-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/powerpc64le-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/riscv64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/riscv64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/s390x-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/s390x-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/sh4-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/sh4-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/sparc-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/sparc-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/sparc64-linux-gnu : lib$(lcase).so ]
+- || [ GLOB /usr/lib/sparc64-linux-gnu : lib$(lcase).a ]
+- || [ GLOB /usr/lib/x86_64-linux-gnux32 : lib$(lcase).so ]
+- || [ GLOB /usr/lib/x86_64-linux-gnux32 : lib$(lcase).a ] {
+- echo "Using system $(UCASE) library" ;
+- $(UCASE)LIB = ;
+- $(UCASE)INC = ;
+- LINKFLAGS += $(LINKFLAG)$(lcase) ;
+- HAVE_$(UCASE) = true ;
+- }
+- }
+- }
++ $(UCASE)LIB = ;
++ $(UCASE)INC = ;
++ LINKFLAGS += $(LINKFLAG)$(lcase) ;
++ HAVE_$(UCASE) = true ;
++
++ # if $(>) {
++ # libname = $(>) ;
++ # }
++
++ # if $(3) {
++ # subd = $(3) ;
++ # }
++
++ # if ! $(BUILTIN_$(UCASE)) && $(UNIX) {
++ # if [ GLOB /usr/include$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/local/include$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/x86_64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/i386-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/alpha-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/aarch64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/arm-linux-gnueabi$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/arm-linux-gnueabihf$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/hppa-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/i386-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/x86_64-kfreebsd-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/i386-kfreebsd-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/loongarch64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/m68k-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/mips-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/mipsel-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/mips64el-linux-gnuabi64$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/powerpc-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/powerpc-linux-gnuspe$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/powerpc64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/powerpc64le-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/riscv64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/s390x-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/sh4-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/sparc-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/sparc64-linux-gnu$(subd) : $(lcase).h $(lcase)lib.h ]
++ # || [ GLOB /usr/include/x86_64-linux-gnux32$(subd) : $(lcase).h $(lcase)lib.h ] {
++ # if [ GLOB /usr/lib : lib$(lcase).so ] || [ GLOB /usr/lib : lib$(lcase).a ]
++ # || [ GLOB /usr/local/lib : lib$(lcase).so ]
++ # || [ GLOB /usr/local/lib : lib$(lcase).a ]
++ # || [ GLOB /usr/lib64 : lib$(lcase).so ]
++ # || [ GLOB /usr/lib64 : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/x86_64-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/i386-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/alpha-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/alpha-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/aarch64-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/aarch64-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/arm-linux-gnueabi : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/arm-linux-gnueabi : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/arm-linux-gnueabihf : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/arm-linux-gnueabihf : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/hppa-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/hppa-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/i386-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/i386-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/x86_64-kfreebsd-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/i386-kfreebsd-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/i386-kfreebsd-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/loongarch64-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/loongarch64-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/m68k-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/m68k-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/mips-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/mips-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/mipsel-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/mipsel-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/mips64el-linux-gnuabi64 : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/mips64el-linux-gnuabi64 : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/powerpc-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/powerpc-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/powerpc-linux-gnuspe : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/powerpc-linux-gnuspe : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/powerpc64-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/powerpc64-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/powerpc64le-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/powerpc64le-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/riscv64-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/riscv64-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/s390x-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/s390x-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/sh4-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/sh4-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/sparc-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/sparc-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/sparc64-linux-gnu : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/sparc64-linux-gnu : lib$(lcase).a ]
++ # || [ GLOB /usr/lib/x86_64-linux-gnux32 : lib$(lcase).so ]
++ # || [ GLOB /usr/lib/x86_64-linux-gnux32 : lib$(lcase).a ] {
++ # echo "Using system $(UCASE) library" ;
++ # $(UCASE)LIB = ;
++ # $(UCASE)INC = ;
++ # LINKFLAGS += $(LINKFLAG)$(lcase) ;
++ # HAVE_$(UCASE) = true ;
++ # }
++ # }
++ # }
+
+- # If nothing else, use Argyll supplied $(UCASE) library
+- if ! $(HAVE_$(UCASE)) || $(BUILTIN_$(UCASE)) {
+- echo "Using Argyll $(UCASE) library" ;
+- $(UCASE)LIB = ../$(libname)/lib$(lcase).lib ;
+- $(UCASE)INC = ../$(libname) ;
+- }
++ # # If nothing else, use Argyll supplied $(UCASE) library
++ # if ! $(HAVE_$(UCASE)) || $(BUILTIN_$(UCASE)) {
++ # echo "Using Argyll $(UCASE) library" ;
++ # $(UCASE)LIB = ../$(libname)/lib$(lcase).lib ;
++ # $(UCASE)INC = ../$(libname) ;
++ # }
+ }
+
+ # See if we have a system TIFF, JPEG, PNG or ZLIB library.
--
2.41.0
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.