Package Details: text-engine 0.1.1-4

Git Clone URL: https://aur.archlinux.org/text-engine.git (read-only, click to copy)
Package Base: text-engine
Description: A lightweight rich-text framework for GTK
Upstream URL: https://github.com/mjakeman/text-engine
Licenses: MPL-2.0 OR LGPL-2.1-or-later
Submitter: bordam
Maintainer: fabiscafe
Last Packager: fabiscafe
Votes: 14
Popularity: 0.68
First Submitted: 2022-03-19 15:46 (UTC)
Last Updated: 2024-05-23 11:00 (UTC)

Latest Comments

fabiscafe commented on 2024-05-17 07:39 (UTC)

This currently is not compitible with gcc>=14, @bordam you could utilize gcc13 for now.

From e78397b9b6ab8f4ddd915e8af53ecc71b5ab93de Mon Sep 17 00:00:00 2001
From: Fabian Bornschein <fabiscafe@archlinux.org>
Date: Fri, 17 May 2024 09:23:04 +0200
Subject: [PATCH] Build with gcc13

---
 .SRCINFO | 1 +
 PKGBUILD | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.SRCINFO b/.SRCINFO
index 470347c..5913929 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,6 +6,7 @@ pkgbase = text-engine
    arch = x86_64
    arch = aarch64
    license = LGPL3
+   makedepends = gcc13
    makedepends = meson
    depends = json-glib
    depends = libadwaita
diff --git a/PKGBUILD b/PKGBUILD
index 008dd31..b093e46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,11 +8,13 @@ arch=('x86_64' 'aarch64')
 url="https://github.com/mjakeman/$pkgname"
 license=('LGPL3')
 depends=('json-glib' 'libadwaita' 'libxml2')
-makedepends=('meson')
+makedepends=('gcc13' 'meson')
 source=($url/archive/v$pkgver.tar.gz)
 sha256sums=('cf540d2c0150a46e8ec81c4532550357707c5d07b6116dc52e3869b1902f515f')

 build() {
+   export CC=gcc-13
+   export CXX=g++-13
    arch-meson $pkgname-$pkgver build
    meson compile -C build
 }
-- 
2.45.1

Something like this. Upstream bug is here: https://github.com/mjakeman/text-engine/issues/37

bordam commented on 2022-11-18 20:59 (UTC)

@luxio sorry I totally forgot about this, I now committed the change

luxio commented on 2022-05-25 14:35 (UTC)

To me it seems to build just fine on arm (m1 macbook), so it would be nice if you could change arch=('x86_64') to arch=('x86_64' 'aarch64')

crispyrice commented on 2022-03-28 21:38 (UTC)

I'm getting -Wreturn-type errors for src/layout/layout.c:134:5 and src/layout/layout.c:135:5. Doesn't seem to build on GCC or Clang

bordam commented on 2022-03-27 14:29 (UTC)

You got me, removed

yochananmarqos commented on 2022-03-27 14:16 (UTC)

This does not require cmake to build.