diff --git a/app-editors/xwpe/Manifest b/app-editors/xwpe/Manifest new file mode 100644 index 00000000000..a451d7d7be1 --- /dev/null +++ b/app-editors/xwpe/Manifest @@ -0,0 +1 @@ +DIST xwpe-1.6.6.tar.gz 1207219 BLAKE2B 06cdd8d1fe3e33f071a7dd08d134d66a88b4108b0026242602b5657598ce9ba40cee76a57da6a55fb2af708403edeafd7a7570f0e5f82dcde05136f97da45e5c SHA512 acf32b51e6eac121190eb580f429d52c32e430829a6dccfe9d1c86f48fcba432a19bc5f4211f17a5b0bea0e0810c20e5d1008f7a1f503ba36ac0ee85c842464d diff --git a/app-editors/xwpe/metadata.xml b/app-editors/xwpe/metadata.xml new file mode 100644 index 00000000000..08034b8697f --- /dev/null +++ b/app-editors/xwpe/metadata.xml @@ -0,0 +1,25 @@ + + + + + juan.mendezr@proton.me + Juan Manuel Méndez Rey + + + xwpe (the X Windows Programming Environment) is a programming and text + editor in the style of the Borland Turbo C IDE of the early 1990s, + written by Fred Kruse in 1993, maintained by Dennis Payne from 2000 to + 2006, and revived in 2026. A single binary runs in the console + (wpe/we, ncurses) or under X11 (xwpe/xwe, anti-aliased Xft/Cairo, + UTF-8). It pairs a syntax-highlighting editor with a Borland-style menu + and dialog system, project management, multi-language compiler + integration and source-level debugging (gdb/jdb/pdb), plus LSP and DAP + clients. + + + Build the X11 GUI front-end (xwpe/xwe) with Xft/Cairo/Pango rendering + + + mendezr/xwpe + + diff --git a/app-editors/xwpe/xwpe-1.6.6.ebuild b/app-editors/xwpe/xwpe-1.6.6.ebuild new file mode 100644 index 00000000000..d7839208ace --- /dev/null +++ b/app-editors/xwpe/xwpe-1.6.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Borland-style programming environment and editor for console and X11" +HOMEPAGE="https://codeberg.org/mendezr/xwpe" +# Upstream "make dist" tarball attached to the Codeberg release; it ships a +# pre-generated configure, so no eautoreconf is needed. +SRC_URI="https://codeberg.org/mendezr/xwpe/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X gpm" + +RDEPEND=" + dev-libs/json-c:= + dev-libs/libvterm + sys-libs/ncurses:= + virtual/zlib + X? ( + x11-libs/cairo + x11-libs/libX11 + x11-libs/libXft + x11-libs/pango + ) + gpm? ( sys-libs/gpm ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + sys-apps/texinfo +" + +src_configure() { + econf \ + $(use_with X x) \ + $(use_with gpm) +} + +src_test() { + emake check +}