Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267746 - app-text/cuneiform-qt ebuild
Summary: app-text/cuneiform-qt ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise-overlay
Keywords: EBUILD, InOverlay
Depends on: 234824
Blocks:
  Show dependency tree
 
Reported: 2009-04-28 09:39 UTC by A.C.Heron
Modified: 2011-04-29 07:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
app-text/cuneiform-qt-0.1.2.ebuild (cuneiform-qt-0.1.2.ebuild,752 bytes, text/plain)
2009-04-28 09:41 UTC, A.C.Heron
Details
app-text/cuneiform-qt-0.1.2.9999.ebuild (cuneiform-qt-0.1.2.9999.ebuild,776 bytes, text/plain)
2009-04-28 09:42 UTC, A.C.Heron
Details
app-text/cuneiform-qt-0.1.2.ebuild (cuneiform-qt-0.1.2.ebuild,761 bytes, text/plain)
2009-04-28 15:12 UTC, A.C.Heron
Details
app-text/cuneiform-qt-0.1.2.9999.ebuild (cuneiform-qt-0.1.2.9999.ebuild,833 bytes, text/plain)
2009-04-28 15:12 UTC, A.C.Heron
Details
my ebuild ;) (cuneiform-qt-9999.ebuild,877 bytes, text/plain)
2009-05-01 05:36 UTC, Alexander Potashev
Details
app-text/cuneiform-qt-0.1.2.ebuild (cuneiform-qt-0.1.2.ebuild,734 bytes, text/plain)
2009-05-01 21:48 UTC, A.C.Heron
Details
app-text/cuneiform-qt-9999.ebuild (cuneiform-qt-9999.ebuild,778 bytes, text/plain)
2009-05-01 21:51 UTC, A.C.Heron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description A.C.Heron 2009-04-28 09:39:42 UTC
Cuneiform-Qt is a Qt-based GUI for an OCR program Cuneiform. Currently in early stages of development, but already stable and usable, although its capabilities are rather limited yet.

The suggested ebuilds are for the latest stable version and for git. Tested on x86 and amd64.
Comment 1 A.C.Heron 2009-04-28 09:41:33 UTC
Created attachment 189685 [details]
app-text/cuneiform-qt-0.1.2.ebuild

The ebuild for the stable version 0.1.2.
Comment 2 A.C.Heron 2009-04-28 09:42:44 UTC
Created attachment 189687 [details]
app-text/cuneiform-qt-0.1.2.9999.ebuild

The ebuild for the git version.
Comment 3 A.C.Heron 2009-04-28 15:12:15 UTC
Created attachment 189717 [details]
app-text/cuneiform-qt-0.1.2.ebuild

Changed DEPEND to qt-gui, added '|| die ...' where necessary.
Comment 4 A.C.Heron 2009-04-28 15:12:56 UTC
Created attachment 189719 [details]
app-text/cuneiform-qt-0.1.2.9999.ebuild

Changed DEPEND to qt-gui, added '|| die ...' where necessary.
Comment 5 Alexander Potashev 2009-05-01 05:29:36 UTC
I wrote my own cuneiform-qt ebuild 2 weeks ago but didn't think that adding a bug here is reasonable, because cuneiform is not in the portage tree.

You can merge the two ebuild yourself, because I don't understand the purpose of some lines in your ebuild (e.g. patching .pro file)
Comment 6 Alexander Potashev 2009-05-01 05:33:31 UTC
Please, add bug#234824 to dependencies
Comment 7 Alexander Potashev 2009-05-01 05:36:26 UTC
Created attachment 190013 [details]
my ebuild ;)
Comment 8 A.C.Heron 2009-05-01 21:00:36 UTC
> didn't think that adding a bug here is reasonable, because cuneiform is not in the portage tree.

For Sunrise. 

> I don't understand the purpose of ... patching .pro file

Some programs keep their data in /usr/share/$PN/, some in /usr/share/apps/$PN/, I prefer the former.

> Please, add bug#234824 to dependencies

Thanks for reminding.
Comment 9 A.C.Heron 2009-05-01 21:48:12 UTC
Created attachment 190073 [details]
app-text/cuneiform-qt-0.1.2.ebuild

This has been committed to Sunrise overlay. Changes by Thomas Sachau (Tommy[D]): quote EAPI var, use PN, drop S, drop die for equmake4.
Comment 10 A.C.Heron 2009-05-01 21:51:44 UTC
Created attachment 190075 [details]
app-text/cuneiform-qt-9999.ebuild

