* guile-gnome: devel branch - Prepare 2.16.5
@ 2016-07-01 21:45 David Pirotte
0 siblings, 0 replies; only message in thread
From: David Pirotte @ 2016-07-01 21:45 UTC (permalink / raw)
To: guile-gnome, guile-devel
[-- Attachment #1.1: Type: text/plain, Size: 1411 bytes --]
Hello,
Attached 2 patches [the first is insignificant, just a chmod on an example] to
prepare Guile-GNOME 2.16.5, compatible with Guile-2.2
Note [commit log extract]:
(a) this patch comments the build for the Corba and Gnome-VFS wrappers, due
to incompatible changes in Guile-2.2 (see their corresponding entry in
configure.ac for a better explanation);
(b) I don't have time to provide the autotool 'machinery' so that It would
still build these 2 modules for Guile-2.0, but if someone wants to spend the
time to do this, it is possible, so please do and let us know.
Unless negative feedback, I'll push this patch to the Guile-GNOME devel branch
in 2 to 3 weeks from now.
Then,
If you are using Guile-GNOME
and have some free time:
I uploaded a prerelease taball and signature file here:
http://download.savannah.gnu.org/releases/grip/guile-gnome/
guile-gnome-platform-2.16.5-dev.tar.gz
guile-gnome-platform-2.16.5-dev.tar.gz.sig
[ Files on mirrors may be subject to a replication delay of up to 24 hours.
[ In case of problems use http://download-mirror.savannah.gnu.org/releases/
Grab the latest GNU Guile release 2.1.3
https://lists.gnu.org/archive/html/guile-devel/2016-06/msg00009.html
Then compile install both 'somewhere else' [I use /opt2], compile install you app(s)
there as well and see if everything is fine...
Cheers,
David
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Fix-tic-tac-toe-example-mode-to-a-x.patch --]
[-- Type: text/x-patch, Size: 552 bytes --]
From 0399ee526e77274fe7629be9eb798ddeb67ea11a Mon Sep 17 00:00:00 2001
From: David Pirotte <david@altosw.be>
Date: Fri, 1 Jul 2016 16:34:53 -0300
Subject: [PATCH 1/2] Fix tic-tac-toe example mode to a+x
* gtk/examples/tic-tac-toe.scm: Mode should be executable for all.
---
gtk/examples/tic-tac-toe.scm | 0
1 file changed, 0 insertions(+), 0 deletions(-)
mode change 100644 => 100755 gtk/examples/tic-tac-toe.scm
diff --git a/gtk/examples/tic-tac-toe.scm b/gtk/examples/tic-tac-toe.scm
old mode 100644
new mode 100755
--
2.8.1
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-Prepare-for-Guile-2.2.patch --]
[-- Type: text/x-patch, Size: 6912 bytes --]
From 4d2c2e0f6d147715c387c6f772a55f022e4de6df Mon Sep 17 00:00:00 2001
From: David Pirotte <david@altosw.be>
Date: Fri, 1 Jul 2016 17:29:53 -0300
Subject: [PATCH 2/2] Prepare for Guile-2.2
Notes: (a) this patch comments the build for the Corba and Gnome-VFS
wrappers, due to incompatible changes in Guile-2.2 (see their
corresponding entry in configure.ac for a better explanation); (b) I
don't have time to provide the autotool 'machinery' so that It would
still build these 2 modules for Guile-2.0, but if someone wants to spend
the time to do this, it is possible, so please do and let us know.
* Makefile.am:
* common.mk:
* configure.ac: Due to incompatible changes in Guile-2.2, and the lack
of time to fix both corba and gnome-fvs, this patch comnents the build
for these 2 wrappers. If you have the wish, the time and the skill to
fix this, please do and let us know.
---
Makefile.am | 22 +++++++++++++--
common.mk | 4 ++-
configure.ac | 91 ++++++++++++++++++++++++++++++++++++------------------------
3 files changed, 78 insertions(+), 39 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 17a94fb..1b5a3c4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,25 @@
# this file is generated by autogen-pkg.sh
-SUBDIRS = defs glib cairo atk pango gtk libgnomeui libgnomecanvas libgnome libglade gnome-vfs gconf corba
-EXTRA_DIST = dev-environ.in h2def.py autogen.sh HACKING ChangeLog.pre-2.16
+SUBDIRS = \
+ defs \
+ glib \
+ cairo \
+ atk \
+ pango \
+ gtk \
+ libgnomeui \
+ libgnomecanvas \
+ libgnome \
+ libglade \
+ gconf
+# corba
+# gnome-vfs
+
+EXTRA_DIST = \
+ dev-environ.in \
+ h2def.py \
+ HACKING \
+ ChangeLog.pre-2.16
dist-gzip: distdir
$(AMTAR) --format=ustar -chf - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
diff --git a/common.mk b/common.mk
index 5c62641..ade18cf 100644
--- a/common.mk
+++ b/common.mk
@@ -38,7 +38,9 @@ SUFFIXES = .x .doc
GUILE_SNARF_CFLAGS = $(DEFS) $(AM_CFLAGS) $(GUILE_CFLAGS) $(G_WRAP_CFLAGS)
-PACKAGES = atk cairo corba defs gconf glib gnome-vfs gtk libglade libgnome libgnomecanvas libgnomeui pango
+PACKAGES = atk cairo defs gconf glib gtk libglade libgnome libgnomecanvas libgnomeui pango
+# gnome-vfs corba
+
SOURCE_GUILE_PATH=$(shell echo $(addprefix $(abs_top_srcdir)/,$(PACKAGES)) | sed -e 's/ /:/g'):$(srcdir)
BUILD_GUILE_PATH=$(if $(filter-out $(abs_top_srcdir),$(abs_top_builddir)),$(shell echo -n $(addprefix $(abs_top_builddir)/,$(PACKAGES)): | sed -e 's/ /:/g'),)
GUILE_LOAD_PATH:=$(BUILD_GUILE_PATH)$(SOURCE_GUILE_PATH):${G_WRAP_MODULE_DIR}$(if ${GUILE_LOAD_PATH},:${GUILE_LOAD_PATH})
diff --git a/configure.ac b/configure.ac
index 239f6be..1e3b529 100644
--- a/configure.ac
+++ b/configure.ac
@@ -152,15 +152,20 @@ AM_CONDITIONAL(HAVE_CAIRO, $HAVE_CAIRO)
record_check cairo $HAVE_CAIRO
# corba
-PKG_CHECK_MODULES(CORBA, libbonobo-2.0, HAVE_CORBA=true, HAVE_CORBA=false)
-AC_SUBST(CORBA_CFLAGS)
-AC_SUBST(CORBA_LIBS)
-AM_CONDITIONAL(HAVE_CORBA, $HAVE_CORBA)
-ORBIT_IDL="`pkg-config --variable=orbit_idl ORBit-2.0`"
-AC_SUBST(ORBIT_IDL)
-BONOBO_IDL_DIR="`pkg-config --variable=idldir libbonobo-2.0`"
-AC_SUBST(BONOBO_IDL_DIR)
-record_check corba $HAVE_CORBA
+
+# Uses scm_make_vtable_vtable, deprecated in 2.0 and removed from 2.2:
+# till someone has the wish, the time and the skill to fix this, we
+# won't build the corba wrapper.
+
+# PKG_CHECK_MODULES(CORBA, libbonobo-2.0, HAVE_CORBA=true, HAVE_CORBA=false)
+# AC_SUBST(CORBA_CFLAGS)
+# AC_SUBST(CORBA_LIBS)
+# AM_CONDITIONAL(HAVE_CORBA, $HAVE_CORBA)
+# ORBIT_IDL="`pkg-config --variable=orbit_idl ORBit-2.0`"
+# AC_SUBST(ORBIT_IDL)
+# BONOBO_IDL_DIR="`pkg-config --variable=idldir libbonobo-2.0`"
+# AC_SUBST(BONOBO_IDL_DIR)
+# record_check corba $HAVE_CORBA
# gconf
PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.18, HAVE_GCONF=true, HAVE_GCONF=false)
@@ -191,17 +196,23 @@ AC_CONFIG_COMMANDS([glib/gnome/gobject/guile-gnome-gobject],
record_check glib true
# gnome-vfs
-PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= 2.16.0, HAVE_GNOME_VFS=true, HAVE_GNOME_VFS=false)
-AC_SUBST(GNOME_VFS_CFLAGS)
-AC_SUBST(GNOME_VFS_LIBS)
-AM_CONDITIONAL(HAVE_GNOME_VFS, $HAVE_GNOME_VFS)
-if $DISABLE_DEPRECATED; then
- GNOME_VFS_DEPRECATED_CFLAGS=-DGNOME_VFS_DISABLE_DEPRECATED
-else
- GNOME_VFS_DEPRECATED_CFLAGS=
-fi
-AC_SUBST(GNOME_VFS_DEPRECATED_CFLAGS)
-record_check gnome-vfs $HAVE_GNOME_VFS
+
+# This wrapper needs updates wrt C port API, which has changed in
+# Guile-2.2. See 'API to define new port types from C has changed' in
+# the NEWS file for Guile 2.2: till someone has the wish, time and
+# skill to fix this, we won't build the gnome-vfs wrapper.
+
+# PKG_CHECK_MODULES(GNOME_VFS, gnome-vfs-2.0 >= 2.16.0, HAVE_GNOME_VFS=true, HAVE_GNOME_VFS=false)
+# AC_SUBST(GNOME_VFS_CFLAGS)
+# AC_SUBST(GNOME_VFS_LIBS)
+# AM_CONDITIONAL(HAVE_GNOME_VFS, $HAVE_GNOME_VFS)
+# if $DISABLE_DEPRECATED; then
+# GNOME_VFS_DEPRECATED_CFLAGS=-DGNOME_VFS_DISABLE_DEPRECATED
+# else
+# GNOME_VFS_DEPRECATED_CFLAGS=
+# fi
+# AC_SUBST(GNOME_VFS_DEPRECATED_CFLAGS)
+# record_check gnome-vfs $HAVE_GNOME_VFS
# gtk
PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= 2.10.0, HAVE_GDK_PIXBUF=true, HAVE_GDK_PIBXUF=false)
@@ -309,6 +320,30 @@ on the prerequisites of a package.
fi
AC_CONFIG_FILES(dev-environ, [chmod +x ./dev-environ])
+
+# if someone fixes it, files below should be added
+# below cairo
+# corba/doc/Makefile
+# corba/tests/Makefile
+# corba/gnome/gw/Makefile
+# corba/gnome/Makefile
+# corba/gnome/corba/Makefile
+# corba/Makefile
+# corba/demos/Makefile
+# corba/demos/corba/Makefile
+
+# if someone fixes it, files below should be added
+# below glib
+# gnome-vfs/examples/gnome-vfs/Makefile
+# gnome-vfs/examples/Makefile
+# gnome-vfs/doc/Makefile
+# gnome-vfs/tests/Makefile
+# gnome-vfs/gnome/gw/Makefile
+# gnome-vfs/gnome/Makefile
+# gnome-vfs/gnome/overrides/Makefile
+# gnome-vfs/Makefile
+
+
AC_CONFIG_FILES(
Makefile
atk/doc/Makefile
@@ -320,14 +355,6 @@ atk/Makefile
cairo/gnome/gw/Makefile
cairo/gnome/Makefile
cairo/Makefile
-corba/doc/Makefile
-corba/tests/Makefile
-corba/gnome/gw/Makefile
-corba/gnome/Makefile
-corba/gnome/corba/Makefile
-corba/Makefile
-corba/demos/Makefile
-corba/demos/corba/Makefile
defs/tools/Makefile
defs/gnome/Makefile
defs/gnome/defs/Makefile
@@ -352,14 +379,6 @@ glib/gnome/gobject/Makefile
glib/test-suite/Makefile
glib/Makefile
glib/bin/Makefile
-gnome-vfs/examples/gnome-vfs/Makefile
-gnome-vfs/examples/Makefile
-gnome-vfs/doc/Makefile
-gnome-vfs/tests/Makefile
-gnome-vfs/gnome/gw/Makefile
-gnome-vfs/gnome/Makefile
-gnome-vfs/gnome/overrides/Makefile
-gnome-vfs/Makefile
gtk/examples/Makefile
gtk/doc/gtk/Makefile
gtk/doc/gdk/Makefile
--
2.8.1
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-01 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 21:45 guile-gnome: devel branch - Prepare 2.16.5 David Pirotte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).