Re: Getting QT apps running.

2016-08-08 Thread Dietmar Winkler
Hi, so today i decided to switch back to Unity (but still have the ubuntu-mate-desktop dependencies installed). Turns out the IPE snap is _now_ able to display the menu despite me running Unity. This was not the case before I installed the ubuntu-mate-desktop meta package. So properly confused n

Re: Getting QT apps running.

2016-08-05 Thread Dietmar Winkler
l stands is why although appmenu-qt5 is NOT present, IPE would run when natively compiled (also under Unity) but only under non-unity desktop when build as a snap. Any idea how to explain this behaviour? /Dietmar/ On 29 July 2016 at 16:01, Dietmar Winkler wrote: > Thanks for the p

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: 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 cou

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
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:

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 QT apps running.

2016-07-29 Thread Dietmar Winkler
apart from the Gtk warnings). Are there any debug logs I could search for to see what is getting stuck? On 29 July 2016 at 15:34, Joe Talbott wrote: > Note the remote parts are now at https://wiki.ubuntu.com/snapcraft/parts > > Cheers, > Joe > > On Fri, Jul 29, 2016 at 8:53 AM, Di

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 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 p

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 Dietmar Winkler
ipe/x22/share/ipe/7.2.5/lua: Is a directory stack traceback: [C]: in ? [C]: in function 'require' [string "require "main""]:1: in main chunk but now I'm stuck again. On 29 July 2016 at 11:40, Oliver Grawert wrote: > Am Freitag, den 29.07.2016, 11:32 +0200 schrieb

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: 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: 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 Winkl

Re: Getting QT apps running.

2016-07-29 Thread Dietmar Winkler
t; On Thu, Jul 28, 2016 at 10:18 PM, Michael Hall wrote: >> "qt5conf" has been replaced be the newer "desktop/qt5" part and >> "qt5-launch" replaced by "desktop-launch" in the command. These new >> desktop launchers have fixed a lot of the comm

Re: Multiple app per part generate "dot" executables

2016-07-28 Thread Dietmar Winkler
been installed as a snap and not as a deb. On 29 July 2016 at 08:19, Didier Roche wrote: > Le 28/07/2016 à 20:01, Dietmar Winkler a écrit : > > Hi, > > I have one part that when compiled provides several binaries. > > See : https://github.com/dietmarw/snaps/blob/master/ipe/

Re: Getting QT apps running.

2016-07-28 Thread Dietmar Winkler
2/main.so' no file '/usr/local/lib/lua/5.2/loadall.so' no file './main.so' stack traceback: [C]: in function 'require' [string "require "main""]:1: in main chunk On 28 July 2016 at 20:21, Kyle Fazzari wrote: > On 07/28/2016 11:05 AM, Diet

Getting QT apps running.

2016-07-28 Thread Dietmar Winkler
Hi, when trying to run this "ipe" qt app I got the error message: $ ipe This application failed to start because it could not find or load the Qt platform plugin "xcb". I found out that I need to include the libqt5gui5 package as stage package (just like in the hello-world-desktop example, But ev

Multiple app per part generate "dot" executables

2016-07-28 Thread Dietmar Winkler
Hi, I have one part that when compiled provides several binaries. See : https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml#L50 The problem is that the only "clean" bin binary is ipe all the other apps get installed as: $ ls /snap/bin/ipe* /snap/bin/ipe /snap/bin/ipe.i

Re: Problems with PREFIX when building a snap

2016-07-28 Thread Dietmar Winkler
In your case, this looks like: > > apps: > ipe: > command: bin/ipe > > With those changes, I was able to get a ipe_7.2.5_amd64.snap file built. You > can then install it using: > > sudo snap install ipe_7.2.5_amd64.snap > > > > On 28 July 2016 a

Problems with PREFIX when building a snap

2016-07-28 Thread Dietmar Winkler
Hi, I'm currently trying to buld my first snap. With the help of the #snappy irc channel I could finally create a snapp package but it seems to be empty and non of the binary are actually contained. Running `snapcraft` on https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml generates