STklos icon indicating copy to clipboard operation
STklos copied to clipboard

Trying to install stklos-gtk-canvas-1.0.0

Open ghost opened this issue 3 years ago • 12 comments

I'm using Debian Linux. I have been trying to install the above-mentioned package. I'm getting the following error message:

**** Error while executing file "/usr/local/bin/stklos-compile" Where: in error Reason: Cannot find GTK+ library file "libgobject-2.0"

I checked, and I already have the most recent version of libglib2.0-dev installed, which I think contains the "libgobject-2.0" (at least I think...I'm really in over my head with this).

Any idea what I need to do?

Thanks so much.

ghost avatar Nov 09 '20 09:11 ghost

Hello @TuLithu !

I believe I have reported this before -- see #57 . It seems to be a small problem in the description of the stklos-gtk-canvas package in the repository. Have you tried installing it in any other distribution or just Debian?

jpellegrini avatar Nov 09 '20 09:11 jpellegrini

Hello @jpellegrini ,

No, I have only tried on Debian. I only own one computer at this time.

ghost avatar Nov 09 '20 10:11 ghost

Ok -- I'll try to install on some different distributions on VMs in the next days and see if this is Debian-specific or not.

jpellegrini avatar Nov 09 '20 10:11 jpellegrini

Great. Thanks so much!

ghost avatar Nov 09 '20 12:11 ghost

I'm sorry, but I will not ne able to have a look at this point until next week :disappointed:

egallesio avatar Nov 09 '20 20:11 egallesio

See PR 1 in the stklos-gtk-canvas repository. But I think it's not the only thing to fix.

jpellegrini avatar Nov 11 '20 18:11 jpellegrini

@jpellegrini I'm sorry, I don't understand how to apply the information in your last post to my specific problem.

ghost avatar Nov 13 '20 13:11 ghost

@jpellegrini I'm sorry, I don't understand how to apply the information in your last post to my specific problem.

Hello @TuLithu -- I am afraid this is something you cannot fix yourself; the package that is downloaded by stklos-pkg needs to be changed. It would be necessary to wait for @egallesio to take a look.

jpellegrini avatar Nov 13 '20 13:11 jpellegrini

Tried to download the package again today, and am still getting the same message.

ghost avatar Nov 26 '20 06:11 ghost

Sorry for the looooong it took me to respond.

Distributing package though ScmPckg is not convenient anymore (it implies that I must be able to build new versions and place them on the stklos.net server, which I cannot always do as quickly as I want). Consequently, I have started to make a new package of GUI extensions which could be distributed in source form and compiled with a classical configure, make and make install.

Everything was fine until I start to port goocanvas. It took me a lot of time to realize that in fact goocanvas-2.0 uses in fact GTK3 (and not GTK2 as the number let me suppose :disappointed: ).

A degraded solution could be to use a simple drawing area and draw items on it. A better one consists to have a GTK3 binding, but it is probably a lot ow work.

So, I'm afraid that canvases could not be used easily in a near future. Sorry about that.

egallesio avatar Dec 04 '20 15:12 egallesio

That is too bad, because the canvas was central to what I was trying to do with STklos. I will have to find another solution. But I understand that this is outside of your ability to control. Good luck in the future.

ghost avatar Dec 09 '20 02:12 ghost

That is too bad, because the canvas was central to what I was trying to do with STklos. I will have to find another solution.

I'm sorry about that. BTW, I have just seen that goocanvas1 (the one for GTK2) is still available in AUR for ArchLinux (but no more maintained since 2018). Perhaps, it is also available for your distribution. Anyway, I suppose that it is not a good idea to rely on such a package and understand that you have to find another solution.

egallesio avatar Dec 16 '20 11:12 egallesio