Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 185810 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-12 / +11 lines)
Line  Link Here
0
-- Jamrules.in
0
++ Jamrules.in
Lines 14-20 Link Here
14
nofst = @nofst@ ;
14
nofst = @nofst@ ;
15
noposix = @noposix@ ;
15
noposix = @noposix@ ;
16
16
17
prefix = @prefix@ ;
17
prefix = $(DESTDIR)@prefix@ ;
18
# autoconf incorrectly uses ${...} syntax, which Jam doesn't understand
18
# autoconf incorrectly uses ${...} syntax, which Jam doesn't understand
19
# this is a temporary workaround until we have figured out a better way
19
# this is a temporary workaround until we have figured out a better way
20
# to fix this
20
# to fix this
21
-- Jamfile
21
++ Jamfile
Lines 4-17 Link Here
4
    mkdir -p $(INSTALL_DIR)
4
    mkdir -p $(INSTALL_DIR)
5
    install $(TOP)/ocrocmd/ocrocmd $(INSTALL_DIR)/ocrocmd
5
    install $(TOP)/ocrocmd/ocrocmd $(INSTALL_DIR)/ocrocmd
6
    install $(TOP)/ocroscript/ocroscript $(INSTALL_DIR)/ocroscript
6
    install $(TOP)/ocroscript/ocroscript $(INSTALL_DIR)/ocroscript
7
    test -d $(OCRODATA) || mkdir $(OCRODATA)
7
    test -d $(OCRODATA) || mkdir -p $(OCRODATA)
8
    test -d $(OCRODATA)/words || mkdir $(OCRODATA)/words
8
    test -d $(OCRODATA)/words || mkdir -p $(OCRODATA)/words
9
    cp -v $(TOP)/data/words/* $(OCRODATA)/words
9
    cp -v $(TOP)/data/words/* $(OCRODATA)/words
10
    test -d $(OCRODATA)/models || mkdir $(OCRODATA)/models
10
    test -d $(OCRODATA)/models || mkdir -p $(OCRODATA)/models
11
    cp -v $(TOP)/data/models/* $(OCRODATA)/models
11
    cp -v $(TOP)/data/models/* $(OCRODATA)/models
12
    test -d $(OCROSCRIPTS) || mkdir $(OCROSCRIPTS)
12
    test -d $(OCROSCRIPTS) || mkdir -p $(OCROSCRIPTS)
13
    cp -v $(TOP)/ocroscript/scripts/*.lua $(OCROSCRIPTS)
13
    cp -v $(TOP)/ocroscript/scripts/*.lua $(OCROSCRIPTS)
14
    test -d $(OCROSCRIPTS)/lib || mkdir $(OCROSCRIPTS)/lib
14
    test -d $(OCROSCRIPTS)/lib || mkdir -p $(OCROSCRIPTS)/lib
15
    cp -v $(TOP)/ocroscript/scripts/lib/*.lua $(OCROSCRIPTS)/lib
15
    cp -v $(TOP)/ocroscript/scripts/lib/*.lua $(OCROSCRIPTS)/lib
16
}
16
}
17
17
18
-- ocrocmd/ocrocmd
18
++ ocrocmd/ocrocmd
Lines 1-4 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# This script is here just to shut up the automated tester.
2
export OCROSCRIPTS=/usr/share/ocropus/scripts
3
DIR=`dirname $0`/../ocroscript
3
exec ocroscript rec-tess "$@"
4
OCROSCRIPTS=$DIR/scripts $DIR/ocroscript rec-tess $@

Return to bug 185810