Bug#823908: bad dependencies

2016-05-11 Thread Gianfranco Costamagna


Hi, seems good!

pushed on commit f4646b0


thanks!
(BTW if you want full credits just tell me your name and I'll add it :) )

Gianfranco



Il Giovedì 12 Maggio 2016 0:27, Trek  ha scritto:
On Tue, 10 May 2016 10:34:37 + (UTC)
Gianfranco Costamagna  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!



Bug#823908: bad dependencies

2016-05-11 Thread Trek
On Tue, 10 May 2016 10:34:37 + (UTC)
Gianfranco Costamagna  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


Bug#823908: bad dependencies

2016-05-10 Thread Gianfranco Costamagna
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

thanks

G.




Il Martedì 10 Maggio 2016 11:57, Trek  ha scritto:
Package: gambas3
Version: 3.5.4-2

I'm reviving this thread as it was confirmed by upstream developer and
has a patch to fix. Basically:

  - gb.gui technically depends on no components, as it searches for GUI 
components (gb.gtk, gb.gtk3 and gb.qt4) at runtime. Concretely, it 
should depends on gb.gtk OR gb.gtk3 OR gb.qt4. Same logic with 
gb.gui.opengl.

  - gb.db depends on nothing. It may depends on gb.db.mysql OR 
gb.db.postgresql... But there is no need for that normally. It's up
to the developer to make its project depends on the database driver
it needs.

http://lists.alioth.debian.org/pipermail/pkg-gambas-devel/Week-of-Mon-20141124/000369.html



Bug#823908: bad dependencies

2016-05-10 Thread Trek
Package: gambas3
Version: 3.5.4-2

I'm reviving this thread as it was confirmed by upstream developer and
has a patch to fix. Basically:

  - gb.gui technically depends on no components, as it searches for GUI 
components (gb.gtk, gb.gtk3 and gb.qt4) at runtime. Concretely, it 
should depends on gb.gtk OR gb.gtk3 OR gb.qt4. Same logic with 
gb.gui.opengl.

  - gb.db depends on nothing. It may depends on gb.db.mysql OR 
gb.db.postgresql... But there is no need for that normally. It's up
to the developer to make its project depends on the database driver
it needs.

http://lists.alioth.debian.org/pipermail/pkg-gambas-devel/Week-of-Mon-20141124/000369.html