[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gb.highlight trouble


Le 15/07/2026 à 16:27, gbWilly a écrit :
OK,

It seems to lack the gambas3-dev-tools, as that is where gbc3 resides.
I can solve this by adding gambas3-dev-tools as a dependency in step 7 of the package wizard, but that would be a workaround. The package wizard should add gambas3-dev-tools as a dependency without having to add it in step 7, as it does for all other that is required. So, maybe gb.highlight should depend on the dev-tools in the gambas3 recipe, so gbc3 will be installed.

That means a slight adaption to the OSB recipe.
The changes needed for the debian/ubuntu control file are simple (in bold if not viewing in plain text):

Package: gambas3-gb-highlight
Architecture: all
Section: libdevel
Depends: ${misc:Depends},gambas3-runtime (>= ${binary:Version}),gambas3- gb-image (>= ${binary:Version}),gambas3-gb-pcre (>= ${binary:Version})*, gambas3-dev-tools (>= ${binary:Version})*
Description: Gambas syntax highlighting component
 Gambas is a free development environment and a full powerful object- oriented language and development platform based on a fast Basic interpreter with optional just-in-time compilation, as easy as Visual Basic™ was.
  .
 This component provides syntax highlighting routines. Highlighting is defined by description files using a rather simple specific syntax.

This should ensure that a project using gb.highlight, when packaged also has the dev-tools as a dependency, so all will work.

gbWilly


Yes, this is the right fix.

--
Benoît Minisini.


References:
gb.highlight troublegbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: gb.highlight troublegbWilly <gbWilly@xxxxxxxxxxxxxx>