From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: porting to Wayland Date: Tue, 25 Nov 2014 09:01:05 +0100 Message-ID: References: <87fvi6unfi.fsf-ueno@gnu.org> <53C24B44.3000304@swipnet.se> <54639270.2020609@swipnet.se> <54647503.9050607@swipnet.se> <547211CC.5090803@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416902492 13811 80.91.229.3 (25 Nov 2014 08:01:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2014 08:01:32 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , emacs-devel@gnu.org To: Daiki Ueno Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 25 09:01:25 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtB3t-0000YK-34 for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2014 09:01:25 +0100 Original-Received: from localhost ([::1]:55834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtB3s-0008JM-Hu for ged-emacs-devel@m.gmane.org; Tue, 25 Nov 2014 03:01:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtB3l-0008JE-23 for emacs-devel@gnu.org; Tue, 25 Nov 2014 03:01:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtB3g-0000pk-85 for emacs-devel@gnu.org; Tue, 25 Nov 2014 03:01:17 -0500 Original-Received: from mailfe06.swip.net ([212.247.154.161]:34550 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtB3g-0000pJ-2N; Tue, 25 Nov 2014 03:01:12 -0500 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 548745711; Tue, 25 Nov 2014 09:01:06 +0100 In-Reply-To: X-Mailer: Apple Mail (2.1993) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.161 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178222 Archived-At: Hi. > 25 nov 2014 kl. 08:49 skrev Daiki Ueno : >=20 > Jan Dj=E4rv writes: >=20 >> Ok, here goes. >=20 > Thanks! >=20 >> Image support sucks, only PNG from files. Some redraw issues >> (esp. Gtk scrollbars) remain. >> If you choose Gtk3 as toolkit, cairo is forced, otherwise >> give--with-cairo to configure. >=20 > I've tried the patch. For PNG support, I had to apply the attached > patch and run configure with: >=20 > ./configure --with-x-toolkit=3Dgtk3 --with-cairo = --without-imagemagick Hmm, it seems I made a typo, thanks. >=20 > The output for printing (with x-export-frames) looks great. =20 >=20 >> Performance is not that great, straight X is faster. >=20 > It's already fast enough for me, but it doesn't do rendering in ::draw > signal, right? If it did, would the speed considerablly slow down? Do you mean the Gtk+ draw signal? Emacs bypasses that even without = cairo. Jan D. >=20 > Regards, > -- > Daiki Ueno > diff --git a/configure.ac b/configure.ac > index ac0b86e..a84637d 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -3042,7 +3042,6 @@ if test "${HAVE_X11}" =3D "yes"; then > fi > with_xpm=3Dno > with_jpeg=3Dno > - with_png=3Dno > with_gif=3Dno > with_tiff=3Dno >=20 > diff --git a/src/image.c b/src/image.c > index 77e5523..ad31719 100644 > --- a/src/image.c > +++ b/src/image.c > @@ -5459,7 +5459,7 @@ pbm_load (struct frame *f, struct image *img) > PNG > = ***********************************************************************/ >=20 > -#if defined (HAVE_XPM) || defined (HAVE_NS) || defined (USE_CAIRO) > +#if defined (HAVE_PNG) || defined (HAVE_NS) || defined (USE_CAIRO) >=20 > /* Function prototypes. */ >=20