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 then this command installs everything you need to run
> > gedit
> > into a filesystem tree inside your msys2 folder.
> 
> But the OP already has an MSYS2 installation that has more than just
> GTK3 in it.  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.

No, I have no MSYS2 installation on the target hosts and there will not
be. My program is part of a big collaborative project. The installation
 takes over one hour, because at this time we are bound to some
extraordinary big Micros*ck programs (MSSQL Advanced for example). This
will change, and I hope this will be soon. For this reason I don't want
to force my Customer to install even more software.

That is the reason why I want to deliver the required DLLs and only the
needed ones with my package.

My development is done only in a Linux environment.

Regards,
Dirk

-- 
Dirk Gottschalk, Aachen
Tel.: 01573 / 1152350
eMail: dirk.gottschalk1...@googlemail.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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 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
> > 
> > Thanks, this is a point I totally forgot. So no statically linking
> > is
> > possible.
> > 
> > Making the project open is no option. The protocol of the devices
> > we
> > communicate with is covered by various NDAs.

> Does distributing a compiled object "leak" more information than 
> distributing a dynamically-linked exe?

No, it dowsn't. This was related to related to pelzflorian mentioning 
making this project open sourced.

> > I only want to copy just the needed files, not the complete DLL
> > set 
> > Mingw has on my systems, these are real much.

> I can't remember if finding the deps was part of your original
> question 
> (sorry). In case it was: http://www.dependencywalker.com/

I'll take a look at this. The question was which DLLs are nedded.

Thank you.

Regards,
Dirk

-- 
Dirk Gottschalk, Aachen
Tel.: 01573 / 1152350
eMail: dirk.gottschalk1...@googlemail.com
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

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 binary is

sudo ./build.sh 8.3

and it'll build version 8.3 and make an installer, and the host
machine will be undisturbed.

You're very welcome to nick any parts which might be useful. It's
gtk2, but a gtk3 one would be a simple change. As long as you have
your project buildable via cmake or autotools, it should be simple to
adapt.

https://github.com/jcupitt/build-win64

John
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


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 application’s source code or compiled object files


Thanks, this is a point I totally forgot. So no statically linking is
possible.

Making the project open is no option. The protocol of the devices we
communicate with is covered by various NDAs.


Does distributing a compiled object "leak" more information than 
distributing a dynamically-linked exe?


I only want to copy just the needed files, not the complete DLL set 
Mingw has on my systems, these are real much.


I can't remember if finding the deps was part of your original question 
(sorry). In case it was: http://www.dependencywalker.com/


--
Lucas Levrel
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list