Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12010

Re: problem with swt4-gtk update

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.debian.maint.java
Subject Re: problem with swt4-gtk update
Date 2020-12-29 01:10 +0100
Message-ID <BraKm-5IP-15@gated-at.bofh.it> (permalink)
References <Br9lg-4vH-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Emmanuel,

On Mon, Dec 28, 2020 at 10:33 PM Sudip Mukherjee
<sudipm.mukherjee@gmail.com> 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: undefined symbol:
> gdk_texture_new_from_file
>
> Then it tries to find "/usr/lib/jni/libswt-pi4-gtk.so" which is not
> present and so the application fails.
>
> Any ideas?

'gdk_texture_new_from_file' is from gtk4 and the below patch will fix
the problem.
Do you want me to go ahead with this change ?


diff --git a/debian/rules b/debian/rules
index 803ce85a..f23618c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@

 include /usr/share/dpkg/pkg-info.mk

-export DEB_CFLAGS_MAINT_APPEND=-fPIC
+export DEB_CFLAGS_MAINT_APPEND=-fPIC -DNO_gdk_1texture_1new_1from_1file
 DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/buildflags.mk
 CFLAGS+=$(CPPFLAGS)


-- 
Regards
Sudip

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-28 23:40 +0100
  Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:10 +0100
    Re: problem with swt4-gtk update Thorsten Glaser <t.glaser@tarent.de> - 2020-12-29 01:20 +0100
      Re: problem with swt4-gtk update Thorsten Glaser <t.glaser@tarent.de> - 2020-12-29 01:40 +0100
        Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:50 +0100
          Re: problem with swt4-gtk update Emmanuel Bourg <ebourg@apache.org> - 2020-12-29 08:30 +0100
      Re: problem with swt4-gtk update Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-12-29 01:40 +0100

csiph-web