xsane-gimp doesn't build/work with Gimp 3.0, it's upstream issue, xsane-gimp project is outdated, no more maintained. I think that's why it was removed from official repo.
Search Criteria
Package Details: xsane-gimp 0.999-7
Package Actions
Git Clone URL: | https://aur.archlinux.org/xsane.git (read-only, click to copy) |
---|---|
Package Base: | xsane |
Description: | XSane Gimp plugin |
Upstream URL: | https://gitlab.com/sane-project/frontend/xsane |
Licenses: | GPL2 |
Submitter: | gromit |
Maintainer: | Dreick |
Last Packager: | Dreick |
Votes: | 13 |
Popularity: | 6.58 |
First Submitted: | 2024-08-13 11:22 (UTC) |
Last Updated: | 2024-08-14 00:54 (UTC) |
Dependencies (8)
- gimp (gimp-develAUR, gimp-devel-noconflictAUR, gimp-gitAUR)
- xsaneAUR (xsane-gitAUR)
- gimp (gimp-develAUR, gimp-devel-noconflictAUR, gimp-gitAUR) (make)
- gtk2 (gtk2-maemoAUR, gtk2-patched-filechooser-icon-viewAUR) (make)
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR) (make)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo) (make)
- sane (sane-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR) (make)
Sources (6)
maderios commented on 2024-09-01 14:47 (UTC)
loqy commented on 2024-08-28 03:30 (UTC)
Is the patch forgetting to set HAVE_LIBLCMS2
?
0165-xsane-0.999-lcms2.patch
:
+/* Define if you have liblcms2. */
+#undef HAVE_LIBLCMS2
When I change undef to define it builds successfully.
loqy commented on 2024-08-28 03:14 (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.
maderios commented on 2024-08-27 19:28 (UTC)
@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
loqy commented on 2024-08-27 06:01 (UTC)
I had lcms2 installed while building. I have lcms2.h
in /usr/include/lcms2.h
Dreick commented on 2024-08-25 14:04 (UTC) (edited on 2024-08-25 14:04 (UTC) by Dreick)
@loqy This is listed in the 'makedepends'. As mentioned bleow, you need lcms2 to build it.
maderios commented on 2024-08-25 08:07 (UTC)
It builds fine for me. lcms2 is needed
loqy commented on 2024-08-25 07:54 (UTC) (edited on 2024-08-25 07:54 (UTC) by loqy)
Fails to build for me:
xsane.h:76:12: fatal error: lcms.h: No such file or directory
76 | # include "lcms.h"
Pinned Comments
Dreick commented on 2024-08-14 00:49 (UTC)
Added a patch to make it build again