Bug 19211 - gambas3-ide package was missing dependencies, examples how to get
Summary: gambas3-ide package was missing dependencies, examples how to get
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-18 13:51 CEST by Morgan Leijström
Modified: 2019-05-13 06:14 CEST (History)
1 user (show)

See Also:
Source RPM: gambas3-3.8.4-5.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2016-08-18 13:51:05 CEST
I installed gambas3-ide with dependencies, but realised It also need

 gambas3-gb-form-editor
 gambas3-gb-net-curl
 gambas3-gb-util

Before $ gambas launch sucessfully.
Comment 1 Morgan Leijström 2016-08-18 13:52:38 CEST
Correction launch command for gambas ide is
 $ gambas3

( I missed the "3". )
Comment 2 Morgan Leijström 2016-08-18 15:55:38 CEST
BTW, the gambas-ide package description is obviously wrong as this package depends on several other gambas* packages:

" 
This package includes the complete Gambas Development Environment, with the
database manager, the help files, and all components.
  "
David Walser 2016-08-18 16:05:59 CEST

Assignee: bugsquad => geiger.david68210

Comment 3 David GEIGER 2016-08-18 16:27:52 CEST
Ok thanks for your report!

So I'm on it and I see that we can also switch to Qt5 for the GUI.

@ Morgan:

What you propose for the gambas3-ide description?
Comment 4 Morgan Leijström 2016-08-18 16:34:46 CEST
Great. I intend to learn together with my son
(it has been a while since i used... QuickBasic...)

" This package together with dependencies form the complete Gambas Development Environment.  Other gambas* packages may be needed to run programs (including the examples), in which case there will be messages about that."
Comment 5 David GEIGER 2016-08-18 16:42:10 CEST
Ok good for me! Thanks
Comment 6 Morgan Leijström 2016-08-18 17:58:06 CEST
Strange:
The package gambas3-examples is pulled in as dependency but it is empty!

# LC_ALL=C rpm -ql gambas3-examples
(contains no files)

The Gambas IDE main section "Examples" is empty and say:

" Examples are stored on the Gambas farm server. Click here to access the farm server and download them... "

And it works to download and use :)

But i fail to find simple examples such as running lights and that sort that I tested a half year ago on mga 5 when i checked briefly...?
It used to look like this http://cdn.makeuseof.com/wp-content/uploads/2015/02/GAMBAS-Projects.png?b34c28

I guess that those examples accessible by default like in that screenshot are what is intended to be in the -examples package?
Comment 7 Morgan Leijström 2016-08-18 18:34:06 CEST
  Please try to run some download examples... I tried :

  Downloading GambasGears 3.8.90, Gambas say it requires the file gb.sdl2, bit no package in mga6 contain it.

  Try to run example AnalogWatch 1.0.0 : Gambas konsole at bottom of IDE say:
gb.gui: error: unable to find any GUI component
  And in the terminal from where I started Gambas:
kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.

  ( try the latter when you have swithed to Qt5 :) )
Comment 8 David GEIGER 2016-08-18 21:23:47 CEST
should be fixed!!

Please test with gambas3-3.8.4-8.mga6 in repo Cauldron Core/Updates_testing

http://svnweb.mageia.org/packages?view=revision&revision=1046900

http://svnweb.mageia.org/packages?view=revision&revision=1046915
Comment 9 Morgan Leijström 2016-08-19 01:29:00 CEST
Test on mga6 x86_64, first removed all gambas* packages, then installed gambas3-ide:   It launch cleanly; 

§ Dependencies are sufficient 
§ qt5 OK ( Bug 19212 )
§ Description fixed
§ it do not pull gambas3-examples, and it seem not to exist in the new build
§ gb.sdl2 is in gambas3-gb-sdl2 which got pulled as dependency 
§ AnalogWatch 1.0.0 runs OK
§ GambasGears 3.8.90 runs OK ( it asked for a file which our rpm tools find in gambas3-gb-opengl and after i installed that rpm it worked)

Question:
§ should really gambas3-gb-sdl2 be a *dependency* ?

TODO:
Do we have some idea where/how to get the examples that were there in mga5 ?
Comment 10 David GEIGER 2016-08-19 10:42:09 CEST
(In reply to Morgan Leijström from comment #9) 
> Question:
> § should really gambas3-gb-sdl2 be a *dependency* ?

Yes because I see that a lot of downloadable examples need sdl2 package, so it is better to have it as a dependency.

> TODO:
> Do we have some idea where/how to get the examples that were there in mga5 ?

Nop, upstream does not provides anymore the examples stuff in their sources. Now all examples should be downloaded online.
Comment 11 Morgan Leijström 2016-08-19 10:52:07 CEST
OK thanks for the investigation and your work

Closing as fixed :)

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 12 Morgan Leijström 2016-08-19 10:54:39 CEST
...assuming packages will be also for i586 / moved from testing ;)
Comment 13 David GEIGER 2016-08-19 10:58:24 CEST
So ok thanks for your test :)

Yes, now we just need to wait for the gambas3-xxx packages be moved to core/release with the others updated poppler's dependant packages.

i586 and x86_64 of course.
Comment 14 Morgan Leijström 2016-08-21 12:27:40 CEST
Just in case someone finds this thread, the assortment of old and good beginners examples such as Blights can be fetched from a mageia 5 repo.  Example method:

$ wget ftp://ftp.acc.umu.se/mirror/mageia/distrib/5/x86_64/media/core/release/gambas3-examples-3.6.2-4.mga5.noarch.rpm

You can then simply open that rpm as an archive with i.e Ark to pick any or all examples.

Or

# urpmi --allow-force gambas3-examples-3.6.2-4.mga5.noarch.rpm

and answer yes.

Examples are anyway not seen in gambas startup page like before, but in
/usr/share/gambas3/examples/  Gambas can open them from there if you navigate there, or you may want to copy or move them.
Morgan Leijström 2016-08-21 12:28:43 CEST

Summary: gambas3-ide package is missing three dependencies => gambas3-ide package was missing dependencies, examples how to get

Comment 15 Alex Loginov 2019-05-13 02:46:39 CEST
> Do we have some idea where/how to get the examples that were there in mga5 ?

examples can be packaged again. See Debian package: http://ftp.br.debian.org/debian/pool/main/g/gambas3/?C=M;O=D

CC: (none) => loginov_alex
Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 16 Alex Loginov 2019-05-13 03:09:59 CEST
And missing dependencies again: https://bugs.mageia.org/show_bug.cgi?id=24804
Comment 17 David GEIGER 2019-05-13 06:14:55 CEST
Both fixed with gambas3-3.13.0-2.mga7!

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.