Re: Getting QT apps running.

2016-07-29 Thread Timo Jyrinki
Changing qt5conf to desktop/qt5 and qt5-launch to desktop-launch does not help in ipe's case it seems, even though it gets rid of a few warnings. The problem is with the IPE_PREFIX that ipe requires to be set, and I'm also unable to find a combination that would allow ipe to build (../../../instal

Re: Problems with PREFIX when building a snap

2016-07-29 Thread James Jesudason
On 28 July 2016 at 18:36, Dietmar Winkler wrote: > Thanks James, > > you are right the build works now. But I hope you don't mind me asking > (since I really want to understand it) how you ended up at that > IPEPREFIX path. > > The source is in: > > ~/tmp/snap/ipe/parts/ipe/src > > For the build

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
So I decided to hack the source of the ipe package in order to get rid of the path issue possibly causing other problems. So the updated snapcraft.yaml pulls in "my version" that does not need a IPEPREFIX any more. https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml But as Timo, I f

Re: Problems with PREFIX when building a snap

2016-07-29 Thread Dietmar Winkler
Hi James, OK now I understand. Still not all resolved but that can be handled in the other thread. https://lists.ubuntu.com/archives/snapcraft/2016-July/000561.html Thanks again, On 29 July 2016 at 10:26, James Jesudason wrote: > > > On 28 July 2016 at 18:36, Dietmar Winkler wrote: >> >> Thank

Re: Getting QT apps running.

2016-07-29 Thread Oliver Grawert
hi, Am Freitag, den 29.07.2016, 11:19 +0200 schrieb Dietmar Winkler: ... > specified are supported > [string "require "main""]:1: module 'main' not found: > no field package.preload['main'] > no file '/share/ipe/7.2.5/lua/main.lua' > no file '/usr/local/lib/lua/5.2/main.so' > no file '/usr/lib/x86_

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
Hi, I'm not sure if this will help. According to the output it _is_ already looking at the right place. > no file '/share/ipe/7.2.5/lua/main.lua' but $ tree /snap/ipe/current/share/ipe/7.2.5/lua/ /snap/ipe/current/share/ipe/7.2.5/lua/ ├── actions.lua ├── editpath.lua ├── main.lua ... -- /Diet

Re: Getting QT apps running.

2016-07-29 Thread Oliver Grawert
Am Freitag, den 29.07.2016, 11:32 +0200 schrieb Dietmar Winkler: > Hi, > > I'm not sure if this will help. According to the output it _is_ > already looking at the right place. > > > no file '/share/ipe/7.2.5/lua/main.lua' > > but > > $ tree /snap/ipe/current/share/ipe/7.2.5/lua/ > /snap/ipe/cu

Re: Getting QT apps running.

2016-07-29 Thread Sebastien Bacher
Le 29/07/2016 à 11:32, Dietmar Winkler a écrit : >> no file '/share/ipe/7.2.5/lua/main.lua' > but > > $ tree /snap/ipe/current/share/ipe/7.2.5/lua/ > /snap/ipe/current/share/ipe/7.2.5/lua/ It's look in /share but the actual directory is /snap/ipe/current/share, You might be able to workaround it

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
On 29 July 2016 at 11:39, Sebastien Bacher wrote: > It's look in /share but the actual directory is /snap/ipe/current/share, Ah yes of course. I was assuming that the snap only knows about what's inside $SNAP and not the root file system. Hence I did not think those were to different locations.

Re: no hardware description in Gadget snap for building an image

2016-07-29 Thread Gustavo Niemeyer
For the record, please note this change was announced in this list a couple of months ago, and that we don't actually have official Ubuntu Core 16 images yet. Polishing the format is being done while finalizing those images. On Jul 28, 2016 8:03 PM, "Michael Vogt" wrote: > On Thu, Jul 28, 2016

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
Thanks Oli, I've implemented it as you suggested and got one step further: $ ipe ln: failed to create symbolic link '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system (process:31604): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Gtk-Message:

Re: Getting QT apps running.

2016-07-29 Thread Oliver Grawert
hi, On Fr, 2016-07-29 at 12:45 +0200, Dietmar Winkler wrote: > Thanks Oli, > > I've implemented it as you suggested and got one step further: > > ... > '/snap/ipe/x22/share/ipe/7.2.5/lua': > cannot read /snap/ipe/x22/share/ipe/7.2.5/lua: Is a directory >  wow, so googling a bit [1] seems to sug

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
Hi, > export IPELUAPATH=$SNAP/share/ipe/7.2.5/lua/?.lua That was it. The app now launches. Still loads of menus and icons missing in the UI but I guess this is down to: Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "gtk-vector-screenshot" Gtk-Message:

Re: Getting QT apps running.

2016-07-29 Thread Oliver Grawert
hi, On Fr, 2016-07-29 at 13:40 +0200, Dietmar Winkler wrote: > Hi, > > > > > export IPELUAPATH=$SNAP/share/ipe/7.2.5/lua/?.lua > > That was it. The app now launches. Still loads of menus and icons > missing in the UI but I guess this is down to: > > Gtk-Message: Failed to load module "overlay-s

Re: Snap daemonization ordering and manual interface connections

2016-07-29 Thread MikeB
On 7/14/2016 18:25 Mark Shuttleworth wrote: > Great topic for the sprint in Heidelberg indeed! > > We could easily prompt the user appropriately, and design for CLI and > GUI experiences shaped by the snap publisher. > > Mark Was any decision or progress made on these issues in Heidelberg? I'm r

Re: Getting QT apps running.

2016-07-29 Thread John Lenton
On 29 July 2016 at 11:45, Dietmar Winkler wrote: > ln: failed to create symbolic link > '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system that seems strange. What is read-only in that path? -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe a

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
John, On 29 July 2016 at 14:19, John Lenton wrote: > On 29 July 2016 at 11:45, Dietmar Winkler wrote: >> ln: failed to create symbolic link >> '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system > > that seems strange. What is read-only in that path? my take here is that it's be

Re: Getting QT apps running.

2016-07-29 Thread Didier Roche
Le 29/07/2016 à 14:19, John Lenton a écrit : > On 29 July 2016 at 11:45, Dietmar Winkler wrote: >> ln: failed to create symbolic link >> '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system > that seems strange. What is read-only in that path? > That was this bug from the destkop-la

Re: Getting QT apps running.

2016-07-29 Thread Oliver Grawert
hi, On Fr, 2016-07-29 at 13:19 +0100, John Lenton wrote: > On 29 July 2016 at 11:45, Dietmar Winkler > wrote: > > > > ln: failed to create symbolic link > > '/home/dietmarw/snap/ipe/x22/.themes/themes': Read-only file system > > that seems strange. What is read-only in that path? there is a kno

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
Seting the rests of the paths helped. I now have icons. The menu is still missing which reminded me that there currently is an issue with appmenu-qt5 which when naively compiled causes some keyboard shortcuts not to work. https://github.com/otfried/ipe-wiki/wiki/FAQ#ipe-doesnt-work-correctly-on-ubu

Re: Getting QT apps running.

2016-07-29 Thread Joe Talbott
Note the remote parts are now at https://wiki.ubuntu.com/snapcraft/parts Cheers, Joe On Fri, Jul 29, 2016 at 8:53 AM, Dietmar Winkler wrote: > Seting the rests of the paths helped. I now have icons. The menu is > still missing which reminded me that there currently is an issue with > appmenu-qt5

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
Thanks for the pointer. Reading through the documentation of desktop-helper again I noticed that I might actually try the x11 plug instead of unity7 since it is the appmenu that causes problems in the first place. But now ipe would not launch at all. Also I don't get any error messages (apart from

Getting pdflatex to work inside a spap packge

2016-07-29 Thread Dietmar Winkler
Hi, I'm currently trying to package my first snap package [1]. That application depends on pdflatex which I included as stage package stage-packages: - texlive-latex-base pdflatex can be executed but when an application from inside the snap starts it it runs into trouble since pdflatex

Re: Getting pdflatex to work inside a spap packge

2016-07-29 Thread Oliver Grawert
hi, On Fr, 2016-07-29 at 16:55 +0200, Dietmar Winkler wrote: >  > It seems that the path "/etc/texmf/web2c/texmf.cnf" is actually hard > coded in the pdflatex application. I tried things like setting the > TEXMFPATH but that does not have an influence. > try TEXMFCONFIG for that one ...   and go

Re: Getting pdflatex to work inside a spap packge

2016-07-29 Thread Dietmar Winkler
Hi, > try TEXMFCONFIG for that one ... > > and google indicates that there is no TEXMFPATH but a TEXMFHOME instead > ... [1] might be helpful Sorry I should have said I've tried all those already (also TEXMFHOME). As I said that path is hard coded. To be more precise in /usr/sbin/update-texmf:

Re: Getting pdflatex to work inside a spap packge

2016-07-29 Thread Oliver Grawert
hi, On Fr, 2016-07-29 at 17:10 +0200, Dietmar Winkler wrote: > Hi, > > > > > > try TEXMFCONFIG for that one ... > > > > and google indicates that there is no TEXMFPATH but a TEXMFHOME > > instead > > ... [1] might be helpful > > Sorry I should have said I've tried all those already (also > TEX

Re: Getting pdflatex to work inside a spap packge

2016-07-29 Thread Dietmar Winkler
Hi, On 29 July 2016 at 17:32, Oliver Grawert wrote: > you could just replace these paths ... Well then I would to manually change the code in the stage (?) area which would be not at all an optimal workflow. > (when does that command run ? at runtime or at install time ?) It happens when the i

Re: Getting pdflatex to work inside a spap packge

2016-07-29 Thread Dietmar Winkler
Having manually replaced the location in /usr/bin/update-texmf did not change anything. So it is most likely embedded in the compiled binary of pdflatex. :-( On 29 July 2016 at 17:47, Dietmar Winkler wrote: > Hi, > > On 29 July 2016 at 17:32, Oliver Grawert wrote: >> you could just replace the

Re: Getting pdflatex to work inside a spap packge

2016-07-29 Thread Dietmar Winkler
Sorry I meant of course "/usr/sbin/update-texmf" -- /Dietmar/ Secure email communication: https://encrypt.to/dietmar.wink...@dwe.no Public OpenPGP key: 0x235E6689 -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listin

Re: no hardware description in Gadget snap for building an image

2016-07-29 Thread Luke Williams
So in the interim, how do we build custom images with custom kernels? Should we use the image from mvo and then apply our kernel snaps via ’snap install’ for testing? Thanks, Luke Williams - Technical Partner Manager, Network Switches/Ubuntu-Core email: luke.willi...@canonical.com