Package Details: xsane 0.999-7

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: 22
Popularity: 4.46
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 2025-01-14 10:05 (UTC)

@sowieso It builds for me. Anyway, gtk2 is going to be dropped upstream. Look here
https://gitlab.com/sane-project/frontend/xsane/-/issues/66

sowieso commented on 2025-01-13 12:07 (UTC) (edited on 2025-01-13 12:07 (UTC) by sowieso)

For me it complained about gcc, patch, and make not being installed, maybe add it as build-dependency. In the end it failed with

ERROR: GTK-1.2.0 or newer is needed for compiling xsane
       if you installed gtk as rpm make sure you also included
       gtk-devel

though.

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"