gtk-sharp icon indicating copy to clipboard operation
gtk-sharp copied to clipboard

Continue development of GTK#

Open aaronfranke opened this issue 7 years ago • 7 comments

The last commit was about 9 months ago. Please continue to develop GTK#! I tried to compile the demo project and it failed to compile on my system with Mono 5.12.

aaronfranke avatar Nov 22 '18 03:11 aaronfranke

Can you share the details of what failed? We routinely build it with it.

migueldeicaza avatar Nov 27 '18 18:11 migueldeicaza

Are you targeting gtk 2.12? or gtk 3?

decriptor avatar Nov 27 '18 21:11 decriptor

For building GTK# itself: https://github.com/mono/gtk-sharp/issues/244 and also when I try to run the sample project:

qp7o7t6ed4y11

Other people reporting issues with builds have been ignored for months: https://github.com/mono/gtk-sharp/issues/237

aaronfranke avatar Nov 28 '18 00:11 aaronfranke

I have personally not done any maintenance work towards the gtk# 3.0 branch. The 2-12-branch branch is maintained and should build if you follow the ./bootstrap-2.12 && make steps. The project will then compile in the IDE (but it is preferred to use the commandline scripts)

Therzok avatar Nov 28 '18 00:11 Therzok

GTK 2 is outdated, I am only interested in GTK 3.

aaronfranke avatar Nov 28 '18 00:11 aaronfranke

@aaronfranke Try this library github.com/GtkSharp/GtkSharp.

nguyenkien avatar Jan 08 '19 17:01 nguyenkien

error compiling with bootstrap-2.12 (gtk 2-12-branch, Commit hash: 6abc1a0750e7fd3892c061096fdf9c6f3b2044c3)

linux, Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:20:20 UTC 2020)

./bootstrap-2.12

  • sed -e s/@GTK_SHARP_VERSION@/2.12.29/ -e s/@GTK_REQUIRED_VERSION@/2.12.0/ -e s/@VERSIONCSDEFINES@/-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12/ -e s/@VERSIONCFLAGS@/-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12/ -e s/@POLICY_VERSIONS@/2.4 2.6 2.8 2.10/ -e s/@ASSEMBLY_VERSION@/2.12.0.0/ ./configure.in.in
  • ln -f ./pango/pango-api-2.12.raw ./pango/pango-api.raw
  • ln -f ./atk/atk-api-2.12.raw ./atk/atk-api.raw
  • ln -f ./gdk/gdk-api-2.12.raw ./gdk/gdk-api.raw
  • ln -f ./gtk/gtk-api-2.12.raw ./gtk/gtk-api.raw
  • ln -f ./glade/glade-api-2.12.raw ./glade/glade-api.raw Warning: I am going to run configure' with no arguments. If you wish to pass any to it, please specify them on the ./bootstrap-2.12' command line.

Running libtoolize... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Running aclocal ... aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' Running autoheader... Running automake --foreign ... automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:45: installing './compile' configure.in:6: installing './missing' configure.in:239: error: required file 'policy.config.in' not found configure.in:239: error: required file 'sample/pixmaps/Makefile.in' not found configure.in:239: error: required file 'atk/atk-sharp.dll.config.in' not found automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' atk/glue/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') atk/glue/Makefile.am: installing './depcomp' gdk/glue/Makefile.am:19: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') glade/glue/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') glib/glue/Makefile.am:21: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') gtk/glue/Makefile.am:26: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.in:239: error: required file 'pango/pango-sharp.dll.config.in' not found pango/glue/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') sample/Makefile.am:1: error: required directory sample/pixmaps does not exist sample/opaquetest/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.in:239: error: required file 'sample/opaquetest/opaquetest.exe.config.in' not found sample/valtest/Makefile.am:18: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS') configure.in:239: error: required file 'sample/valtest/valtest.exe.config.in' not found Error: automake failed.

lytico avatar Mar 30 '20 21:03 lytico