Package Details: xsane-gimp 0.999-7

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: 4.94
First Submitted: 2024-08-13 11:22 (UTC)
Last Updated: 2024-08-14 00:54 (UTC)

Pinned Comments

Dreick commented on 2024-08-14 00:49 (UTC)

Added a patch to make it build again

Latest Comments

1 2 Next › Last »

maderios commented on 2024-09-01 14:47 (UTC)

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.

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"

gromit commented on 2024-08-17 07:35 (UTC)

https://gitlab.archlinux.org/archlinux/packaging/packages/xsane/-/issues/3