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
8910eaaa
Commit
8910eaaa
authored
2 years ago
by
Kazuhiko Shiozaki
Committed by
Jérome Perrin
9 months ago
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
0cf73199
Changes
2
Show 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 @
8910eaaa
...
...
@@ -26,7 +26,7 @@ configure-options =
--without-so
--without-x
--with-drivers=FILES
--with-tessdata=$(
python
-c 'print("""${:tessdata-location}""".replace("//", "/"))')
--with-tessdata=$(
${buildout:executable}
-c 'print("""${:tessdata-location}""".replace("//", "/"))')
environment =
PATH=${patch:location}/bin:${pkgconfig:location}/bin:${xz-utils:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${:pkg_config_depends}
...
...
This diff is collapsed.
Click to expand it.
component/tesseract/buildout.cfg
View file @
8910eaaa
...
...
@@ -28,7 +28,7 @@ pre-configure =
autoreconf -ivf -I${pkgconfig:location}/share/aclocal -I${libtool:location}/share/aclocal -Wno-portability
# XXX workaround path on slaprunner with a double slash
# 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 =
PATH=${pkgconfig:location}/bin:${autoconf:location}/bin:${automake:location}/bin:${libtool:location}/bin:${m4:location}/bin:${patch:location}/bin:%(PATH)s
...
...
This diff is collapsed.
Click to expand it.
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