summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-07-30 03:04:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-07-30 03:04:49 -0500
commit0fb86e044f244e00302b1878b3e15e0db0e4b7e5 (patch)
tree01eeaaaafa24d9c759103aa30b91c5999ae52a1d /net-im
parent8087a9548fbac1dade3245660600d025f43d6732 (diff)
downloadbaldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.tar.gz
baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.tar.xz
baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.zip
Adding metadata
Diffstat (limited to 'net-im')
-rw-r--r--net-im/chatterino/Manifest2
-rw-r--r--net-im/chatterino/chatterino-9999.ebuild2
-rw-r--r--net-im/go-sendxmpp/Manifest4
-rw-r--r--net-im/go-sendxmpp/go-sendxmpp-0.17.0.ebuild (renamed from net-im/go-sendxmpp/go-sendxmpp-0.15.8.ebuild)13
-rw-r--r--net-im/legcord-bin/Manifest6
-rw-r--r--net-im/legcord-bin/legcord-bin-1.3.0.ebuild (renamed from net-im/legcord-bin/legcord-bin-1.2.2.ebuild)8
-rw-r--r--net-im/spectrum2/Manifest2
-rw-r--r--net-im/spectrum2/files/spectrum2-2.2.1-boost-1.85.patch103
-rw-r--r--net-im/spectrum2/files/spectrum2-2.2.1-cmake-ld-typo.patch12
-rw-r--r--net-im/spectrum2/files/spectrum2-2.2.1-frotz-C23.patch50
-rw-r--r--net-im/spectrum2/files/spectrum2-2.2.1-libcommuni-qt6.patch59
-rw-r--r--net-im/spectrum2/files/spectrum2-2.2.1-use-c++17.patch13
-rw-r--r--net-im/spectrum2/metadata.xml1
-rw-r--r--net-im/spectrum2/spectrum2-2.2.1_p20260727.ebuild (renamed from net-im/spectrum2/spectrum2-2.2.1-r2.ebuild)31
14 files changed, 42 insertions, 264 deletions
diff --git a/net-im/chatterino/Manifest b/net-im/chatterino/Manifest
index 7431ca84cb99..89d94c036192 100644
--- a/net-im/chatterino/Manifest
+++ b/net-im/chatterino/Manifest
@@ -1,7 +1,7 @@
DIST chatterino-2.5.5.tar.gz 2632031 BLAKE2B f054ce857c18ba220060f509bb1fca96e0404e0fecff512c70a99a538f643ca9eca892f8a9ce58f9602124cf63060a3e06711f1fd0ead8c3748af097581437d8 SHA512 242a8fb700cf9e5984ecda43dfc35044f8016152d3c3e7e3ea3575111e60aaaedaf0976c28339ba9fc0f11cd99316c6c3146ac37c95d521db7715dc36df45c70
DIST chatterino-certify-a448a3915ddac716ce76e4b8cbf0e7f4153ed1e2.tar.gz 41647 BLAKE2B 4c7c359fd22bfd7b444f9a247dee9c9d72eb197f6a9ad11e45a2772c1162fd2219a0835525219cb73a3a7384e9266e348d88364619e508f755ac6e3c9a035ad9 SHA512 557e55fe24f04b688f02e6f4dd99f4e61e5d2361c107e266ff729786e36fb8c2f43fb4c4fc8fe51578656c66b866073cf529ef3347d4226ae34ba29c1e4e320e
DIST chatterino-expected-df5814711f5f9111a2515a181bde67f22f2fe716.tar.gz 58378 BLAKE2B 5a1ba0233a818f39df999bef26279468a16832b86c4fa27a7802d64e8bf9b548fab8e02dc123940620bf940cbdf14f45cf437694acba2aa9e813a82e14d6ff26 SHA512 01a93783fb5454c18e1132b2986b96b74490ba87267e3a55ea88e9085de879a61bb1bad91857cb011f130a93aae2ea8abc3755580dcd5e9c0eb4429a76196166
-DIST chatterino-libcommuni-ac0e713e5a904b6f3231c70e076f6fd67a78455e.tar.gz 474597 BLAKE2B 488331231e2abb0cb4bd13e07120a60a77e8c261369f4ffcbee449ac5844f0e40c124737c06bbd53a38a98690da897f1f26407c50f0f0560af79be79e6e9c013 SHA512 da00883f3b0f5ffc12006bcec86e9ca84392123d4b51a1dfac1b19d5b962929058ce3ad5609b1057aa62de40e0331ecce2d23620c1b7d0724cbead88ea19b90b
+DIST chatterino-libcommuni-9dc0de7c91d362abc431f680dd94e81eadf41622.tar.gz 476076 BLAKE2B 330bacbb53886cf73fab3d9688267d0ce210cbd2c711c237bb0814a81b0acf8e122eeaad3d88858297902fff9e11c408f474280a0427fad711b96e19c0cd8938 SHA512 7f02ab179c48d5c0266efc34ab21ff2ffb541c7e49bdc717f022b01c82799107dfb1fefbfe6db825baf0e128a3002e7ac2c0ae4d765c064e0fd59db73d268e35
DIST chatterino-libcommuni-bb5417c451d764f57f2f1b3e1c9a81496b5521bd.tar.gz 472335 BLAKE2B ba4ef530679e8dbbf7a79c07c268044bee129e3ae1a1310d5f392ccf7f0b0d2c74571a7e2131f4e148866d10212bf2d8077fa4a15488313ab25e5612c4b1f441 SHA512 5ebedb9d70fb40bfe5396b298b3403d55121b4cbfdfae6e45a63fab66dc4f92cb2fab6e4df4478e18d6f366bbda7467c988249f577505501db6441551fcfe908
DIST chatterino-lua-1ab3208a1fceb12fca8f24ba57d6e13c5bff15e3.tar.gz 463275 BLAKE2B f4e1f852c923f20fcdecea6fe46065489659df4ab61dfbab0260eee66ea64d5d64fe593df9f61777619de386c9264208595cd2d1efe613fbe69bff1cadd78123 SHA512 45c65cd8c579412d2d89c3899c5a98157c66306423ecaafa31b3c386f62ef900f7832de45b8c6a2804001f7676afda1ce8785b3933830dd21515a2c49b0a1fe7
DIST chatterino-magic-1384769c66bd16ec9bb1353f45fe8ec8ccc12dbd.tar.gz 206680 BLAKE2B a1b293c5595c627774931d7f3f2cb4f1157f6e1d5f621429f56256533a0331043f38a365f4a67ac348a4f7729671dd2870549350f68401356fc3af6c57aa8e38 SHA512 e952837859440f1a3314a37cedc8f4619615e912295cf1bdfa828e4255e66dc14fc30eb8dc62874e994e7134df3509e5888031161cb6d88b567ceec3461f2a95
diff --git a/net-im/chatterino/chatterino-9999.ebuild b/net-im/chatterino/chatterino-9999.ebuild
index e2015f3c90d4..50987c0a6dd1 100644
--- a/net-im/chatterino/chatterino-9999.ebuild
+++ b/net-im/chatterino/chatterino-9999.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://chatterino.com/"
CERTIFY_COMMIT="a448a3915ddac716ce76e4b8cbf0e7f4153ed1e2"
EXPECTED_COMMIT="df5814711f5f9111a2515a181bde67f22f2fe716"
-LIBCOMMUNI_COMMIT="ac0e713e5a904b6f3231c70e076f6fd67a78455e"
+LIBCOMMUNI_COMMIT="9dc0de7c91d362abc431f680dd94e81eadf41622"
LUA_COMMIT="1ab3208a1fceb12fca8f24ba57d6e13c5bff15e3"
MAGIC_COMMIT="1384769c66bd16ec9bb1353f45fe8ec8ccc12dbd"
MINIAUDIO_COMMIT="9634bedb5b5a2ca38c1ee7108a9358a4e233f14d"
diff --git a/net-im/go-sendxmpp/Manifest b/net-im/go-sendxmpp/Manifest
index 2f0ff8527268..7dae155ca589 100644
--- a/net-im/go-sendxmpp/Manifest
+++ b/net-im/go-sendxmpp/Manifest
@@ -1,4 +1,4 @@
-DIST go-sendxmpp-0.15.8-deps.tar.xz 55026440 BLAKE2B f0d7ef4a8fec7b05e13e8bc8c62c09e5bd44aa747b9655dbec52ffe9aa30acfa363d50836c09e6cb354e4311a1a5cda2a21adfd5f1ec7183a6a319ffd29fc418 SHA512 ea3f297a061e4916a7e56c430e1e3d5eda1519682d4f2108416f0ce899fdcc9c02dd16a31dd545d227b9aa62c7cf4dbbbd6e1ac504f3b52c6b480c231d34372a
-DIST go-sendxmpp-0.15.8.tar.bz2 44185 BLAKE2B 08f73d22e303f47da47ad0672d08c39b8b632cb5351e8db0d78493d8f750c289c911be614f6c731b1a331d13200ce98b40fca3cbf16af2ebcd3b08eef3518724 SHA512 2e24e1875a3614cf655fa877ce209286bfcb3203b60c54316b749f72ee2a5b85d654d0b8e4d1a440da2c6c9ce23280b435b7b5df3ebb14deef16060fc04c6c0a
DIST go-sendxmpp-0.16.0-vendor.tar.xz 630080 BLAKE2B f5fdf295792bd2aa6f9491fb7296c2af1ccdb1be9ac356265c9198dee8574698604f36fa87a94c6380222154b2f82dfbc8a6bc898302ab35d01e2f207ae14216 SHA512 e3ace5347430fa5bc4454adec59b9113c77fe658b3d3d4f065d0f395b34754b571401f1d23e69098f205cd8ec987dece93b3ed8fdc18af1908cab7da5ad8ff27
DIST go-sendxmpp-0.16.0.tar.bz2 45221 BLAKE2B 6ef31ed594715539b47d0664472cbaf4122310974952d4990f1336981cf97505cd3701a802ce9fed90d38f764627aefc4944b00b4bd14a46581a32bcaf59b19d SHA512 8a255f74b7a1a31691d83a0f48379db40babbe77d60c512ec5d7d1e4a180272dc58939c55ca95437d2090cd2bd12dd8ab809ad5c58a4d3769a1367b30bab0e8b
+DIST go-sendxmpp-0.17.0-vendor.tar.xz 642844 BLAKE2B a09a7748213bfade26734e41b6861be44a893eab4b2b42270c557693facf54580e0e0655a3e4a69333e8aebc3ef8758e6a170961ee7f0753a09506d8c1442ee6 SHA512 d728ffe3ab5fa11dc1bb9e137bac581d346644fd799dc8cead1c9ff0a169559539b14c0bc9465b01b2dd4b739857f283f1c3a04bd26ddec21626b1e0fd6fa436
+DIST go-sendxmpp-0.17.0.tar.bz2 48190 BLAKE2B 6b28eea88501cfb2597a3304b3b8e26ab8d676a986399f3516df45daf3e6dafa339b4f7ac6f210f73c13979b0d5eadb080095e7dc1407fe00c0d6d7f70888f73 SHA512 a92adafe618a4dafd6e0062f38d51322ada81ff2a0abffdef8817d62f7517a91fcd8d32c1d0e8b5f3142eb1e3b5352cb2730ddfd7cdeba891c41d33701a25a4a
diff --git a/net-im/go-sendxmpp/go-sendxmpp-0.15.8.ebuild b/net-im/go-sendxmpp/go-sendxmpp-0.17.0.ebuild
index d4a218530462..c398897507a7 100644
--- a/net-im/go-sendxmpp/go-sendxmpp-0.15.8.ebuild
+++ b/net-im/go-sendxmpp/go-sendxmpp-0.17.0.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="A tool to send messages or files to an XMPP contact or MUC"
HOMEPAGE="https://salsa.debian.org/mdosch/go-sendxmpp"
SRC_URI="
https://salsa.debian.org/mdosch/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2
- https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-deps.tar.xz
+ https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-v${PV}"
@@ -22,6 +22,13 @@ KEYWORDS="~amd64 ~arm64"
BDEPEND=">=dev-lang/go-1.25.0"
+# See https://bugs.gentoo.org/977931#c3
+src_unpack() {
+ mkdir "${S}" || die
+ ln -s "../${P}/vendor" "${S}"/vendor || die
+ go-module_src_unpack
+}
+
src_compile() {
ego build -buildmode=pie
}
@@ -32,3 +39,7 @@ src_install() {
doman man/go-sendxmpp.5
default
}
+
+src_test() {
+ ego test ./...
+}
diff --git a/net-im/legcord-bin/Manifest b/net-im/legcord-bin/Manifest
index 66eb750872c8..109fc44259b8 100644
--- a/net-im/legcord-bin/Manifest
+++ b/net-im/legcord-bin/Manifest
@@ -1,6 +1,6 @@
-DIST legcord-bin-1.2.2-amd64.deb 108319816 BLAKE2B c5162d57f944606c796b0df6455256b2575458bb020896cc8eb8539855ce704b7aeceaddf51f2f419370988c56894780c416ac3e0a9c854065cb647a10c7e9d0 SHA512 cb4faf9c8ac4876135272d5dce27b72e36dae4ef8d4e0e2992c9dce58eea484915360fcc358095af16b6b46828419be04cc42ea3e18fa63b6bb0f2508e23f0a5
-DIST legcord-bin-1.2.2-arm64.deb 103259120 BLAKE2B b321403d44918bbeb8e0fc76680a527548aa8ba4e889d490dbd2cbd3077a6165ffdf664404eddd10d734d4f288657cb48fc1bb5f5fea31a2e5e1c1827489b45d SHA512 f8300a37ce7325482e76fab3c95a3444bc75e02f634a604467a5e904af7e2101ef2fddabb617e2ca5adc4ef497f70bbf2f66f47c3a112bd1907e1ccf2ea90035
-DIST legcord-bin-1.2.2.metainfo.xml 11904 BLAKE2B 8e0b2865ca198901e332cc243575c304509481b91d8c94a7ab5f8fd6aafd6560499aacad20c0f4fcb82486b01aea82a57d163afcf31179d87d6f59fcdf3a442b SHA512 2fa68cc64110bd03cbc31656d38123d34128513ee9f4f83609a27d6f4a7fba756676704ac94d92a072ba86ae5ba21d21ba6397842351a60c1bc3d4f082f287c8
DIST legcord-bin-1.2.4-amd64.deb 107140020 BLAKE2B d5c12b3bc2740955d760fff5c43d276ce4ba30a88a5bd5cfb0a63c01eaaa5af8b33855961874c53038445794a9b4d30496206b7c5ed593918ef43a910c1b551b SHA512 8b7aca807e4b46978a7cd7b7257ada168d7643b5c1cc6e78c700dc4bab1efe5328a8f9a66261ff8d4d34265b5646ae005f01f799c68583a5ad7f0438afa6e928
DIST legcord-bin-1.2.4-arm64.deb 101733096 BLAKE2B 6da50273a0b525e7787878f52921a2c094ec09d718ef492075dd7731ffa2f4bc61491c5c3392117ffeeee59881ee9dc45675f3d1f2bbd016bdf4a3ff71ff9392 SHA512 9344e5e0df374669aebfc92bad0b4065d2c1d2ec9a74e479fb1d93e67ee7e5f1dfd1fdb524abab6ae184406b025f92bda9dfa3b32da8ac8ec034acedc14bf48d
DIST legcord-bin-1.2.4.metainfo.xml 19684 BLAKE2B eb2b8ed5da274cd448cf13e8862e47eb8fb45796b0dcbb39af985b7a0742a9d2f8152ae84b3c64df9e718c9e7ce5f25a2d8ca2ea57afa27f157021d6310053d3 SHA512 24ac6af3ce0437f13dd448691c8e088ce1842d327db2fcbc151aefcd9cb4181889aeb9d9843a29eec879971826fa7e796c13bdff7f6853ad252ee0675eafca1c
+DIST legcord-bin-1.3.0-amd64.deb 120247540 BLAKE2B 0eb10bac11097328eca706801401d241eef83683cd32a8307ba3f232240c6fb95c1d3ed2280cd6def813df4f109708656449687922e921391827a1b23983c790 SHA512 424320bf7d968d0aa2e8b8fc7a225ccfa2e130141e69dc76a75528a141010a3a66e949154ef6b11c5771bd6eec2f1bb521668fdd27ef2ebf489a849a734b685a
+DIST legcord-bin-1.3.0-arm64.deb 114382956 BLAKE2B bcf8f1fda369a39abd77b3111ccd957067e7c541d675156dfa32c8ff0176f6d3b14f0f6dd19f13740da3ee59b2c2c726a2947e54f2b84c86bc9c3ba5922cab64 SHA512 0817a439ec20fcb05f92b391ad614ef4a502ea9237fb13939e97d56ea4980e011248c8918422ab489d03c7f453f133fd5157fc243ce4fdb7a2c5e0918e189082
+DIST legcord-bin-1.3.0.metainfo.xml 23083 BLAKE2B 9189c62632eb6f22b0a7042f68982d5198324f78f24c22e6d89866459f8c82411bfdf3a2a32c2bf1822b825c754f5f1758e61c40f69e76ab21d0c74db6978b2d SHA512 f21191a35e9ebb4c3cb5b679ed6fa40a93c395c2e8bb256f9522890a5b8bc24504bf8fa7c164efa03abd622249236c4cd35622882d51bf7e39d64533410126f9
diff --git a/net-im/legcord-bin/legcord-bin-1.2.2.ebuild b/net-im/legcord-bin/legcord-bin-1.3.0.ebuild
index daee1ebe7d28..16489f5c63c4 100644
--- a/net-im/legcord-bin/legcord-bin-1.2.2.ebuild
+++ b/net-im/legcord-bin/legcord-bin-1.3.0.ebuild
@@ -61,7 +61,7 @@ src_prepare() {
# match with syslink
sed -i "s|^Exec=.*|Exec=/usr/bin/legcord-bin %U|" \
- "usr/share/applications/${MY_PN}.desktop" || die
+ "usr/share/applications/${MY_PN,,}.desktop" || die
# rm binary libraries for unsupported architectures
local libdir="opt/${MY_PN}/resources/app.asar.unpacked/node_modules"
@@ -105,7 +105,7 @@ src_install() {
local destdir="/opt/${PN}"
exeinto "${destdir}"
- doexe "opt/${MY_PN}/${MY_PN}"
+ doexe "opt/${MY_PN}/${MY_PN,,}"
doexe "opt/${MY_PN}/chrome-sandbox"
doexe "opt/${MY_PN}/chrome_crashpad_handler"
@@ -119,14 +119,14 @@ src_install() {
doins -r "opt/${MY_PN}/locales"
doins -r "opt/${MY_PN}/resources"
- dosym ../../opt/"${PN}"/"${MY_PN}" /usr/bin/"${PN}"
+ dosym ../../opt/"${PN}"/"${MY_PN,,}" /usr/bin/"${PN}"
local x
for x in 16 32 64 128 256 512; do
doicon -s ${x} usr/share/icons/hicolor/${x}*/*
done
- domenu "usr/share/applications/${MY_PN}.desktop"
+ domenu "usr/share/applications/${MY_PN,,}.desktop"
insinto /usr/share/metainfo
newins "${DISTDIR}/${P}.metainfo.xml" app.legcord.${MY_PN}.metainfo.xml
diff --git a/net-im/spectrum2/Manifest b/net-im/spectrum2/Manifest
index ff04b5209c99..6485d1b15e22 100644
--- a/net-im/spectrum2/Manifest
+++ b/net-im/spectrum2/Manifest
@@ -1 +1 @@
-DIST spectrum2-2.2.1.tar.gz 666509 BLAKE2B c946cea46d99bd8126ad8270a8a01140d75ff989cf0cc0e2ff19ac830c01df4ad02a296959077f5a56707d509bafe937515f78adf7361a2e261497f5299dfe7d SHA512 c752f043f337157125da800ec5e5ed41b0f0f2bf8ee91c682a228779754557389469eb58610bef7793a0d68a303260f80a38a1519f61b62ba23e9a2222c6f399
+DIST spectrum2-2.2.1_p20260727.gh.tar.gz 554408 BLAKE2B 48a31c2a38a2e646c31d1eccf01fbbac56bd3c98ada3581c6dc606eb646cf5562b46f0c12a290bfbfa90514053a3719ef5e5f472c66c0cb9be2e73261741055e SHA512 4442def665d2d07a421945e73f6a146c83cfa068d4a3640dee7993c080a777a80de27397a3278c05306b01040a9ab7f2c3cd0fb3e7ee6f51a4ab763584f8cae1
diff --git a/net-im/spectrum2/files/spectrum2-2.2.1-boost-1.85.patch b/net-im/spectrum2/files/spectrum2-2.2.1-boost-1.85.patch
deleted file mode 100644
index 30e6a4cdeb81..000000000000
--- a/net-im/spectrum2/files/spectrum2-2.2.1-boost-1.85.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-Bug: https://bugs.gentoo.org/933691
-
-From: Bill Prendergast <dek.devel@baisenvar.info>
-
-Fix build with boost-1.85 (filesystem api v4 removed Deprecated Features)
-see https://www.boost.org/doc/libs/1_85_0/libs/filesystem/doc/deprecated.html
-
---- a/plugin/cpp/Util.cpp
-+++ b/plugin/cpp/Util.cpp
-@@ -53,7 +53,7 @@ void createDirectories(Transport::Config *config, const boost::filesystem::path&
- }
-
- // First create branch, by calling ourself recursively
-- createDirectories(config, ph.branch_path());
-+ createDirectories(config, ph.parent_path());
-
- // Now that parent's path exists, create the directory
- create_directory(ph);
-@@ -89,7 +89,7 @@ void removeEverythingOlderThan(const std::vector<std::string> &dirs, time_t t) {
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
- if (last_write_time(itr->path()) < t) {
- try {
-- if (is_regular(itr->path())) {
-+ if (is_regular_file(itr->path())) {
- remove(itr->path());
- }
- else if (is_directory(itr->path())) {
---- a/spectrum/src/main.cpp
-+++ b/spectrum/src/main.cpp
-@@ -147,7 +147,7 @@ static void _createDirectories(Transport::Config *config, boost::filesystem::pat
- }
-
- // First create branch, by calling ourself recursively
-- _createDirectories(config, ph.branch_path());
-+ _createDirectories(config, ph.parent_path());
-
- // Now that parent's path exists, create the directory
- boost::filesystem::create_directory(ph);
---- a/spectrum_manager/src/methods.cpp
-+++ b/spectrum_manager/src/methods.cpp
-@@ -168,7 +168,7 @@ int start_instances(ManagerConfig *config, const std::string &_jid) {
-
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
-@@ -232,7 +232,7 @@ void stop_instances(ManagerConfig *config, const std::string &_jid) {
-
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
-@@ -315,7 +315,7 @@ int restart_instances(ManagerConfig *config, const std::string &_jid) {
-
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
-@@ -401,7 +401,7 @@ int show_status(ManagerConfig *config) {
-
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
-@@ -531,7 +531,7 @@ std::string get_config(ManagerConfig *config, const std::string &jid, const std:
-
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
-@@ -572,7 +572,7 @@ void ask_local_server(ManagerConfig *config, Swift::BoostNetworkFactories &netwo
- bool found = false;
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
-@@ -619,7 +619,7 @@ std::vector<std::string> show_list(ManagerConfig *config, bool show) {
-
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (is_regular(itr->path()) && extension(itr->path()) == ".cfg") {
-+ if (is_regular_file(itr->path()) && itr->path().extension().string() == ".cfg") {
- Config cfg;
- if (cfg.load(itr->path().string()) == false) {
- std::cerr << "Can't load config file " << itr->path().string() << ". Skipping...\n";
diff --git a/net-im/spectrum2/files/spectrum2-2.2.1-cmake-ld-typo.patch b/net-im/spectrum2/files/spectrum2-2.2.1-cmake-ld-typo.patch
deleted file mode 100644
index 5fb10ffb4d0b..000000000000
--- a/net-im/spectrum2/files/spectrum2-2.2.1-cmake-ld-typo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-https://github.com/SpectrumIM/spectrum2/pull/519
---- a/spectrum/src/CMakeLists.txt
-+++ b/spectrum/src/CMakeLists.txt
-@@ -20,7 +20,7 @@ target_link_libraries(spectrum2 transport spectrum2-xmpp-frontend spectrum2-slac
-
- if(NOT MSVC AND NOT APPLE)
- # export all symbols (used for loading frontends)
-- set(CMAKE_EXE_LINKER_FLAGS "-Wl,-export-dynamic")
-+ set(CMAKE_EXE_LINKER_FLAGS "-Wl,--export-dynamic")
- endif()
-
- install(TARGETS spectrum2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/net-im/spectrum2/files/spectrum2-2.2.1-frotz-C23.patch b/net-im/spectrum2/files/spectrum2-2.2.1-frotz-C23.patch
deleted file mode 100644
index edba64f208ab..000000000000
--- a/net-im/spectrum2/files/spectrum2-2.2.1-frotz-C23.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://bugs.gentoo.org/969771
-Use modern booleans instead of redefining them.
-Also do an boost api change for extensions as
-it was done in different patch.
---- a/backends/frotz/dfrotz/common/frotz.h
-+++ b/backends/frotz/dfrotz/common/frotz.h
-@@ -13,14 +13,14 @@
-
- #ifndef __UNIX_PORT_FILE
- #include <signal.h>
--typedef int bool;
-+#include <stdbool.h>
-
- #ifndef TRUE
--#define TRUE 1
-+#define TRUE true
- #endif
-
- #ifndef FALSE
--#define FALSE 0
-+#define FALSE false
- #endif
-
- #endif /* __UNIX_PORT_FILE */
-@@ -594,12 +594,12 @@
- void os_init_screen (void);
- void os_more_prompt (void);
- int os_peek_colour (void);
--int os_picture_data (int, int *, int *);
-+bool os_picture_data (int, int *, int *);
- void os_prepare_sample (int);
- void os_process_arguments (int, char *[]);
- int os_random_seed (void);
- int os_read_file_name (char *, const char *, int);
--zchar os_read_key (int, int);
-+zchar os_read_key (int, bool);
- zchar os_read_line (int, zchar *, int, int, int);
- void os_reset_screen (void);
- void os_restart_game (int);
---- a/backends/frotz/main.cpp
-+++ b/backends/frotz/main.cpp
-@@ -234,7 +234,7 @@
- path p(".");
- directory_iterator end_itr;
- for (directory_iterator itr(p); itr != end_itr; ++itr) {
-- if (extension(itr->path()) == ".z5") {
-+ if (itr->path().extension().string() == ".z5") {
- #if BOOST_FILESYSTEM_VERSION == 3
- games.push_back(itr->path().filename().string());
- #else
diff --git a/net-im/spectrum2/files/spectrum2-2.2.1-libcommuni-qt6.patch b/net-im/spectrum2/files/spectrum2-2.2.1-libcommuni-qt6.patch
deleted file mode 100644
index 6211c695ebd9..000000000000
--- a/net-im/spectrum2/files/spectrum2-2.2.1-libcommuni-qt6.patch
+++ /dev/null
@@ -1,59 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -192,7 +192,7 @@
-
- if(ENABLE_IRC)
- find_package(Communi)
-- find_package(Qt5 COMPONENTS Core Network)
-+ find_package(Qt6 COMPONENTS Core Network REQUIRED)
- endif()
-
- find_package(event)
---- a/backends/libcommuni/CMakeLists.txt
-+++ b/backends/libcommuni/CMakeLists.txt
-@@ -4,8 +4,8 @@
- if(ENABLE_QT4)
- QT4_WRAP_CPP(SRC ${HEADERS} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
- else()
-- QT5_WRAP_CPP(SRC ${HEADERS} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
-- include_directories(${Qt5Core_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS})
-+ qt6_wrap_cpp(SRC ${HEADERS} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
-+ include_directories(${Qt6Core_INCLUDE_DIRS} ${Qt6Network_INCLUDE_DIRS})
- endif()
-
- add_definitions(-DQT_NO_KEYWORDS)
-@@ -15,13 +15,13 @@
- if(ENABLE_QT4)
- target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} Qt4::QtNetwork Qt4::QtCore transport pthread)
- else()
-- target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} Qt5::Network Qt5::Core transport pthread)
-+ target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} Qt6::Network Qt6::Core transport pthread)
- endif()
- else()
- if(ENABLE_QT4)
- target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} Qt4::QtNetwork Qt4::QtCore transport)
- else()
-- target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} Qt5::Network Qt5::Core transport)
-+ target_link_libraries(spectrum2_libcommuni_backend ${IRC_LIBRARY} Qt6::Network Qt6::Core transport)
- endif()
- endif()
-
---- a/cmake_modules/FindCommuni.cmake
-+++ b/cmake_modules/FindCommuni.cmake
-@@ -2,14 +2,14 @@
- find_package(Qt4)
- include( ${QT_USE_FILE} )
- else()
-- find_package(Qt5Network)
-+ find_package(Qt6 COMPONENTS Network REQUIRED)
- endif()
-
- FIND_LIBRARY(IRC_LIBRARY NAMES IrcCore PATHS ${QT_LIBRARY_DIR})
- if( ENABLE_QT4 )
- FIND_PATH(IRC_INCLUDE_DIR NAMES "IrcCore/ircglobal.h" PATHS ${QT_INCLUDE_DIR} PATH_SUFFIXES Communi)
- else()
-- FIND_PATH(IRC_INCLUDE_DIR NAMES "IrcCore/ircglobal.h" PATHS ${Qt5Core_INCLUDE_DIRS} ${Qt5Core_INCLUDE_DIRS}"/.." PATH_SUFFIXES Communi)
-+ FIND_PATH(IRC_INCLUDE_DIR NAMES "IrcCore/ircglobal.h" PATHS ${Qt6Core_INCLUDE_DIRS} ${Qt6Core_INCLUDE_DIRS}"/.." PATH_SUFFIXES Communi)
- endif()
-
- # message( STATUS ${IRC_LIBRARY})
diff --git a/net-im/spectrum2/files/spectrum2-2.2.1-use-c++17.patch b/net-im/spectrum2/files/spectrum2-2.2.1-use-c++17.patch
deleted file mode 100644
index 4f21f0dd32e6..000000000000
--- a/net-im/spectrum2/files/spectrum2-2.2.1-use-c++17.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Don't focre c11
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -4,7 +4,7 @@
-
- project(libtransport)
-
--set(CMAKE_CXX_STANDARD 11)
-+set(CMAKE_CXX_STANDARD 17)
- if(WIN32)
- set(CMAKE_CXX_STANDARD 17)
- endif(WIN32)
diff --git a/net-im/spectrum2/metadata.xml b/net-im/spectrum2/metadata.xml
index fc0fbed6fdc3..238a0a6b1546 100644
--- a/net-im/spectrum2/metadata.xml
+++ b/net-im/spectrum2/metadata.xml
@@ -16,7 +16,6 @@
<flag name="irc">Enables the IRC backend, based on <pkg>net-im/libcommuni</pkg>.</flag>
<flag name="purple">Enables the libpurple backend, based on <pkg>net-im/pidgin</pkg>.</flag>
<flag name="sms">Enables the SMS backend, based on <pkg>app-mobilephone/smstools</pkg>.</flag>
- <flag name="twitter">Enables the Twitter backend.</flag>
</use>
<origin>baldeagleos-repo</origin>
</pkgmetadata>
diff --git a/net-im/spectrum2/spectrum2-2.2.1-r2.ebuild b/net-im/spectrum2/spectrum2-2.2.1_p20260727.ebuild
index 60deaec7f893..00d3273e8e21 100644
--- a/net-im/spectrum2/spectrum2-2.2.1-r2.ebuild
+++ b/net-im/spectrum2/spectrum2-2.2.1_p20260727.ebuild
@@ -6,13 +6,20 @@ EAPI=8
inherit cmake eapi9-ver systemd tmpfiles
DESCRIPTION="An open source instant messaging transport"
-HOMEPAGE="https://www.spectrum.im"
-SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://spectrum.im"
+if [[ ${PV} == *_p* ]]; then
+ COMMIT="e77233cd1c6dc93b52b88be1b6ebe2b77713d1db"
+ COMMIT_DATE="2026-07-27"
+ SRC_URI="https://github.com/SpectrumIM/${PN}/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+else
+ SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+fi
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter xmpp"
+IUSE="doc frotz irc mysql postgres purple sms +sqlite test xmpp"
REQUIRED_USE="
|| ( mysql postgres sqlite )
test? ( irc )
@@ -35,8 +42,11 @@ RDEPEND="
>=net-im/swift-4.0.2-r2:=
net-misc/curl
virtual/zlib:=
- frotz? ( !games-engines/frotz )
- irc? ( net-im/libcommuni )
+ frotz? ( games-engines/frotz )
+ irc? (
+ dev-qt/qtbase:6[network]
+ net-im/libcommuni
+ )
mysql? (
|| (
dev-db/mariadb-connector-c
@@ -50,7 +60,7 @@ RDEPEND="
)
sms? ( app-mobilephone/smstools )
sqlite? ( dev-db/sqlite:3 )
- twitter? ( net-misc/curl )"
+"
DEPEND="
${RDEPEND}
@@ -59,14 +69,9 @@ DEPEND="
"
PATCHES=(
- "${FILESDIR}"/${PN}-2.2.1-boost-1.85.patch
"${FILESDIR}"/${PN}-2.2.1-boost-1.87.patch
"${FILESDIR}"/${PN}-2.2.1-boost-1.89.patch
- "${FILESDIR}"/${PN}-2.2.1-use-c++17.patch
"${FILESDIR}"/${PN}-2.2.1-cmake.patch
- "${FILESDIR}"/${PN}-2.2.1-cmake-ld-typo.patch
- "${FILESDIR}"/${PN}-2.2.1-libcommuni-qt6.patch
- "${FILESDIR}"/${PN}-2.2.1-frotz-C23.patch
"${FILESDIR}"/${PN}-2.2.1-findjsoncpp.patch
)
@@ -84,15 +89,15 @@ src_configure() {
-DENABLE_DOCS="$(usex doc)"
-DENABLE_FROTZ="$(usex frotz)"
-DENABLE_IRC="$(usex irc)"
+ $(usex irc '-DENABLE_QT6=ON' '')
-DENABLE_MYSQL="$(usex mysql)"
-DENABLE_PQXX="$(usex postgres)"
-DENABLE_PURPLE="$(usex purple)"
- $(usex irc '-DENABLE_QT4=OFF' '')
-DENABLE_SMSTOOLS3="$(usex sms)"
-DENABLE_SQLITE3="$(usex sqlite)"
-DENABLE_TESTS="$(usex test)"
- -DENABLE_TWITTER="$(usex twitter)"
-DENABLE_XMPP="$(usex xmpp)"
+ -DENABLE_SLACK_FRONTEND=OFF
)
cmake_src_configure