Of course I'm up to date. Look at the end of 0165-xsane-0.999-lcms2.patch
:
-# include "lcms.h"
+# ifdef HAVE_LIBLCMS2
+# include "lcms2.h"
+# else
+# include "lcms.h"
The preprocessor can't find lcms2, so it attempts to insert lcms instead.
Git Clone URL: | https://aur.archlinux.org/xsane.git (read-only, click to copy) |
---|---|
Package Base: | xsane |
Description: | A GTK-based X11 frontend for SANE and plugin for Gimp. |
Upstream URL: | https://gitlab.com/sane-project/frontend/xsane |
Licenses: | GPL2 |
Submitter: | gromit |
Maintainer: | Dreick |
Last Packager: | Dreick |
Votes: | 29 |
Popularity: | 1.63 |
First Submitted: | 2024-08-13 11:22 (UTC) |
Last Updated: | 2024-08-14 00:54 (UTC) |
Of course I'm up to date. Look at the end of 0165-xsane-0.999-lcms2.patch
:
-# include "lcms.h"
+# ifdef HAVE_LIBLCMS2
+# include "lcms2.h"
+# else
+# include "lcms.h"
The preprocessor can't find lcms2, so it attempts to insert lcms instead.
@loqy Your error message says 'lcms.h'. There is no lcms package in Arch distribution and lcms is not required for building. Update Arch system and source
I had lcms2 installed while building. I have lcms2.h
in /usr/include/lcms2.h
@loqy This is listed in the 'makedepends'. As mentioned bleow, you need lcms2 to build it.
It builds fine for me. lcms2 is needed
Fails to build for me:
xsane.h:76:12: fatal error: lcms.h: No such file or directory
76 | # include "lcms.h"
Added a patch to make it build again
Yes, this is why it was removed from the official repos and dropped to the AUR.
Pinned Comments
Dreick commented on 2024-08-14 00:49 (UTC)
Added a patch to make it build again