Re: Gtk3 portability

2017-02-11 Thread richard boaz
HI Emmanuele,

I would be very interested to hear your further comments on desktop
applications not working well with Docker.  Can you elaborate on where and
why Docker doesn't really work for this?

r-

On Sat, Feb 11, 2017 at 5:07 PM, Emmanuele Bassi  wrote:

> Docker containers do not really work for desktop applications as well
> as they work for server applications.
>
> An attempt at containerisation is Flatpak, which follows the Open
> Container Initiative like Docker, but it's aimed at desktop
> applications.
>
> Ciao,
>  Emmanuele.
>
> On 11 February 2017 at 19:17, richard boaz  wrote:
> > not a GTK-based solution, but are you familiar with Docker?  it solves
> these
> > problems for you and more.
> >
> > you will never worry about having to satisfy run-time dependencies on the
> > target platform ever again.  well, everything except needing a docker
> > engine, that is.
> >
> > richard
> >
> > On Sat, Feb 11, 2017 at 1:22 PM, Ian Chapman 
> wrote:
> >>
> >> Gtk3 portability
> >>
> >> Hi, I have made a Linux gtk3 program and have it running on my Debian
> Mint
> >> AMD64 machine.
> >>
> >> I mistakenly thought that the program file (binary file) held all that
> was
> >> needed to run.
> >>
> >> I moved the program file to a newly installed Mint 18.1 and ran into a
> few
> >> difficulties.
> >>
> >> 1. I had to install libsdl2 to get over the first hick.
> >>
> >> 2. My program was looking for libglew.so.1.10 but what was in the
> >> repository was 1.13 obviously a slightly later version.
> >>
> >> 3. I overcame hick 2 by pulling over C++ and gtk3 and recompiling from
> >> source.
> >>
> >> Maybe you guys and gals can give me a few pointers so that I can
> generate
> >> the program file (binary file) without all the above hassle? Regards
> Ian.
> >>
> >>
> >> ___
> >> gtk-list mailing list
> >> gtk-list@gnome.org
> >> https://mail.gnome.org/mailman/listinfo/gtk-list
> >>
> >
> >
> > ___
> > gtk-list mailing list
> > gtk-list@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
>
>
> --
> https://www.bassi.io
> [@] ebassi [@gmail.com]
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Gtk3 portability

2017-02-11 Thread Emmanuele Bassi
Docker containers do not really work for desktop applications as well
as they work for server applications.

An attempt at containerisation is Flatpak, which follows the Open
Container Initiative like Docker, but it's aimed at desktop
applications.

Ciao,
 Emmanuele.

On 11 February 2017 at 19:17, richard boaz  wrote:
> not a GTK-based solution, but are you familiar with Docker?  it solves these
> problems for you and more.
>
> you will never worry about having to satisfy run-time dependencies on the
> target platform ever again.  well, everything except needing a docker
> engine, that is.
>
> richard
>
> On Sat, Feb 11, 2017 at 1:22 PM, Ian Chapman  wrote:
>>
>> Gtk3 portability
>>
>> Hi, I have made a Linux gtk3 program and have it running on my Debian Mint
>> AMD64 machine.
>>
>> I mistakenly thought that the program file (binary file) held all that was
>> needed to run.
>>
>> I moved the program file to a newly installed Mint 18.1 and ran into a few
>> difficulties.
>>
>> 1. I had to install libsdl2 to get over the first hick.
>>
>> 2. My program was looking for libglew.so.1.10 but what was in the
>> repository was 1.13 obviously a slightly later version.
>>
>> 3. I overcame hick 2 by pulling over C++ and gtk3 and recompiling from
>> source.
>>
>> Maybe you guys and gals can give me a few pointers so that I can generate
>> the program file (binary file) without all the above hassle? Regards Ian.
>>
>>
>> ___
>> gtk-list mailing list
>> gtk-list@gnome.org
>> https://mail.gnome.org/mailman/listinfo/gtk-list
>>
>
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>



-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Gtk3 portability

2017-02-11 Thread Emmanuele Bassi
You cannot simply ship a single file; at most, you can bundle all the
dependencies together and then use a launcher script to set up the
whole environment, but I would not recommend it.

You should probably look at Flatpak, instead: http://flatpak.org/

