Hi,

actually the gb.gui component depends on both GTK and QT libraries, but
it is unneeded because the component defaults on QT only if kde is
running

in any case GTK or QT will be used as fallback if the required one is
not installed and error messages are displayed, as shown by the code:

http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/tags/3.5.4/main/lib/gui/main.c

in the patch included, gb.gui depends only from gb.gtk or gb.qt4 and I
have added the required but not included gb.image component


I also moved to recommended the gb.qt4.ext in gb.db: I have not found
for what it is used, may be it can be completely removed


please to tell me if I should open a bug instead or modify the patch

ciao!
diff -urN debian.orig/control debian.onegui/control
--- debian.orig/control	2014-10-13 13:04:28.000000000 +0200
+++ debian.onegui/control	2014-11-09 14:45:55.826973536 +0100
@@ -153,7 +153,8 @@
 Package: gambas3-gb-db
 Architecture: any
 Section: libdevel
-Depends: ${misc:Depends}, ${shlibs:Depends}, gambas3-gb-form (>= ${source:Version}), gambas3-gb-qt4-ext (>= ${binary:Version}), gambas3-runtime
+Depends: ${misc:Depends}, ${shlibs:Depends}, gambas3-gb-form (>= ${source:Version}), gambas3-runtime
+Recommends: gambas3-gb-qt4-ext (>= ${binary:Version})
 Description: Gambas database access common libraries
  Gambas is a free development environment based on a Basic interpreter
  with object extensions, like Visual Basic(tm) (but it is NOT a clone!).
@@ -289,7 +290,7 @@
 Package: gambas3-gb-gui
 Architecture: any
 Section: libdevel
-Depends: ${misc:Depends}, ${shlibs:Depends}, gambas3-gb-qt4 (>= ${binary:Version}), gambas3-gb-gtk (>= ${binary:Version})
+Depends: ${misc:Depends}, ${shlibs:Depends}, gambas3-gb-qt4 (>= ${binary:Version}) | gambas3-gb-gtk (>= ${binary:Version}), gambas3-gb-image (>= ${binary:Version})
 Description: Gambas graphical toolkit selector
  Gambas is a free development environment based on a Basic interpreter
  with object extensions, like Visual Basic(tm) (but it is NOT a clone!).
_______________________________________________
Pkg-gambas-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-gambas-devel

Reply via email to