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 gui-wm/somewm/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST somewm-1.4.1.tar.gz 3191096 BLAKE2B 2308f61103a0ec19186bfde2358f89e8ddefef78443d0f1e3cf469670347cf059a25004b672e8bb2585ff2cf1de57f9bf5ce34d067c1fa9b09f811e62b376675 SHA512 05214ef62863f389c89b3e87267df094f67797115428db832f9abbffc76eeec3a8062e589e9f92297aaeb0b4c507e7f2867999dd758735b534a7a9734e33c659
21 changes: 21 additions & 0 deletions gui-wm/somewm/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>shuber@sthu.org</email>
<name>Stefan Huber</name>
</maintainer>
<longdescription>
SomeWM is a Lua-scriptable Wayland compositor and designed as a modern,
compatible alternative to AwesomeWM. It is compatible with AwesomeWM's Lua
API such that existing configs, widgets and themes carry over. While the 1.4
version give 100% AwesomeWM 4.4 compatibility, later versions will add new
features and may break compatibility.
</longdescription>
<upstream>
<remote-id type="github">trip-zip/somewm</remote-id>
<bugs-to>https://github.com/trip-zip/somewm/issues</bugs-to>
<changelog>https://github.com/trip-zip/somewm/blob/main/CHANGELOG.md</changelog>
<doc>https://somewm.org/</doc>
</upstream>
</pkgmetadata>
75 changes: 75 additions & 0 deletions gui-wm/somewm/somewm-1.4.1.ebuild

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Symlinks should not be used in ebuild repositories

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. What instead? A plain copy?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks. Done.

Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LUA_COMPAT=( lua5-4 luajit )

inherit meson lua-single

if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/trip-zip/${PN}.git"

if [[ ${PV} == 1.4.* ]]; then
EGIT_BRANCH="release/1.4"
fi
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/trip-zip/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi

DESCRIPTION="An AwesomeWM-compatible dynamic floating and tiling Wayland compositor"
HOMEPAGE="https://somewm.org https://github.com/trip-zip/somewm"

LICENSE="GPL-3"
SLOT="0"

REQUIRED_USE="${LUA_REQUIRED_USE}"

RDEPEND="
${LUA_DEPS}
$(lua_gen_cond_dep 'dev-lua/lgi[${LUA_USEDEP}]')
dev-libs/glib:2
dev-libs/libffi
dev-libs/libinput
dev-libs/wayland
dev-libs/wayland-protocols
gui-libs/wlroots:0.19
sys-apps/dbus
x11-base/xwayland
x11-libs/cairo[X]
x11-libs/gdk-pixbuf:2
x11-libs/libdrm
x11-libs/libxkbcommon
x11-libs/pango
x11-libs/xcb-util-wm
"
DEPEND="
${RDEPEND}
"
BDEPEND="
${LUA_DEPS}
dev-build/meson
dev-build/ninja
dev-util/wayland-scanner
virtual/pkgconfig
"

pkg_setup() {
lua-single_pkg_setup
}

src_configure() {
meson_src_configure
}

pkg_postinst() {
einfo "Migration check from AwesomeWM:"
einfo " somewm --check ~/.config/awesome/rc.lua"
einfo ""
einfo "Launching somewm from a TTY:"
einfo " somewm-session"
einfo ""
einfo "Further details at: https://somewm.org/docs/intro"
}
75 changes: 75 additions & 0 deletions gui-wm/somewm/somewm-1.4.9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LUA_COMPAT=( lua5-{4..5} luajit )

inherit meson lua-single

if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/trip-zip/${PN}.git"

if [[ ${PV} == 1.4.* ]]; then
EGIT_BRANCH="release/1.4"
fi
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/trip-zip/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi

DESCRIPTION="An AwesomeWM-compatible dynamic floating and tiling Wayland compositor"
HOMEPAGE="https://somewm.org https://github.com/trip-zip/somewm"

LICENSE="GPL-3"
SLOT="0"

REQUIRED_USE="${LUA_REQUIRED_USE}"

RDEPEND="
${LUA_DEPS}
$(lua_gen_cond_dep 'dev-lua/lgi[${LUA_USEDEP}]')
dev-libs/glib:2
dev-libs/libffi
dev-libs/libinput
dev-libs/wayland
dev-libs/wayland-protocols
gui-libs/wlroots:0.19
sys-apps/dbus
x11-base/xwayland
x11-libs/cairo[X]
x11-libs/gdk-pixbuf:2
x11-libs/libdrm
x11-libs/libxkbcommon
x11-libs/pango
x11-libs/xcb-util-wm
"
DEPEND="
${RDEPEND}
"
BDEPEND="
${LUA_DEPS}
dev-build/meson
dev-build/ninja
dev-util/wayland-scanner
virtual/pkgconfig
"

pkg_setup() {
lua-single_pkg_setup
}

src_configure() {
meson_src_configure
}

pkg_postinst() {
einfo "Migration check from AwesomeWM:"
einfo " somewm --check ~/.config/awesome/rc.lua"
einfo ""
einfo "Launching somewm from a TTY:"
einfo " somewm-session"
einfo ""
einfo "Further details at: https://somewm.org/docs/intro"
}
75 changes: 75 additions & 0 deletions gui-wm/somewm/somewm-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LUA_COMPAT=( lua5-4 luajit )

inherit meson lua-single

if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/trip-zip/${PN}.git"

if [[ ${PV} == 1.4.* ]]; then
EGIT_BRANCH="release/1.4"
fi
else
KEYWORDS="~amd64"
SRC_URI="https://github.com/trip-zip/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
fi

DESCRIPTION="An AwesomeWM-compatible dynamic floating and tiling Wayland compositor"
HOMEPAGE="https://somewm.org https://github.com/trip-zip/somewm"

LICENSE="GPL-3"
SLOT="0"

REQUIRED_USE="${LUA_REQUIRED_USE}"

RDEPEND="
${LUA_DEPS}
$(lua_gen_cond_dep 'dev-lua/lgi[${LUA_USEDEP}]')
dev-libs/glib:2
Comment on lines +28 to +33
dev-libs/libffi
dev-libs/libinput
dev-libs/wayland
dev-libs/wayland-protocols
gui-libs/wlroots:0.19
sys-apps/dbus
x11-base/xwayland
x11-libs/cairo[X]
x11-libs/gdk-pixbuf:2
x11-libs/libdrm
x11-libs/libxkbcommon
x11-libs/pango
x11-libs/xcb-util-wm
"
DEPEND="
${RDEPEND}
"
BDEPEND="
${LUA_DEPS}
dev-build/meson
dev-build/ninja
dev-util/wayland-scanner
virtual/pkgconfig
"

pkg_setup() {
lua-single_pkg_setup
}

src_configure() {
meson_src_configure
}

pkg_postinst() {
einfo "Migration check from AwesomeWM:"
einfo " somewm --check ~/.config/awesome/rc.lua"
einfo ""
einfo "Launching somewm from a TTY:"
einfo " somewm-session"
einfo ""
einfo "Further details at: https://somewm.org/docs/intro"
}