View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031677 | Lazarus | Widgetset | public | 2017-04-18 18:18 | 2017-04-20 18:36 |
Reporter | Anton Kavalenka | Assigned To | Zeljan Rikalo | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | Linux | ||
Product Version | 1.7 (SVN) | ||||
Summary | 0031677: gtk3: Can not link GTK3 application, non-existent symbol imported | ||||
Description | GTK3 applications failed to link. Patch provided. using ld in two different ways gives much thoughts about -T ld -T link.res /projects/lazarus/lcl/units/x86_64-linux/gtk3/lazgdkpixbuf2.o: In function `GETTEXT': /projects/lazarus/lcl/interfaces//gtk3/gtk3bindings/lazgdkpixbuf2.pas:469: undefined reference to `gdk_pixbuf_gettext' ld link.res ld: warning: link.res contains output sections; did you forget -T? ld: .data not found for insert | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 54655 | ||||
LazTarget | - | ||||
Widgetset | GTK 3 | ||||
Attached Files |
|
related to | 0031674 | closed | Juha Manninen | gtk2: DrawText implementation DT_NOPREFIX faulty handling |
|
lazgdkpixbuf2.diff (1,352 bytes)
Index: lazgdkpixbuf2.pas =================================================================== --- lazgdkpixbuf2.pas (revision 54624) +++ lazgdkpixbuf2.pas (working copy) @@ -332,7 +332,7 @@ function gdk_pixbuf_get_rowstride(pixbuf: PGdkPixbuf): gint; cdecl; external; function gdk_pixbuf_get_type: TGType; cdecl; external; function gdk_pixbuf_get_width(pixbuf: PGdkPixbuf): gint; cdecl; external; -function gdk_pixbuf_gettext(msgid: Pgchar): Pgchar; cdecl; external; +//function gdk_pixbuf_gettext(msgid: Pgchar): Pgchar; cdecl; external; function gdk_pixbuf_loader_close(loader: PGdkPixbufLoader; error: PPGError): gboolean; cdecl; external; function gdk_pixbuf_loader_get_animation(loader: PGdkPixbufLoader): PGdkPixbufAnimation; cdecl; external; function gdk_pixbuf_loader_get_format(loader: PGdkPixbufLoader): PGdkPixbufFormat; cdecl; external; @@ -466,7 +466,7 @@ function TGdkPixbuf.gettext(msgid: Pgchar): Pgchar; cdecl; begin - Result := LazGdkPixbuf2.gdk_pixbuf_gettext(msgid); + Result := nil;//LazGdkPixbuf2.gdk_pixbuf_gettext(msgid); end; procedure TGdkPixbuf.new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; @@ -834,4 +834,4 @@ LazGdkPixbuf2.gdk_pixbuf_simple_anim_set_loop(@self, loop); end; -end. \ No newline at end of file +end. |
|
What gtk3 version do you use ? |
|
apt-cache show libgtk-3-0 Package: libgtk-3-0 Source: gtk+3.0 Version: 3.22.11-1 apt-cache show libgdk-pixbuf2.0-0 Package: libgdk-pixbuf2.0-0 Source: gdk-pixbuf Version: 2.36.5-3 |
|
That's why gtk is crap at all. They just remove or add stuff in minor versions. |
|
all the multilayer wrappers are crap. But neither CustomDrawn nor fpGUI are usable. |
|
Please test and close if ok (also changed widgetset from Gtk2 to Gtk3) |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-18 18:18 | Anton Kavalenka | New Issue | |
2017-04-18 18:18 | Anton Kavalenka | File Added: lazgdkpixbuf2.diff | |
2017-04-18 19:15 | Juha Manninen | Relationship added | related to 0031674 |
2017-04-20 10:17 | Zeljan Rikalo | Note Added: 0099693 | |
2017-04-20 12:24 | Anton Kavalenka | Note Added: 0099696 | |
2017-04-20 12:28 | Anton Kavalenka | Note Edited: 0099696 | View Revisions |
2017-04-20 15:33 | Zeljan Rikalo | Note Added: 0099700 | |
2017-04-20 17:37 | Anton Kavalenka | Note Added: 0099707 | |
2017-04-20 18:15 | Zeljan Rikalo | Fixed in Revision | => 54655 |
2017-04-20 18:15 | Zeljan Rikalo | LazTarget | => - |
2017-04-20 18:15 | Zeljan Rikalo | Widgetset | GTK 2 => GTK 3 |
2017-04-20 18:15 | Zeljan Rikalo | Note Added: 0099712 | |
2017-04-20 18:15 | Zeljan Rikalo | Status | new => resolved |
2017-04-20 18:15 | Zeljan Rikalo | Resolution | open => fixed |
2017-04-20 18:15 | Zeljan Rikalo | Assigned To | => Zeljan Rikalo |
2017-04-20 18:36 | Anton Kavalenka | Status | resolved => closed |