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.
Created attachment 189685 [details] app-text/cuneiform-qt-0.1.2.ebuild The ebuild for the stable version 0.1.2.
Created attachment 189687 [details] app-text/cuneiform-qt-0.1.2.9999.ebuild The ebuild for the git version.
Created attachment 189717 [details] app-text/cuneiform-qt-0.1.2.ebuild Changed DEPEND to qt-gui, added '|| die ...' where necessary.
Created attachment 189719 [details] app-text/cuneiform-qt-0.1.2.9999.ebuild Changed DEPEND to qt-gui, added '|| die ...' where necessary.
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)
Please, add bug#234824 to dependencies
Created attachment 190013 [details] my ebuild ;)
> 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.
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.
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.
> 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 не нужно.
(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 не > нужно. >
Please mask git version "../profiles/package.mask".
(In reply to comment #12) > > x11-libs/qt-gui-4.4.0 ... на x11-libs/qt-gui:4 > Имхо, это хак, Нет. Политика генту :) Заменять на слоты, где возможно. > если вдруг понадобится ... 4.5.0, это уже не будет работать. Понадобится — заменю. Скорее всего, это будет не раньше, чем сменят версию в Альте.
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.
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.