pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/zutty



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Dec 10 11:46:09 UTC 2023

Added Files:
        pkgsrc/x11/zutty: DESCR Makefile PLIST distinfo
        pkgsrc/x11/zutty/patches: patch-src_options.h patch-wscript

Log Message:
x11/zutty: import zutty-0.14

Zutty is a terminal emulator for the X Window System, functionally
similar to several other X terminal emulators such as xterm, rxvt
and countless others. It is also similar to other, much more modern,
GPU-accelerated terminal emulators such as Alacritty and Kitty.
What really sets Zutty apart is its radically simple, yet extremely
efficient rendering implementation, coupled with a sufficiently
complete feature set to make it useful for a wide range of users.
Zutty offers high throughput with low latency, and strives to
conform to relevant (published or de-facto) standards.

Zutty is written in straightforward C++ and only relies on OpenGL
ES 3.1 for rendering, making it trivially portable to windowing
systems other than X and operating systems other than Linux. Zutty
provides a clean implementation written from scratch, resulting in
a minimal, maintainable, modern codebase unencumbered by historical
baggage.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/zutty/DESCR pkgsrc/x11/zutty/Makefile \
    pkgsrc/x11/zutty/PLIST pkgsrc/x11/zutty/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/zutty/patches/patch-src_options.h \
    pkgsrc/x11/zutty/patches/patch-wscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/x11/zutty/DESCR
diff -u /dev/null pkgsrc/x11/zutty/DESCR:1.1
--- /dev/null   Sun Dec 10 11:46:09 2023
+++ pkgsrc/x11/zutty/DESCR      Sun Dec 10 11:46:08 2023
@@ -0,0 +1,16 @@
+Zutty is a terminal emulator for the X Window System, functionally
+similar to several other X terminal emulators such as xterm, rxvt
+and countless others. It is also similar to other, much more modern,
+GPU-accelerated terminal emulators such as Alacritty and Kitty.
+What really sets Zutty apart is its radically simple, yet extremely
+efficient rendering implementation, coupled with a sufficiently
+complete feature set to make it useful for a wide range of users.
+Zutty offers high throughput with low latency, and strives to
+conform to relevant (published or de-facto) standards.
+
+Zutty is written in straightforward C++ and only relies on OpenGL
+ES 3.1 for rendering, making it trivially portable to windowing
+systems other than X and operating systems other than Linux. Zutty
+provides a clean implementation written from scratch, resulting in
+a minimal, maintainable, modern codebase unencumbered by historical
+baggage.
Index: pkgsrc/x11/zutty/Makefile
diff -u /dev/null pkgsrc/x11/zutty/Makefile:1.1
--- /dev/null   Sun Dec 10 11:46:09 2023
+++ pkgsrc/x11/zutty/Makefile   Sun Dec 10 11:46:08 2023
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2023/12/10 11:46:08 wiz Exp $
+
+DISTNAME=      zutty-0.14
+CATEGORIES=    x11
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tomscii/}
+GITHUB_TAG=    ${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://tomscii.sig7.se/zutty/
+COMMENT=       High-end terminal for low-end systems
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= c++
+USE_TOOLS+=    pkg-config
+WAF_HAS_MANDIR=        no
+
+INSTALLATION_DIRS+=    share/doc/zutty
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/doc/*.org ${DESTDIR}${PREFIX}/share/doc/zutty
+
+.include "../../devel/waf/waf.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../x11/libXmu/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/zutty/PLIST
diff -u /dev/null pkgsrc/x11/zutty/PLIST:1.1
--- /dev/null   Sun Dec 10 11:46:09 2023
+++ pkgsrc/x11/zutty/PLIST      Sun Dec 10 11:46:08 2023
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2023/12/10 11:46:08 wiz Exp $
+bin/zutty
+share/doc/zutty/HACKING.org
+share/doc/zutty/KEYS.org
+share/doc/zutty/USAGE.org
+share/doc/zutty/VTTEST.org
Index: pkgsrc/x11/zutty/distinfo
diff -u /dev/null pkgsrc/x11/zutty/distinfo:1.1
--- /dev/null   Sun Dec 10 11:46:09 2023
+++ pkgsrc/x11/zutty/distinfo   Sun Dec 10 11:46:08 2023
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2023/12/10 11:46:08 wiz Exp $
+
+BLAKE2s (zutty-0.14.tar.gz) = 8c9dbd8c8e5aa46adfddfc7dae98e62e98179782b908461444397f1e771570ad
+SHA512 (zutty-0.14.tar.gz) = d73894feefa1fb58c76aa5f9d68a47b9871ab8d02eb5dd2575769c4f082a65cb9df2bdb2478e5aa54d121eb19a16269f169e79d72f0df779760520f2d501c086
+Size (zutty-0.14.tar.gz) = 351015 bytes
+SHA1 (patch-src_options.h) = ff5d39444b7c9174a992685a9b710b3d8e7622cf
+SHA1 (patch-wscript) = d7ba3069964d4a3f84fc1f971f7f04d962f0b488

Index: pkgsrc/x11/zutty/patches/patch-src_options.h
diff -u /dev/null pkgsrc/x11/zutty/patches/patch-src_options.h:1.1
--- /dev/null   Sun Dec 10 11:46:09 2023
+++ pkgsrc/x11/zutty/patches/patch-src_options.h        Sun Dec 10 11:46:09 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_options.h,v 1.1 2023/12/10 11:46:09 wiz Exp $
+
+Improve NetBSD support.
+
+--- src/options.h.orig 2023-12-10 11:42:36.219352467 +0000
++++ src/options.h
+@@ -39,6 +39,8 @@ namespace zutty
+ 
+ #if defined(FREEBSD)
+    static constexpr const char* fontpath = "/usr/local/share/fonts";
++#elif defined(NETBSD)
++   static constexpr const char* fontpath = "/usr/X11R7/lib/X11/fonts";
+ #elif defined(OPENBSD)
+    static constexpr const char* fontpath = "/usr/X11R6/lib/X11/fonts";
+ #else
Index: pkgsrc/x11/zutty/patches/patch-wscript
diff -u /dev/null pkgsrc/x11/zutty/patches/patch-wscript:1.1
--- /dev/null   Sun Dec 10 11:46:09 2023
+++ pkgsrc/x11/zutty/patches/patch-wscript      Sun Dec 10 11:46:09 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-wscript,v 1.1 2023/12/10 11:46:09 wiz Exp $
+
+Import NetBSD support.
+
+--- wscript.orig       2023-12-10 11:43:29.529577950 +0000
++++ wscript
+@@ -54,7 +54,7 @@ def configure(cfg):
+                              ['-DBSD', '-DOPENBSD', '-I/usr/X11R6/include'])
+         cfg.env.append_value('LINKFLAGS', ['-L/usr/X11R6/lib'])
+     elif platform == 'NetBSD':
+-        cfg.env.append_value('CXXFLAGS', ['-DBSD'])
++        cfg.env.append_value('CXXFLAGS', ['-DBSD', '-DNETBSD'])
+     elif platform == 'Darwin':
+         cfg.env.append_value('CXXFLAGS', ['-DMACOS'])
+     elif platform == 'SunOS':



Home | Main Index | Thread Index | Old Index