Compare commits
49 Commits
4347e68587
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1cb5e1e2a | ||
|
|
74add68136 | ||
|
|
d9b35ac847 | ||
|
|
02644de032 | ||
|
|
d356a679c7 | ||
|
|
70b06f7dda | ||
|
|
f621451030 | ||
|
|
89270ae67f | ||
|
|
5d3ec9af35 | ||
|
|
c7b0a3e426 | ||
|
|
c0d91e1449 | ||
|
|
357abb6bb7 | ||
|
|
8881b0b594 | ||
|
|
f4ee5f19f1 | ||
|
|
c50c11620d | ||
|
|
aec3fd7904 | ||
|
|
2bcf8a462b | ||
|
|
3007a0e821 | ||
|
|
77a13be199 | ||
|
|
8d299d784b | ||
|
|
5cad985ff3 | ||
|
|
14889f54f5 | ||
|
|
870cd4c854 | ||
|
|
a1280f545e | ||
|
|
a59c74adde | ||
|
|
9b446f5dab | ||
|
|
d85c76df01 | ||
|
|
27ba67b505 | ||
|
|
bf34e1dd0d | ||
|
|
59664da5a8 | ||
|
|
6ccc61637f | ||
|
|
40aa9b8a2d | ||
|
|
94aef0691a | ||
|
|
acd6e1c7ac | ||
|
|
b3d14d64f0 | ||
|
|
5a2a1db963 | ||
|
|
d04bb61a4d | ||
|
|
2e070de620 | ||
|
|
10423f8793 | ||
|
|
be6edb96cc | ||
|
|
589bc86ef2 | ||
|
|
d33f3e76b5 | ||
|
|
82eb6a9342 | ||
|
|
d41a47a7e9 | ||
|
|
0924329b2c | ||
|
|
2036008e44 | ||
|
|
98823b064b | ||
|
|
3215cfea17 | ||
|
|
e8fe487963 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
*.sw*
|
||||||
|
*~
|
||||||
|
*metadata/md5-cache
|
||||||
@@ -24,3 +24,8 @@ You will need `dev-vcs/git` installed either way (see the the `git` USE flag for
|
|||||||
|
|
||||||
## Mirrors
|
## Mirrors
|
||||||
* [Chaotic Git Hosting](https://git.chaotic.ninja/shinyoukai/minazuki-overlay)
|
* [Chaotic Git Hosting](https://git.chaotic.ninja/shinyoukai/minazuki-overlay)
|
||||||
|
|
||||||
|
## What do the users say
|
||||||
|
|
||||||
|
> "We serve kibble here, sir"
|
||||||
|
~ [Uncle PG](https://socially.drinkingatmy.computer/prettygood)
|
||||||
|
|||||||
6
acct-group/dendrite/dendrite-0.ebuild
Normal file
6
acct-group/dendrite/dendrite-0.ebuild
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
ACCT_GROUP_ID=-1
|
||||||
@@ -5,4 +5,4 @@ EAPI=8
|
|||||||
inherit acct-group
|
inherit acct-group
|
||||||
|
|
||||||
DESCRIPTION="A group for net-im/matterbridge"
|
DESCRIPTION="A group for net-im/matterbridge"
|
||||||
ACCT_GROUP_ID=113
|
ACCT_GROUP_ID=-1
|
||||||
|
|||||||
11
acct-user/dendrite/dendrite-0-r1.ebuild
Normal file
11
acct-user/dendrite/dendrite-0-r1.ebuild
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="Second-generation Matrix homeserver"
|
||||||
|
ACCT_USER_ID=-1
|
||||||
|
ACCT_USER_GROUPS=( ${PN} )
|
||||||
|
ACCT_USER_HOME="/var/lib/${PN}"
|
||||||
|
|
||||||
|
acct-user_add_deps
|
||||||
10
acct-user/dendrite/dendrite-0.ebuild
Normal file
10
acct-user/dendrite/dendrite-0.ebuild
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="Second-generation Matrix homeserver"
|
||||||
|
ACCT_USER_ID=-1
|
||||||
|
ACCT_USER_GROUPS=( dendrite )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
||||||
@@ -5,7 +5,7 @@ EAPI=8
|
|||||||
inherit acct-user
|
inherit acct-user
|
||||||
|
|
||||||
DESCRIPTION="Unprivileged user for Matterbridge"
|
DESCRIPTION="Unprivileged user for Matterbridge"
|
||||||
ACCT_USER_ID=113
|
ACCT_USER_ID=-1
|
||||||
ACCT_USER_GROUPS=( matterbridge )
|
ACCT_USER_GROUPS=( matterbridge )
|
||||||
|
|
||||||
acct-user_add_deps
|
acct-user_add_deps
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ inherit optfeature
|
|||||||
|
|
||||||
DESCRIPTION="Infinitely adaptable password manager"
|
DESCRIPTION="Infinitely adaptable password manager"
|
||||||
HOMEPAGE="https://projects.laidback.moe/kanako/"
|
HOMEPAGE="https://projects.laidback.moe/kanako/"
|
||||||
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="BEER-WARE"
|
LICENSE="BEER-WARE"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 x86"
|
||||||
|
|
||||||
IUSE="X"
|
IUSE="X"
|
||||||
|
|
||||||
|
|||||||
2
app-crypt/cream/Manifest
Normal file
2
app-crypt/cream/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST cream-1.5-deps.tar.gz 1417409 BLAKE2B 30f2407bbd40d31de4f447c8729fbfedc029f4da4c7ad636cdcaa57cbe4182c83d1a8e3b97809c1c4a281e835f26e6cbe5f6130dc8b6c72f866eb9bf3116e326 SHA512 90858db2485834f5dc84b59e1145ec6f3eafb05f170b30a6e79812a69e3dbda1fe272505318d8bccca5c50706a44378e123a8b40aa589d993e86ca695fab00d8
|
||||||
|
DIST cream-1.5.tar.bz2 6900 BLAKE2B 4ae265a793a8993cac982ddc0f89ae8f6dd6de6b336eba387bb2c080bfd0cf6bb498a04f200bf031cb6d86b2e413f558489e0778c58d5d85894b653503544275 SHA512 0d491a7b5f91045b11beeadf606082c65a381265198bdbba77d3332b1346480c2ce97debcf3b545af88b48736400bfc33af8ebeebddf656cb7b5ba96b9dc9b72
|
||||||
34
app-crypt/cream/cream-1.5.ebuild
Normal file
34
app-crypt/cream/cream-1.5.ebuild
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="Bring crypto to your stream"
|
||||||
|
HOMEPAGE="https://z3bra.org/cream/"
|
||||||
|
SRC_URI="
|
||||||
|
https://dl.z3bra.org/releases/${P}.tar.bz2
|
||||||
|
https://mirror.chaotic.ninja/software/${P}-deps.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
elog "Populating ${S}/config.mk with new values..."
|
||||||
|
echo "GO = ${EPREFIX}/usr/bin/go" > config.mk
|
||||||
|
echo "GOOS = linux" >> config.mk
|
||||||
|
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||||
|
echo "MANDIR = ${EPREFIX}/usr/share/man" >> config.mk
|
||||||
|
elog "Done."
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
}
|
||||||
8
app-crypt/cream/metadata.xml
Normal file
8
app-crypt/cream/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
8
app-crypt/salty/metadata.xml
Normal file
8
app-crypt/salty/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
35
app-crypt/salty/salty-9999.ebuild
Normal file
35
app-crypt/salty/salty-9999.ebuild
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit git-r3 go-module
|
||||||
|
|
||||||
|
DESCRIPTION="A command-line tool using the saltpack messaging format"
|
||||||
|
HOMEPAGE="https://git.mills.io/prologic/salty"
|
||||||
|
EGIT_REPO_URI="https://git.mills.io/prologic/salty.git"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
git-r3_src_unpack
|
||||||
|
go-module_live_vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
ego build -tags "netgo static_build" -installsuffix netgo ./cmd/salty/...
|
||||||
|
ego build -tags "netgo static_build" -installsuffix netgo ./cmd/salty-keygen/...
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
export CGO_ENABLED=1
|
||||||
|
ego test -v -cover -race -coverprofile=coverage.out ./...
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin salty
|
||||||
|
dobin salty-keygen
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
DIST libkkc-data-0.2.7.tar.xz 22262552 BLAKE2B 2c735ee9fabf8f8f201591c9ed584cece22ddcd15da5f36b39bb422b1bce1dbcbcd66f71b5713e2dd4c5e2862b06b014c24a4a3db63c86ecee20519434da9261 SHA512 61c0cd8c0fa41ed8df49cac6709eebb245cc965d7e192b1ba945e95f2fc46aca8aa48c16e1977a12c157c55dab6b9f4c30f4905806725eca6e697b762eb7cbd7
|
|
||||||
@@ -1,121 +0,0 @@
|
|||||||
#!/usr/bin/python3.13
|
|
||||||
|
|
||||||
# Copyright (C) 2011-2013 Daiki Ueno <ueno@gnu.org>
|
|
||||||
# Copyright (C) 2011-2013 Red Hat, Inc.
|
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
import os
|
|
||||||
import mmap
|
|
||||||
import math
|
|
||||||
import struct
|
|
||||||
|
|
||||||
ERROR_RATE = 0.25
|
|
||||||
|
|
||||||
def murmur_hash3_32(b0, b1, seed):
|
|
||||||
h1 = seed
|
|
||||||
|
|
||||||
c1 = 0xcc9e2d51
|
|
||||||
c2 = 0x1b873593
|
|
||||||
|
|
||||||
# body: b0
|
|
||||||
b0 *= c1
|
|
||||||
b0 &= 0xFFFFFFFF
|
|
||||||
b0 = (b0 << 15) | (b0 >> (32 - 15))
|
|
||||||
b0 &= 0xFFFFFFFF
|
|
||||||
b0 *= c2
|
|
||||||
b0 &= 0xFFFFFFFF
|
|
||||||
|
|
||||||
h1 ^= b0
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 = (h1 << 13) | (h1 >> (32 - 13))
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 = h1 * 5 + 0xe6546b64
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
|
|
||||||
# body: b1
|
|
||||||
b1 *= c1
|
|
||||||
b1 &= 0xFFFFFFFF
|
|
||||||
b1 = (b1 << 15) | (b1 >> (32 - 15))
|
|
||||||
b1 &= 0xFFFFFFFF
|
|
||||||
b1 *= c2
|
|
||||||
b1 &= 0xFFFFFFFF
|
|
||||||
|
|
||||||
h1 ^= b1
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 = (h1 << 13) | (h1 >> (32 - 13))
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 = h1 * 5 + 0xe6546b64
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
|
|
||||||
# No tail processing needed.
|
|
||||||
|
|
||||||
# fmix
|
|
||||||
h1 ^= 8
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 ^= h1 >> 16
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 *= 0x85ebca6b
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 ^= h1 >> 13
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 *= 0xc2b2ae35
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
h1 ^= h1 >> 16
|
|
||||||
h1 &= 0xFFFFFFFF
|
|
||||||
return h1
|
|
||||||
|
|
||||||
class FilterGenerator(object):
|
|
||||||
def __init__(self, infile, outfile, record_size):
|
|
||||||
self.infile = infile
|
|
||||||
self.outfile = outfile
|
|
||||||
self.record_size = record_size
|
|
||||||
|
|
||||||
def generate(self):
|
|
||||||
size = os.fstat(self.infile.fileno()).st_size
|
|
||||||
n = size / self.record_size
|
|
||||||
m = int(math.ceil(-n*math.log10(ERROR_RATE) /
|
|
||||||
math.pow(math.log10(2), 2)))
|
|
||||||
m = (m/8 + 1)*8
|
|
||||||
inmem = mmap.mmap(self.infile.fileno(),
|
|
||||||
size,
|
|
||||||
access=mmap.ACCESS_READ)
|
|
||||||
outmem = bytearray(m/8)
|
|
||||||
for i in range(0, n):
|
|
||||||
offset = i*self.record_size
|
|
||||||
b0, b1 = struct.unpack("=LL", inmem[offset:offset+8])
|
|
||||||
for k in range(0, 4):
|
|
||||||
h = murmur_hash3_32(b0, b1, k)
|
|
||||||
h = int(h * (m / float(0xFFFFFFFF)))
|
|
||||||
outmem[h/8] |= (1 << (h%8))
|
|
||||||
inmem.close()
|
|
||||||
# Convert bytearray to str, for Python 2.6 compatibility.
|
|
||||||
self.outfile.write(str(outmem))
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
import sys
|
|
||||||
import argparse
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description='filter')
|
|
||||||
parser.add_argument('infile', type=argparse.FileType('r'),
|
|
||||||
help='input file')
|
|
||||||
parser.add_argument('outfile', type=argparse.FileType('w'),
|
|
||||||
help='output file')
|
|
||||||
parser.add_argument('record_size', type=int,
|
|
||||||
help='record size')
|
|
||||||
args = parser.parse_args()
|
|
||||||
generator = FilterGenerator(args.infile,
|
|
||||||
args.outfile,
|
|
||||||
args.record_size)
|
|
||||||
generator.generate()
|
|
||||||
@@ -1,188 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
|
|
||||||
# Copyright (C) 2011-2013 Daiki Ueno <ueno@gnu.org>
|
|
||||||
# Copyright (C) 2011-2013 Red Hat, Inc.
|
|
||||||
|
|
||||||
# This program is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
import struct
|
|
||||||
import marisa
|
|
||||||
import re
|
|
||||||
|
|
||||||
NGRAM = 3
|
|
||||||
NGRAM_LINE_REGEX = '^([-0-9.]+)[ \t]+([^\t]+?)(?:[ \t]+([-0-9.]+))?$'
|
|
||||||
|
|
||||||
class SortedGenerator(object):
|
|
||||||
def __init__(self, infile, output_prefix):
|
|
||||||
self.__infile = infile
|
|
||||||
self.__output_prefix = output_prefix
|
|
||||||
self.__ngram_line_regex = re.compile(NGRAM_LINE_REGEX)
|
|
||||||
|
|
||||||
self.__ngram_entries = [{} for x in range(0, NGRAM)]
|
|
||||||
|
|
||||||
self.__vocab_keyset = marisa.Keyset()
|
|
||||||
self.__input_keyset = marisa.Keyset()
|
|
||||||
|
|
||||||
self.__vocab_trie = marisa.Trie()
|
|
||||||
self.__input_trie = marisa.Trie()
|
|
||||||
|
|
||||||
self.__min_cost = 0.0
|
|
||||||
|
|
||||||
def read(self):
|
|
||||||
print("reading N-grams")
|
|
||||||
self.__read_tries()
|
|
||||||
self.__read_ngrams()
|
|
||||||
print("min cost = %lf" % self.__min_cost)
|
|
||||||
|
|
||||||
def __read_tries(self):
|
|
||||||
while True:
|
|
||||||
line = self.__infile.readline()
|
|
||||||
if line == "":
|
|
||||||
break
|
|
||||||
if line.startswith("\\1-grams"):
|
|
||||||
break
|
|
||||||
|
|
||||||
unigram_count = 0
|
|
||||||
while True:
|
|
||||||
line = self.__infile.readline()
|
|
||||||
if line == "":
|
|
||||||
break
|
|
||||||
line = line.strip()
|
|
||||||
if line == "":
|
|
||||||
break
|
|
||||||
match = self.__ngram_line_regex.match(line)
|
|
||||||
if not match:
|
|
||||||
continue
|
|
||||||
strv = match.groups()
|
|
||||||
self.__vocab_keyset.push_back(strv[1])
|
|
||||||
if not strv[1] in ("<s>", "</s>", "<UNK>"):
|
|
||||||
if "/" not in strv[1]:
|
|
||||||
continue
|
|
||||||
(input, output) = strv[1].split("/")
|
|
||||||
self.__input_keyset.push_back(input)
|
|
||||||
|
|
||||||
self.__vocab_trie.build(self.__vocab_keyset)
|
|
||||||
self.__input_trie.build(self.__input_keyset)
|
|
||||||
|
|
||||||
def __read_ngrams(self):
|
|
||||||
self.__infile.seek(0)
|
|
||||||
for n in range(1, NGRAM + 1):
|
|
||||||
while True:
|
|
||||||
line = self.__infile.readline()
|
|
||||||
if line == "":
|
|
||||||
break
|
|
||||||
if line.startswith("\\%s-grams:" % n):
|
|
||||||
break
|
|
||||||
|
|
||||||
while True:
|
|
||||||
line = self.__infile.readline()
|
|
||||||
if line == "":
|
|
||||||
break
|
|
||||||
line = line.strip()
|
|
||||||
if line == "":
|
|
||||||
break
|
|
||||||
match = self.__ngram_line_regex.match(line)
|
|
||||||
if not match:
|
|
||||||
continue
|
|
||||||
strv = match.groups()
|
|
||||||
ngram = strv[1].split(" ")
|
|
||||||
ids = []
|
|
||||||
for word in ngram:
|
|
||||||
agent = marisa.Agent()
|
|
||||||
agent.set_query(word)
|
|
||||||
if not self.__vocab_trie.lookup(agent):
|
|
||||||
continue
|
|
||||||
ids.append(agent.key_id())
|
|
||||||
cost = float(strv[0])
|
|
||||||
if cost != -99 and cost < self.__min_cost:
|
|
||||||
self.__min_cost = cost
|
|
||||||
backoff = 0.0
|
|
||||||
if strv[2]:
|
|
||||||
backoff = float(strv[2])
|
|
||||||
self.__ngram_entries[n - 1][tuple(ids)] = (cost, backoff)
|
|
||||||
|
|
||||||
def write(self):
|
|
||||||
self.__min_cost = -8.0
|
|
||||||
self.__write_tries()
|
|
||||||
self.__write_ngrams()
|
|
||||||
|
|
||||||
def __write_tries(self):
|
|
||||||
self.__vocab_trie.save(self.__output_prefix + ".1gram.index")
|
|
||||||
self.__input_trie.save(self.__output_prefix + ".input")
|
|
||||||
|
|
||||||
def __write_ngrams(self):
|
|
||||||
def quantize(cost, min_cost):
|
|
||||||
return max(0, min(65535, int(cost * 65535 / min_cost)))
|
|
||||||
|
|
||||||
def cmp_header(a, b):
|
|
||||||
return cmp(a[0], b[0])
|
|
||||||
|
|
||||||
print("writing 1-gram file")
|
|
||||||
unigram_offsets = {}
|
|
||||||
unigram_file = open("%s.1gram" % self.__output_prefix, "wb")
|
|
||||||
offset = 0
|
|
||||||
for ids, value in sorted(self.__ngram_entries[0].items()):
|
|
||||||
unigram_offsets[ids[0]] = offset
|
|
||||||
s = struct.pack("=HHH",
|
|
||||||
quantize(value[0], self.__min_cost),
|
|
||||||
quantize(value[1], self.__min_cost),
|
|
||||||
0 # reserved
|
|
||||||
)
|
|
||||||
unigram_file.write(s)
|
|
||||||
offset += 1
|
|
||||||
unigram_file.close()
|
|
||||||
|
|
||||||
print("writing 2-gram file")
|
|
||||||
bigram_offsets = {}
|
|
||||||
bigram_file = open("%s.2gram" % self.__output_prefix, "wb")
|
|
||||||
keys = list(self.__ngram_entries[1].keys())
|
|
||||||
items = [(struct.pack("=LL", ids[1], unigram_offsets[ids[0]]), ids) for ids in keys]
|
|
||||||
offset = 0
|
|
||||||
for header, ids in sorted(items, cmp=cmp_header):
|
|
||||||
value = self.__ngram_entries[1][ids]
|
|
||||||
bigram_offsets[ids] = offset
|
|
||||||
s = struct.pack("=HH",
|
|
||||||
quantize(value[0], self.__min_cost),
|
|
||||||
quantize(value[1], self.__min_cost))
|
|
||||||
bigram_file.write(header + s)
|
|
||||||
offset += 1
|
|
||||||
bigram_file.close()
|
|
||||||
|
|
||||||
if len(self.__ngram_entries[2]) > 0:
|
|
||||||
print("writing 3-gram file")
|
|
||||||
trigram_file = open("%s.3gram" % self.__output_prefix, "wb")
|
|
||||||
keys = list(self.__ngram_entries[2].keys())
|
|
||||||
items = [(struct.pack("=LL", ids[2], bigram_offsets[(ids[0], ids[1])]), ids) for ids in keys]
|
|
||||||
for header, ids in sorted(items, cmp=cmp_header):
|
|
||||||
value = self.__ngram_entries[2][ids]
|
|
||||||
s = struct.pack("=H",
|
|
||||||
quantize(value[0], self.__min_cost))
|
|
||||||
trigram_file.write(header + s)
|
|
||||||
trigram_file.close()
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
import sys
|
|
||||||
import argparse
|
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description='sortlm')
|
|
||||||
parser.add_argument('infile', nargs='?', type=argparse.FileType('r'),
|
|
||||||
default=sys.stdin,
|
|
||||||
help='language model file')
|
|
||||||
parser.add_argument('output_prefix', metavar='OUTPUT_PREFIX', type=str,
|
|
||||||
help='output file prefix')
|
|
||||||
args = parser.parse_args()
|
|
||||||
|
|
||||||
generator = SortedGenerator(args.infile, args.output_prefix)
|
|
||||||
generator.read();
|
|
||||||
generator.write();
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
# Copyright 2026 Shin'ya Minazuki
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{11..12} )
|
|
||||||
|
|
||||||
inherit autotools python-single-r1
|
|
||||||
|
|
||||||
LIBKKC_PV="0.3.5"
|
|
||||||
|
|
||||||
DESCRIPTION="Language model data for app-i18n/libkkc"
|
|
||||||
HOMEPAGE="https://github.com/ueno/libkkc"
|
|
||||||
SRC_URI="https://github.com/ueno/libkkc/releases/download/v${LIBKKC_PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/marisa[python]
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
cp -f "${FILESDIR}/genfilter.py" "${S}/tools/genfilter.py"
|
|
||||||
cp -f "${FILESDIR}/sortlm.py" "${S}/tools/sortlm.py"
|
|
||||||
python_fix_shebang tools/genfilter.py
|
|
||||||
python_fix_shebang tools/sortlm.py
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
}
|
|
||||||
1
app-i18n/translate/Manifest
Normal file
1
app-i18n/translate/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST translate-1.20.tar.gz 3395 BLAKE2B 1bc7a02362dd4a50bb2a1390d6889c4c64897c8ae4ad9432bad23d63c37ce79ee7f0d3b1da586c8cac76fc1f46697fa0ad2544adcbebc59b1a92b8093737aeac SHA512 c80ba800b7df87b81073b11a61a2f494c0ef96747503a61ee8dbc7adc999f877e7fc23e4409c3449002413172635893a1f9caf55f7ee177bbfb4be026a708d55
|
||||||
8
app-i18n/translate/metadata.xml
Normal file
8
app-i18n/translate/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
27
app-i18n/translate/translate-1.20.ebuild
Normal file
27
app-i18n/translate/translate-1.20.ebuild
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Translate strings using Google Translate"
|
||||||
|
HOMEPAGE="https://www.freebsdcluster.org/~mich/"
|
||||||
|
SRC_URI="https://www.freebsdcluster.org/~mich/software/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND="dev-perl/libwww-perl"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
>=dev-lang/perl-5.0
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
einfo "Fixing shebang in ${S}/translate"
|
||||||
|
sed -i -e "1s#/usr/local/bin/perl#${EPREFIX}/usr/bin/perl#" "${S}/translate" || die
|
||||||
|
}
|
||||||
|
src_install() {
|
||||||
|
dobin translate
|
||||||
|
doman translate.1
|
||||||
|
}
|
||||||
1
dev-lang/kuroko/Manifest
Normal file
1
dev-lang/kuroko/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST kuroko-1.4.0.tar.gz 1329265 BLAKE2B e8eab140c0bd3ed057fb0e7a2e3998ccb5d5ed0d95ad084705a32ea4f6d66d8e01f356887f3ca8fc9f8082c3a5cabfc1422e62fc2c117c602f18dfbd5f72eca2 SHA512 bdcf8f28dae7f1d704c6c74c455a34390a0aadcb41b0bfeb3c3cc7c8ee7670fc001a14e87d6912d05d72ce1f25c69bf8ff4036a45339aa48e6a94fe1ae330ff8
|
||||||
18
dev-lang/kuroko/kuroko-1.4.0.ebuild
Normal file
18
dev-lang/kuroko/kuroko-1.4.0.ebuild
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Lightweight, bytecode-compiled, dynamic and interpreted programming language "
|
||||||
|
HOMEPAGE="https://kuroko-lang.github.io/"
|
||||||
|
SRC_URI="https://github.com/kuroko-lang/kuroko/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install
|
||||||
|
}
|
||||||
@@ -6,8 +6,6 @@
|
|||||||
<name>Shin'ya Minazuki</name>
|
<name>Shin'ya Minazuki</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">deltachat/deltachat-desktop</remote-id>
|
<remote-id type="github">kuroko-lang/kuroko</remote-id>
|
||||||
<maintainer>Delta Chat developers</maintainer>
|
|
||||||
<bugs-to>https://github.com/deltachat/deltachat-desktop/issues</bugs-to>
|
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
@@ -12,7 +12,7 @@ S="${WORKDIR}/${PN}-v${PV}"
|
|||||||
|
|
||||||
LICENSE="ISC"
|
LICENSE="ISC"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
DEPEND="dev-ml/ocplib-endian"
|
DEPEND="dev-ml/ocplib-endian"
|
||||||
BDEPEND="${DEPEND}"
|
BDEPEND="${DEPEND}"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ inherit dune
|
|||||||
|
|
||||||
DESCRIPTION="Applicative text parsing library for OCaml"
|
DESCRIPTION="Applicative text parsing library for OCaml"
|
||||||
HOMEPAGE="https://projects.laidback.moe/kosuzu/"
|
HOMEPAGE="https://projects.laidback.moe/kosuzu/"
|
||||||
SRC_URI="https://mirror.chaotic.ninja/software/text_parse-4.tar.gz"
|
SRC_URI="https://mirror.chaotic.ninja/software/kosuzu/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="EUPL-1.2"
|
LICENSE="EUPL-1.2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
|
|||||||
4
licenses/076-Freedom-License
Normal file
4
licenses/076-Freedom-License
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Freedom License v1 (2021年08月17日)
|
||||||
|
|
||||||
|
全く無限的自由です。
|
||||||
|
It's infinite freedom.
|
||||||
12
licenses/Discordian-2.3
Normal file
12
licenses/Discordian-2.3
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Discordian Public License 2.3 (DPL-2.3)
|
||||||
|
|
||||||
|
All Rites Reversed (k) <YOLD> <name> <email>
|
||||||
|
|
||||||
|
Permission is hereby granted, to any person obtaining a copy of this
|
||||||
|
material without restriction, including but not limited the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the material, subject to the following conditions:
|
||||||
|
|
||||||
|
YOU AGREE THAT THERE IS NO GODDESS BUT GODDESS AND SHE IS YOUR GODDESS &
|
||||||
|
THAT THERE IS NO ERISIAN MOVEMENT BUT THE ERISIAN MOVEMENT AND IT IS THE
|
||||||
|
ERISIAN MOVEMENT.
|
||||||
14
licenses/Minazuki-1.1
Normal file
14
licenses/Minazuki-1.1
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
Minazuki License v1.1
|
||||||
|
|
||||||
|
Copyright (c) <year> <name> <email>
|
||||||
|
|
||||||
|
You can do as you please with this software so long as you
|
||||||
|
keep this notice intact and make no false claims about the
|
||||||
|
ownership of this software.
|
||||||
|
|
||||||
|
Should you believe this is useful to you, feel free to reach out
|
||||||
|
the author(s) via any of the available contact methods.
|
||||||
|
|
||||||
|
There is no express and/or implied warranties whatsoever, this
|
||||||
|
software is distributed "as is", and the author(s) shall not be
|
||||||
|
held liable under any circumstances.
|
||||||
1
mail-client/rin/Manifest
Normal file
1
mail-client/rin/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST rin-10.tar.gz 4282 BLAKE2B 6c8064863c753d536f738c6850a0c3430f7a0c4d954c137490d458c89877c8f9417efed71f0b78c644729a4509da74327c1eb366f73756d1dee5798c6e50360d SHA512 b9d9096dcea4e0a8c595aa63d9415ddd16f629522861059a6f8b44c0641ac1693d82165c3aa309095696c5a9bac72aa851c72699d71b3e67a0b7eb569511f00d
|
||||||
8
mail-client/rin/metadata.xml
Normal file
8
mail-client/rin/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
40
mail-client/rin/rin-10.ebuild
Normal file
40
mail-client/rin/rin-10.ebuild
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit edo
|
||||||
|
|
||||||
|
DESCRIPTION="E-mail assistant"
|
||||||
|
HOMEPAGE=""
|
||||||
|
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
# ありがとうございます、諏訪子様!
|
||||||
|
LICENSE="076-Freedom-License"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
mail-client/mblaze
|
||||||
|
net-mail/fdm
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
app-text/mandoc
|
||||||
|
dev-build/bmake
|
||||||
|
"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
elog "Populating config.mk with new values..."
|
||||||
|
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||||
|
echo "EXDIR = \${PREFIX}/share/examples" >> config.mk
|
||||||
|
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||||
|
elog "Done."
|
||||||
|
}
|
||||||
|
src_compile() {
|
||||||
|
edo sed -e "s|%%PREFIX%%|${EPREFIX}/usr|g" -e "s|%%REV%%|${PV}|g" bin/${PN}.in > bin/${PN}
|
||||||
|
edo chmod 0755 bin/${PN}
|
||||||
|
}
|
||||||
|
src_install() {
|
||||||
|
# Specifically not emake because of the BSD syntax
|
||||||
|
# which will cause GNU make an indigestion
|
||||||
|
bmake DESTDIR="${D}" install
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit edo font
|
inherit font
|
||||||
|
|
||||||
DESCRIPTION="Ume 18 Japanese fonts (Mincho and Gothic)"
|
DESCRIPTION="Ume 18 Japanese fonts (Mincho and Gothic)"
|
||||||
HOMEPAGE="http://osdn.jp/projects/ume-font/wiki/FrontPage"
|
HOMEPAGE="http://osdn.jp/projects/ume-font/wiki/FrontPage"
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
Title: Stabilizing first-party packages
|
||||||
|
Author: Shin'ya Minazuki <shinyoukai@laidback.moe>
|
||||||
|
Content-Type: text/plain
|
||||||
|
Posted: 2026-04-12
|
||||||
|
Revision: 1
|
||||||
|
News-Item-Format: 1.0
|
||||||
|
|
||||||
|
This revision of the overlay will drop the ~arch keywords for packages
|
||||||
|
that are developed and/or maintained by the author, as they were not
|
||||||
|
entirely necessary in the first place, and some will feature the
|
||||||
|
architectures supported by the language toolchain used, if any.
|
||||||
|
|
||||||
|
Some exceptions being previously untested architectures, those will
|
||||||
|
retain the ~arch until they are sufficiently tested.
|
||||||
|
|
||||||
|
Shell scripts such as app-admin/kanako will have all keywords removed,
|
||||||
|
provided that the system supports the required dependencies in a given
|
||||||
|
target architecture.
|
||||||
|
|
||||||
|
Expect announcements like this to happen semi-regularly from now on.
|
||||||
|
|
||||||
|
~Shin'ya Minazuki
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
Title: Moving net-im/deltachat-* to its own overlay
|
||||||
|
Author: Shin'ya Minazuki <shinyoukai@laidback.moe>
|
||||||
|
Content-Type: text/plain
|
||||||
|
Posted: 2026-04-18
|
||||||
|
Revision: 1
|
||||||
|
News-Item-Format: 1.0
|
||||||
|
|
||||||
|
こんばんはなおじゃ!
|
||||||
|
(Good evening!)
|
||||||
|
|
||||||
|
I've decided to create a separate overlay for anything related to
|
||||||
|
https://delta.chat as it was becoming kind of a pain in the rear end to
|
||||||
|
keep up with it, but not enough to actually give up on it, besides, it
|
||||||
|
should be easier for anyone as it is only going to be updated as long as
|
||||||
|
there are releases.
|
||||||
|
|
||||||
|
The new address is
|
||||||
|
https://git.chaotic.ninja/shinyoukai/deltachat-overlay
|
||||||
|
|
||||||
|
Usage
|
||||||
|
=====
|
||||||
|
|
||||||
|
Using app-eselect/eselect-repository:
|
||||||
|
|
||||||
|
root # eselect repository add deltachat-unofficial
|
||||||
|
https://git.chaotic.ninja/shinyoukai/deltachat-overlay
|
||||||
|
|
||||||
|
Using the manual method:
|
||||||
|
(/etc/portage/repos.conf/deltachat-unofficial.conf)
|
||||||
|
|
||||||
|
[deltachat-unofficial]
|
||||||
|
location = /var/db/repos/deltachat-unofficial
|
||||||
|
sync-type = git
|
||||||
|
sync-uri = https://git.chaotic.ninja/shinyoukai/deltachat-overlay
|
||||||
|
|
||||||
|
Then run `emaint sync` as usual
|
||||||
|
|
||||||
|
~Shin'ya Minazuki
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
DIST deltachat-desktop-2.48.0-arm64.tar.gz 145067886 BLAKE2B 216229f5213e32870c00c9babdd6fb92d06e13e069aca17a5b86884c66c4bdd48ce3d6312339d629104c1b2af1f7782fcca15aaacafd4949b257381c5549d66e SHA512 f3c1f52c5b6afe0afcf63a8940424c1f3af3569c4d6889fe84ad4e00b3da69dabc93762d7ef7cec941d4036363a7baff560596d48fa6ad8a288be13c5f52ead9
|
|
||||||
DIST deltachat-desktop-2.48.0.tar.gz 145311040 BLAKE2B 07c4f85bb61312d5c0905b910492fe8fc412ca570884e7b7f02a24dbdea70efcae25f856c517319fc08faddff61d72ffdb26516c97fc061e782727943eb65174 SHA512 cf2d46f7ef008810a9be24c3dcf4c53d1e55ab7d4e4ddf1d7514e02a335236a67f255bdbbba6be72e7692bcdd797e991078f4a2ea38be6c1329c69641c25accb
|
|
||||||
@@ -1,115 +0,0 @@
|
|||||||
# Copyright 2026 Shin'ya Minazuki
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit desktop xdg
|
|
||||||
|
|
||||||
DESCRIPTION="Decentralized and secure messenger app (binary)"
|
|
||||||
HOMEPAGE="https://delta.chat"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* ~amd64 ~arm64"
|
|
||||||
|
|
||||||
DC_PN="${PN%-bin}"
|
|
||||||
|
|
||||||
SRC_URI="
|
|
||||||
amd64? ( https://download.delta.chat/desktop/v${PV}/${DC_PN}-${PV}.tar.gz )
|
|
||||||
arm64? ( https://download.delta.chat/desktop/v${PV}/${DC_PN}-${PV}-arm64.tar.gz )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}"
|
|
||||||
|
|
||||||
DELTACHAT_HOME="opt/${DC_PN}"
|
|
||||||
IUSE="suid"
|
|
||||||
|
|
||||||
|
|
||||||
QA_PREBUILT="
|
|
||||||
opt/deltachat-desktop/deltachat-desktop
|
|
||||||
opt/deltachat-desktop/libEGL.so
|
|
||||||
opt/deltachat-desktop/libffmpeg.so
|
|
||||||
opt/deltachat-desktop/libGLESv2.so
|
|
||||||
opt/deltachat-desktop/libvk_swiftshader.so
|
|
||||||
opt/deltachat-desktop/libvulkan.so.1
|
|
||||||
opt/deltachat-desktop/resources/*
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
app-accessibility/at-spi2-core:2[X]
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/fribidi
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/libpcre2
|
|
||||||
dev-libs/libunistring
|
|
||||||
dev-libs/nettle
|
|
||||||
dev-libs/nspr
|
|
||||||
dev-libs/nss
|
|
||||||
dev-libs/wayland
|
|
||||||
media-gfx/graphite2
|
|
||||||
media-libs/alsa-lib
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
media-libs/harfbuzz
|
|
||||||
media-libs/libpng
|
|
||||||
net-dns/libidn2
|
|
||||||
net-libs/gnutls
|
|
||||||
net-print/cups
|
|
||||||
sys-apps/dbus
|
|
||||||
sys-libs/glibc
|
|
||||||
virtual/jpeg
|
|
||||||
virtual/libudev
|
|
||||||
virtual/zlib
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
x11-libs/gtk+:3[X]
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXau
|
|
||||||
x11-libs/libXcomposite
|
|
||||||
x11-libs/libXdamage
|
|
||||||
x11-libs/libXdmcp
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXrandr
|
|
||||||
x11-libs/libdrm
|
|
||||||
x11-libs/libxcb
|
|
||||||
x11-libs/libxkbcommon
|
|
||||||
x11-libs/pango
|
|
||||||
x11-libs/pixman
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="mirror"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use amd64; then
|
|
||||||
cd deltachat-desktop-${PV} || die
|
|
||||||
elif use arm64; then
|
|
||||||
cd deltachat-desktop-${PV}-arm64 || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
newicon "${FILESDIR}/delta-chat.svg" "${DC_PN}.svg"
|
|
||||||
|
|
||||||
insinto "/opt/${DC_PN}/locales"
|
|
||||||
doins locales/*.pak
|
|
||||||
|
|
||||||
insinto "/opt/${DC_PN}/resources"
|
|
||||||
doins -r resources/*.asar*
|
|
||||||
|
|
||||||
insinto "/opt/${DC_PN}"
|
|
||||||
doins *.pak *.bin *.dat
|
|
||||||
exeinto "/opt/${DC_PN}"
|
|
||||||
doexe *.so *.so.* "${DC_PN}"
|
|
||||||
|
|
||||||
dosym -r "/opt/${DC_PN}/${DC_PN}" "/usr/bin/${DC_PN}"
|
|
||||||
|
|
||||||
rm -rf "${DELTACHAT_HOME}/resources/app.asar.unpacked/node_modules/@parcel/watcher-win32*"
|
|
||||||
rm -rf "${DELTACHAT_HOME}/resources/app.asar.unpacked/node_modules/@parcel/watcher-darwin*"
|
|
||||||
if use amd64; then
|
|
||||||
rm -rf "${DELTACHAT_HOME}/resources/app.asar.unpacked/node_modules/@parcel/watcher-linux-arm64*"
|
|
||||||
rm -rf "${DELTACHAT_HOME}/resources/app.asar.unpacked/node_modules/@parcel/watcher-linux-x64-musl*"
|
|
||||||
elif use arm64; then
|
|
||||||
rm -rf "${DELTACHAT_HOME}/resources/app.asar.unpacked/node_modules/@parcel/watcher-linux-x64*"
|
|
||||||
fi
|
|
||||||
|
|
||||||
make_desktop_entry "${DC_PN} --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto %U" \
|
|
||||||
"Delta Chat" "${DC_PN}" "Network;InstantMessaging;" \
|
|
||||||
"StartupWMClass=DeltaChat"
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" version="1.1"><defs><linearGradient id="a" x1="31.957" x2="-45.041" y1="29.751" y2="-18.592" gradientTransform="matrix(.93766 0 0 .93766 1.5426 1.72)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#364e59"/><stop offset="1" stop-color="#364e59" stop-opacity="0"/></linearGradient></defs><g><path fill="#fff" stroke="#000" stroke-linejoin="round" stroke-opacity=".439" stroke-width=".574" d="m24.015 1.287c-12.549 0-22.728 10.179-22.728 22.728s10.179 22.728 22.728 22.728c14.338-0.34288 9.6144-4.7027 23.698 0.96916-7.5455-13.002-1.083-13.33-0.96916-23.698 0-12.549-10.179-22.728-22.728-22.728z"/><path fill="url(#a)" d="m23.982 5.3106c-10.336 0.12578-18.72 8.6194-18.72 18.965 0 10.346 8.384 18.635 18.72 18.51 9.8277-0.03951 7.5168-5.4897 18.38-0.44319-5.9508-9.2961 0.20175-10.534 0.34034-18.522 0-10.346-8.384-18.635-18.72-18.51z"/><g fill="#fff"><path fill="#fff" d="m21.689 23.636q-1.028-1.1513-2.8578-2.755-2.0148-1.7681-2.7139-2.7755-0.69902-1.028-0.69902-2.241 0-1.8092 1.6859-2.8372 1.6859-1.0485 4.3997-1.0485t4.7287 0.92518q2.0354 0.92518 2.0354 2.5494 0 0.78126-0.49343 1.2952-0.49343 0.51399-1.1513 0.51399-0.94574 0-2.2204-1.4186-1.2952-1.4392-2.1999-2.0148-0.88406-0.59622-2.0765-0.59622-1.5214 0-2.5083 0.67846-0.9663 0.67846-0.9663 1.727 0 0.98686 0.80182 1.8504t4.1325 3.1456q3.5568 2.4466 5.0165 3.8241 1.4803 1.3775 2.4055 3.3512 0.92518 1.9737 0.92518 4.1736 0 3.8652-2.7344 6.8258-2.7139 2.94-6.3529 2.94-3.3101 0-5.5922-2.3643-2.2821-2.3643-2.2821-6.3118 0-3.8035 2.5083-6.3529 2.5288-2.5494 6.209-3.0839zm0.90462 0.94574q-5.9006 0.9663-5.9006 8.1004 0 3.6802 1.4597 5.7155 1.4803 2.0354 3.4334 2.0354 2.0354 0 3.3512-1.9532 1.3158-1.9737 1.3158-5.3249 0-4.852-3.6596-8.5733z" transform="scale(1.1122 .89909)"/></g></g></svg>
|
|
||||||
|
Before Width: | Height: | Size: 1.8 KiB |
2
net-im/dendrite/Manifest
Normal file
2
net-im/dendrite/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST dendrite-0.15.2-deps.tar.gz 52968232 BLAKE2B 44daa7e12d929a167c954e6f386c4455e26b59727d495be778e06b64ca064cb47c34bab176255211ac07c78ec393a8182c702cb62a828a0dbf2ac8f2120098ed SHA512 8e997ce1dbd325e863b4d804d3e4e40f882a17eed467300a4ea64429795bd40ad99fcf82a4df326f7067d30d3faacfcc39c82f03d7881cb6432a498caed6c749
|
||||||
|
DIST dendrite-0.15.2.tar.gz 1347612 BLAKE2B 5e9c9c5c8adb8797a6f2e72f8eb7d4b1cb96b1e44b212532927e9221a3479963ec2fa6da6ff03ddc0d8e8d23178742b04154f0171767f3d61fe3456b42c48c8c SHA512 30a9327133af76a4ef06d961931698d55acbd3c175209aa100886794bc06309acb5953ed9e43ada676af0717461fd2fd8c821a04e829302fdcf4f3a7bbffa1cd
|
||||||
42
net-im/dendrite/dendrite-0.15.2.ebuild
Normal file
42
net-im/dendrite/dendrite-0.15.2.ebuild
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Second-generation Matrix homeserver"
|
||||||
|
HOMEPAGE="https://github.com/element-hq/dendrite"
|
||||||
|
SRC_URI="
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${P}-deps.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
# There are several other licenses around for the dependencies
|
||||||
|
# Not mentioning them here, it would get too long
|
||||||
|
LICENSE="AGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
RDEPEND="
|
||||||
|
acct-user/dendrite
|
||||||
|
acct-group/dendrite
|
||||||
|
"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
ego build -tags goolm -trimpath -v -o bin/ ./cmd/...
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
newsbin bin/${PN} "${PN}"
|
||||||
|
newsbin bin/create-account "${PN}-create-account"
|
||||||
|
newsbin bin/generate-config "${PN}-generate-config"
|
||||||
|
newsbin bin/generate-keys "${PN}-generate-keys"
|
||||||
|
newsbin bin/resolve-state "${PN}-resolve-state"
|
||||||
|
newinitd "${FILESDIR}/${PN}.initd-r0" "${PN}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "running a server in production environments" dev-db/postgresql
|
||||||
|
}
|
||||||
26
net-im/dendrite/files/dendrite.initd-r0
Normal file
26
net-im/dendrite/files/dendrite.initd-r0
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
|
||||||
|
supervisor="supervise-daemon"
|
||||||
|
|
||||||
|
command="/usr/sbin/${RC_SVCNAME}"
|
||||||
|
command_args="--config /etc/${RC_SVCNAME}.yaml"
|
||||||
|
command_user="${RC_SVCNAME}"
|
||||||
|
command_background="true"
|
||||||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
# PostgreSQL is not listed here due to the SLOT mechanism
|
||||||
|
# used by the package manager.
|
||||||
|
# Latest stable version to date is postgresql-18
|
||||||
|
want caddy nginx
|
||||||
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
ebegin "Checking for the existence of /etc/${RC_SVCNAME}.yaml"
|
||||||
|
if ! checkpath --file /etc/${RC_SVCNAME}.yaml; then
|
||||||
|
eerror "You need a configuration file to proceed"
|
||||||
|
eerror "See /usr/sbin/dendrite-generate-config"
|
||||||
|
fi
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
11
net-im/dendrite/metadata.xml
Normal file
11
net-im/dendrite/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">element-hq/dendrite</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
@@ -17,7 +17,7 @@ BDEPEND="
|
|||||||
"
|
"
|
||||||
DEPEND="
|
DEPEND="
|
||||||
dev-libs/glib
|
dev-libs/glib
|
||||||
net-libs/libidn
|
net-dns/libidn
|
||||||
net-libs/loudmouth
|
net-libs/loudmouth
|
||||||
sys-libs/ncurses
|
sys-libs/ncurses
|
||||||
aspell? ( app-text/aspell )
|
aspell? ( app-text/aspell )
|
||||||
|
|||||||
1
net-im/profanity/Manifest
Normal file
1
net-im/profanity/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST profanity-0.18.0.tar.xz 440716 BLAKE2B 126024902e2174cc1c47301ed2fbac134f858e71ca299ca2808a038296ceb0953b6c20f658b35c0e24a3a8dc580cf781985420d2c6739ea36e371b0c5200dec1 SHA512 e2389e0b64a7f40166fc3bac8e252b210d2b7ce2d173792d7ee5c9f32c73bbfa2609ffd70e788ae4988e5737502c3cbc8f5a766857f0116655828d16349d7680
|
||||||
22
net-im/profanity/metadata.xml
Normal file
22
net-im/profanity/metadata.xml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">profanity-im/profanity</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="gpg">Enable OpenPGP encryption</flag>
|
||||||
|
<flag name="gdk-pixbuf">Enable avatar upload and resizing</flag>
|
||||||
|
<flag name="gtk">Enable system tray icon support</flag>
|
||||||
|
<flag name="omemo">Enable OMEMO encryption</flag>
|
||||||
|
<flag name="omemo-qrcode">Enable exchanging OMEMO information via QR code</flag>
|
||||||
|
<flag name="otr">Enable encrypted conversations using Off-The-Records messaging</flag>
|
||||||
|
<flag name="plugins">Enable C plugins support</flag>
|
||||||
|
<flag name="python">Enable Python plugins support</flag>
|
||||||
|
<flag name="spellcheck">Enable spell checking support</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
||||||
83
net-im/profanity/profanity-0.18.0.ebuild
Normal file
83
net-im/profanity/profanity-0.18.0.ebuild
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
# This file was not copied from ::gentoo, this is written from scratch
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{11..13} )
|
||||||
|
inherit flag-o-matic python-single-r1 meson
|
||||||
|
|
||||||
|
DESCRIPTION="A console based XMPP client inspired by Irssi"
|
||||||
|
HOMEPAGE="https://profanity-im.github.io https://github.com/profanity-im/profanity"
|
||||||
|
SRC_URI="https://profanity-im.github.io/tarballs/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# At the top, required run-time dependencies
|
||||||
|
# At the bottom, all optional dependencies (with USE flags)
|
||||||
|
DEPEND="
|
||||||
|
dev-db/sqlite:3
|
||||||
|
dev-libs/glib:2
|
||||||
|
>=dev-libs/libstrophe-0.12.3:=
|
||||||
|
net-misc/curl
|
||||||
|
sys-libs/ncurses:=[unicode(+)]
|
||||||
|
sys-libs/readline:=
|
||||||
|
gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
|
||||||
|
gtk? ( x11-libs/gtk+:3 )
|
||||||
|
omemo? (
|
||||||
|
dev-libs/libgcrypt
|
||||||
|
net-libs/libsignal-protocol-c
|
||||||
|
)
|
||||||
|
omemo-qrcode? ( media-gfx/qrencode )
|
||||||
|
otr? ( net-libs/libotr )
|
||||||
|
python? ( ${PYTHON_DEPS} )
|
||||||
|
xscreensaver? (
|
||||||
|
x11-libs/libXscrnSaver
|
||||||
|
x11-libs/libX11
|
||||||
|
)
|
||||||
|
libnotify? ( x11-libs/libnotify )
|
||||||
|
gpg? ( app-crypt/gpgme:= )
|
||||||
|
spellcheck? ( app-text/enchant )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
IUSE="libnotify omemo omemo-qrcode otr gpg test xscreensaver python gtk gdk-pixbuf spellcheck plugins"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
omemo-qrcode? ( omemo )
|
||||||
|
python? ( ${PYTHON_REQUIRED_USE} )
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use python && python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# [net-im/profanity::gentoo] lto-type-mismatch in tests
|
||||||
|
filter-lto
|
||||||
|
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_feature libnotify notifications)
|
||||||
|
$(meson_feature omemo)
|
||||||
|
$(meson_feature omemo-qrcode)
|
||||||
|
$(meson_feature otr)
|
||||||
|
$(meson_feature gpg pgp)
|
||||||
|
$(meson_feature xscreensaver)
|
||||||
|
$(meson_feature gtk icons-and-clipboard)
|
||||||
|
$(meson_feature gdk-pixbuf)
|
||||||
|
$(meson_feature spellcheck)
|
||||||
|
$(meson_feature plugins c-plugins)
|
||||||
|
)
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
||||||
1
net-irc/kirc/Manifest
Normal file
1
net-irc/kirc/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST kirc-1.2.2.tar.gz 40253 BLAKE2B f8bf6471963762388e71feb8c5bbb78b21787b2a9e6015c825d809c5b1bf9f30117af2be73224d0c2daf52f2154222d4bcb1d40a6166db9eee028bd5f6be81f8 SHA512 b770629d6bfd408fcbf2856579c3bb604f6c85d415286c48700ba7dd172bfa54ea01c6f5b7ec18f7ca6dcd67a799739c18d6c40f4d378c924083c7ce7a0da8f8
|
||||||
28
net-irc/kirc/kirc-1.2.2.ebuild
Normal file
28
net-irc/kirc/kirc-1.2.2.ebuild
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit edo toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Keep IRC simple, stupid!"
|
||||||
|
HOMEPAGE="https://kirc.dev"
|
||||||
|
SRC_URI="https://github.com/mcpcpc/kirc/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
elog "Populating config.mk with new values..."
|
||||||
|
echo "CC = $(tc-getCC)" > config.mk
|
||||||
|
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||||
|
echo "BINDIR = \${PREFIX}/bin" >> config.mk
|
||||||
|
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||||
|
elog "Done."
|
||||||
|
}
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
}
|
||||||
29
net-irc/kirc/kirc-9999.ebuild
Normal file
29
net-irc/kirc/kirc-9999.ebuild
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit git-r3 toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Keep IRC simple, stupid!"
|
||||||
|
HOMEPAGE="https://kirc.dev"
|
||||||
|
EGIT_REPO_URI="https://github.com/mcpcpc/kirc"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
elog "Populating config.mk with new values..."
|
||||||
|
echo "CC = $(tc-getCC)" > config.mk
|
||||||
|
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||||
|
echo "BINDIR = \${PREFIX}/bin" >> config.mk
|
||||||
|
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||||
|
elog "Done."
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
}
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
<name>Shin'ya Minazuki</name>
|
<name>Shin'ya Minazuki</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">ueno/libkkc</remote-id>
|
<remote-id type="github">mcpcpc/kirc</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
1
net-p2p/lanxchange/Manifest
Normal file
1
net-p2p/lanxchange/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST lanxchange-1.41.zip 757123 BLAKE2B 3630e08440d811fe329e6ce38f7e2eb4ad435e02bda9e8373a30344dee46f9c295ae0bfdf607cbfe1377067658207528083c65ad57dd6f6cd1fa8fbbf447c7cd SHA512 d873fd626b51a4555d0ae38edf660659a4dc5a5945b3688e967fd92b09845b12f12e346bb404de19b1987df5adad5bddb2781d99d94d164a422b392e8208bbea
|
||||||
27
net-p2p/lanxchange/lanxchange-1.41.ebuild
Normal file
27
net-p2p/lanxchange/lanxchange-1.41.ebuild
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit wrapper desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="A simple tool for spontaneous, local network file transfers."
|
||||||
|
HOMEPAGE="https://lanxchange.com"
|
||||||
|
SRC_URI="https://github.com/tfg13/LanXchange/releases/download/v${PV}/lxc.zip -> ${P}.zip"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
DEPEND="virtual/jre:1.8"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "/opt/lanxchange"
|
||||||
|
doins -r "${S}/3rd_party_licenses"
|
||||||
|
doins -r "${S}/img"
|
||||||
|
doins "${S}/lanxchange.jar"
|
||||||
|
# Chances are that the slot system will take care of the symlinks for Java
|
||||||
|
# Hence the call to env(1)
|
||||||
|
make_wrapper "lanxchange" "/usr/bin/env -S java -jar /opt/lanxchange/lanxchange.jar"
|
||||||
|
# Now, the desktop entry
|
||||||
|
newicon "/opt/lanxchange/img/logo.png" "${PN}.png"
|
||||||
|
make_desktop_entry "${PN}" "LanXchange" "${PN}" "Network;P2P"
|
||||||
|
}
|
||||||
8
net-p2p/lanxchange/metadata.xml
Normal file
8
net-p2p/lanxchange/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
1
sys-process/dinit/Manifest
Normal file
1
sys-process/dinit/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST dinit-0.21.0.tar.gz 415328 BLAKE2B f1634ce5545918576bf2b2d5a689e9468a480667b28d2525ae1579c67e666aae026ebba99b8b9e67036799dbe0fb42273d23c836e31cce70797d7a0b83a2509f SHA512 9362ddc400570bed7c0d67eeeafef2e339834c8a71948542562e1c5467da7a6f0fad74599118138c02f2d08116a9a8bfe3d9d1a5d02ea0ccf5e97192ea5deea7
|
||||||
53
sys-process/dinit/dinit-0.21.0.ebuild
Normal file
53
sys-process/dinit/dinit-0.21.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Service monitoring and init system"
|
||||||
|
HOMEPAGE="https://davmac.org/projects/dinit/"
|
||||||
|
SRC_URI="https://github.com/davmac314/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="capabilities? ( sys-libs/libcap )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig"
|
||||||
|
|
||||||
|
IUSE="+capabilities +cgroups initgroups ioprio oom-adj +openrc shutdown utmpx"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export CXX="$(tc-getCXX)"
|
||||||
|
export EXTRA_CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
|
./configure --prefix="${EPREFIX}/usr" \
|
||||||
|
--shutdown-prefix="${PN}" \
|
||||||
|
$(use_enable shutdown) \
|
||||||
|
$(use_enable capabilities) \
|
||||||
|
$(use_enable oom-adj) \
|
||||||
|
$(use_enable utmpx) \
|
||||||
|
$(use_enable initgroups) \
|
||||||
|
$(use_enable ioprio)
|
||||||
|
|
||||||
|
# Let the user put their own optimization settings
|
||||||
|
elog "Filtering out upstream's optimization settings..."
|
||||||
|
sed -i -e 's/-Os//' mconfig
|
||||||
|
sed -i -e 's/-flto//' mconfig
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
use openrc && newinitd "${FILESDIR}/${PN}.initd-r0" "${PN}"
|
||||||
|
use systemd && systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo "This package will not override your init system by default,"
|
||||||
|
einfo "and if you want to use it as such, you will have to port the init scripts yourself"
|
||||||
|
}
|
||||||
50
sys-process/dinit/dinit-9999.ebuild
Normal file
50
sys-process/dinit/dinit-9999.ebuild
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit git-r3 toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Service monitoring and init system"
|
||||||
|
HOMEPAGE="https://davmac.org/projects/dinit/"
|
||||||
|
EGIT_REPO_URI="https://github.com/davmac314/dinit"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="capabilities? ( sys-libs/libcap )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
IUSE="capabilities cgroups initgroups ioprio oom-adj shutdown utmpx"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export CXX="$(tc-getCXX)"
|
||||||
|
export EXTRA_CXXFLAGS="${CFLAGS}"
|
||||||
|
|
||||||
|
./configure --prefix="${EPREFIX}/usr" \
|
||||||
|
--shutdown-prefix="${PN}" \
|
||||||
|
$(use_enable shutdown) \
|
||||||
|
$(use_enable capabilities) \
|
||||||
|
$(use_enable oom-adj) \
|
||||||
|
$(use_enable utmpx) \
|
||||||
|
$(use_enable initgroups) \
|
||||||
|
$(use_enable ioprio)
|
||||||
|
|
||||||
|
# Let the user put their own optimization settings
|
||||||
|
elog "Filtering out upstream's optimization settings..."
|
||||||
|
sed -i -e 's/-Os//' mconfig
|
||||||
|
sed -i -e 's/-flto//' mconfig
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
einfo "This package will not override your init system by default,"
|
||||||
|
einfo "and if you want to use it as such, you will have to port the init scripts yourself"
|
||||||
|
}
|
||||||
9
sys-process/dinit/files/dinit.initd-r0
Normal file
9
sys-process/dinit/files/dinit.initd-r0
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
|
||||||
|
supervisor="supervise-daemon"
|
||||||
|
|
||||||
|
command="/usr/sbin/${RC_SVCNAME}"
|
||||||
|
command_args="-s -d /etc/dinit.d -q"
|
||||||
|
command_background="true"
|
||||||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
16
sys-process/dinit/metadata.xml
Normal file
16
sys-process/dinit/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="capabilities">Enable support for capabilities (using sys-libs/libcap)</flag>
|
||||||
|
<flag name="initgroups">Enable initialization of supplementary groups for run-as</flag>
|
||||||
|
<flag name="ioprio">Enable support for I/O priority setting</flag>
|
||||||
|
<flag name="oom-adj">Enable support for out of memory score adjustment</flag>
|
||||||
|
<flag name="shutdown">Build the shutdown commands</flag>
|
||||||
|
<flag name="utmpx">Enable manipulation of the utmp/utmpx database</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
||||||
@@ -12,8 +12,8 @@ if [[ ${PV} = 9999* ]]; then
|
|||||||
inherit git-r3
|
inherit git-r3
|
||||||
else
|
else
|
||||||
SRC_URI="
|
SRC_URI="
|
||||||
https://mirror.chaotic.ninja/software/aya-${PV}.tar.gz
|
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||||
https://mirror.chaotic.ninja/software/aya-vendor.tar.gz
|
https://mirror.chaotic.ninja/software/${PN}/${PN}-vendor.tar.gz
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
# Other architectures have not been tested
|
# Other architectures have not been tested
|
||||||
# This project is mainly developed on x86(-64)
|
# This project is mainly developed on x86(-64)
|
||||||
KEYWORDS="amd64 x86"
|
KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 x86"
|
||||||
|
|
||||||
IUSE="lite"
|
IUSE="lite"
|
||||||
S="${WORKDIR}/${PN}"
|
S="${WORKDIR}/${PN}"
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ inherit dune
|
|||||||
|
|
||||||
DESCRIPTION="Text archival and exchange"
|
DESCRIPTION="Text archival and exchange"
|
||||||
HOMEPAGE="https://projects.laidback.moe/kosuzu"
|
HOMEPAGE="https://projects.laidback.moe/kosuzu"
|
||||||
SRC_URI="https://mirror.chaotic.ninja/software/${P}.tar.gz"
|
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
LICENSE="EUPL-1.2"
|
LICENSE="EUPL-1.2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
|
||||||
|
|
||||||
IUSE="ocamlopt"
|
IUSE="ocamlopt"
|
||||||
|
|
||||||
|
|||||||
2
www-apps/marisa/Manifest
Normal file
2
www-apps/marisa/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST marisa-71.tar.gz 61222 BLAKE2B fffd3242d92df6c1f31f7d50e5afda2dbe764bb3ca18a674cc629f3aece3c005043ecb4d692e0c4c609fe9aad90b44b1105925281e72ff9455163fadeeabaaea SHA512 4fcf640fb61f9c7c85a256960a47a3c1b7517d413bd80319fa9416adb08a3691c8470f9f8a2b8fbfc43b948cb7c6fc5f9e304dc54466ee93dc5e9ff2e1d1b396
|
||||||
|
DIST marisa-deps.tar.gz 34551 BLAKE2B c042d46f0b68d4241b19e0536ace0f12410b245672b8d28c5ba6b325a22c3b2a6b6bd9e49a3520978bbb52a0c7fe0e030db44ed2f812604caa1fd39ed3056ba6 SHA512 4df819d9e7aa728ad122abb87142d85236b7e9e48ef7dc97c6e99f97d7863e787368c8f9231663639781510e7d27298ba36d9e27bcf5a53c053759f2a4cf8046
|
||||||
13
www-apps/marisa/files/marisa.initd-r1
Normal file
13
www-apps/marisa/files/marisa.initd-r1
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
|
||||||
|
supervisor="supervise-daemon"
|
||||||
|
|
||||||
|
command="/usr/bin/${RC_SVCNAME}"
|
||||||
|
command_args="-f /etc/marisa/marisa.conf"
|
||||||
|
command_background="true"
|
||||||
|
pidfile="/run/marisa.pid"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
31
www-apps/marisa/marisa-71.ebuild
Normal file
31
www-apps/marisa/marisa-71.ebuild
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="File upload system over HTTP"
|
||||||
|
HOMEPAGE="https://projects.laidback.moe/marisa"
|
||||||
|
SRC_URI="
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${PN}-deps.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
export VERSION="2025.12.08-${PV}"
|
||||||
|
emake CGO=${CGO_ENABLED} VERSION=${VERSION} -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||||
|
use examples && dodoc example/*
|
||||||
|
newinitd "${FILESDIR}/marisa.initd-r1" "${PN}"
|
||||||
|
}
|
||||||
8
www-apps/marisa/metadata.xml
Normal file
8
www-apps/marisa/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
18
www-apps/yarnd/files/yarnd.confd-r1
Normal file
18
www-apps/yarnd/files/yarnd.confd-r1
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Arguments to pass to the Yarn.social server
|
||||||
|
# Some common options are:
|
||||||
|
# -R to enable open registrations (this is required for admin account creation)
|
||||||
|
# -d path to data directory
|
||||||
|
# -O to enable open profiles
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
# These will be exported by OpenRC for use with the daemon
|
||||||
|
|
||||||
|
# ADMIN_USER=""
|
||||||
|
# ADMIN_EMAIL=""
|
||||||
|
|
||||||
|
# These values are required for a production instance
|
||||||
|
# cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1
|
||||||
|
#
|
||||||
|
# API_SIGNING_KEY=""
|
||||||
|
# COOKIE_SECRET=""
|
||||||
|
# MAGICLINK_SECRET=""
|
||||||
12
www-apps/yarnd/files/yarnd.initd-r1
Normal file
12
www-apps/yarnd/files/yarnd.initd-r1
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
supervisor="supervise-daemon"
|
||||||
|
|
||||||
|
command="/usr/sbin/${RC_SVCNAME}"
|
||||||
|
command_args="${yarnd_args}"
|
||||||
|
command_background="true"
|
||||||
|
command_user="yarnd:yarnd"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
8
www-apps/yarnd/metadata.xml
Normal file
8
www-apps/yarnd/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
53
www-apps/yarnd/yarnd-9999.ebuild
Normal file
53
www-apps/yarnd/yarnd-9999.ebuild
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit git-r3 go-module
|
||||||
|
|
||||||
|
DESCRIPTION="Self-hosted non-social social media (daemon)"
|
||||||
|
HOMEPAGE="https://yarn.social"
|
||||||
|
EGIT_REPO_URI="https://git.mills.io/yarnsocial/yarn.git"
|
||||||
|
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# There's also other two build dependencies,
|
||||||
|
# but they are not required for building, and no user
|
||||||
|
# I know gives a crap.
|
||||||
|
BDEPEND="dev-util/minify"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS README.md )
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
git-r3_src_unpack
|
||||||
|
go-module_live_vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
einfo "Bundling CSS files..."
|
||||||
|
minify -b -o ./internal/theme/static/css/yarn.min.css ./internal/theme/static/css/[0-9]*-*.css
|
||||||
|
minify -b -o ./internal/theme/static/css/noscript.min.css ./internal/theme/static/css/noscript.css
|
||||||
|
einfo "Bundiling JS files..."
|
||||||
|
minify -b -o ./internal/theme/static/js/yarn.min.js ./internal/theme/static/js/[0-9]*-*.js
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export VERSION="0.15.1-${EGIT_COMMIT}"
|
||||||
|
export COMMIT="${EGIT_COMMIT}"
|
||||||
|
export BUILD="$(date +%Y-%m-%d)"
|
||||||
|
export CGO_ENABLED="0"
|
||||||
|
|
||||||
|
ego build \
|
||||||
|
-tags "netgo static_build" \
|
||||||
|
-installsuffix netgo \
|
||||||
|
-ldflags="-w -X git.mills.io/yarnsocial/yarn.Version=${VERSION} -X git.mills.io/yarnsocial/yarn.Commit=${COMMIT} -X git.mills.io/yarnsocial/yarn.Build=${BUILD}" \
|
||||||
|
./cmd/yarnd/...
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dosbin yarnd
|
||||||
|
newinitd "${FILESDIR}/yarnd.initd-r1" "${PN}"
|
||||||
|
newconfd "${FILESDIR}/yarnd.confd-r1" "${PN}"
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
2
www-apps/yuki/Manifest
Normal file
2
www-apps/yuki/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST yuki-2026.02.26-deps.tar.gz 1662015 BLAKE2B 8ac6789e5928ab5f6dd93db2c052b3034058a72acda89d1971723dc5c229cf56b903769e99c7f651de8293d8ed43c7705578f8fefdcbc6408b5b693af3d0cfa2 SHA512 7602a305789e13822dd7c73b00d9f0f93d2022db8de992e7b574240553cd47bfc18ea889a4f4eb258f8f19586f958a97f4d3515064e34c9ea46ddd0a272a953a
|
||||||
|
DIST yuki-2026.02.26.tar.gz 6308 BLAKE2B 6d8f1d174db742fcd9508d50af48189c2decae6123c900de67d03b1e19de6421473f2089ff4afdb9ad518e730a83ac82fc018250fd72493c61edb5c5a4278c94 SHA512 2c05c1c2a3776b17d00728dc6bc1edbf90dd8961e09ff05da6cd01f129f04676d7913397c71d75ec9d305f51e2776b58e0cb871622af49b1948bdefd6150eed8
|
||||||
8
www-apps/yuki/metadata.xml
Normal file
8
www-apps/yuki/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
27
www-apps/yuki/yuki-2026.02.26.ebuild
Normal file
27
www-apps/yuki/yuki-2026.02.26.ebuild
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="A client for WriteFreely written from scratch"
|
||||||
|
HOMEPAGE="https://git.laidback.moe/shinyoukai/yuki"
|
||||||
|
SRC_URI="
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${P}-deps.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
einfo "Building program..."
|
||||||
|
ego build -buildmode=exe -buildvcs=false -v -x -o ${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ${PN}
|
||||||
|
doman ${PN}.1
|
||||||
|
}
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
DIST basilisk-bin-20260309-amd64.tar.xz 52340232 BLAKE2B 3ae9b6d17aa12856f7b8c097ce74c8b1449d1fa708b8b1507c11e4b139388e6bd5b5c1595d499812f0dc624ba8896d45e1c59923cb3d671485a52bb5004f3976 SHA512 54853b0cf87b913dfa69c5d705a21037c891422ce70e861c6a8bd1c3de74b70eb87d7ea6cdb55fba7d3d376a7ddd568d4fec65b642adfded039e9623b355a8f3
|
DIST basilisk-bin-20260309-amd64.tar.xz 52340232 BLAKE2B 3ae9b6d17aa12856f7b8c097ce74c8b1449d1fa708b8b1507c11e4b139388e6bd5b5c1595d499812f0dc624ba8896d45e1c59923cb3d671485a52bb5004f3976 SHA512 54853b0cf87b913dfa69c5d705a21037c891422ce70e861c6a8bd1c3de74b70eb87d7ea6cdb55fba7d3d376a7ddd568d4fec65b642adfded039e9623b355a8f3
|
||||||
DIST basilisk-bin-20260309-x86.tar.xz 49047248 BLAKE2B 33cad060a185025b5e0754aa8bd1915fc3d0e47d98cf618e544af4297ec30a04188dfc5814e94ff48a9dd130983f03078665518f310349c3de9f9b7974a26b5c SHA512 ab51d2758132e7364c60436d6e54bcda146d8ed19a73d3c2ae44d7db0e76a8b9bb95844d38a53d6bdc425c247c264108ba1fa52e6b2bd18704d9350fc4d2739d
|
DIST basilisk-bin-20260309-x86.tar.xz 49047248 BLAKE2B 33cad060a185025b5e0754aa8bd1915fc3d0e47d98cf618e544af4297ec30a04188dfc5814e94ff48a9dd130983f03078665518f310349c3de9f9b7974a26b5c SHA512 ab51d2758132e7364c60436d6e54bcda146d8ed19a73d3c2ae44d7db0e76a8b9bb95844d38a53d6bdc425c247c264108ba1fa52e6b2bd18704d9350fc4d2739d
|
||||||
|
DIST basilisk-bin-20260415-amd64.tar.xz 52354196 BLAKE2B 57e451a5be7c35a436da93b7846978d7cf11928a2f6e929ac2f7993b07f6f16bfa13420796f27831289109877ab2c99433c4e18536d17169f64061b5e3cf000a SHA512 54114ac3c6f2483eee2a8a76a40418e25fa432d2e89291f86c7a942565d5dd21b36b2fcbf7394691b8e8eecc07c39d570ca57104213dca1602847eae7eb081cb
|
||||||
|
DIST basilisk-bin-20260415-arm64.tar.xz 47912816 BLAKE2B b4d166808c3ffab9c715caa7b7ca400750372521bde84db8f50473bc4a8923720e9efb05019d97e3d7b830c1da4bbc59a3cfb558aeefc4ae2b358edd7e5fd847 SHA512 f13c2b68c063a239637256d41221fe4247f0dad3d279f4e59e05598ec36fe87cb8dca58be9823d24d108d3d869425bf74ba97a9b0cf7e403cc0e61548a19a87f
|
||||||
|
DIST basilisk-bin-20260415-x86.tar.xz 49067980 BLAKE2B da614f75c9f0fc19bdd5f2f6888278b73426a5964a3bc6199e61df260fd005e24e9a64c181d6021679e62464550dc9ad309a018bbf20663f511c1d72f929a536 SHA512 0dfa8ee4dc89847bce4efeae53f4266c06a077d9309d0d20e4b44be1bc5578717c310dd31d341138ad8cd5b568d318c852eb3a8dab1af8907afe1faca776e968
|
||||||
|
|||||||
97
www-client/basilisk-bin/basilisk-bin-20260415.ebuild
Normal file
97
www-client/basilisk-bin/basilisk-bin-20260415.ebuild
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Independent web browser built upon the same engine as Pale Moon"
|
||||||
|
HOMEPAGE="https://basilisk-browser.org https://repo.palemoon.org/Basilisk-Dev/Basilisk"
|
||||||
|
|
||||||
|
# There is no versioning except timestamps
|
||||||
|
# By this nature, they might as well be considered 'live'
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( https://dl.basilisk-browser.org/basilisk-20260415151706.linux-x86_64-gtk3.tar.xz -> ${P}-amd64.tar.xz )
|
||||||
|
arm64? ( https://dl.basilisk-browser.org/basilisk-20260415165514.linux-aarch64-gtk3.tar.xz -> ${P}-arm64.tar.xz )
|
||||||
|
x86? ( https://dl.basilisk-browser.org/basilisk-20260415143531.linux-i686-gtk3.tar.xz -> ${P}-x86.tar.xz )
|
||||||
|
"
|
||||||
|
|
||||||
|
BASILISK_PN="${PN%-bin}"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
LICENSE="MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-accessibility/at-spi2-core:2[X]
|
||||||
|
dev-libs/dbus-glib
|
||||||
|
dev-libs/glib
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/harfbuzz
|
||||||
|
media-libs/libpng
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pixman
|
||||||
|
virtual/zlib
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
opt/basilisk/basilisk
|
||||||
|
opt/basilisk/basilisk-bin
|
||||||
|
opt/basilisk/libfreeblpriv3.so
|
||||||
|
opt/basilisk/libhunspell.so
|
||||||
|
opt/basilisk/liblgpllibs.so
|
||||||
|
opt/basilisk/libmozavcodec.so
|
||||||
|
opt/basilisk/libmozavutil.so
|
||||||
|
opt/basilisk/libmozgtk.so
|
||||||
|
opt/basilisk/libmozsqlite3.so
|
||||||
|
opt/basilisk/libnspr4.so
|
||||||
|
opt/basilisk/libnss3.so
|
||||||
|
opt/basilisk/libnssckbi.so
|
||||||
|
opt/basilisk/libnssutil3.so
|
||||||
|
opt/basilisk/libplc4.so
|
||||||
|
opt/basilisk/libplds4.so
|
||||||
|
opt/basilisk/libsmime3.so
|
||||||
|
opt/basilisk/libsoftokn3.so
|
||||||
|
opt/basilisk/libssl3.so
|
||||||
|
opt/basilisk/libxul.so
|
||||||
|
opt/basilisk/plugin-container
|
||||||
|
opt/basilisk/browser/*
|
||||||
|
opt/basilisk/defaults/*
|
||||||
|
opt/basilisk/dictionaries/*
|
||||||
|
opt/basilisk/fonts/*
|
||||||
|
opt/basilisk/icons/*
|
||||||
|
"
|
||||||
|
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cd ${BASILISK_PN} || die
|
||||||
|
rm -r "${S}/${BASILISK_PN}/gtk2"
|
||||||
|
insinto "/opt/${BASILISK_PN}/browser"
|
||||||
|
doins -r browser/*
|
||||||
|
insinto "/opt/${BASILISK_PN}/defaults"
|
||||||
|
doins -r defaults/*
|
||||||
|
insinto "/opt/${BASILISK_PN}/dictionaries"
|
||||||
|
doins dictionaries/*
|
||||||
|
insinto "/opt/${BASILISK_PN}/fonts"
|
||||||
|
doins fonts/*
|
||||||
|
insinto "/opt/${BASILISK_PN}/icons"
|
||||||
|
doins icons/*
|
||||||
|
insinto "/opt/${BASILISK_PN}"
|
||||||
|
doins *.ini *.manifest *.list *.dat omni.ja precomplete removed-files
|
||||||
|
exeinto "/opt/${BASILISK_PN}"
|
||||||
|
doexe basilisk ${BASILISK_PN} *.so
|
||||||
|
dosym -r "/opt/${BASILISK_PN}/basilisk" "/usr/bin/${BASILISK_PN}"
|
||||||
|
newicon "browser/icons/mozicon128.png" "${BASILISK_PN}.png"
|
||||||
|
make_desktop_entry "${BASILISK_PN} %U" "Basilisk" "${BASILISK_PN}" "Network;WebBrowser" "StartupWMClass=Basilisk"
|
||||||
|
}
|
||||||
1
www-client/palemoon-bin/Manifest
Normal file
1
www-client/palemoon-bin/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST palemoon-bin-34.2.2-amd64.tar.xz 38842464 BLAKE2B d4a158f19d7c65cdc39303ecf2a16f6a7eff32ffd4ae8dc5975c086fa43920b42cca790a25bebc9f5774ae210b63a5216f1e647a8d308ef4ed825e90e3345059 SHA512 84815935697a3c5fe5dd5a5dc8a9933a50d761860c2b1232137dee8946e62f6f633c5358f642385214c1dee8a3f110165c69489f9ddaacd0578b9f346599e746
|
||||||
8
www-client/palemoon-bin/metadata.xml
Normal file
8
www-client/palemoon-bin/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
70
www-client/palemoon-bin/palemoon-bin-34.2.2.ebuild
Normal file
70
www-client/palemoon-bin/palemoon-bin-34.2.2.ebuild
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
PM_PN="${PN%-bin}"
|
||||||
|
|
||||||
|
inherit desktop xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Independent web browser built upon a fork of Firefox/Gecko (binary)"
|
||||||
|
HOMEPAGE="https://www.palemoon.org"
|
||||||
|
SRC_URI="https://rm-us.palemoon.org/release/${PM_PN}-${PV}.linux-x86_64-gtk3.tar.xz -> ${P}-amd64.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-accessibility/at-spi2-core:2[X]
|
||||||
|
dev-libs/dbus-glib
|
||||||
|
dev-libs/glib
|
||||||
|
media-libs/freetype
|
||||||
|
media-libs/harfbuzz
|
||||||
|
media-libs/libpng
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
x11-libs/libXcursor
|
||||||
|
x11-libs/libXdamage
|
||||||
|
x11-libs/libXext
|
||||||
|
x11-libs/libXfixes
|
||||||
|
x11-libs/libXi
|
||||||
|
x11-libs/libXrandr
|
||||||
|
x11-libs/libxcb
|
||||||
|
x11-libs/pango
|
||||||
|
x11-libs/pixman
|
||||||
|
virtual/zlib
|
||||||
|
!www-client/palemoon
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
RESTRICT="mirror strip"
|
||||||
|
QA_PREBUILT="*"
|
||||||
|
S="${WORKDIR}"
|
||||||
|
IUSE="cpu_flags_x86_avx"
|
||||||
|
REQUIRED_USE="
|
||||||
|
amd64? ( cpu_flags_x86_avx )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cd ${PM_PN} || die
|
||||||
|
rm -rf gtk2
|
||||||
|
default
|
||||||
|
}
|
||||||
|
src_install() {
|
||||||
|
cd ${PM_PN} || die
|
||||||
|
insinto "/opt/${PM_PN}/browser"
|
||||||
|
doins -r browser/*
|
||||||
|
insinto "/opt/${PM_PN}/defaults"
|
||||||
|
doins -r defaults/*
|
||||||
|
insinto "/opt/${PM_PN}/dictionaries"
|
||||||
|
doins dictionaries/*
|
||||||
|
insinto "/opt/${PM_PN}/fonts"
|
||||||
|
doins fonts/*
|
||||||
|
insinto "/opt/${PM_PN}/icons"
|
||||||
|
doins icons/*
|
||||||
|
insinto "/opt/${PM_PN}"
|
||||||
|
doins *.ini *.manifest *.list *.dat precomplete removed-files
|
||||||
|
exeinto "/opt/${PM_PN}"
|
||||||
|
doexe ${PM_PN} ${PN} *.so
|
||||||
|
dosym -r "/opt/${PM_PN}/${PM_PN}" "/usr/bin/${PM_PN}"
|
||||||
|
newicon "browser/icons/mozicon128.png" "${PM_PN}.png"
|
||||||
|
make_desktop_entry "${PM_PN} %U" "Pale Moon" "${PM_PN}" "Network;WebBrowser" "StartupWMClass=PaleMoon"
|
||||||
|
}
|
||||||
8
www-misc/yomi/metadata.xml
Normal file
8
www-misc/yomi/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
27
www-misc/yomi/yomi-9999.ebuild
Normal file
27
www-misc/yomi/yomi-9999.ebuild
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit git-r3 go-module
|
||||||
|
|
||||||
|
DESCRIPTION="A staging HTTP server"
|
||||||
|
HOMEPAGE="https://git.laidback.moe/shinyoukai/yomi"
|
||||||
|
EGIT_REPO_URI="https://git.laidback.moe/shinyoukai/yomi"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="-* amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 x86"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
git-r3_src_unpack
|
||||||
|
go-module_live_vendor
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
|
||||||
|
ego build -o bin/${PN}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin bin/${PN}
|
||||||
|
}
|
||||||
33
x11-libs/gtk3-nocsd/gtk3-nocsd-9999.ebuild
Normal file
33
x11-libs/gtk3-nocsd/gtk3-nocsd-9999.ebuild
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
DESCRIPTION="A hack to disable client-side decorations for GTK+3 programs"
|
||||||
|
HOMEPAGE="https://github.com/PCMan/gtk3-nocsd"
|
||||||
|
EGIT_REPO_URI="https://github.com/PCMan/gtk3-nocsd"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/gobject-introspection
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README.md )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# The assorted script uses the value of libdir for LD_PRELOAD
|
||||||
|
emake libdir="${EPREFIX}/usr/$(get_libdir)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="${EPREFIX}/usr/$(get_libdir)" install
|
||||||
|
}
|
||||||
11
x11-libs/gtk3-nocsd/metadata.xml
Normal file
11
x11-libs/gtk3-nocsd/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">PCMan/gtk3-nocsd</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user