On Tue, 10 May 2016 10:34:37 +0000 (UTC)
Gianfranco Costamagna <locutusofb...@debian.org> wrote:

> Hi, can you please double-check this commit?
> 
> http://anonscm.debian.org/cgit/pkg-gambas/gambas3.git/commit/?id=adacb811579d0bf80fe805829ed707f96d2f6789
> 
> otherwise feel free to propose a patch

I made a new patch based on your commit, to fix all the gui related
dependencies


the simpler way to fix dependencies is to check this page at first:

http://gambaswiki.org/wiki/howto/package

then I check the Require line in /usr/lib/gambas3/*.component files, to
make sure that all dependencies are satisfied even if the packaging is
different

some component (like gb.gui, gb.gui.opengl, gb.db) search runtime for
packages, so you can find the needed components searching for strings in
the /usr/lib/gambas3/*.so files (but reading the source code is better)


in the next days, I will send you a bigger patch, with other
dependencies fixed


> thanks

thanks to you!
--- control.orig	2016-05-11 23:38:11.777590135 +0200
+++ control	2016-05-12 00:15:36.121548098 +0200
@@ -484,7 +484,7 @@
 Package: gambas3-gb-gtk
 Architecture: any
 Section: libdevel
-Depends: gambas3-runtime (>= ${binary:Version}),
+Depends: gambas3-runtime (>= ${binary:Version}), gambas3-gb-image (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Gambas GTK+ component
@@ -496,7 +496,7 @@
 Package: gambas3-gb-gtk3
 Architecture: any
 Section: libdevel
-Depends: gambas3-runtime (>= ${binary:Version}),
+Depends: gambas3-runtime (>= ${binary:Version}), gambas3-gb-image (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Gambas GTK+3 component
@@ -536,7 +536,7 @@
 Package: gambas3-gb-gui-opengl
 Architecture: any
 Section: libdevel
-Depends: gambas3-gb-gtk-opengl (>= ${binary:Version}) | gambas3-gb-gui (>= ${binary:Version}) | gambas3-gb-qt5-opengl (>= ${binary:Version}) | gambas3-gb-qt4-opengl (>= ${binary:Version}),
+Depends: gambas3-gb-gui (>= ${binary:Version}), gambas3-gb-opengl (>= ${binary:Version}), gambas3-gb-gtk-opengl (>= ${binary:Version}) | gambas3-gb-qt5-opengl (>= ${binary:Version}) | gambas3-gb-qt4-opengl (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Gambas OpenGL selector
@@ -741,7 +741,7 @@
 Package: gambas3-gb-opengl
 Architecture: any
 Section: libdevel
-Depends: gambas3-runtime (>= ${binary:Version}),
+Depends: gambas3-runtime (>= ${binary:Version}), gambas3-gb-image (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Gambas OpenGL component
@@ -812,7 +812,7 @@
 Package: gambas3-gb-qt4
 Architecture: any
 Section: libdevel
-Depends: gambas3-runtime (>= ${binary:Version}),
+Depends: gambas3-runtime (>= ${binary:Version}), gambas3-gb-image (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Gambas Qt GUI component
@@ -824,7 +824,7 @@
 Package: gambas3-gb-qt5
 Architecture: any
 Section: libdevel
-Depends: gambas3-runtime (>= ${binary:Version}),
+Depends: gambas3-runtime (>= ${binary:Version}), gambas3-gb-image (>= ${binary:Version}),
          ${misc:Depends},
          ${shlibs:Depends}
 Description: Gambas Qt5 GUI component

Reply via email to