problem with swt4-gtk update

2020-12-28 Thread Sudip Mukherjee
Hi Emmanuel, With the latest update of swt4-gtk to 4.18.0-1 I am seeing a problem in loading the library. After a little debugging it seems its not finding a symbol. /usr/lib/jni/libswt-pi3-gtk-4940r23.so: undefined symbol: gdk_texture_new_from_file Then it tries to find "/usr/lib/jni/libswt-pi4

Re: problem with swt4-gtk update

2020-12-28 Thread Sudip Mukherjee
Hi Emmanuel, On Mon, Dec 28, 2020 at 10:33 PM Sudip Mukherjee wrote: > > Hi Emmanuel, > > With the latest update of swt4-gtk to 4.18.0-1 I am seeing a problem > in loading the library. After a little debugging it seems its not > finding a symbol. > > /usr/lib/jni/libswt-pi3-gtk-4940r23.so: undefi

Re: problem with swt4-gtk update

2020-12-28 Thread Thorsten Glaser
On Tue, 29 Dec 2020, Sudip Mukherjee wrote: > +export DEB_CFLAGS_MAINT_APPEND=-fPIC -DNO_gdk_1texture_1new_1from_1file -D goes to CPPFLAGS, not CFLAGS. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-23

Re: problem with swt4-gtk update

2020-12-28 Thread Sudip Mukherjee
On Tue, Dec 29, 2020 at 12:18 AM Thorsten Glaser wrote: > > On Tue, 29 Dec 2020, Sudip Mukherjee wrote: > > > +export DEB_CFLAGS_MAINT_APPEND=-fPIC -DNO_gdk_1texture_1new_1from_1file > > -D goes to CPPFLAGS, not CFLAGS. oops. thanks Thorsten. So the modified patch is pasted below. But even if we

Re: problem with swt4-gtk update

2020-12-28 Thread Thorsten Glaser
On Tue, 29 Dec 2020, Sudip Mukherjee wrote: > if we add it to CPPFLAGS it will eventually get added to CFLAGS as > d/rules is doing "CFLAGS+=$(CPPFLAGS)". Maybe, but it’s the semantically right thing after all ;-) Maybe the upstream build system will become unbroken one day and not require that

Re: problem with swt4-gtk update

2020-12-28 Thread Sudip Mukherjee
On Tue, Dec 29, 2020 at 12:38 AM Thorsten Glaser wrote: > > On Tue, 29 Dec 2020, Sudip Mukherjee wrote: > > > if we add it to CPPFLAGS it will eventually get added to CFLAGS as > > d/rules is doing "CFLAGS+=$(CPPFLAGS)". > > Maybe, but it’s the semantically right thing after all ;-) Agreed. So, I

Re: problem with swt4-gtk update

2020-12-28 Thread Emmanuel Bourg
Le 29/12/2020 à 01:46, Sudip Mukherjee a écrit : > So, I will wait for any other objection or Ack till tomorrow night and > then upload. Thank you for spotting issue. Please go ahead and upload the fix. Emmanuel Bourg