Package Details: sane-frontends 1.0.14-9

Git Clone URL: https://aur.archlinux.org/sane-frontends.git (read-only, click to copy)
Package Base: sane-frontends
Description: A set of frontends for SANE.
Upstream URL: http://www.sane-project.org
Licenses: GPL
Submitter: arojas
Maintainer: None
Last Packager: arojas
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-01 18:37 (UTC)
Last Updated: 2022-04-01 18:37 (UTC)

Latest Comments

1 2 Next › Last »

Muflone commented on 2026-08-11 19:00 (UTC)

@cactusd do you plan to maintain this package? There's a pending orphan request

soupersauce commented on 2026-07-26 00:59 (UTC) (edited on 2026-07-26 01:00 (UTC) by soupersauce)

Using the updated PKGBUILD provided by dreieck causes the build to fail with configure: error: C compiler cannot create executables See `config.log' for more details. ==> ERROR: A failure occurred in build().

simona commented on 2026-07-20 00:02 (UTC)

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

dreieck commented on 2026-07-19 21:38 (UTC)

Fixed PKGBUILD, also with added provides and conflicts entries:

# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=sane-frontends
pkgver=1.0.14
pkgrel=10
pkgdesc="A set of frontends for SANE."
arch=('i686' 'x86_64')
url="http://www.sane-project.org"
license=('GPL-2.0-or-later')
depends=(
  'sane'
  'glibc'
  'libgobject-2.0.so'
  'libglib-2.0.so'
  'libgdk-x11-2.0.so'
  'libgtk-x11-2.0.so'
)
makedepends=(
  'gtk2'
  'glib2'
)
provices=(
  "scanadf=${pkgver}"
  "xcam=${pkgver}"
  "xscanimage=${pkgver}"
)
conflicts=(
  "scanadf"
  "xcam"
  "xscanimage"
)
source=("https://alioth-archive.debian.org/releases/sane/sane-frontends/${pkgver}/sane-frontends-${pkgver}.tar.gz" MissingCapsFlag.patch)
md5sums=('c63bf7b0bb5f530cf3c08715db721cd3' '770f66e0534953f6129e1fc03d88ae01')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  _CFLAGSADDITIONS='-Wno-implicit-function-declaration -Wno-error=implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-error=builtin-declaration-mismatch -Wno-incompatible-pointer-types -Wno-error=incompatible-pointer-types -Wno-return-type -Wno-error=return-type -Wno-switch -Wno-error=switch -Wno-deprecated-declarations -Wno-error=deprecated-declarations -Wno-unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-pointer-sign -Wno-error=pointer-sign -Wno-unused-result -Wno-error=unused-result -Wno-format -Wno-error=format -Wno-unused-function -Wno-error=unused-function -Wno-stringop-overflow -Wno-error=stringop-overflow'
  CFLAGS+=" ${_CFLAGSADDITIONS}"
  export CFLAGS

  patch -p0 < ../MissingCapsFlag.patch
  ./configure --prefix=/usr --mandir=/usr/share/man --enable-guis --enable-gtk2 --disable-gimp --disable-gimp12
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

diff:

--- PKGBUILD.orig   2026-07-19 23:31:45.109618721 +0200
+++ PKGBUILD    2026-07-19 23:37:44.266271367 +0200
@@ -5,8 +5,29 @@
 pkgver=1.0.14
-pkgrel=9
+pkgrel=10
 pkgdesc="A set of frontends for SANE."
-arch=(x86_64)
+arch=('i686' 'x86_64')
 url="http://www.sane-project.org"
-license=('GPL')
-depends=('sane' 'gimp' 'libjpeg')
+license=('GPL-2.0-or-later')
+depends=(
+  'sane'
+  'glibc'
+  'libgobject-2.0.so'
+  'libglib-2.0.so'
+  'libgdk-x11-2.0.so'
+  'libgtk-x11-2.0.so'
+)
+makedepends=(
+  'gtk2'
+  'glib2'
+)
+provices=(
+  "scanadf=${pkgver}"
+  "xcam=${pkgver}"
+  "xscanimage=${pkgver}"
+)
+conflicts=(
+  "scanadf"
+  "xcam"
+  "xscanimage"
+)
 source=("https://alioth-archive.debian.org/releases/sane/sane-frontends/${pkgver}/sane-frontends-${pkgver}.tar.gz" MissingCapsFlag.patch)
@@ -16,4 +37,9 @@
   cd "$srcdir/$pkgname-$pkgver"
+
+  _CFLAGSADDITIONS='-Wno-implicit-function-declaration -Wno-error=implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-error=builtin-declaration-mismatch -Wno-incompatible-pointer-types -Wno-error=incompatible-pointer-types -Wno-return-type -Wno-error=return-type -Wno-switch -Wno-error=switch -Wno-deprecated-declarations -Wno-error=deprecated-declarations -Wno-unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-pointer-sign -Wno-error=pointer-sign -Wno-unused-result -Wno-error=unused-result -Wno-format -Wno-error=format -Wno-unused-function -Wno-error=unused-function -Wno-stringop-overflow -Wno-error=stringop-overflow'
+  CFLAGS+=" ${_CFLAGSADDITIONS}"
+  export CFLAGS
+
   patch -p0 < ../MissingCapsFlag.patch
-  ./configure --prefix=/usr --mandir=/usr/share/man
+  ./configure --prefix=/usr --mandir=/usr/share/man --enable-guis --enable-gtk2 --disable-gimp --disable-gimp12
   make

Regards!

dreieck commented on 2026-07-19 21:31 (UTC)

libjpeg*-dependency also seems that it can be dropped completely.

dreieck commented on 2026-07-19 21:27 (UTC) (edited on 2026-07-19 21:27 (UTC) by dreieck)

gimp plugin is no longer built (too new gimp version). gimp can thus be removed from depends array.

gtk2 needs to be added, though.

dreieck commented on 2026-07-19 21:25 (UTC) (edited on 2026-07-19 21:26 (UTC) by dreieck)

You need to add

  _CFLAGSADDITIONS='-Wno-implicit-function-declaration -Wno-error=implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-error=builtin-declaration-mismatch -Wno-incompatible-pointer-types -Wno-error=incompatible-pointer-types -Wno-return-type -Wno-error=return-type -Wno-switch -Wno-error=switch -Wno-deprecated-declarations -Wno-error=deprecated-declarations -Wno-unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-pointer-sign -Wno-error=pointer-sign -Wno-unused-result -Wno-error=unused-result -Wno-format -Wno-error=format -Wno-unused-function -Wno-error=unused-function -Wno-stringop-overflow -Wno-error=stringop-overflow'
  CFLAGS+=" ${_CFLAGSADDITIONS}"
  export CFLAGS

to build() to mitigate the previously reported ./configure error and subsequent errors in further build process.

dreieck commented on 2026-07-19 21:08 (UTC)

Trying to build this fails for me with

[...]
checking for ranlib... ranlib
checking for sane-config... /usr/bin/sane-config
checking for SANE - version >= 1.0.0... no
*** Could not run SANE test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SANE or finding the wrong
*** version of SANE. If it is not finding SANE, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location.  Also, make sure you have run ldconfig if that
*** is required on your system.
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
**********************************************************************
ERROR: Couldn't find SANE libraries (sane-backends). Possible reasons:
     - sane-backends isn't installed (install sane-backends before
       sane-frontends)
     - the SANE header files aren't installed (if you installed
       SANE as RPM make sure you also included the sane-devel RPM)
     - the SANE libraries can't be found because /usr/local/lib/ isn't
       searched by the dynamic linker (see INSTALL for details)
**********************************************************************

make: *** No targets specified and no makefile found.  Stop.
==> ERROR: A failure occurred in build().

Package sane version 1.4.0-4 is installed.

Regards!

dreieck commented on 2026-07-19 21:06 (UTC)

libjpeg-turbo does no longer provide libjpeg.

Please change dependency libjpeg to libjpeg.so, and add libjpeg-turbo to makedepends array.

Regards and thanks for maintaining!