commit: 118ac927e6563043261c296fe0b4eb6119d2ce14 Author: dsaf <ghostyn678+git <AT> gmail <DOT> com> AuthorDate: Wed Sep 3 21:20:03 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Wed Sep 3 21:20:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=118ac927
net-im/dissent: new package, add 0.0.35 Signed-off-by: dsaf <ghostyn678+git <AT> gmail.com> net-im/dissent/Manifest | 1 + net-im/dissent/dissent-0.0.35.ebuild | 82 ++++++++++++ net-im/dissent/files/modules.txt | 241 +++++++++++++++++++++++++++++++++++ net-im/dissent/metadata.xml | 19 +++ 4 files changed, 343 insertions(+) diff --git a/net-im/dissent/Manifest b/net-im/dissent/Manifest new file mode 100644 index 0000000000..200a295d3d --- /dev/null +++ b/net-im/dissent/Manifest @@ -0,0 +1 @@ +DIST dissent-0.0.35.tar.zst 23817470 BLAKE2B 000d158a099019df955c3b543a7fa224dd73488115fda5811c018adee3ce6f48c5d6d17ee47a53a7ff4bd5acef390b837c46cd22d892cfc41629997c19b66dff SHA512 0a8311f2ba2fb44e09dd08b73a5ea034ffd7f59f18f5ee6adcd87b80b7c2c16c1a8527c4eae2fd9eaa4ba0fefdbee0f141416bfbb84d1b1ff7247bd6d28dffc8 diff --git a/net-im/dissent/dissent-0.0.35.ebuild b/net-im/dissent/dissent-0.0.35.ebuild new file mode 100644 index 0000000000..68c129e2d6 --- /dev/null +++ b/net-im/dissent/dissent-0.0.35.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop go-module unpacker xdg + +DESCRIPTION="Tiny native Discord client for Linux" +HOMEPAGE="https://github.com/diamondburned/dissent" +SRC_URI="https://github.com/diamondburned/${PN}/releases/download/v${PV}/${PN}-source.tar.zst -> ${P}.tar.zst" + +S=${WORKDIR} + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=gui-libs/gtk-4.10.0 + >=gui-libs/libadwaita-1.4.0 + >=gui-libs/gtksourceview-5.8.0:5 + >=media-libs/gstreamer-1.20.0:1.0 + >=media-libs/gst-plugins-base-1.20.0:1.0 + >=media-libs/gst-plugins-good-1.20.0:1.0 + >=media-libs/gst-plugins-bad-1.20.0:1.0 + >=media-libs/gst-plugins-ugly-1.20.0:1.0 + >=media-libs/graphene-1.10.0 + >=app-text/libspelling-0.2.0 + >=x11-libs/cairo-1.16.0 + >=x11-libs/gdk-pixbuf-2.42.0:2 + >=dev-libs/glib-2.72.0:2 + >=x11-libs/pango-1.50.0 + >=media-libs/harfbuzz-5.0.0 + >=dev-libs/libxml2-2.9.0 +" + +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-lang/go-1.21.0 + virtual/pkgconfig +" + +RESTRICT="test" + +src_prepare() { + default + + # everything is readonly + chmod -R u+w "${S}/vendor" || die + + # file missing from upstream, causes build failure + cp "${FILESDIR}"/modules.txt "${S}"/vendor || die + + # comments out DBusActivatable which is problematic with launchers + sed -i 's/^\(DBusActivatable=.*\)$/# \1/' nix/so.libdb.dissent.desktop || die +} + +src_compile() { + export CGO_LDFLAGS="-Wl,--as-needed" + + ego build -v -x -buildmode=pie -ldflags "-s -w" -o ${PN} +} + +src_install() { + dobin ${PN} + + domenu nix/so.libdb.dissent.desktop + + insinto /usr/share/dbus-1/services + doins nix/so.libdb.dissent.service + + doicon -s scalable internal/icons/hicolor/scalable/apps/so.libdb.dissent.svg + + insinto /usr/share/metainfo + doins so.libdb.dissent.metainfo.xml + + einstalldocs +} + +pkg_postinst() { + xdg_pkg_postinst +} diff --git a/net-im/dissent/files/modules.txt b/net-im/dissent/files/modules.txt new file mode 100644 index 0000000000..39f1fbee24 --- /dev/null +++ b/net-im/dissent/files/modules.txt @@ -0,0 +1,241 @@ +# al.essio.dev/pkg/shellescape v1.6.0 +## explicit; go 1.18 +al.essio.dev/pkg/shellescape +# github.com/KarpelesLab/weak v0.1.1 +## explicit; go 1.18 +github.com/KarpelesLab/weak +# github.com/alecthomas/chroma v0.10.0 +## explicit; go 1.13 +github.com/alecthomas/chroma +github.com/alecthomas/chroma/lexers +github.com/alecthomas/chroma/lexers/a +github.com/alecthomas/chroma/lexers/b +github.com/alecthomas/chroma/lexers/c +github.com/alecthomas/chroma/lexers/circular +github.com/alecthomas/chroma/lexers/d +github.com/alecthomas/chroma/lexers/e +github.com/alecthomas/chroma/lexers/f +github.com/alecthomas/chroma/lexers/g +github.com/alecthomas/chroma/lexers/h +github.com/alecthomas/chroma/lexers/i +github.com/alecthomas/chroma/lexers/internal +github.com/alecthomas/chroma/lexers/j +github.com/alecthomas/chroma/lexers/k +github.com/alecthomas/chroma/lexers/l +github.com/alecthomas/chroma/lexers/m +github.com/alecthomas/chroma/lexers/n +github.com/alecthomas/chroma/lexers/o +github.com/alecthomas/chroma/lexers/p +github.com/alecthomas/chroma/lexers/q +github.com/alecthomas/chroma/lexers/r +github.com/alecthomas/chroma/lexers/s +github.com/alecthomas/chroma/lexers/t +github.com/alecthomas/chroma/lexers/v +github.com/alecthomas/chroma/lexers/w +github.com/alecthomas/chroma/lexers/x +github.com/alecthomas/chroma/lexers/y +github.com/alecthomas/chroma/lexers/z +github.com/alecthomas/chroma/styles +# github.com/danieljoos/wincred v1.2.2 +## explicit; go 1.18 +github.com/danieljoos/wincred +# github.com/diamondburned/adaptive v0.0.2-0.20221227093656-fa139be203a8 +## explicit; go 1.17 +github.com/diamondburned/adaptive +# github.com/diamondburned/arikawa/v3 v3.5.1-0.20250703053218-19d9c3f2e011 +## explicit; go 1.23 +github.com/diamondburned/arikawa/v3/api +github.com/diamondburned/arikawa/v3/api/rate +github.com/diamondburned/arikawa/v3/api/webhook +github.com/diamondburned/arikawa/v3/discord +github.com/diamondburned/arikawa/v3/gateway +github.com/diamondburned/arikawa/v3/internal/backoff +github.com/diamondburned/arikawa/v3/internal/intmath +github.com/diamondburned/arikawa/v3/internal/lazytime +github.com/diamondburned/arikawa/v3/internal/moreatomic +github.com/diamondburned/arikawa/v3/internal/moreatomic/syncmod +github.com/diamondburned/arikawa/v3/internal/rfutil +github.com/diamondburned/arikawa/v3/session +github.com/diamondburned/arikawa/v3/session/shard +github.com/diamondburned/arikawa/v3/state +github.com/diamondburned/arikawa/v3/state/store +github.com/diamondburned/arikawa/v3/state/store/defaultstore +github.com/diamondburned/arikawa/v3/utils/handler +github.com/diamondburned/arikawa/v3/utils/httputil +github.com/diamondburned/arikawa/v3/utils/httputil/httpdriver +github.com/diamondburned/arikawa/v3/utils/json +github.com/diamondburned/arikawa/v3/utils/json/enum +github.com/diamondburned/arikawa/v3/utils/json/option +github.com/diamondburned/arikawa/v3/utils/sendpart +github.com/diamondburned/arikawa/v3/utils/ws +github.com/diamondburned/arikawa/v3/utils/ws/ophandler +# github.com/diamondburned/chatkit v0.0.0-20240614105536-5788b19145bc +## explicit; go 1.21.0 +github.com/diamondburned/chatkit/components/author +github.com/diamondburned/chatkit/components/autocomplete +github.com/diamondburned/chatkit/components/embed +github.com/diamondburned/chatkit/components/progress +github.com/diamondburned/chatkit/components/secretdialog +github.com/diamondburned/chatkit/kits/secret +github.com/diamondburned/chatkit/md +github.com/diamondburned/chatkit/md/block +github.com/diamondburned/chatkit/md/hl +github.com/diamondburned/chatkit/md/mdrender +# github.com/diamondburned/gotk4-adwaita/pkg v0.0.0-20250703085708-8e7f01e2c815 +## explicit; go 1.24.0 +github.com/diamondburned/gotk4-adwaita/pkg/adw +# github.com/diamondburned/gotk4/pkg v0.3.2-0.20250703063411-16654385f59a +## explicit; go 1.24.0 +github.com/diamondburned/gotk4/pkg/cairo +github.com/diamondburned/gotk4/pkg/cairo/swizzle +github.com/diamondburned/gotk4/pkg/core/closure +github.com/diamondburned/gotk4/pkg/core/gbox +github.com/diamondburned/gotk4/pkg/core/gcancel +github.com/diamondburned/gotk4/pkg/core/gdebug +github.com/diamondburned/gotk4/pkg/core/gerror +github.com/diamondburned/gotk4/pkg/core/gextras +github.com/diamondburned/gotk4/pkg/core/gioutil +github.com/diamondburned/gotk4/pkg/core/glib +github.com/diamondburned/gotk4/pkg/core/intern +github.com/diamondburned/gotk4/pkg/core/slab +github.com/diamondburned/gotk4/pkg/gdk/v4 +github.com/diamondburned/gotk4/pkg/gdkpixbuf/v2 +github.com/diamondburned/gotk4/pkg/gio/v2 +github.com/diamondburned/gotk4/pkg/glib/v2 +github.com/diamondburned/gotk4/pkg/graphene +github.com/diamondburned/gotk4/pkg/gsk/v4 +github.com/diamondburned/gotk4/pkg/gtk/v4 +github.com/diamondburned/gotk4/pkg/pango +# github.com/diamondburned/gotkit v0.0.0-20250223060613-69614d9e70a9 +## explicit; go 1.21.0 +github.com/diamondburned/gotkit/app +github.com/diamondburned/gotkit/app/locale +github.com/diamondburned/gotkit/app/notify +github.com/diamondburned/gotkit/app/prefs +github.com/diamondburned/gotkit/app/sounds +github.com/diamondburned/gotkit/components/autoscroll +github.com/diamondburned/gotkit/components/errpopup +github.com/diamondburned/gotkit/components/logui +github.com/diamondburned/gotkit/components/onlineimage +github.com/diamondburned/gotkit/components/prefui +github.com/diamondburned/gotkit/gtkutil +github.com/diamondburned/gotkit/gtkutil/aggressivegc +github.com/diamondburned/gotkit/gtkutil/cssutil +github.com/diamondburned/gotkit/gtkutil/httputil +github.com/diamondburned/gotkit/gtkutil/imgutil +github.com/diamondburned/gotkit/gtkutil/mediautil +github.com/diamondburned/gotkit/gtkutil/textutil +github.com/diamondburned/gotkit/utils/cachegc +github.com/diamondburned/gotkit/utils/config +github.com/diamondburned/gotkit/utils/osutil +# github.com/diamondburned/ningen/v3 v3.0.1-0.20250703054403-e5dc4cf15e84 +## explicit; go 1.18 +github.com/diamondburned/ningen/v3 +github.com/diamondburned/ningen/v3/discordmd +github.com/diamondburned/ningen/v3/handlerrepo +github.com/diamondburned/ningen/v3/nstore +github.com/diamondburned/ningen/v3/states/emoji +github.com/diamondburned/ningen/v3/states/guild +github.com/diamondburned/ningen/v3/states/member +github.com/diamondburned/ningen/v3/states/mute +github.com/diamondburned/ningen/v3/states/note +github.com/diamondburned/ningen/v3/states/read +github.com/diamondburned/ningen/v3/states/relationship +github.com/diamondburned/ningen/v3/states/summary +github.com/diamondburned/ningen/v3/states/thread +# github.com/dlclark/regexp2 v1.11.5 +## explicit; go 1.13 +github.com/dlclark/regexp2 +github.com/dlclark/regexp2/syntax +# github.com/dustin/go-humanize v1.0.1 +## explicit; go 1.16 +github.com/dustin/go-humanize +# github.com/enescakir/emoji v1.0.0 +## explicit; go 1.13 +github.com/enescakir/emoji +# github.com/godbus/dbus/v5 v5.1.0 +## explicit; go 1.12 +github.com/godbus/dbus/v5 +# github.com/gorilla/schema v1.4.1 +## explicit; go 1.20 +github.com/gorilla/schema +# github.com/gorilla/websocket v1.5.3 +## explicit; go 1.12 +github.com/gorilla/websocket +# github.com/ianlancetaylor/cgosymbolizer v0.0.0-20250410214317-b8ecc8b6bbe6 +## explicit; go 1.12 +github.com/ianlancetaylor/cgosymbolizer +# github.com/leonelquinteros/gotext v1.7.1 +## explicit; go 1.23.5 +github.com/leonelquinteros/gotext +github.com/leonelquinteros/gotext/plurals +# github.com/lmittmann/tint v1.0.7 +## explicit; go 1.21 +github.com/lmittmann/tint +# github.com/mattn/go-isatty v0.0.20 +## explicit; go 1.15 +github.com/mattn/go-isatty +# github.com/pkg/errors v0.9.1 +## explicit +github.com/pkg/errors +# github.com/puzpuzpuz/xsync/v3 v3.5.1 +## explicit; go 1.18 +github.com/puzpuzpuz/xsync/v3 +# github.com/sahilm/fuzzy v0.1.1 +## explicit +github.com/sahilm/fuzzy +# github.com/twmb/murmur3 v1.1.8 +## explicit; go 1.11 +github.com/twmb/murmur3 +# github.com/yalue/merged_fs v1.3.0 +## explicit; go 1.16 +github.com/yalue/merged_fs +# github.com/yuin/goldmark v1.7.11 +## explicit; go 1.22 +github.com/yuin/goldmark +github.com/yuin/goldmark/ast +github.com/yuin/goldmark/parser +github.com/yuin/goldmark/renderer +github.com/yuin/goldmark/renderer/html +github.com/yuin/goldmark/text +github.com/yuin/goldmark/util +# github.com/zalando/go-keyring v0.2.6 +## explicit; go 1.18 +github.com/zalando/go-keyring +github.com/zalando/go-keyring/secret_service +# go4.org v0.0.0-20230225012048-214862532bf5 +## explicit; go 1.13 +go4.org/bytereplacer +# go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 +## explicit; go 1.11 +go4.org/unsafe/assume-no-moving-gc +# golang.org/x/crypto v0.37.0 +## explicit; go 1.23.0 +golang.org/x/crypto/pbkdf2 +# golang.org/x/sync v0.13.0 +## explicit; go 1.23.0 +golang.org/x/sync/semaphore +golang.org/x/sync/singleflight +# golang.org/x/sys v0.32.0 +## explicit; go 1.23.0 +golang.org/x/sys/unix +golang.org/x/sys/windows +# golang.org/x/text v0.24.0 +## explicit; go 1.23.0 +golang.org/x/text/unicode/rangetable +# golang.org/x/time v0.11.0 +## explicit; go 1.23.0 +golang.org/x/time/rate +# libdb.so/ctxt v0.0.0-20240229093153-2db38a5d3c12 +## explicit; go 1.21.0 +libdb.so/ctxt +# libdb.so/go-emoji v0.0.0-20240508073816-39776eee41ac +## explicit; go 1.20 +libdb.so/go-emoji +libdb.so/go-emoji/data +# libdb.so/gotk4-sourceview/pkg v0.0.0-20240818070527-98263515a466 +## explicit; go 1.18 +libdb.so/gotk4-sourceview/pkg/gtksource/v5 +# libdb.so/gotk4-spelling/pkg v0.0.0-20241128063647-a9edc40bddb0 +## explicit; go 1.21.0 +libdb.so/gotk4-spelling/pkg/spelling diff --git a/net-im/dissent/metadata.xml b/net-im/dissent/metadata.xml new file mode 100644 index 0000000000..aa897381be --- /dev/null +++ b/net-im/dissent/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>dsaf</name> + </maintainer> + <longdescription> + Dissent (previously gtkcord4) is a third-party Discord + client designed for a smooth, native experience on Linux desktops. + + Built with the GTK4 and libadwaita for a modern look and feel, + it delivers your favorite Discord app in a lightweight and visually + appealing package. + </longdescription> + <upstream> + <remote-id type="github">diamondburned/dissent</remote-id> + </upstream> +</pkgmetadata>
