Bug#604269: Patch for fixing this bug and possible NMU.

2011-03-13 Thread José Luis Redrejo Rodríguez
El día 13 de marzo de 2011 11:21, Ana Guerrero a...@debian.org escribió:
 On Sun, Mar 13, 2011 at 09:51:18AM +0100, José Luis Redrejo Rodríguez wrote:
 El día 13 de marzo de 2011 01:02, Lisandro Damián Nicanor Pérez Meyer
 perezme...@gmail.com escribió:
  tag 604269 patch
  thanks
 
  Hi! I'm attaching a patch for solving this bug. I will possibly upload an 
  NMU
  soon for it to delayed/10.
 


 Please, don't do it. Your proposed patch won't fix the problem.
 Kde4 is not the problem, the problem is qt3 and can not be fixed.
 I'm going to ask the removal of gambas2 from the Debian archive as
 soon as I manage the packages depending on gambas2.

 You can read the dialog I kept with gambas upstream at:

 http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTinaucU94%3DhJt0GTOmqfRFo2tph636ZXGYmqKqC2%40mail.gmail.comforum_name=gambas-devel

 Hola José Luis!



Hola!

 Stuff using Qt3 can be kept in the archive for now at least (and
 it might even make into weezy if somebody else step up to maintain
 qt3)


These are great news, not only for this package, if you've read above
upstream comments to removing qt3, he complains because he (and more
people) thinks qt3 is faster and allows doing more things than qt4.
I hope some brave people dare to keep qt3 in the archive.



 What we are trying to remove currently is kdelibs from KDE3
 and Lisandro's patch remove this part from gambas2. So if you could
 do an upload of gambas2 based in Lisandro's work great, if you
 think the best is a removal anyway, I trust your judgement here.


I'll try it this evening. In the past I even tried compiling gambas
with kde4, I'll check if the kde component can be kept compiling
against kdelibs5-dev


Thanks for your information.

Cheers
José L.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604269: Patch for fixing this bug and possible NMU.

2011-03-13 Thread Lisandro Damián Nicanor Pérez Meyer
On Sunday 13 March 2011 07:34:02 José Luis Redrejo Rodríguez wrote:
 El día 13 de marzo de 2011 11:21, Ana Guerrero a...@debian.org escribió:
[snip]
  What we are trying to remove currently is kdelibs from KDE3
  and Lisandro's patch remove this part from gambas2. So if you could
  do an upload of gambas2 based in Lisandro's work great, if you
  think the best is a removal anyway, I trust your judgement here.
 
 I'll try it this evening. In the past I even tried compiling gambas
 with kde4, I'll check if the kde component can be kept compiling
 against kdelibs5-dev

José: please do not heasitate in contacting me if you find the patch is 
missing something/has a bug/whatever and you don't have the time to firther 
investigate it. I'll be pleased to help :-)

Kinds regards, Lisandro.

-- 
Sobre Argentina: sé que es uno de los países
mas hospitalarios del mundo
 Albert Einstein

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#604269: Patch for fixing this bug and possible NMU.

2011-03-13 Thread José Luis Redrejo Rodríguez
El día 13 de marzo de 2011 18:41, Lisandro Damián Nicanor Pérez Meyer
perezme...@gmail.com escribió:
 On Sunday 13 March 2011 07:34:02 José Luis Redrejo Rodríguez wrote:
 El día 13 de marzo de 2011 11:21, Ana Guerrero a...@debian.org escribió:
 [snip]
  What we are trying to remove currently is kdelibs from KDE3
  and Lisandro's patch remove this part from gambas2. So if you could
  do an upload of gambas2 based in Lisandro's work great, if you
  think the best is a removal anyway, I trust your judgement here.

 I'll try it this evening. In the past I even tried compiling gambas
 with kde4, I'll check if the kde component can be kept compiling
 against kdelibs5-dev

 José: please do not heasitate in contacting me if you find the patch is
 missing something/has a bug/whatever and you don't have the time to firther
 investigate it. I'll be pleased to help :-)


