Package Details: gtkada 1:25.0w-1

Git Clone URL: https://aur.archlinux.org/gtkada.git (read-only, click to copy)
Package Base: gtkada
Description: Ada bindings for the Gtk+ library.
Upstream URL: https://github.com/AdaCore/gtkada
Licenses: custom, GPL3
Submitter: None
Maintainer: charlie5
Last Packager: charlie5
Votes: 18
Popularity: 0.000000
First Submitted: 2009-07-17 04:43 (UTC)
Last Updated: 2024-05-31 06:36 (UTC)

Pinned Comments

charlie5 commented on 2023-07-09 16:44 (UTC)

This package is available in the Arch Ada Repository.

https://wiki.archlinux.org/title/Ada

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

storchi commented on 2015-10-28 15:37 (UTC)

Installation fails. [cs@myarchlinux gtkada]$ makepkg -sri ==> Erstelle Paket: gtkada 2015-1 (Mi 28. Okt 16:32:30 CET 2015) ==> Prüfe Laufzeit-Abhängigkeiten... ==> Prüfe Buildtime-Abhängigkeiten... ==> Empfange Quellen... -> Lade db00d9243e8d34c0da0a583c22903272f2d28135 herunter... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.7M 100 10.7M 0 0 768k 0 0:00:14 0:00:14 --:--:-- 435k -> patch-Makefile.in gefunden -> patch-projects-Makefile.in gefunden ==> Überprüfe Gültigkeit der Quell-Dateien mit md5sums... db00d9243e8d34c0da0a583c22903272f2d28135 ... Durchgelaufen patch-Makefile.in ... Durchgelaufen patch-projects-Makefile.in ... Durchgelaufen ==> Entpacke Quellen... -> Entpacke db00d9243e8d34c0da0a583c22903272f2d28135 mit bsdtar ==> Beginne prepare()... patching file Makefile.in patching file projects/Makefile.in ==> Beginne build()... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for gprbuild... /usr/bin/gprbuild checking that your gnat compiler works with a simple example... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... yes checking for gettext in libc... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK - version >= 3.8.3... yes configure: creating ./config.status config.status: creating Makefile config.status: creating shared.gpr config.status: creating src/tools/gtkada-config config.status: creating projects/Makefile config.status: creating docs/Makefile config.status: creating docs/gtkada_rm/Makefile config.status: creating po/Makefile config.status: creating src/config.h config.status: creating projects/gtkada.gpr config.status: creating projects/gtkada_gl.gpr config.status: creating projects/gtkada.pc config.status: creating projects/gtkada_install_dynamic.gpr config.status: creating projects/gtkada_install_dynamic_gl.gpr configure: --------- Summary for Gtkada 3.8.3 ----------------- configure: Shared libraries: yes (default: static) configure: OpenGL: False configure: -------------------------------------------- gnatprep -DGETTEXT_INTL=False -DHAVE_GETTEXT=True src/gtkada-intl.gpb src/gtkada-intl.adb ====== Building static libraries ===== /usr/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static -Psrc/gtkada_src.gpr object directory "/home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/static/" created Error: no native compiler found for language 'ada', default runtime library directory "/home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/lib/gtkada/static" created for project gtkada_src gtkada_src.gpr:3:17: warning: no compiler specified for language "Ada", ignoring all its sources clang -c -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include misc_generated.c clang -c -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include misc.c /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/misc.c:420:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] g_log (log_domain, log_level, format); ^~~~~~ 1 warning generated. gprlib gtkada.lexch ar cr /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/lib/gtkada/static/libgtkada.a /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/static/misc_generated.o /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/static/misc.o ranlib libgtkada.a ====== Building relocatable libraries ===== /usr/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -Psrc/gtkada_src.gpr object directory "/home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/relocatable/" created Error: no native compiler found for language 'ada', default runtime library directory "/home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/lib/gtkada/relocatable" created for project gtkada_src gtkada_src.gpr:3:17: warning: no compiler specified for language "Ada", ignoring all its sources clang -c -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include misc_generated.c clang -c -O2 -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include misc.c /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/misc.c:420:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] g_log (log_domain, log_level, format); ^~~~~~ 1 warning generated. gprlib gtkada.lexch clang -shared -o /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/lib/gtkada/relocatable/libgtkada.so.3.8.3 ... /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/relocatable/misc_generated.o ... /usr/bin/ld: /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/relocatable/misc.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /home/cs/src/gtkada/src/gtkada-gpl-2015-src/src/obj/gtkada/relocatable/misc.o: error adding symbols: Bad value clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation) gprlib: /usr/bin/clang execution error gprbuild: could not build library for project gtkada_src Makefile:78: die Regel für Ziel „build_library_type/relocatable“ scheiterte make: *** [build_library_type/relocatable] Fehler 4 ==> FEHLER: Ein Fehler geschah in build(). Breche ab...

Georgios commented on 2015-05-13 16:03 (UTC)

charlie5, update the description!

City-busz commented on 2014-05-13 03:51 (UTC)

Please move gcc-ada to makedepends, because it's not needed for running gtkada applications.

<deleted-account> commented on 2012-05-04 10:33 (UTC)

May be broken, but not out of date.. Will fix it this evening.

<deleted-account> commented on 2012-05-04 10:18 (UTC)

Broken. […] gcc -c -gnatec=/media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src/gnat.adc -gnatec=/media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src/gnat.adc -gnatQ -O2 -gnatn -gnatws -fPIC -I- -gnatA /media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src/gtk-plug.adb gcc -c -gnatec=/media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src/gnat.adc -gnatec=/media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src/gnat.adc -gnatQ -O2 -gnatn -gnatws -fPIC -I- -gnatA /media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src/gtk-list.adb gcc -o lib-obj/misc.o -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I.. -fPIC misc.c In file included from misc.c:39:0: /usr/include/glib-2.0/glib/gmain.h:21:2: error: #error "Only <glib.h> can be included directly." misc.c: In function 'ada_initialize_class_record': misc.c:609:10: warning: variable 'id' set but not used [-Wunused-but-set-variable] misc.c: In function 'ada_gparam_get_name': misc.c:3799:3: warning: return discards 'const' qualifier from pointer target type [enabled by default] make[1]: *** [lib-obj/misc.o] Error 1 make[1]: Leaving directory `/media/Archlinux/gtkada/src/gtkada-gpl-2.18.0-src/src' make: *** [src] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

<deleted-account> commented on 2012-01-27 22:08 (UTC)

fixed linking errors: added -lX11 and -lXrender to the linker flags in gpr file.

titiwu commented on 2012-01-18 17:42 (UTC)

It works (x86-64)! Thanks a lot!

<deleted-account> commented on 2012-01-18 10:30 (UTC)

Thanks, titiwu, I didn't notice this. Had similar problems while creating gtkada-svn, just had to apply the same patch. Should work again now.

titiwu commented on 2012-01-17 19:37 (UTC)

Hi, I got the error: /usr/bin/ld: /tmp/gtkada/src/gtkada-gpl-2.18.0-src/testgtk//lw.o: undefined reference to symbol 'sqrt@@GLIBC_2.2.5' when compiling. export LDFLAGS="$LDFLAGS -lm" did not help. However I managed to compile by manually editing the Makefile for testgtk. But there should be a better solution. Maybe some setting is missing (maybe just in my configuration)? Any ideas?

vnoel commented on 2011-07-26 09:47 (UTC)

Hi, sources for 2.18.0 are there: http://sourceforge.net/projects/gnat-gpl/files/2011/