diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/yagf | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/yagf')
-rw-r--r-- | app-text/yagf/Manifest | 2 | ||||
-rw-r--r-- | app-text/yagf/metadata.xml | 30 | ||||
-rw-r--r-- | app-text/yagf/yagf-0.9.2.ebuild | 44 | ||||
-rw-r--r-- | app-text/yagf/yagf-0.9.3.2.ebuild | 60 |
4 files changed, 136 insertions, 0 deletions
diff --git a/app-text/yagf/Manifest b/app-text/yagf/Manifest new file mode 100644 index 000000000000..dccb57e30723 --- /dev/null +++ b/app-text/yagf/Manifest @@ -0,0 +1,2 @@ +DIST yagf-0.9.2.tar.gz 258305 SHA256 1099760462c029aa9919ef96809a1b0252d8d735d9d0807ce790f9d3e1e271b8 SHA512 7348b1611654e9478ef915a5c56f729495382e083bf99ad85284a19499027ad380f7781466aa6c21796859623ca3526ce0965f690c784aa2d459a22d201ef98f WHIRLPOOL b91ef8688801951fe780bdb6e005abd3b97ac42ab7f8d0e9b13ab83a7a163caa445d95b6668328ed1336137ca4bfb5391078347f06fd97ca1a3721b7a90db384 +DIST yagf-0.9.3.2.tar.gz 766396 SHA256 32dd2a60ac04f9b08ec06a4e2974fde2fe3af60238b6a1a8de5a0a29b6ead231 SHA512 79fd1f9fe3a6d10e568b46653d6afd8ef050b4dead58aea42f42888461a1a095ff85e0cf577cb641ba13fb4e9be1efadd000688e100675a03f2c91952211b6fc WHIRLPOOL 37d5d777de797a54676933ec4a35668a4a248d6e90f181ab2e414af5e97ab1c8d9297b5ecbe3c99b1db64d536a234e51fada3f0e1a2353119de367632c567961 diff --git a/app-text/yagf/metadata.xml b/app-text/yagf/metadata.xml new file mode 100644 index 000000000000..784a59b98c05 --- /dev/null +++ b/app-text/yagf/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainers</herd> +<maintainer> + <email>yaleks@gmail.com</email> + <name>Aleksandr Yakimov</name> + <description>Proxied maintainer. Assign bugs to him</description> +</maintainer> +<maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + <description>Proxy maintainer. CC him on bugs</description> +</maintainer> + <longdescription lang="en"> + YAGF is a graphical front-end for cuneiform and tesseract OCR tools. + With YAGF you can open already scanned image files or obtain new images + via XSane (scanning results are automatically passed to YAGF). + Once you have a scanned image you can prepare it for recognition, select + particular image areas for recognition, set the recognition language and + so no. Recognized text is displayed in a editor window where it can be + corrected, saved to disk or copied to clipboard. + YAGF also provides some facilities for a multi-page recognition (see + the online help for more details). + </longdescription> + <use> + <flag name='cuneiform'>Enable support for the <pkg>app-text/cuneiform</pkg> OCR engine.</flag> + <flag name='tesseract'>Enable support for the <pkg>app-text/tesseract</pkg> OCR engine.</flag> + </use> +</pkgmetadata> diff --git a/app-text/yagf/yagf-0.9.2.ebuild b/app-text/yagf/yagf-0.9.2.ebuild new file mode 100644 index 000000000000..272c3dfeb9b3 --- /dev/null +++ b/app-text/yagf/yagf-0.9.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +CMAKE_IN_SOURCE_BUILD=1 +PLOCALES="de lt pl ru uk" +inherit cmake-utils l10n + +DESCRIPTION="Graphical front-end for cuneiform and tesseract OCR tools" +HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html" +SRC_URI="http://symmetrica.net/cuneiform-linux/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="scanner cuneiform +tesseract pdf" + +REQUIRED_USE="|| ( cuneiform tesseract )" + +DEPEND=">=dev-qt/qtgui-4.7:4 + app-text/aspell" +RDEPEND="${DEPEND} + cuneiform? ( app-text/cuneiform ) + tesseract? ( app-text/tesseract ) + scanner? ( media-gfx/xsane ) + pdf? ( || ( app-text/poppler[utils] app-text/ghostscript-gpl ) )" + +DOCS=( AUTHORS ChangeLog DESCRIPTION README ) + +src_prepare() { + l10n_find_plocales_changes "src/translations" "${PN}_" '.ts' + + epatch_user +} + +src_install() { + remove_translation() { + rm "${ED}/usr/share/yagf/translations/${PN}_${1}.qm" || die "remove '${PN}_${1}.qm' file failed" + } + cmake-utils_src_install + l10n_for_each_disabled_locale_do remove_translation +} diff --git a/app-text/yagf/yagf-0.9.3.2.ebuild b/app-text/yagf/yagf-0.9.3.2.ebuild new file mode 100644 index 000000000000..78d2edc88731 --- /dev/null +++ b/app-text/yagf/yagf-0.9.3.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PLOCALES="fr ru" +inherit cmake-utils l10n multilib + +DESCRIPTION="Graphical front-end for cuneiform and tesseract OCR tools" +HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html" +SRC_URI="http://symmetrica.net/cuneiform-linux/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="scanner cuneiform +tesseract pdf" + +REQUIRED_USE="|| ( cuneiform tesseract )" + +DEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 + app-text/aspell +" +RDEPEND="${DEPEND} + cuneiform? ( app-text/cuneiform ) + tesseract? ( app-text/tesseract ) + scanner? ( media-gfx/xsane ) + pdf? ( || ( app-text/poppler[utils] app-text/ghostscript-gpl ) ) +" + +DOCS=( AUTHORS ChangeLog DESCRIPTION README ) + +src_prepare() { + # respect CFLAGS and fix translations path + sed -i \ + -e '/add_definitions(-Wall -g)/d' \ + -e '/-DQML_INSTALL_PATH=/s:${QML_DESTINATION}:/${QML_DESTINATION}:' \ + CMakeLists.txt || die 'sed on CMakeLists.txt failed' + + l10n_find_plocales_changes "src/translations" "${PN}_" '.ts' + cmake-utils_src_prepare +} + +src_configure() { + local libdir="$(get_libdir)" + local mycmakeargs=( + -DLIB_PATH_SUFFIX=${libdir#lib} + ) + cmake-utils_src_configure +} + +src_install() { + remove_translation() { + rm "${ED}/usr/share/yagf/translations/${PN}_${1}.qm" || die "remove '${PN}_${1}.qm' file failed" + } + cmake-utils_src_install + l10n_for_each_disabled_locale_do remove_translation +} |