Hi, Lisandro, I'm taking a look at it. There's no way to compile it
with kdelibs5-dev, so kde support must be removed. Anyway, there are
some files to patch in the sources, it's not enough with the debian
files, as gambas informer preloads kde. Also, the gambas2-gb-gui
package description you modified in your patch must not be changed: as
we can continue using qt, it keeps the same behaviour: when running a
gambas application in kde it will use qt libraries, and gtk otherwise.

I hope to have it finished tonight or tomorrow.

Thanks for your help.





 Kinds regards, Lisandro.

 --
 Sobre Argentina: sé que es uno de los países
 mas hospitalarios del mundo
  Albert Einstein

 Lisandro Damián Nicanor Pérez Meyer
 http://perezmeyer.com.ar/
 http://perezmeyer.blogspot.com/




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604269: Patch for fixing this bug and possible NMU.

2011-03-13 Thread José Luis Redrejo Rodríguez
El día 13 de marzo de 2011 19:29, Lisandro Damián Nicanor Pérez Meyer
perezme...@gmail.com escribió:
 2011/3/13 José Luis Redrejo Rodríguez jredr...@debian.org:
 El día 13 de marzo de 2011 18:41, Lisandro Damián Nicanor Pérez Meyer
 [snip]
 Hi, Lisandro, I'm taking a look at it. There's no way to compile it
 with kdelibs5-dev, so kde support must be removed.

 Yes, I was going to mention you that and I forgot, sorry for that :-(

 Anyway, there are
 some files to patch in the sources, it's not enough with the debian
 files, as gambas informer preloads kde.

 That means that even when the correct switch is passed to configure it
 still finds kde 3?


it tries to preload it because these libraries are harcoded :
main/gbc/gbi.c: preload(argv, libqt-mt.so.3 
libkdecore.so.4);
main/gbx/gbx_library.c:add_preload(env, libkdecore.so.4);

and gives error messages because it can not find them if kde3 is not installed.



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604269: Patch for fixing this bug and possible NMU.

2011-03-12 Thread Lisandro Damián Nicanor Pérez Meyer
tag 604269 patch
thanks

Hi! I'm attaching a patch for solving this bug. I will possibly upload an NMU 
soon for it to delayed/10.

Please, do not heasitate in contacting me for any comments/issues you may 
have.

Kinds regards, Lisandro.

-- 
I still maintain the point that designing a monolithic kernel in 1991 is a
fundamental error.  Be thankful you are not my student.  You would not get a
high grade for such a design :-)
(Andrew Tanenbaum to Linus Torvalds)

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
diff --git a/debian/changelog b/debian/changelog
index f669de1..694c2ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gambas2 (2.21.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove kdelibs4-dev from B-D. This removes the KDE 3 support
+(Closes: #604269).
+
+ -- Lisandro Damián Nicanor Pérez Meyer perezme...@gmail.com  Sat, 12 Mar 2011 20:42:40 -0300
+
 gambas2 (2.21.0-2) unstable; urgency=low
 
   * debian/control: Build dependency on libcurl4-gnutls-dev instead of
diff --git a/debian/control b/debian/control
index fdcdee8..470d01e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,13 +3,13 @@ Section: devel
 Priority: optional
 Homepage: http://gambas.sourceforge.net
 Maintainer: José L. Redrejo Rodríguez jredr...@debian.org
-Build-Depends: debhelper (= 5.0.42), libpq-dev, libmysqlclient-dev, libbz2-dev, libqt4-dev, libcurl4-gnutls-dev, libsdl-mixer1.2-dev, libsqlite0-dev, libxml2-dev, libxslt1-dev, kdelibs4-dev, zlib1g-dev, unixodbc-dev, libsqlite3-dev, libgtk2.0-dev, libxt-dev, pkg-config, mesa-common-dev, libsdl-sound1.2-dev, libsdl-image1.2-dev, libsdl-gfx1.2-dev, libsdl-ttf2.0-dev, libpcre3-dev, libsdl1.2-dev, libjpeg62-dev, libpng12-dev, libpoppler-dev (= 0.5), firebird2.1-dev, librsvg2-dev, bzip2, gettext, libxtst-dev, libffi-dev, quilt
+Build-Depends: debhelper (= 5.0.42), libpq-dev, libmysqlclient-dev, libbz2-dev, libqt4-dev, libcurl4-gnutls-dev, libsdl-mixer1.2-dev, libsqlite0-dev, libxml2-dev, libxslt1-dev,  zlib1g-dev, unixodbc-dev, libsqlite3-dev, libgtk2.0-dev, libxt-dev, pkg-config, mesa-common-dev, libsdl-sound1.2-dev, libsdl-image1.2-dev, libsdl-gfx1.2-dev, libsdl-ttf2.0-dev, libpcre3-dev, libsdl1.2-dev, libjpeg62-dev, libpng12-dev, libpoppler-dev (= 0.5), firebird2.1-dev, librsvg2-dev, bzip2, gettext, libxtst-dev, libffi-dev, quilt
 Standards-Version: 3.9.1
 
 Package: gambas2
 Architecture: any
 Section: devel
-Depends: ${misc:Depends}, gambas2-doc (= ${source:Version}), gambas2-gb-chart (= ${source:Version}), gambas2-gb-compress-bzlib2 (= ${binary:Version}), gambas2-gb-compress-zlib (= ${binary:Version}), gambas2-gb-crypt (= ${binary:Version}), gambas2-gb-db-firebird (= ${binary:Version}), gambas2-gb-db-form (= ${source:Version}), gambas2-gb-db-mysql (= ${binary:Version}), gambas2-gb-db-postgresql (= ${binary:Version}), gambas2-gb-db-odbc (= ${binary:Version}), gambas2-gb-db-sqlite3 (= ${binary:Version}) | gambas2-gb-db-sqlite2 (= ${binary:Version}), gambas2-gb-desktop (= ${binary:Version}), gambas2-gb-form (= ${source:Version}), gambas2-gb-form-dialog (= ${source:Version}), gambas2-gb-form-mdi (= ${source:Version}), gambas2-gb-gtk-ext (= ${binary:Version}), gambas2-gb-gtk-svg (= ${binary:Version}), gambas2-gb-gui (= ${binary:Version}), gambas2-gb-image (= ${binary:Version}), gambas2-gb-info (= ${source:Version}), gambas2-gb-net-curl (= ${binary:Version}), gambas2-gb-net-smtp (= ${binary:Version}), gambas2-gb-opengl (= ${binary:Version}), gambas2-gb-pcre (= ${binary:Version}), gambas2-gb-pdf (= ${binary:Version}), gambas2-gb-qt-ext (= ${binary:Version}), gambas2-gb-qt-kde-html (= ${binary:Version}), gambas2-gb-qt-opengl, gambas2-gb-report (= ${source:Version}), gambas2-gb-sdl-sound (= ${binary:Version}), gambas2-gb-settings (= ${source:Version}), gambas2-gb-vb, gambas2-gb-v4l (= ${binary:Version}) [linux-any], gambas2-gb-web, gambas2-gb-xml-rpc (= ${binary:Version}), gambas2-gb-xml-xslt (= ${binary:Version}), gambas2-ide (= ${source:Version})
+Depends: ${misc:Depends}, gambas2-doc (= ${source:Version}), gambas2-gb-chart (= ${source:Version}), gambas2-gb-compress-bzlib2 (= ${binary:Version}), gambas2-gb-compress-zlib (= ${binary:Version}), gambas2-gb-crypt (= ${binary:Version}), gambas2-gb-db-firebird (= ${binary:Version}), gambas2-gb-db-form (= ${source:Version}), gambas2-gb-db-mysql (= ${binary:Version}), gambas2-gb-db-postgresql (= ${binary:Version}), gambas2-gb-db-odbc (= ${binary:Version}), gambas2-gb-db-sqlite3 (= ${binary:Version}) | gambas2-gb-db-sqlite2 (= ${binary:Version}), gambas2-gb-desktop (= ${binary:Version}), gambas2-gb-form (= ${source:Version}), gambas2-gb-form-dialog (= ${source:Version}), gambas2-gb-form-mdi (= ${source:Version}), gambas2-gb-gtk-ext (= ${binary:Version}), gambas2-gb-gtk-svg (= ${binary:Version}), gambas2-gb-gui (= ${binary:Version}), gambas2-gb-image (= ${binary:Version}), gambas2-gb-info (= ${source:Version}), gambas2-gb-net-curl (=