This has been committed to Sunrise overlay. Live git ebuild with corrected version and some cosmetic modifications. Changes by Thomas Sachau (Tommy[D]): quote EAPI var, use PN, drop S, drop die for equmake4.
Comment 11 A.C.Heron 2009-05-01 22:20:20 UTC
> my ebuild ;)

EAPI="1" выбрал, чтобы ебилд был короче. По той же причине не выносил sed в src_prepare (рекомендуется, но необязательно).

x11-libs/qt-core-4.4.0 не нужен, т.к. его тянет x11-libs/qt-gui-4.4.0. Они же тянут все прочие необходимые библиотеки.

x11-libs/qt-gui-4.4.0 генту-девелоперы просят заменять на x11-libs/qt-gui:4

app-text/cuneiform в RDEPEND, имхо, правильнее, но некритично. Исправлю.

src_unpack() не нужна, т.к. эта же git_src_unpack вызовется автоматически.

Про sed уже сказал, вроде дело вкуса, но лучше спросить девелоперов, куда принято ставить.

Зачем нужны CC=$(tc-getCC) CXX=$(tc-getCXX) ? У меня компилируется и без них.

make_desktop_entry добавлю.

И когда засылал ебилды в оверлей, сказали всюду, где возможна ошибка, ставить 
|| die "..." Но потом сказали, что после eqmake4 не нужно.
Comment 12 Alexander Potashev 2009-05-02 10:36:57 UTC
(In reply to comment #11)
> > my ebuild ;)
> 
> EAPI="1" выбрал, чтобы ебилд был короче. По той
> же причине не выносил sed в src_prepare
> (рекомендуется, но необязательно).
> 
> x11-libs/qt-core-4.4.0 не нужен, т.к. его тянет
> x11-libs/qt-gui-4.4.0. Они же тянут все прочие
> необходимые библиотеки.
согласен.

> 
> x11-libs/qt-gui-4.4.0 генту-девелоперы просят
> заменять на x11-libs/qt-gui:4
Имхо, это хак, они эквивалентны только потому, что Qt делят на части начиная с версии 4.4.0. Но если вдруг понадобится версия, например, 4.5.0, это уже не будет работать.


> 
> app-text/cuneiform в RDEPEND, имхо, правильнее, но
> некритично. Исправлю.
> 
> src_unpack() не нужна, т.к. эта же git_src_unpack
> вызовется автоматически.
согласен.

> 
> Про sed уже сказал, вроде дело вкуса, но лучше
> спросить девелоперов, куда принято
> ставить.
> 
> Зачем нужны CC=$(tc-getCC) CXX=$(tc-getCXX) ? У меня
> компилируется и без них.
да я сам уже не помню, зачем у меня так написано, рудимент какой-то.

> 
> make_desktop_entry добавлю.
> 
> И когда засылал ебилды в оверлей, сказали
> всюду, где возможна ошибка, ставить 
> || die "..." Но потом сказали, что после eqmake4 не
> нужно.
> 

Comment 13 Aleksandr Yakimov 2009-05-02 14:16:31 UTC
Please mask git version "../profiles/package.mask".
Comment 14 A.C.Heron 2009-05-02 18:01:39 UTC
(In reply to comment #12)
> > x11-libs/qt-gui-4.4.0 ... на x11-libs/qt-gui:4
> Имхо, это хак, 
Нет. Политика генту :) Заменять на слоты, где возможно.
> если вдруг понадобится ... 4.5.0, это уже не будет работать.
Понадобится — заменю. Скорее всего, это будет не раньше, чем сменят версию в Альте.
Comment 15 A.C.Heron 2009-08-15 12:15:09 UTC
YAGF has already implemented many features planned for Cuneiform-Qt: 
http://bugs.gentoo.org/show_bug.cgi?id=278013 
http://symmetrica.net/cuneiform-linux/yagf-ru.html
http://symmetrica.net/cuneiform-linux/yagf-en.html
http://overlays.gentoo.org/proj/sunrise/browser/reviewed/app-text/yagf

The development of Cuneiform-Qt seems to have stalled.
Comment 16 Peter Volkov (RETIRED) gentoo-dev 2011-04-29 07:07:18 UTC
Ok, this packages seems to be dead and yagf is a better alternative. Dropped from sunrise and closing this bug as WONTFIX. Thank you guys for your work.