Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
5c0b8f4a
Commit
5c0b8f4a
authored
Oct 06, 2022
by
Kazuhiko Shiozaki
Committed by
Jérome Perrin
Nov 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/tesseract: do not hardcode python executable name for the case where only python3 exists.
parent
6408654a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
component/ghostscript/buildout.cfg
component/ghostscript/buildout.cfg
+1
-1
component/tesseract/buildout.cfg
component/tesseract/buildout.cfg
+1
-1
No files found.
component/ghostscript/buildout.cfg
View file @
5c0b8f4a
...
@@ -26,7 +26,7 @@ configure-options =
...
@@ -26,7 +26,7 @@ configure-options =
--without-so
--without-so
--without-x
--without-x
--with-drivers=FILES
--with-drivers=FILES
--with-tessdata=$(
python
-c 'print("""${:tessdata-location}""".replace("//", "/"))')
--with-tessdata=$(
${buildout:executable}
-c 'print("""${:tessdata-location}""".replace("//", "/"))')
environment =
environment =
PATH=${patch:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PATH=${patch:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
PKG_CONFIG_PATH=${:pkg_config_depends}
...
...
component/tesseract/buildout.cfg
View file @
5c0b8f4a
...
@@ -28,7 +28,7 @@ pre-configure =
...
@@ -28,7 +28,7 @@ pre-configure =
autoreconf -ivf -I${pkgconfig:location}/share/aclocal -I${libtool:location}/share/aclocal -Wno-portability
autoreconf -ivf -I${pkgconfig:location}/share/aclocal -I${libtool:location}/share/aclocal -Wno-portability
# XXX workaround path on slaprunner with a double slash
# XXX workaround path on slaprunner with a double slash
# https://github.com/tesseract-ocr/tesseract/issues/3527
# https://github.com/tesseract-ocr/tesseract/issues/3527
configure-options = --prefix=$(
python
-c 'print("""@@LOCATION@@""".replace("//", "/"))')
configure-options = --prefix=$(
${buildout:executable}
-c 'print("""@@LOCATION@@""".replace("//", "/"))')
environment =
environment =
PATH=${pkgconfig:location}/bin:${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:${patch:location}/bin:%(PATH)s
PATH=${pkgconfig:location}/bin:${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:${patch:location}/bin:%(PATH)s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment