jipsss / pytesseracttrainer

Automatically exported from code.google.com/p/pytesseracttrainer
GNU General Public License v3.0
0 stars 0 forks source link

Feature: change GUI toolkit to something usable #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sorry, I'm a software engineer and I'm a wondering why developers continue to 
use crappy libs in 2010. Gtk is not usable for a Win + Mac user that is not a 
developer.
It is not usable for a developer too.
Installing PyGtk2 on Mac requires Xorg and many other libs, both with Fink and 
Macports.
I've already python 2.6 installed and I don't want to mess around with Macports 
or Fink... I have to build Gtk, Pango, Gobject etc... and than PyGtk, PyCairo 
and PyGObject... and pray!
Insane.

Macports requires the following dependencies to install PyGtk :

gtksourceview2 gettext expat libiconv gperf ncurses ncursesw glib2 autoconf 
help2man p5-locale-gettext perl5 perl5.8 m4 automake dbus libtool pkgconfig 
zlib gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 
docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl 
gnome-doc-utils intltool gnome-common p5-getopt-long p5-pathtools 
p5-scalar-list-utils p5-xml-parser iso-codes libxslt libxml2 py26-libxml2 
python26 bzip2 db46 gdbm openssl readline sqlite3 rarian getopt gtk2 atk 
gdk-pixbuf2 jasper jpeg libpng tiff pango Xft2 fontconfig freetype xrender 
xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau 
xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto 
xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto 
xorg-xtrans xorg-renderproto cairo libpixman shared-mime-info 
xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes 
xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi 
xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto py26-gobject 
libffi py26-gtk libglade2 py26-cairo py26-numpy atlas gcc44 gmp mpfr gzip 
texinfo xz fftw-3 py26-nose py26-distribute

It is completely insane...

Almost the same problem with Win, except that there are some binary 
distributions... that are not compatible with PyGtk...

Tesseract should be a cross platform tool. Please, consider the adoptions of 
some GUI toolkit which is usable and cross platform. 
Gtk is cross platform but, actually, not really usable.

Original issue reported on code.google.com by michela....@gmail.com on 15 Nov 2010 at 8:05

GoogleCodeExporter commented 8 years ago
I am sorry but I do not understand you.

I started to maintain and improve (py)tesseracttrainer because I like it. It 
works for me on Windows and Linux. I had ideas and I found my way how to 
implement them. I share my work for free. I do not ask you to use it. If you 
don't like it - don't use it. I will not try to fulfill wishes of somebody 
else. Sorry. But cooperation is accepted.

It is not best piece of software I used - I know it has limitation (system 
resource consumption etc). But it fit my needs. If it do not fit to your needs 
you can create your own software and share it - You are a software engineer. If 
your result will be interesting I can test it ;-).

Have a fun.

Original comment by zde...@gmail.com on 15 Nov 2010 at 9:19

GoogleCodeExporter commented 8 years ago
Sorry, last time I posted with the wrong account.

>I started to maintain and improve (py)tesseracttrainer because I like it. It 
works for 
>me on Windows and Linux. I had ideas and I found my way how to implement them. 
I share 
>my work for free. I do not ask you to use it. If you don't like it - don't use 
it. I 
>will not try to fulfill wishes of somebody else. Sorry. But cooperation is 
accepted.

Good point. This is the reason because I'm posting here. Ok, I was a little bit 
disappointed, but you should read my message in this way : "Your work is fine, 
but it is not so much usable because dependency hell. Please give us a binary 
package!". This is not so destructive as a comment.

I think would be a good solution to distribute a binary package of your work 
for at least 3 platforms : linux, win, mac. Because I think you probably are 
working on a Linux distrib and it is usally easier to install gtk on it, you 
could probably  restrict the thing to 2 platforms : Win and Mac.

To do this, you could use PyInstaller (or py2exe or cxFreeze or whatever... ) 
for Win + Linux and Py2app for Mac.

What about?
Thank you, however.

Original comment by roman...@gmail.com on 16 Nov 2010 at 7:48

GoogleCodeExporter commented 8 years ago
I plan to do packaging (after I start to split code to several files). But 
AFAIK Mac version should be packaged on Mac so I need somebody that solved 
pygtk dependency hell.

Original comment by zde...@gmail.com on 16 Nov 2010 at 9:48

GoogleCodeExporter commented 8 years ago
Yes, if you need help with py2app and mac binary I'll do it.

Original comment by roman...@gmail.com on 19 Nov 2010 at 9:28