aboutsummaryrefslogtreecommitdiff
path: root/graphics/epsonscan2
diff options
context:
space:
mode:
authorJ.R. Oldroyd <fbsd@opal.com>2025-02-14 20:38:05 +0000
committerVladimir Druzenko <vvd@FreeBSD.org>2025-02-14 20:40:35 +0000
commit27cd1370ef419d407ad1e74dced9fc96b89edcca (patch)
tree84ea11143d45618ab7d8a285ab11e8669ff8437c /graphics/epsonscan2
parentabff0fc56af55ccdb9aa409e7a0b37618f12ecb7 (diff)
Diffstat (limited to 'graphics/epsonscan2')
-rw-r--r--graphics/epsonscan2/Makefile3
-rw-r--r--graphics/epsonscan2/files/patch-src_CommonUtility_ESCommonTypedef.h10
-rw-r--r--graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_DependInfo.cmake12
-rw-r--r--graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_flags.make11
-rw-r--r--graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeLists.txt11
-rw-r--r--graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_DependInfo.cmake22
-rw-r--r--graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_flags.make18
-rw-r--r--graphics/epsonscan2/files/patch-src_Controller_CMakeLists.txt13
-rw-r--r--graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_Key.hpp10
-rw-r--r--graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_KeyMgr.hpp10
-rw-r--r--graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_DependInfo.cmake22
-rw-r--r--graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_flags.make18
-rw-r--r--graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeLists.txt11
-rw-r--r--graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_DependInfo.cmake10
-rw-r--r--graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_flags.make11
-rw-r--r--graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeLists.txt11
-rw-r--r--graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_DependInfo.cmake12
-rw-r--r--graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_flags.make11
-rw-r--r--graphics/epsonscan2/files/patch-src_ScanSDK_CMakeLists.txt11
-rw-r--r--graphics/epsonscan2/files/patch-src_ScanSDK_Src_SDK_SCANSDKsample__C++_CMakeLists.txt11
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_DependInfo.cmake10
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_flags.make11
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutogenInfo.cmake11
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutomocOldMocDefinitions.cmake5
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_CMakeLists.txt11
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_defaultsettings.cpp10
-rw-r--r--graphics/epsonscan2/files/patch-src_Standalone_lastusedsettings.cpp10
27 files changed, 310 insertions, 6 deletions
diff --git a/graphics/epsonscan2/Makefile b/graphics/epsonscan2/Makefile
index 78c1afa9c042..78ff6e2a7c55 100644
--- a/graphics/epsonscan2/Makefile
+++ b/graphics/epsonscan2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= epsonscan2
DISTVERSION= 6.7.70.0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://download3.ebz.epson.net/dsc/f/03/00/16/14/37/7577ee65efdad48ee2d2f38d9eda75418e490552/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.src
@@ -11,8 +12,6 @@ WWW= https://download.ebz.epson.net/man/linux/epsonscan2_e.html
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN= fails to build with Boost>=1.87
-
BUILD_DEPENDS= sane-config:graphics/sane-backends
LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \
libpng.so:graphics/png \
diff --git a/graphics/epsonscan2/files/patch-src_CommonUtility_ESCommonTypedef.h b/graphics/epsonscan2/files/patch-src_CommonUtility_ESCommonTypedef.h
new file mode 100644
index 000000000000..28b79c3957bb
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_CommonUtility_ESCommonTypedef.h
@@ -0,0 +1,10 @@
+--- src/CommonUtility/ESCommonTypedef.h.orig 2024-09-12 07:10:37 UTC
++++ src/CommonUtility/ESCommonTypedef.h
+@@ -28,7 +28,6 @@
+ #endif
+ #include <string>
+ #include <sstream>
+-#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
+ #include <boost/any.hpp>
+ #include <unordered_map>
+ #include <map>
diff --git a/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_DependInfo.cmake b/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_DependInfo.cmake
new file mode 100644
index 000000000000..db4373ec9342
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_DependInfo.cmake
@@ -0,0 +1,12 @@
+--- src/CommonUtility/Linux/CMakeFiles/commonutility.dir/DependInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/CommonUtility/Linux/CMakeFiles/commonutility.dir/DependInfo.cmake
+@@ -20,9 +20,6 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
+ set(CMAKE_CXX_COMPILER_ID "GNU")
+
+ # Preprocessor definitions for this target.
+-set(CMAKE_TARGET_DEFINITIONS_CXX
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+- )
+
+ # The include file search paths:
+ set(CMAKE_CXX_TARGET_INCLUDE_PATH
diff --git a/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_flags.make b/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_flags.make
new file mode 100644
index 000000000000..20df6e340e0d
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeFiles_commonutility.dir_flags.make
@@ -0,0 +1,11 @@
+--- src/CommonUtility/Linux/CMakeFiles/commonutility.dir/flags.make.orig 2024-09-12 07:10:30 UTC
++++ src/CommonUtility/Linux/CMakeFiles/commonutility.dir/flags.make
+@@ -4,7 +4,7 @@ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+ # compile CXX with /usr/bin/c++
+ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+
+-CXX_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -Dcommonutility_EXPORTS
++CXX_DEFINES = -Dcommonutility_EXPORTS
+
+ CXX_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/CommonUtility/Linux/.. -I/home/build/shokaku/trunk/epsonscan2/src/CommonUtility/Linux/../.. -I/home/build/shokaku/trunk/epsonscan2/src/CommonUtility/Linux/../../../thirdparty/rapidjson/include
+
diff --git a/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeLists.txt
new file mode 100644
index 000000000000..600feb45fde8
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_CommonUtility_Linux_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/CommonUtility/Linux/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
++++ src/CommonUtility/Linux/CMakeLists.txt
+@@ -19,8 +19,6 @@ PROJECT(commonutility)
+ # プロジェクト名
+ PROJECT(commonutility)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ # ビルドするためにインクルードするヘッダーファイルの場所
+ INCLUDE_DIRECTORIES(
+ ../
diff --git a/graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_DependInfo.cmake b/graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_DependInfo.cmake
new file mode 100644
index 000000000000..63c9fd36e7f5
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_DependInfo.cmake
@@ -0,0 +1,22 @@
+--- src/Controller/CMakeFiles/epsonscan2.dir/DependInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/Controller/CMakeFiles/epsonscan2.dir/DependInfo.cmake
+@@ -82,9 +82,6 @@ set(CMAKE_C_COMPILER_ID "GNU")
+ set(CMAKE_C_COMPILER_ID "GNU")
+
+ # Preprocessor definitions for this target.
+-set(CMAKE_TARGET_DEFINITIONS_C
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+- )
+
+ # The include file search paths:
+ set(CMAKE_C_TARGET_INCLUDE_PATH
+@@ -177,9 +174,6 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
+ set(CMAKE_CXX_COMPILER_ID "GNU")
+
+ # Preprocessor definitions for this target.
+-set(CMAKE_TARGET_DEFINITIONS_CXX
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+- )
+
+ # The include file search paths:
+ set(CMAKE_CXX_TARGET_INCLUDE_PATH
diff --git a/graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_flags.make b/graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_flags.make
new file mode 100644
index 000000000000..343423f7a5f2
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Controller_CMakeFiles_epsonscan2.dir_flags.make
@@ -0,0 +1,18 @@
+--- src/Controller/CMakeFiles/epsonscan2.dir/flags.make.orig 2024-09-12 07:10:30 UTC
++++ src/Controller/CMakeFiles/epsonscan2.dir/flags.make
+@@ -5,13 +5,13 @@ C_FLAGS = -g -O0 -fPIC
+ # compile CXX with /usr/bin/c++
+ C_FLAGS = -g -O0 -fPIC
+
+-C_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -Depsonscan2_EXPORTS
++C_DEFINES = -Depsonscan2_EXPORTS
+
+ C_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/Controller/.. -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Include -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Finder -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Scanner -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/ModelInfo -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Transfer -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/KeysValues -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/KeysValues/All -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Filter -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/FileFormat -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../../thirdparty/HaruPDF/include -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../../thirdparty/HaruPDF/zlib -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../CommonUtility/utils -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../CommonUtility -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../Include -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../Include/Controller -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../../thirdparty/sha1 -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/KeysValues/All/TextEnhance
+
+ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+
+-CXX_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -Depsonscan2_EXPORTS
++CXX_DEFINES = -Depsonscan2_EXPORTS
+
+ CXX_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/Controller/.. -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Include -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Finder -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Scanner -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/ModelInfo -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Transfer -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/KeysValues -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/KeysValues/All -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/Filter -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/FileFormat -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../../thirdparty/HaruPDF/include -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../../thirdparty/HaruPDF/zlib -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../CommonUtility/utils -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../CommonUtility -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../Include -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../Include/Controller -I/home/build/shokaku/trunk/epsonscan2/src/Controller/../../thirdparty/sha1 -I/home/build/shokaku/trunk/epsonscan2/src/Controller/./Src/KeysValues/All/TextEnhance
+
diff --git a/graphics/epsonscan2/files/patch-src_Controller_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_Controller_CMakeLists.txt
index c796f5d5e903..7eea8347f308 100644
--- a/graphics/epsonscan2/files/patch-src_Controller_CMakeLists.txt
+++ b/graphics/epsonscan2/files/patch-src_Controller_CMakeLists.txt
@@ -1,6 +1,15 @@
--- src/Controller/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
+++ src/Controller/CMakeLists.txt
-@@ -171,21 +171,6 @@ ADD_LIBRARY(epsonscan2 SHARED
+@@ -24,8 +24,6 @@ PROJECT(epsonscan2)
+
+ PROJECT(epsonscan2)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ INCLUDE_DIRECTORIES(
+ ../
+ ./Include
+@@ -171,21 +169,6 @@ ADD_LIBRARY(epsonscan2 SHARED
../../thirdparty/HaruPDF/hpdf_exdata.c
../../thirdparty/HaruPDF/hpdf_encoder_utf.c
@@ -22,7 +31,7 @@
../../thirdparty/sha1/sha1.c
)
-@@ -194,7 +179,7 @@ target_link_libraries( epsonscan2
+@@ -194,7 +177,7 @@ target_link_libraries( epsonscan2
dl
commonutility
${Boost_LIBRARIES}
diff --git a/graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_Key.hpp b/graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_Key.hpp
new file mode 100644
index 000000000000..5027c3a41cb9
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_Key.hpp
@@ -0,0 +1,10 @@
+--- src/Controller/Src/KeysValues/Key.hpp.orig 2024-09-12 07:10:34 UTC
++++ src/Controller/Src/KeysValues/Key.hpp
+@@ -21,7 +21,6 @@
+ #include "EpsonScan2.h"
+ #include "KeyDataProvider.hpp"
+ #include <ESCommonTypedef.h>
+-#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
+ #include <boost/any.hpp>
+ #include <memory>
+ namespace epsonscan {
diff --git a/graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_KeyMgr.hpp b/graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_KeyMgr.hpp
new file mode 100644
index 000000000000..32c9e660baa4
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Controller_Src_KeysValues_KeyMgr.hpp
@@ -0,0 +1,10 @@
+--- src/Controller/Src/KeysValues/KeyMgr.hpp.orig 2024-09-12 07:10:34 UTC
++++ src/Controller/Src/KeysValues/KeyMgr.hpp
+@@ -18,7 +18,6 @@
+ #pragma once
+
+
+-#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
+ #include <ESCommonTypedef.h>
+ #include "EpsonScan2.h"
+ #include "KeyDataProvider.hpp"
diff --git a/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_DependInfo.cmake b/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_DependInfo.cmake
new file mode 100644
index 000000000000..274fdc6817c5
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_DependInfo.cmake
@@ -0,0 +1,22 @@
+--- src/ES2Command/Linux/CMakeFiles/es2command.dir/DependInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/ES2Command/Linux/CMakeFiles/es2command.dir/DependInfo.cmake
+@@ -10,9 +10,6 @@ set(CMAKE_C_COMPILER_ID "GNU")
+ set(CMAKE_C_COMPILER_ID "GNU")
+
+ # Preprocessor definitions for this target.
+-set(CMAKE_TARGET_DEFINITIONS_C
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+- )
+
+ # The include file search paths:
+ set(CMAKE_C_TARGET_INCLUDE_PATH
+@@ -53,9 +50,6 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
+ set(CMAKE_CXX_COMPILER_ID "GNU")
+
+ # Preprocessor definitions for this target.
+-set(CMAKE_TARGET_DEFINITIONS_CXX
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+- )
+
+ # The include file search paths:
+ set(CMAKE_CXX_TARGET_INCLUDE_PATH
diff --git a/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_flags.make b/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_flags.make
new file mode 100644
index 000000000000..9ca0cfadc67a
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeFiles_es2command.dir_flags.make
@@ -0,0 +1,18 @@
+--- src/ES2Command/Linux/CMakeFiles/es2command.dir/flags.make.orig 2024-09-12 07:10:30 UTC
++++ src/ES2Command/Linux/CMakeFiles/es2command.dir/flags.make
+@@ -5,13 +5,13 @@ C_FLAGS = -g -O0 -fPIC
+ # compile CXX with /usr/bin/c++
+ C_FLAGS = -g -O0 -fPIC
+
+-C_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -Des2command_EXPORTS
++C_DEFINES = -Des2command_EXPORTS
+
+ C_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../../../thirdparty/rapidjson/include -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../.. -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../../Include/ES2Command -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../Src
+
+ CXX_FLAGS = -g -std=c++11 -Wno-multichar -O0 -fPIC
+
+-CXX_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -Des2command_EXPORTS
++CXX_DEFINES = -Des2command_EXPORTS
+
+ CXX_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../../../thirdparty/rapidjson/include -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../.. -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../../Include/ES2Command -I/home/build/shokaku/trunk/epsonscan2/src/ES2Command/Linux/../Src
+
diff --git a/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeLists.txt
index 1688c380ebe7..171fa96c768a 100644
--- a/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeLists.txt
+++ b/graphics/epsonscan2/files/patch-src_ES2Command_Linux_CMakeLists.txt
@@ -1,6 +1,15 @@
--- src/ES2Command/Linux/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
+++ src/ES2Command/Linux/CMakeLists.txt
-@@ -78,7 +78,7 @@ target_link_libraries( es2command
+@@ -19,8 +19,6 @@ PROJECT(es2command)
+ # プロジェクト名
+ PROJECT(es2command)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+ endif(COMMAND cmake_policy)
+@@ -78,7 +76,7 @@ target_link_libraries( es2command
dl
commonutility
${Boost_LIBRARIES}
diff --git a/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_DependInfo.cmake b/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_DependInfo.cmake
new file mode 100644
index 000000000000..a6429bdd13ea
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_DependInfo.cmake
@@ -0,0 +1,10 @@
+--- src/SaneWrapper/Linux/CMakeFiles/sane-epsonscan2.dir/DependInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/SaneWrapper/Linux/CMakeFiles/sane-epsonscan2.dir/DependInfo.cmake
+@@ -17,7 +17,6 @@ set(CMAKE_TARGET_DEFINITIONS_CXX
+
+ # Preprocessor definitions for this target.
+ set(CMAKE_TARGET_DEFINITIONS_CXX
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+ "BUILDSANE=1"
+ )
+
diff --git a/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_flags.make b/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_flags.make
new file mode 100644
index 000000000000..d52fa8ad6347
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeFiles_sane-epsonscan2.dir_flags.make
@@ -0,0 +1,11 @@
+--- src/SaneWrapper/Linux/CMakeFiles/sane-epsonscan2.dir/flags.make.orig 2024-09-12 07:10:30 UTC
++++ src/SaneWrapper/Linux/CMakeFiles/sane-epsonscan2.dir/flags.make
+@@ -4,7 +4,7 @@ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+ # compile CXX with /usr/bin/c++
+ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+
+-CXX_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -DBUILDSANE=1 -Dsane_epsonscan2_EXPORTS
++CXX_DEFINES = -DBUILDSANE=1 -Dsane_epsonscan2_EXPORTS
+
+ CXX_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/SaneWrapper/Linux/.. -I/home/build/shokaku/trunk/epsonscan2/src/SaneWrapper/Linux/../.. -I/home/build/shokaku/trunk/epsonscan2/src/SaneWrapper/Linux/../../Standalone -I/home/build/shokaku/trunk/epsonscan2/src/SaneWrapper/Linux/../../bin -I/home/build/shokaku/trunk/epsonscan2/src/SaneWrapper/Linux/../../CommonUtility -I/home/build/shokaku/trunk/epsonscan2/src/SaneWrapper/Linux/../../CommonUtility/utils
+
diff --git a/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeLists.txt
new file mode 100644
index 000000000000..ae83cd4baae4
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_SaneWrapper_Linux_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/SaneWrapper/Linux/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
++++ src/SaneWrapper/Linux/CMakeLists.txt
+@@ -19,8 +19,6 @@ PROJECT(sane-epsonscan2)
+ # プロジェクト名
+ PROJECT(sane-epsonscan2)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+ endif(COMMAND cmake_policy)
diff --git a/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_DependInfo.cmake b/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_DependInfo.cmake
new file mode 100644
index 000000000000..9dc88cd57b16
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_DependInfo.cmake
@@ -0,0 +1,12 @@
+--- src/ScanSDK/CMakeFiles/epsonscansdk.dir/DependInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/ScanSDK/CMakeFiles/epsonscansdk.dir/DependInfo.cmake
+@@ -17,9 +17,6 @@ set(CMAKE_CXX_COMPILER_ID "GNU")
+ set(CMAKE_CXX_COMPILER_ID "GNU")
+
+ # Preprocessor definitions for this target.
+-set(CMAKE_TARGET_DEFINITIONS_CXX
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+- )
+
+ # The include file search paths:
+ set(CMAKE_CXX_TARGET_INCLUDE_PATH
diff --git a/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_flags.make b/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_flags.make
new file mode 100644
index 000000000000..512a5ea5512d
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeFiles_epsonscansdk.dir_flags.make
@@ -0,0 +1,11 @@
+--- src/ScanSDK/CMakeFiles/epsonscansdk.dir/flags.make.orig 2024-09-12 07:10:30 UTC
++++ src/ScanSDK/CMakeFiles/epsonscansdk.dir/flags.make
+@@ -4,7 +4,7 @@ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+ # compile CXX with /usr/bin/c++
+ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+
+-CXX_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -Depsonscansdk_EXPORTS
++CXX_DEFINES = -Depsonscansdk_EXPORTS
+
+ CXX_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK/.. -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK/../.. -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK/../../.. -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK/../Include -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK/../CommonUtility -I/home/build/shokaku/trunk/epsonscan2/src/ScanSDK/../CommonUtility/utils
+
diff --git a/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeLists.txt
new file mode 100644
index 000000000000..55170f94c6e7
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ScanSDK_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/ScanSDK/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
++++ src/ScanSDK/CMakeLists.txt
+@@ -21,8 +21,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ INCLUDE_DIRECTORIES(
+ ../
+ ../../
diff --git a/graphics/epsonscan2/files/patch-src_ScanSDK_Src_SDK_SCANSDKsample__C++_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_ScanSDK_Src_SDK_SCANSDKsample__C++_CMakeLists.txt
new file mode 100644
index 000000000000..6a794f4d458b
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_ScanSDK_Src_SDK_SCANSDKsample__C++_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- src/ScanSDK/Src/SDK/SCANSDKsample_C++/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
++++ src/ScanSDK/Src/SDK/SCANSDKsample_C++/CMakeLists.txt
+@@ -28,8 +28,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ INCLUDE_DIRECTORIES(
+ )
+
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_DependInfo.cmake b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_DependInfo.cmake
new file mode 100644
index 000000000000..647300534dc7
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_DependInfo.cmake
@@ -0,0 +1,10 @@
+--- src/Standalone/CMakeFiles/es2standalone.dir/DependInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/Standalone/CMakeFiles/es2standalone.dir/DependInfo.cmake
+@@ -117,7 +117,6 @@ set(CMAKE_TARGET_DEFINITIONS_CXX
+
+ # Preprocessor definitions for this target.
+ set(CMAKE_TARGET_DEFINITIONS_CXX
+- "BOOST_NO_CXX11_RVALUE_REFERENCES=1"
+ "QT_CORE_LIB"
+ "QT_GUI_LIB"
+ "QT_WIDGETS_LIB"
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_flags.make b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_flags.make
new file mode 100644
index 000000000000..aef68d825d82
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone.dir_flags.make
@@ -0,0 +1,11 @@
+--- src/Standalone/CMakeFiles/es2standalone.dir/flags.make.orig 2024-09-12 07:10:30 UTC
++++ src/Standalone/CMakeFiles/es2standalone.dir/flags.make
+@@ -4,7 +4,7 @@ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+ # compile CXX with /usr/bin/c++
+ CXX_FLAGS = -g -std=c++11 -O0 -fPIC
+
+-CXX_DEFINES = -DBOOST_NO_CXX11_RVALUE_REFERENCES=1 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB
++CXX_DEFINES = -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB
+
+ CXX_INCLUDES = -I/home/build/shokaku/trunk/epsonscan2/src/Standalone -I/home/build/shokaku/trunk/epsonscan2/src/Standalone/.. -I/home/build/shokaku/trunk/epsonscan2/src/Standalone/../.. -I/home/build/shokaku/trunk/epsonscan2/src/Standalone/../../.. -I/home/build/shokaku/trunk/epsonscan2/src/Standalone/../Include -I/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility -I/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility/utils -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64
+
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutogenInfo.cmake b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutogenInfo.cmake
new file mode 100644
index 000000000000..dbdc1798414f
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutogenInfo.cmake
@@ -0,0 +1,11 @@
+--- src/Standalone/CMakeFiles/es2standalone_automoc.dir/AutogenInfo.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/Standalone/CMakeFiles/es2standalone_automoc.dir/AutogenInfo.cmake
+@@ -4,7 +4,7 @@ set(AM_HEADERS "" )
+ set(AM_SKIP_MOC "" )
+ set(AM_SKIP_UIC "" )
+ set(AM_HEADERS "" )
+-set(AM_MOC_COMPILE_DEFINITIONS "BOOST_NO_CXX11_RVALUE_REFERENCES=1;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB")
++set(AM_MOC_COMPILE_DEFINITIONS "QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB")
+ set(AM_MOC_INCLUDES "/home/build/shokaku/trunk/epsonscan2/src/Standalone;/home/build/shokaku/trunk/epsonscan2/src/Standalone/..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../../..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../Include;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility/utils;/usr/include/x86_64-linux-gnu/qt5;/usr/include/x86_64-linux-gnu/qt5/QtWidgets;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64;/usr/include")
+ set(AM_MOC_OPTIONS "")
+ set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "")
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutomocOldMocDefinitions.cmake b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutomocOldMocDefinitions.cmake
new file mode 100644
index 000000000000..816b77b54b63
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Standalone_CMakeFiles_es2standalone__automoc.dir_AutomocOldMocDefinitions.cmake
@@ -0,0 +1,5 @@
+--- src/Standalone/CMakeFiles/es2standalone_automoc.dir/AutomocOldMocDefinitions.cmake.orig 2024-09-12 07:10:30 UTC
++++ src/Standalone/CMakeFiles/es2standalone_automoc.dir/AutomocOldMocDefinitions.cmake
+@@ -1 +1 @@
+-set(AM_OLD_COMPILE_SETTINGS "BOOST_NO_CXX11_RVALUE_REFERENCES=1;QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB ~~~ /home/build/shokaku/trunk/epsonscan2/src/Standalone;/home/build/shokaku/trunk/epsonscan2/src/Standalone/..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../../..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../Include;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility/utils;/usr/include/x86_64-linux-gnu/qt5;/usr/include/x86_64-linux-gnu/qt5/QtWidgets;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64;/usr/include ~~~ ~~~ FALSE ~~~ ")
++set(AM_OLD_COMPILE_SETTINGS "QT_CORE_LIB;QT_GUI_LIB;QT_WIDGETS_LIB ~~~ /home/build/shokaku/trunk/epsonscan2/src/Standalone;/home/build/shokaku/trunk/epsonscan2/src/Standalone/..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../../..;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../Include;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility;/home/build/shokaku/trunk/epsonscan2/src/Standalone/../CommonUtility/utils;/usr/include/x86_64-linux-gnu/qt5;/usr/include/x86_64-linux-gnu/qt5/QtWidgets;/usr/include/x86_64-linux-gnu/qt5/QtGui;/usr/include/x86_64-linux-gnu/qt5/QtCore;/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64;/usr/include ~~~ ~~~ FALSE ~~~ ")
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_CMakeLists.txt b/graphics/epsonscan2/files/patch-src_Standalone_CMakeLists.txt
index 6b2982b952bc..37775f23a036 100644
--- a/graphics/epsonscan2/files/patch-src_Standalone_CMakeLists.txt
+++ b/graphics/epsonscan2/files/patch-src_Standalone_CMakeLists.txt
@@ -1,6 +1,15 @@
--- src/Standalone/CMakeLists.txt.orig 2024-09-12 07:10:30 UTC
+++ src/Standalone/CMakeLists.txt
-@@ -167,5 +167,5 @@ QT5_USE_MODULES(es2standalone Widgets)
+@@ -28,8 +28,6 @@ find_package(Qt5Widgets REQUIRED)
+ find_package(Qt5Gui REQUIRED)
+ find_package(Qt5Widgets REQUIRED)
+
+-add_definitions(-DBOOST_NO_CXX11_RVALUE_REFERENCES=1)
+-
+ INCLUDE_DIRECTORIES(
+ ../
+ ../../
+@@ -167,5 +165,5 @@ QT5_USE_MODULES(es2standalone Widgets)
)
QT5_USE_MODULES(es2standalone Widgets)
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_defaultsettings.cpp b/graphics/epsonscan2/files/patch-src_Standalone_defaultsettings.cpp
new file mode 100644
index 000000000000..0c2bed31a8fe
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Standalone_defaultsettings.cpp
@@ -0,0 +1,10 @@
+--- src/Standalone/defaultsettings.cpp.orig 2024-09-12 07:10:39 UTC
++++ src/Standalone/defaultsettings.cpp
+@@ -18,7 +18,6 @@
+
+ #include "defaultsettings.h"
+ #include <fstream>
+-#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
+ #include <boost/any.hpp>
+ #include <utils/PathUtils.h>
+ #if !(defined(NO_QTMODE) || defined(BUILDSANE))
diff --git a/graphics/epsonscan2/files/patch-src_Standalone_lastusedsettings.cpp b/graphics/epsonscan2/files/patch-src_Standalone_lastusedsettings.cpp
new file mode 100644
index 000000000000..1a96f35d4605
--- /dev/null
+++ b/graphics/epsonscan2/files/patch-src_Standalone_lastusedsettings.cpp
@@ -0,0 +1,10 @@
+--- src/Standalone/lastusedsettings.cpp.orig 2024-09-12 07:10:41 UTC
++++ src/Standalone/lastusedsettings.cpp
+@@ -17,7 +17,6 @@
+ // lastusedsettings.cpp -- template and derived ESC/I ESC/I-2 protocol commands
+
+ #include <fstream>
+-#define BOOST_NO_CXX11_RVALUE_REFERENCES 1
+ #include <boost/any.hpp>
+ #include <utils/PathUtils.h>
+ #ifndef NO_QTMODE