win32 version of gtranslator

View: New views
5 Messages — Rating Filter:   Alert me  

win32 version of gtranslator

by Francisco Puga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,

i'm working on build the win32 version of gtranslator for a project of
a GLUG called ghandalf[1].

In order to do that i write some patches that i attach on this email.

0001 are few changes just to use win32 headers
0002 define some new functions in utils.c to resolve in a different
way the paths to the different folders when we are on win32 systems.
0003 is just a workaround for now because i can't manage to get
plugins work jet. My problem is that win32-gtranslator is trying to
load the plugins as dll libraries but they are compiled as static
linux libs (.a file). If anyone have any advice about this it will be
welcome.

I must say that i'm newbie to software development and gnome community
but i am trying to learn, so comment everything that you want about
the patches or the manners.

I've build a windows installer (without plugins) that you can test,
download it from
http://conocimientoabierto.es/sw/setup-gtranslator-win32-1.9.5-1.exe


[1] http://producingoss.ghandalf.org/

best regards

--
Francisco Puga
http://conocimientoabierto.es




_______________________________________________
gtranslator-list mailing list
gtranslator-list@...
http://mail.gnome.org/mailman/listinfo/gtranslator-list

0001-Ifdef-some-headers-for-match-win32-api-headers.patch (2K) Download Attachment
0002-Using-fuctions-instead-of-macros-to-resolve-paths.patch (20K) Download Attachment
0003-Workaround-to-resolve-path-of-plugins-folder-on-wind.patch (3K) Download Attachment

Re: win32 version of gtranslator

by Vladimer Sichinava-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you Francisco, for your work!

2009/7/18 Francisco Puga <fran.puga@...>
hi all,

i'm working on build the win32 version of gtranslator for a project of
a GLUG called ghandalf[1].

In order to do that i write some patches that i attach on this email.

0001 are few changes just to use win32 headers
0002 define some new functions in utils.c to resolve in a different
way the paths to the different folders when we are on win32 systems.
0003 is just a workaround for now because i can't manage to get
plugins work jet. My problem is that win32-gtranslator is trying to
load the plugins as dll libraries but they are compiled as static
linux libs (.a file). If anyone have any advice about this it will be
welcome.

I must say that i'm newbie to software development and gnome community
but i am trying to learn, so comment everything that you want about
the patches or the manners.

I've build a windows installer (without plugins) that you can test,
download it from
http://conocimientoabierto.es/sw/setup-gtranslator-win32-1.9.5-1.exe


[1] http://producingoss.ghandalf.org/

best regards

--
Francisco Puga
http://conocimientoabierto.es

_______________________________________________
gtranslator-list mailing list
gtranslator-list@...
http://mail.gnome.org/mailman/listinfo/gtranslator-list



--
E 'l naufragar m'รจ dolce in questo mare...

_______________________________________________
gtranslator-list mailing list
gtranslator-list@...
http://mail.gnome.org/mailman/listinfo/gtranslator-list

Parent Message unknown Re: win32 version of gtranslator

by Francisco Puga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/18 Ignacio Casal Quinteiro <nacho.resa@...>:

> Have a look at how I did with gedit to solve that. You need to add
> some linking stuff for doing that on the configure.ac.
>
> http://git.gnome.org/cgit/gedit/log/?h=win32
>
> That's the branch I did sometime ago, of course in master you're gonna
> have more patches about that. Gtranslator is almost the same as gedit
> so if you recreate those patches in gtranslator you're gonna have it working
> on windows too.

Thanks to Ignacio i solved the issues. I've looked the code of gedit
and copied a lot of stuff from it. I add a comment like /* Copied from
gedit code */, i don't the standard way to give credit, i change de
patch if you prefer make it in another way.

The installer can be download from:
http://conocimientoabierto.es/sw/setup-gtranslator-win32-1.9.5.exe

Its compiled without support for subversion, open-tran, dictionary and
spell support but if anyone is interested i can build another version

patch 0002 displays a warning message when someone is trying to access
the help on windws, gedit solved it openning a browser at the webpage
with the help, but i don't find online help for gtranslator.


best regards
--
Francisco Puga
http://conocimientoabierto.es





_______________________________________________
gtranslator-list mailing list
gtranslator-list@...
http://mail.gnome.org/mailman/listinfo/gtranslator-list

0001-Added-stuff-to-autotools-files-to-build-for-win.patch (3K) Download Attachment
0002-Fix-display-help-and-fix-display-po-files-by-search.patch (3K) Download Attachment
0003-Embed-a-icon-file-on-gtranslator.exe-for-eyecandy-on.patch (8K) Download Attachment
0004-Add-gtr-folder-to-path-on-win-necessary-to-direct-l.patch (2K) Download Attachment

Re: win32 version of gtranslator

by Pablo Sanxiao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

>
> Thanks to Ignacio i solved the issues. I've looked the code of gedit
> and copied a lot of stuff from it. I add a comment like /* Copied from
> gedit code */, i don't the standard way to give credit, i change de
> patch if you prefer make it in another way.
>
Great news!
About the way of giving credit when you are coping code from another
project is recommended, in additon to mention the project,
to mention also the specific file from the code has been copied so
that people can get information about the owner of the copyright of
that code. But, don't worry, you don't need to make the patch again,
I'll make that change when I commit the patches.

> The installer can be download from:
> http://conocimientoabierto.es/sw/setup-gtranslator-win32-1.9.5.exe
>
> Its compiled without support for subversion, open-tran, dictionary and
> spell support but if anyone is interested i can build another version
>
I could also upload the installer to GNOME ftp if you want

> patch 0002 displays a warning message when someone is trying to access
> the help on windws, gedit solved it openning a browser at the webpage
> with the help, but i don't find online help for gtranslator.
>
There is no online help for gtranslator, but maybe could be a good idea...

Thanks for your effort, I'll check the patches and commit them as soon
as possible.

Regards,
--
Pablo Sanxiao
http://psanxiao.blogspot.com
_______________________________________________
gtranslator-list mailing list
gtranslator-list@...
http://mail.gnome.org/mailman/listinfo/gtranslator-list

Re: win32 version of gtranslator

by Pablo Sanxiao :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

>
> The installer can be download from:
> http://conocimientoabierto.es/sw/setup-gtranslator-win32-1.9.5.exe
>
> Its compiled without support for subversion, open-tran, dictionary and
> spell support but if anyone is interested i can build another version
>
The installer is also available to be downloaded from gtranslator's
website:

http://gtranslator.sf.net/downloads

Regards,
--
Pablo Sanxiao
http://live.gnome.org/PabloSanxiao



_______________________________________________
gtranslator-list mailing list
gtranslator-list@...
http://mail.gnome.org/mailman/listinfo/gtranslator-list

signature.asc (204 bytes) Download Attachment