Re: Cross platform development

2017-03-19 Thread Dirk Gottschalk via gtk-app-devel-list
Hi. Am Samstag, den 18.03.2017, 10:07 -0600 schrieb Michael Torrie: > On 03/18/2017 09:16 AM, pelzflorian (Florian Pelz) wrote: > > MSYS2 ships with the pacman package manager. After you have > > followed the > > instructions on the website, launch the MSYS2 shell from the MSYS2 > > folder and the

Re: Cross platform development

2017-03-19 Thread Dirk Gottschalk via gtk-app-devel-list
Hi Lucas. Am Sonntag, den 19.03.2017, 10:44 +0100 schrieb Lucas Levrel via gtk- app-devel-list: > Le 18 mars 2017, à 14:37, Dirk Gottschalk via gtk-app-devel-list a > écrit : > > > Am Samstag, den 18.03.2017, 11:42 +0100 schrieb pelzflorian > > (Florian > > Pelz): > > > > > Note that if your app

Re: Cross platform development

2017-03-19 Thread jcupitt
On 17 March 2017 at 22:02, Dirk Gottschalk via gtk-app-devel-list wrote: > I'm developing a multi platform application with GTK+ for Windows and > Linux. I make Windows binaries with jhbuild and mingw from linux. I have it all wrapped up in a docker container, so all anyone needs to do to make a

Re: Cross platform development

2017-03-19 Thread Lucas Levrel via gtk-app-devel-list
Le 18 mars 2017, à 14:37, Dirk Gottschalk via gtk-app-devel-list a écrit : Am Samstag, den 18.03.2017, 11:42 +0100 schrieb pelzflorian (Florian Pelz): Note that if your application is not libre software (it should be, please make it libre!), then static linking means you need to provide your a

Re: Cross platform development

2017-03-18 Thread Tomas Hlavaty
"pelzflorian (Florian Pelz)" writes: > On 03/18/2017 08:41 AM, Tomas Hlavaty wrote: >> nixos already supports cross-compilation using mingw out-of-the box. > I did not know. Sounds interesting. It also creates an $out directory with bin dir and symlinks for all dependencies (exe and dll) which yo

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 10:07 AM, Michael Torrie wrote: > He wants to put just the GTK3 dependencies in a tree > somewhere. To do that simply, he could unpack the GTK3 (and glib2) > binary pacman packages if they could be located. Got it. I think they can be downloaded individually here: https://sourceforge

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 09:16 AM, pelzflorian (Florian Pelz) wrote: > MSYS2 ships with the pacman package manager. After you have followed the > instructions on the website, launch the MSYS2 shell from the MSYS2 > folder and then this command installs everything you need to run gedit > into a filesystem tree

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 04:03 PM, Michael Torrie wrote: > On 03/18/2017 07:37 AM, Dirk Gottschalk via gtk-app-devel-list wrote: >> The only chance is, to grab the DLLs from MinGW via objdump ore some >> similar, like recommended and pack them into the applications working >> directory, because Windows search

Re: Cross platform development

2017-03-18 Thread Michael Torrie
On 03/18/2017 07:37 AM, Dirk Gottschalk via gtk-app-devel-list wrote: > The only chance is, to grab the DLLs from MinGW via objdump ore some > similar, like recommended and pack them into the applications working > directory, because Windows searches DLLs in its System, System32 > subfolders and in

Re: Cross platform development

2017-03-18 Thread Dirk Gottschalk via gtk-app-devel-list
Hi Florian, Am Samstag, den 18.03.2017, 11:42 +0100 schrieb pelzflorian (Florian Pelz): > Note that if your application is not libre software (it should be, > please make it libre!), then static linking means you need to provide > your application’s source code or compiled object files upon user

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 11:25 AM, Lucas Levrel via gtk-app-devel-list wrote: > Le 17 mars 2017, à 23:02, Dirk Gottschalk via gtk-app-devel-list a écrit : > >> I'm developing a multi platform application with GTK+ for Windows and >> Linux. >> >> >> IIRC is GTK+ and it's dependencies not linkable statically,

Re: Cross platform development

2017-03-18 Thread Lucas Levrel via gtk-app-devel-list
Le 17 mars 2017, à 23:02, Dirk Gottschalk via gtk-app-devel-list a écrit : I'm developing a multi platform application with GTK+ for Windows and Linux. IIRC is GTK+ and it's dependencies not linkable statically, which i would prefer. Yes, they are! I use this http://mxe.cc/ for my GTK2 app,

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 08:07 AM, pelzflorian (Florian Pelz) wrote: > gedit deploys msys2 but removes a bunch of files it does not need. This > way, the binary will end up in a bin/ directory though. Of course you > can make a link or a bat script for launching it in the main directory. > > https://git.gnom

Re: Cross platform development

2017-03-18 Thread pelzflorian (Florian Pelz)
On 03/18/2017 04:07 AM, Michael Torrie wrote: > I think some programs stick their binary and libraries in a bin folder, > and GTK can still find it's files. It's more typical for windows apps > to put the EXE in the toplevel folder though. > gedit deploys msys2 but removes a bunch of files it do

Re: Cross platform development

2017-03-17 Thread Michael Torrie
On 03/17/2017 04:02 PM, Dirk Gottschalk via gtk-app-devel-list wrote: > 1. Which DLLs do i have to copy from the bin directory of MinGW for my > GTK+-Application. I don't want to install MinGW on all Workstations > where the app should rum. AFAIK it is enough to copy the DLLs into the > application

Fwd: Re: Cross platform development

2017-03-17 Thread michinari.nukazawa
Oops! sorry I forget CC for gtk-app-devel-list. Thanks. Forwarded Message Subject:Re: Cross platform development Date: Sat, 18 Mar 2017 08:54:53 +0900 From: michinari.nukazawa To: Dirk Gottschalk Hi Dirk. I'm developing vecterion by GTK+-3 for