Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 203045 Details for
Bug 185810
app-text/ocropus (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text/ocropus-0.4-r1.ebuild ebuild working on x86 and amd64 compiling http://ocropus.googlecode.com/files/ocropus-0.4.tar.gz
ocropus-0.4-r1.ebuild (text/plain), 2.43 KB, created by
Daa Jaa
on 2009-09-03 13:00:00 UTC
(
hide
)
Description:
app-text/ocropus-0.4-r1.ebuild ebuild working on x86 and amd64 compiling http://ocropus.googlecode.com/files/ocropus-0.4.tar.gz
Filename:
MIME Type:
Creator:
Daa Jaa
Created:
2009-09-03 13:00:00 UTC
Size:
2.43 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils autotools > >if [[ ${PV##*.} == "9999" ]] ; then > ESVN_REPO_URI="http://ocropus.googlecode.com/svn/trunk" > inherit subversion >else > SRC_URI="http://ocropus.googlecode.com/files/${P}.tar.gz" >fi > >DESCRIPTION="state-of-the-art document analysis and OCR system based on tesseract" >HOMEPAGE="http://code.google.com/p/ocropus/" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="sdl lua openfst spell interactive" > >RDEPEND=">=app-text/tesseract-2 > media-libs/tiff > media-libs/libpng > media-libs/jpeg > sci-libs/gsl > >=media-libs/iulib-0.4 > spell? ( app-text/aspell ) > openfst? ( media-libs/OpenFst ) > lua? ( media-libs/leptonlib ) > interactive? ( dev-libs/libedit )" ># depedencies in ubuntu: build-essential imagemagick \ tesseract-ocr tesseract-ocr-dev \ libpng12-dev libjpeg62-dev libtiff4-dev libgif-dev \ libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl1.2-dev \ libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \ libavfilter-dev \ tesseract-ocr-dev libleptonica-dev \ libgsl0-dev libblas-dev \ python-dev swig1.3 > ># gcc-3.4 : WARN_DEPRECATED, et aussi sqrt(float) mal géré :-( template # ># <class T> T rowdist_euclidean(narray<T> &values,int i,narray<T> &v) { return ># (T)sqrt(rowdist_euclidean_squared(values,i,v)); } template <> float ># rowdist_euclidean(narray<float> &values,int i,narray<float> &v) { return ># (float)sqrt((double)(rowdist_euclidean_squared(values,i,v))); } dans ># /usr/include/colib/rowarrays.h > >DEPEND="${RDEPEND} > >=sys-devel/gcc-3.4 > dev-util/ftjam" > >S=${WORKDIR}/${P%.1}/ocropus > >src_unpack() { > unpack ${A} > #cd "${S}/.." > #mv "${S}" "iulib" > #mv "iulib/ocropus" "${S}" > cd "${S}" > epatch "${FILESDIR}"/genAM.py.patch > python ./genAM.py > Makefile.am > eautoreconf >} > >src_compile() { > # $(use_with ocroscript) > econf \ > --with-tesseract=/usr \ > --with-iulib=/usr \ > $(use_with openfst fst) \ > $(use_with spell aspell) \ > $(use_with sdl SDL) \ > $(use_with lua leptonica) \ > || die "econf failed" > emake || die ># jam || die "emake failed" >} > >src_test() { > cd "${S}/testing" > ./test-compile || die "Tests failed to compile" > ./test-run || die "At least one test failed" >} > >src_install() { > cd "${S}" > emake DESTDIR="${D}" install || die > dodoc CHANGES README > gunzip ${D}/usr/share/ocropus/models/default.fst.gz > dodir /usr/local/share > dosym ../../share/ocropus /usr/local/share/ocropus # ln -s >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 185810
:
125286
|
125294
|
163958
|
163959
|
170502
|
201538
|
201540
|
201545
|
201547
|
201821
|
201823
|
203042
|
203043
| 203045 |
203050
|
203051
|
203053
|
203059
|
203108
|
203111
|
208505
|
208506
|
231227
|
232215
|
232343
|
232345
|
232347
|
238081
|
293377
|
293413
|
294049
|
294051
|
294053
|
294055
|
294057
|
380022