Re: error when compiling xemacs-gtk
11 years
Stephen J. Turnbull
Jeff Sparkes writes:
> That code dates back to Gtk 1.X. I've updated my [[configure.ac]]
> based on your changes.
Doesn't surprise me ... clearly it was really old.
> I've flipped the configure switch to pick GTK3 first, or fallback to
> GTK2. I hope nobody wants to use GTK 2 even if they have 3..
Let me try that ...
Urk. It looks like HAVE_GTK2 and HAVE_GTK3 are supposed to be mutually
exclusive, but configure.ac seems to always define HAVE_GTK2. Fixing ...
Yes, commenting out the second AC_DEFINE(HAVE_GTK2) fixes the build.
Unfortunately, it doesn't fix the crash in g_type_fundamental(). I
bet Stallman added an assert(os_type != DARWIN). :-P
To avoid this kind of duplicated but slightly wrong Issueode , you
could #define GTK_VERSION (or perhaps GTK_MAJOR_VERSION) to 2 or 3 as
discovered, and use #if (GTK_VERSION == 2) etc as appropriate.
Alternatively use #if defined(HAVE_GTK3) ... #elif defined(HAVE_GTK3).
The clang 3.4 compiler issues a lot of warnings about unused and
uninitialized variables and functions. Are you aware of these issues?
Aha, the test quite breaks because the fontconfig functions (fc-*)
aren't built. Before we try to fix that ... as I wrote earlier, I
think fontconfig should be our primary interface for describing fonts,
with translations from other font descriptors (eg, legacy XLFD and
"short names") written in Lisp. What's your current thinking about
that?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
error when compiling xemacs-gtk
11 years
Uwe Brauer
Hello
In principle this mail is for Jeff, but in case somebody tried to
compile xemacs-gtk and run into similar problems, I post it to the list.
I applied Jeff's configure option and then make gave me
,----
| event-gtk.c:1280:17: warning: implicit declaration of function 'gdk_x11_window_lookup_for_display' is
| invalid in C99 [-Wimplicit-function-declaration]
| if (w && (w != gdk_x11_window_lookup_for_display (disp,
| ^
| event-gtk.c:1280:14: warning: comparison between pointer and integer ('GdkWindow *' and 'int')
| [-pedantic]
| if (w && (w != gdk_x11_window_lookup_for_display (disp,
| - ^ ----------------------------------------
| 15 diagnostics generated.
| make[1]: *** [event-gtk.o] Error 1
| make[1]: Leaving directory
| `/home/oub/ALLES/Add-Import/xemacs-gtk/jsparkes-xemacs-gtk-4f96e3a59582/src'
| make: *** [src] Error 2
`----
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: error when compiling xemacs-gtk
11 years
Uwe Brauer
>> "Jeff" == Jeff Sparkes <jsparkes(a)gmail.com> writes:
> On Wed, Nov 13, 2013 at 5:44 AM, Uwe Brauer <oub(a)mat.ucm.es> wrote:
>> gdk_x11_window_lookup_for_display
>>
> Looks like you have a Gtk older than 2.24. I've checked in a fix.
Here are the error messages:
,----
| event-gtk.c:395:34: error: use of undeclared identifier 'GDK_KEY_Shift_Lock'
| if (gd->lock_interpretation == GDK_KEY_Shift_Lock)
| ^
| event-gtk.c:399:14: error: use of undeclared identifier 'GDK_KEY_A'
| ((sym >= GDK_KEY_A) && (sym <= GDK_KEY_Z)) ||
| ^
| event-gtk.c:438:17: error: use of undeclared identifier 'GDK_KEY_exclam'
| if (keysym >= GDK_KEY_exclam && keysym <= GDK_KEY_asciitilde)
| ^
| event-gtk.c:448:10: error: use of undeclared identifier 'GDK_KEY_BackSpace'
| case GDK_KEY_BackSpace: return QKbackspace;
| ^
| event-gtk.c:449:10: error: use of undeclared identifier 'GDK_KEY_Tab'
| case GDK_KEY_Tab: return QKtab;
| ^
| event-gtk.c:450:10: error: use of undeclared identifier 'GDK_KEY_Linefeed'
| case GDK_KEY_Linefeed: return QKlinefeed;
| ^
| event-gtk.c:451:10: error: use of undeclared identifier 'GDK_KEY_Return'
| case GDK_KEY_Return: return QKreturn;
| ^
| event-gtk.c:452:10: error: use of undeclared identifier 'GDK_KEY_Escape'
| case GDK_KEY_Escape: return QKescape;
| ^
| event-gtk.c:453:10: error: use of undeclared identifier 'GDK_KEY_space'
| case GDK_KEY_space: return QKspace;
| ^
| event-gtk.c:454:10: error: use of undeclared identifier 'GDK_KEY_Delete'
| case GDK_KEY_Delete: return QKdelete;
| ^
| event-gtk.c:455:10: error: use of undeclared identifier 'GDK_KEY_Page_Up'
| case GDK_KEY_Page_Up: return KEYSYM("prior");
| ^
| event-gtk.c:456:10: error: use of undeclared identifier 'GDK_KEY_Page_Down'
| case GDK_KEY_Page_Down: return KEYSYM("next");
| ^
| event-gtk.c:498:7: error: use of undeclared identifier 'GDK_KEY_Shift_L'
| if (IS_MODIFIER_KEY (event->keyval) || (event->keyval == GDK_KEY_Mode_switch))
| ^
| event-gtk.c:102:18: note: instantiated from:
| ((((keysym) >= GDK_KEY_Shift_L) && ((keysym) <= GDK_KEY_Hyper_R)) \
| ^
| event-gtk.c:1273:14: warning: unused variable 'disp' [-Wunused-variable]
| GdkDisplay *disp = gdk_screen_get_display (screen);
| ^
| 14 diagnostics generated.
| make[1]: *** [event-gtk.o] Error 1
| make[1]: Leaving directory `/home/oub/ALLES/Add-Import/xemacs-gtk/jsparkes-xemacs-gtk-456e7527e552/src'
| make: *** [src] Error 2
`----
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: error when compiling xemacs-gtk
11 years
Uwe Brauer
Hm did you check in a fix a couple of hours ago? Because this checking did not work neither.
Sent from my iPhone
> On 13.11.2013, at 21:16, Jeff Sparkes <jsparkes(a)gmail.com> wrote:
>
>
>> On Wed, Nov 13, 2013 at 5:44 AM, Uwe Brauer <oub(a)mat.ucm.es> wrote:
>> gdk_x11_window_lookup_for_display
>
> Looks like you have a Gtk older than 2.24. I've checked in a fix.
>
>
> --
> Jeff Sparkes
> jsparkes(a)gmail.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
pango-viewer works! (was: does not work)
11 years
Uwe Brauer
>> "Jeff" == Jeff Sparkes <jsparkes(a)gmail.com> writes:
> I'm on Ubuntu 13.10 with the gnome3 team packages. Pango is version 1.34.1.
> There must have been some improvemnts in pango to handle R2L, I guess.
I just checked pango version is 1.28 on my machine.
When using pango-viewer the attached file is displayed correctly, but
with xemacs compiled with your options it does not work.
I am not longer sure that the culprit is really pango.
Uwe
this is true שלום דוד
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: does not work
11 years
Stephen J. Turnbull
Jeff Sparkes writes:
>> (NOTE how terrible small the hebrew font is. This does not
>> occur when gtk is disabled.)
> I have yet to delve into how pango picks its fonts. This is
> handled by PangoFontSet. How we're going to expose that in
> lisp is going to be a problem.
Why a problem? As with fontconfig, they're really just property lists.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
XEmacs Packages have been pre-released (2013-11-12-23)
11 years
Norbert Koch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey there everyone.
I have just added the following packages to the 'Pre-Releases'
directory:
New Packages in Pre-Release:
===========================
hyperbole-1.20-pkg.tar.gz upstream version: 5.0.5
Previously Announced Packages Still in Pre-Release:
==================================================
Sun-1.17-pkg.tar.gz upstream version: none
cc-mode-1.74-pkg.tar.gz upstream version: 5.32.5
ede-1.04-pkg.tar.gz upstream version: 1.0pre4
ediff-1.82-pkg.tar.gz upstream version: 2.75
edit-utils-2.51-pkg.tar.gz upstream version: none
efs-1.35-pkg.tar.gz upstream version: 1.24
eudc-1.41-pkg.tar.gz upstream version: 1.32
games-1.21-pkg.tar.gz upstream version: 2.00
gnus-1.95-pkg.tar.gz upstream version: 5.10.10
haskell-mode-1.12-pkg.tar.gz upstream version: 2.1
leim-1.34-pkg.tar.gz upstream version: none
mh-e-1.33-pkg.tar.gz upstream version: 7.4.2
misc-games-1.23-pkg.tar.gz upstream version: none
mmm-mode-1.06-pkg.tar.gz upstream version: 0.4.8
net-utils-1.57-pkg.tar.gz upstream version: N/A
pcl-cvs-1.71-pkg.tar.gz upstream version: R-2_9_9
pgg-1.08-pkg.tar.gz upstream version: 0.1
prog-modes-2.29-pkg.tar.gz upstream version: none
ruby-modes-1.05-pkg.tar.gz upstream version: 1.8.7
speedbar-1.30-pkg.tar.gz upstream version: 1.0pre4
text-modes-2.01-pkg.tar.gz upstream version: none
tramp-1.46-pkg.tar.gz upstream version: 2.2.8
w3-1.38-pkg.tar.gz upstream version: 4.0pre47
x-symbol-1.13-pkg.tar.gz upstream version: 4.5.1
xemacs-base-2.37-pkg.tar.gz upstream version: none
xemacs-devel-1.82-pkg.tar.gz upstream version: none
Detailed Changes:
================
- ------- ChangeLog Entries from xemacs-packages/hyperbole/ChangeLog -------
2013-11-12 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.20 released.
2013-11-12 Mats Lidell <matsl(a)xemacs.org>
* Synced with FSF version 5.0.5
Installing These:
================
Manually:
- --------
1) Download the packages that you want to install from:
/ftp.xemacs.org:/pub/xemacs/beta/experimental/packages/
2) Unpack them to: [1]
/usr/local/lib/xemacs/xemacs-packages/
3) Re-start XEmacs.
Using XEmacs Package Tools (XEmacs 21.[245].x):
- ----------------------------------------------
1) Tools -> Packages -> Add Download Site -> Pre-Releases
2) Tools -> Packages -> List and Install
3) Select the packages you wish to install (there are brief
instructions at the bottom of the packages buffer).
4) Packages -> Install/Remove Selected
5) Re-start XEmacs.
Using XEmacs Package Tools (XEmacs 21.1.14):
- -------------------------------------------
1) Options -> Manage Packages -> Add Download Site -> Pre-Releases
2) Options -> Manage Packages -> List and Install
3 - 5) As per XEmacs 21.[245].x.
Footnotes:
[1] Note: Mule packages should be installed into:
/usr/local/lib/xemacs/mule-packages/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFSgqvI7yJLt8ORD7cRAq08AJ9PQNyeQlbM0Svn82gLNzuMhkZy9ACePdzz
K5hIPpwi3OW+ZY1ALGKDGUo=
=eRn3
-----END PGP SIGNATURE-----
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: does not work
11 years
Uwe Brauer
On 11/12/2013 04:42 PM, Jeff Sparkes wrote:
>
> There's a difference between viewing and editing a file. Try >
refreshing with ^L. I'm not sure how to type Hebrew, but when I open > a
file in Hebrew, it displays the same as emacs24 on Ubuntu does.
> Well, the font is not as good. A screenshot: >
http://i.imgur.com/KuOCyFa.png
still does not work for me. ^L is supposed to be control l?
please send me your configuration options.
thanks
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
Re: does not work
11 years
Uwe Brauer
>> "Jeff" == Jeff Sparkes <jsparkes(a)gmail.com> writes:
> You're right. I just compared to FSF emacs.
> It's displaying differently, but not correctly.
> Sorry for the confusion.
Well it depends with which version of GNU emacs you compare, 23 has no
BIDI support 24 has, although I am not sure whether it is in mainstream
or just in git.
I attach two screenshots of the same file
one with xemacs, (compiled with
/configure '--with-mule' '--with-optimization'
'--without-error-checking' '--with-toolbars' '--with-xpm' '--with-xface'
'--with-gtk'
(NOTE how terrible small the hebrew font is. This does not occur when
gtk is disabled.)
The other screenshot is with GNU emacs 24.
So Aidan, pango is of no help?
Uwe Brauer
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta