From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS and pgtk Date: Thu, 27 Jun 2024 08:40:41 +0300 Message-ID: <86h6df6izq.fsf@gnu.org> References: <878qyr6ewh.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30836"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, avityazev@disroot.org, emacs-devel@gnu.org, eller.helmut@gmail.com To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 27 07:41:36 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sMht1-0007sg-OG for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Jun 2024 07:41:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMhsE-00054q-NR; Thu, 27 Jun 2024 01:40:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMhsC-00054D-Jy for emacs-devel@gnu.org; Thu, 27 Jun 2024 01:40:44 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sMhsC-0001dW-9Z; Thu, 27 Jun 2024 01:40:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GRJfackfUZvchET/OnNWo5frL2BBe3jwAuzD94QHuSM=; b=AjeyjzfKAj5Ofsjv2KEj zA5Ml6RiyI0df/zBDlOzWiYJhAo2B4PkjZN0WAdbm6VcZdoIQXyXFsvLG1mQ9TfieGaSkToXjdVJT WwZMK22UyXCxtM9kTkJeyMQSi5I3rHXQgXr+Fvu0vliSITjae1XMW8L6waR1QOdaXbLBpBFf13fT2 Qu7Ow5yQCaSxdkur0qmYmH6OamahbI90smKH8EG7qxT/B1eOsguJSHyjdWB6CEaECh0+Oft5pbHTe uGqGBOMHCO6LE0eoAXV1dtwdXNWyn+Kcx610gafXnZlTpLt4kuZbtOXoVHZ9GLC95MmzoD01kfqMw LtjM7c3ME213tQ==; In-Reply-To: (message from Ergus on Thu, 27 Jun 2024 00:38:06 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320743 Archived-At: > Date: Thu, 27 Jun 2024 00:38:06 +0200 > From: Ergus > Cc: Aleksandr Vityazev , emacs-devel@gnu.org, > Eli Zaretskii , eller.helmut@gmail.com > > On Wed, Jun 26, 2024 at 06:38:03PM GMT, Gerd M�llmann wrote: > >Aleksandr Vityazev writes: > > > >> Hello, > >> > >> I tried to build scratch/igc with the "--with-pgtk" flag > >> got the following errors: > >> > >> make[3]: Leaving directory '/tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/admin/unidata' > >> CCLD temacs > >> ld: pgtkterm.o: in function `mark_pgtkterm': > >> /tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/src/pgtkterm.c:357: undefined reference to `mark_object' > >> ld: /tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/src/pgtkterm.c:358: undefined reference to `mark_object' > >> ld: /tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/src/pgtkterm.c:359: undefined reference to `mark_object' > >> ld: /tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/src/pgtkterm.c:360: undefined reference to `mark_object' > >> ld: /tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/src/pgtkterm.c:361: undefined reference to `mark_object' > >> ld: pgtkterm.o:/tmp/guix-build-emacs-igc-31.0.50-0.544e031.drv-0/source/src/pgtkterm.c:369: more undefined references to `mark_object' follow > >> collect2: error: ld returned 1 exit status > >> > >> The remaining configuration flags were as follows: > >> --with-mps=yes > >> --with-cairo > >> --with-modules > >> --with-native-compilation=no > >> --disable-build-details > > > >Looks like pgtk is currently not supported, i.e. apparenlty no one > >working on igc is using it, sorry. > > > This is wondering me because all the main distributions/desktops are > moving (or have already moved) to Wayland. Which is bothersome, at least from the Emacs POV, since Wayland and PGTK have so many limitations, restrictions, and misfeatures which effectively disable useful Emacs features. > So, IMHO the pgtk support may be prioritized as it is the only way we > support Wayland natively. > > Not sure if there are plans or alternatives under consideration to > change/improve pgtk, but if igc becomes an issue for it... we may > rethink if we really want it looking to the future? Given the sorry state of Wayland and GTK support of what Emacs needs, from my POV the PGTK configuration becomes less and less relevant to Emacs. I'm aware that the world moves in the opposite direction, but unless we get some help from Wayland/GTK developers, or, alternatively, find ways to work around those limitations (unlikely, IMNSHO), there's nothing we can do about this, and nothing we could gain by "rethinking". If you care about these platforms, start lobbying the respective development teams to cater more for Emacs and its needs. Sorry.