Package Details: epsonscan2 6.7.70.0-3

Git Clone URL: https://aur.archlinux.org/epsonscan2.git (read-only, click to copy)
Package Base: epsonscan2
Description: Epson scanner management utility
Upstream URL: http://support.epson.net/linux/en/epsonscan2.php
Licenses: GPL-3.0-or-later
Submitter: tecnotercio
Maintainer: tecnotercio
Last Packager: tecnotercio
Votes: 13
Popularity: 0.78
First Submitted: 2020-11-20 05:34 (UTC)
Last Updated: 2025-04-12 22:05 (UTC)

Pinned Comments

tecnotercio commented on 2022-09-05 03:32 (UTC)

If you have a problem with Epson Scan 2, check if you need to install another backend for your scanner. More information on the Arch Linux wiki:

https://wiki.archlinux.org/title/SANE/Scanner-specific_problems#Epson

Latest Comments

1 2 3 4 5 6 Next › Last »

jan666 commented on 2025-04-22 21:54 (UTC)

@Psheng

I can confirm that your github clone with those patches is working great! App starts without any complain and finds my scanner (previous installs before this startup error didn't so they added old scanners)

App seems to be working well although not fully tested jet

Psheng commented on 2025-04-22 16:46 (UTC) (edited on 2025-04-22 16:46 (UTC) by Psheng)

@jan666

Disclaimer: I don't use archlinux!

You can clone this repository of mine

  • git clone https://github.com/shenghuang147/aur_epsonscan2.git

  • cd aur_epsonscan2

  • makepkg -si

Also you should make sure that this patch fixes the problem before requesting the maintainer to add it.

jan666 commented on 2025-04-21 14:39 (UTC)

@Psheng I'm not sure how to do that, it would have been nice if the maintainer added your patch as it seems to be a solution needed to add

@tecnotercio would you be so kind to include the patch by psheng?

Psheng commented on 2025-04-19 20:48 (UTC) (edited on 2025-04-22 19:05 (UTC) by Psheng)

@jan666 You can try loading my patch at 0005-Fix-crash-no-serial-number.patch and then rebuild. This should solve the problem.

jan666 commented on 2025-04-19 20:04 (UTC)

Compiling went well but if i start epsonscan2 it terminates immediately with this error:

terminate called after throwing an instance of 'std::logic_error' what(): basic_string: construction from null is not valid

So not usable

tb0n3 commented on 2025-04-12 00:24 (UTC)

CMake has had a major version change and old cmake scripts aren't working and need to be updated.

Pafrape commented on 2025-04-02 08:07 (UTC)

Error during installation. When I try to install the application, it fails and I get the following error message:

ATTENTION : Utilisation de l’arbre $srcdir/ existant ==> Lancement de build()… CMake Warning (dev) at CMakeLists.txt:19 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:21 (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.

-- Configuring incomplete, errors occurred! ==> ERREUR : Une erreur s’est produite dans build(). Abandon… -> erreur lors de la compilation de : epsonscan2-exit status 4 -> Échec de l'installation des paquets suivants. Une intervention manuelle est requise : epsonscan2 - exit status 4

Psheng commented on 2025-03-27 09:29 (UTC) (edited on 2025-04-22 19:06 (UTC) by Psheng)

@ElNick You can try my patch. 0005-Fix-crash-no-serial-number.patch

Specific reasons see: epsonscan2-6-7-70-basic_string-construction-from-null-is-not-valid-error

tecnotercio commented on 2025-03-16 02:01 (UTC)

@datame and @TheKingofRavens, I've adjusted PKGBUILD with your suggestions. Thank you!

TheKingofRavens commented on 2025-03-12 01:51 (UTC) (edited on 2025-03-12 01:56 (UTC) by TheKingofRavens)

To remove the boost references a little easier, you can download manually, run makepkg, let it fail, then edit the files. This AI made sh script will help.

#!/bin/bash

# Find all files that contain the reference
echo "Searching for files containing BOOST_NO_CXX11_RVALUE_REFERENCES=1..."

# Process CMakeLists.txt files to remove add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
find src -name "CMakeLists.txt" -type f -exec grep -l "BOOST_NO_CXX11_RVALUE_REFERENCES=1" {} \; | while read file; do
    echo "Processing $file"
    # Replace the line with add_definitions or remove it completely if it's the only definition
    sed -i 's/add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)//g' "$file"
    sed -i 's/add_definitions(\(.*\)-DBOOST_NO_CXX11_RVALUE_REFERENCES=1\(.*\))/add_definitions(\1\2)/g' "$file"
    # Clean up any empty add_definitions() that might be left
    sed -i 's/add_definitions()//g' "$file"
    # Clean up any double spaces or empty lines
    sed -i 's/  / /g' "$file"
    sed -i '/^$/d' "$file"
done

# Process flags.make files
find src -name "flags.make" -type f -exec grep -l "BOOST_NO_CXX11_RVALUE_REFERENCES=1" {} \; | while read file; do
    echo "Processing $file"
    # Replace BOOST_NO_CXX11_RVALUE_REFERENCES=1 in defines lines
    sed -i 's/-DBOOST_NO_CXX11_RVALUE_REFERENCES=1 //g' "$file"
    sed -i 's/ -DBOOST_NO_CXX11_RVALUE_REFERENCES=1//g' "$file"
done

# Process DependInfo.cmake files
find src -name "DependInfo.cmake" -type f -exec grep -l "BOOST_NO_CXX11_RVALUE_REFERENCES=1" {} \; | while read file; do
    echo "Processing $file"
    # Remove lines containing just this define
    sed -i '/  "BOOST_NO_CXX11_RVALUE_REFERENCES=1"/d' "$file"
done

# Process AutogenInfo.json and similar files
find src -name "AutogenInfo.json" -o -name "AutogenInfo.cmake" -o -name "AutomocOldMocDefinitions.cmake" -type f -exec grep -l "BOOST_NO_CXX11_RVALUE_REFERENCES=1" {} \; | while read file; do
    echo "Processing $file"
    # Replace the flag in JSON files
    sed -i 's/"BOOST_NO_CXX11_RVALUE_REFERENCES=1",//g' "$file"
    sed -i 's/"BOOST_NO_CXX11_RVALUE_REFERENCES=1;//g' "$file"
    sed -i 's/BOOST_NO_CXX11_RVALUE_REFERENCES=1;//g' "$file"
done

# Process source and header files with direct #define statements
echo "Processing C/C++ source and header files..."
find src -name "*.cpp" -o -name "*.hpp" -o -name "*.h" -o -name "*.c" -type f -exec grep -l "BOOST_NO_CXX11_RVALUE_REFERENCES 1" {} \; | while read file; do
    echo "Processing C/C++ file $file"
    # Remove the #define line
    sed -i '/#define BOOST_NO_CXX11_RVALUE_REFERENCES 1/d' "$file"
done

echo "Completed. All references to BOOST_NO_CXX11_RVALUE_REFERENCES=1 have been removed."

# Optional: Verify that references have been removed
echo "Verifying removal..."
echo "Checking for both formats of the definition..."
found_references=0

# Check first format (with equals sign)
echo "Checking format: BOOST_NO_CXX11_RVALUE_REFERENCES=1"
if grep -r "BOOST_NO_CXX11_RVALUE_REFERENCES=1" src; then
    found_references=1
fi

# Check second format (with space)
echo "Checking format: BOOST_NO_CXX11_RVALUE_REFERENCES 1"
if grep -r "BOOST_NO_CXX11_RVALUE_REFERENCES 1" src; then
    found_references=1
fi

if [ $found_references -eq 1 ]; then
    echo "Warning: Some references might remain. Check the output above."
else
    echo "Success: All references have been removed!"
fi

After, use makepkg -si --noextract to install without undoing your work.