Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app-editors/xwpe/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST xwpe-1.6.6.tar.gz 1207219 BLAKE2B 06cdd8d1fe3e33f071a7dd08d134d66a88b4108b0026242602b5657598ce9ba40cee76a57da6a55fb2af708403edeafd7a7570f0e5f82dcde05136f97da45e5c SHA512 acf32b51e6eac121190eb580f429d52c32e430829a6dccfe9d1c86f48fcba432a19bc5f4211f17a5b0bea0e0810c20e5d1008f7a1f503ba36ac0ee85c842464d
25 changes: 25 additions & 0 deletions app-editors/xwpe/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>juan.mendezr@proton.me</email>
<name>Juan Manuel Méndez Rey</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<use>
<flag name="X">Build the X11 GUI front-end (xwpe/xwe) with Xft/Cairo/Pango rendering</flag>
</use>
<upstream>
<remote-id type="codeberg">mendezr/xwpe</remote-id>
</upstream>
</pkgmetadata>
44 changes: 44 additions & 0 deletions app-editors/xwpe/xwpe-1.6.6.ebuild
Original file line number Diff line number Diff line change
@@ -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
}