Flatpak solved the issue of building and bundling your application, as
well as sandboxing it. If you use GTK+ 3.x you will already have
access to all the required features to make it work.

Ciao,
 Emmanuele.


On 11 February 2017 at 18:22, Ian Chapman  wrote:
> Gtk3 portability
>
> Hi, I have made a Linux gtk3 program and have it running on my Debian Mint
> AMD64 machine.
>
> I mistakenly thought that the program file (binary file) held all that was
> needed to run.
>
> I moved the program file to a newly installed Mint 18.1 and ran into a few
> difficulties.
>
> 1. I had to install libsdl2 to get over the first hick.
>
> 2. My program was looking for libglew.so.1.10 but what was in the repository
> was 1.13 obviously a slightly later version.
>
> 3. I overcame hick 2 by pulling over C++ and gtk3 and recompiling from
> source.
>
> Maybe you guys and gals can give me a few pointers so that I can generate
> the program file (binary file) without all the above hassle? Regards Ian.
>
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>



-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Gtk3 portability

2017-02-11 Thread Ian Chapman

Thanks guys, these suggestions give me something to work on.  Regards Ian.'

On 11/02/17 02:48 PM, Paul Davis wrote:
GTK cannot be statically linked. Or if it can (I may have failed to 
keep up with changes in GTK3) it requires special compile-time 
configuration options.


On Sat, Feb 11, 2017 at 7:22 PM, Ian Chapman > wrote:


Gtk3 portability

Hi, I have made a Linux gtk3 program and have it running on my
Debian Mint AMD64 machine.

I mistakenly thought that the program file (binary file) held all
that was needed to run.

I moved the program file to a newly installed Mint 18.1 and ran
into a few difficulties.

1. I had to install libsdl2 to get over the first hick.

2. My program was looking for libglew.so.1.10 but what was in the
repository was 1.13 obviously a slightly later version.

3. I overcame hick 2 by pulling over C++ and gtk3 and recompiling
from source.

Maybe you guys and gals can give me a few pointers so that I can
generate the program file (binary file) without all the above
hassle? Regards Ian.


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





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


Re: Gtk3 portability

2017-02-11 Thread Paul Davis
GTK cannot be statically linked. Or if it can (I may have failed to keep up
with changes in GTK3) it requires special compile-time configuration
options.

On Sat, Feb 11, 2017 at 7:22 PM, Ian Chapman  wrote:

> Gtk3 portability
>
> Hi, I have made a Linux gtk3 program and have it running on my Debian Mint
> AMD64 machine.
>
> I mistakenly thought that the program file (binary file) held all that was
> needed to run.
>
> I moved the program file to a newly installed Mint 18.1 and ran into a few
> difficulties.
>
> 1. I had to install libsdl2 to get over the first hick.
>
> 2. My program was looking for libglew.so.1.10 but what was in the
> repository was 1.13 obviously a slightly later version.
>
> 3. I overcame hick 2 by pulling over C++ and gtk3 and recompiling from
> source.
>
> Maybe you guys and gals can give me a few pointers so that I can generate
> the program file (binary file) without all the above hassle? Regards Ian.
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list


Re: Gtk3 portability

2017-02-11 Thread richard boaz
not a GTK-based solution, but are you familiar with Docker?  it solves
these problems for you and more.

you will never worry about having to satisfy run-time dependencies on the
target platform ever again.  well, everything except needing a docker
engine, that is.

richard

On Sat, Feb 11, 2017 at 1:22 PM, Ian Chapman  wrote:

> Gtk3 portability
>
> Hi, I have made a Linux gtk3 program and have it running on my Debian Mint
> AMD64 machine.
>
> I mistakenly thought that the program file (binary file) held all that was
> needed to run.
>
> I moved the program file to a newly installed Mint 18.1 and ran into a few
> difficulties.
>
> 1. I had to install libsdl2 to get over the first hick.
>
> 2. My program was looking for libglew.so.1.10 but what was in the
> repository was 1.13 obviously a slightly later version.
>
> 3. I overcame hick 2 by pulling over C++ and gtk3 and recompiling from
> source.
>
> Maybe you guys and gals can give me a few pointers so that I can generate
> the program file (binary file) without all the above hassle? Regards Ian.
>
> ___
> gtk-list mailing list
> gtk-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
>
___
gtk-list mailing list
gtk-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-list