commit
8c2b3cc02a
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Desktop application for Rocket.Chat"
|
||||
HOMEPAGE="https://rocket.chat"
|
||||
|
||||
inherit unpacker xdg-utils
|
||||
|
||||
MYPN="Rocket.Chat.Electron"
|
||||
|
||||
SRC_URI="https://github.com/RocketChat/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+emoji"
|
||||
REQUIRED_USE=""
|
||||
|
||||
RESTRICT="network-sandbox"
|
||||
|
||||
RDEPEND="app-accessibility/at-spi2-atk:2
|
||||
dev-db/sqlcipher
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
>=net-libs/nodejs-12.14.0
|
||||
net-print/cups
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libxcb
|
||||
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/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/pango
|
||||
emoji? ( media-fonts/noto-emoji )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-apps/yarn"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/Rocket.Chat/chrome-sandbox
|
||||
/opt/Rocket.Chat/rocketchat-desktop
|
||||
/opt/Rocket.Chat/libEGL.so
|
||||
/opt/Rocket.Chat/libGLESv2.so
|
||||
/opt/Rocket.Chat/libffmpeg.so
|
||||
/opt/Rocket.Chat/swiftshader/libEGL.so
|
||||
/opt/Rocket.Chat/swiftshader/libGLESv2.so"
|
||||
|
||||
S="${WORKDIR}/$MYPN-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's,"@babel/preset-env".*,"@babel/preset-env": "^7.7.4"\,,' package.json
|
||||
npm install node-gyp || die
|
||||
npm install yarn || die
|
||||
npm update || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
PATH="${PATH}:$S/node_modules/.bin" yarn || die
|
||||
PATH="${PATH}:$S/node_modules/.bin" yarn add electron-builder || die
|
||||
PATH="${PATH}:$S/node_modules/.bin" NODE_ENV=production yarn build || die
|
||||
PATH="${PATH}:$S/node_modules/.bin" NODE_ENV=production yarn electron-builder --linux deb || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
unpack dist/rocketchat_${PV}_amd64.deb
|
||||
tar -xvf data.tar.xz || die
|
||||
|
||||
mv usr/share/doc/rocketchat usr/share/doc/${PF} || die
|
||||
gunzip usr/share/doc/${PF}/changelog.gz || die
|
||||
|
||||
insinto /
|
||||
doins -r usr
|
||||
doins -r opt
|
||||
local f
|
||||
for f in ${QA_PREBUILT}; do
|
||||
fperms +x "${f}"
|
||||
done
|
||||
dosym ../../opt/Rocket.Chat/${PN} /usr/bin/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1 +1 @@
|
||||
DIST viber-13.3.1.22.deb 99693958 BLAKE2B b33d4825d9776cb9e21ba8b0fc11bc730db18290e48a651f55fb401f982bf3fbd76ef7ca2c27eb09ebe52623909dbdb9c7e5cc53b62c12661271cbf0e71ab56c SHA512 d31dded31bfe3ffd26ecd89279035932c6aca3e2a648dfac5982af70e6a55ee9b6bceb0cdd10a5466cb0b0e37e9e7c6b7d4eb8793df4ac56c2b984b8f24581bc
|
||||
DIST viber-16.1.0.37.deb 110082688 BLAKE2B 065620f41be1e72115f3d54264258944d98378a052013dc3bff8fb68a85250a4f5e59fc538feb7dcbbc5608064bbdb0d504d1416123ae4f1e5cc8dfee8113431 SHA512 b73f5513117a094f28de88f830bdbbfd449995c333b0645886986d90c6a22e46b2ffe6327649878b29357793e1a7cb4c6e86cb969ba698bd8580425d79f6f777
|
||||
|
@ -1,3 +0,0 @@
|
||||
# Calculate format=squid
|
||||
SendEnv LANG LC_*
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Calculate path=/etc/ssh
|
||||
StrictHostKeyChecking=no
|
@ -0,0 +1,29 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 714a44d..2914fe9 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -549,6 +549,7 @@ update_prepare() {
|
||||
cl-update -s
|
||||
einfo $"Launching package update"
|
||||
lxc-attach $name_lxc -- cl-update -f
|
||||
+ rm -rf "$path_lxc/rootfs/var/calculate/{tmp/*,templates/*}"
|
||||
|
||||
ebegin $"Stopping container"
|
||||
lxc-stop $name_lxc
|
||||
@@ -592,6 +593,7 @@ upgrade_lxc() {
|
||||
reflink='--reflink'
|
||||
fi
|
||||
cp -a $reflink $path_lxc_prepare $path_work/$name_upgrading/rootfs$num_next
|
||||
+ rm -rf $path_work/$name_upgrading/rootfs$num_next/var/calculate/*
|
||||
eend
|
||||
|
||||
ebegin $"Copying network settings from main container"
|
||||
@@ -608,7 +610,7 @@ upgrade_lxc() {
|
||||
cat << EOL > $path_work/$name_upgrading/rootfs$num_next/etc/local.d/firststart.start
|
||||
cl-core --method setup_system --no-progress --usenew-conf --network on
|
||||
openrc
|
||||
-#rm /etc/local.d/firststart.start
|
||||
+rm /etc/local.d/firststart.start
|
||||
EOL
|
||||
chmod 755 $path_work/$name_upgrading/rootfs$num_next/etc/local.d/firststart.start
|
||||
eend
|
@ -0,0 +1,12 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 96135d9..bc19594 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -466,6 +466,7 @@ lxc.net.0.veth.pair = lxc-${name_lxc}"
|
||||
# перенесем базовый config удалив настройку сети
|
||||
cp $path_cache/$lxc_distro/config ${path_lxc}/config
|
||||
sed -i '/lxc.net.0.type = empty/d' ${path_lxc}/config
|
||||
+ sed -i -r 's/(lxc.mount.auto)/#\1/g' ${path_lxc}/config
|
||||
sed -i "s/${lxc_distro}/${name_lxc}/g" ${path_lxc}/config
|
||||
|
||||
cat << EOL >> ${path_lxc}/config
|
@ -0,0 +1,23 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 2914fe9..3f69f91 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -550,6 +550,9 @@ update_prepare() {
|
||||
einfo $"Launching package update"
|
||||
lxc-attach $name_lxc -- cl-update -f
|
||||
rm -rf "$path_lxc/rootfs/var/calculate/{tmp/*,templates/*}"
|
||||
+ cd $path_lxc/rootfs/etc/runlevels/boot
|
||||
+ ln -s /etc/init.d/calculate .
|
||||
+ cd - &>/dev/null
|
||||
|
||||
ebegin $"Stopping container"
|
||||
lxc-stop $name_lxc
|
||||
@@ -566,7 +569,7 @@ update_prepare() {
|
||||
ebegin $"Removing temporary container directory $name_lxc"
|
||||
if [ $type_fs = 'btrfs' ]
|
||||
then
|
||||
- btrfs subvolume delete $path_lxc >&/dev/null
|
||||
+ btrfs subvolume delete $path_lxc &>/dev/null
|
||||
if [ -n "$path_change" ]
|
||||
then
|
||||
rm $path_def/$name_lxc # удалим символическую ссылку
|
@ -0,0 +1,16 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 98b73a9..0ab9dd5 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -600,6 +600,11 @@ upgrade_lxc() {
|
||||
$path_work/$name_upgrading/rootfs$num_next/etc/conf.d/net
|
||||
eend
|
||||
|
||||
+ ebegin $"Copying hash of root password"
|
||||
+ root=$(grep '^root:' $path_work/$name_upgrading/rootfs$num_cur/etc/shadow | sed 's/:/\\:/g')
|
||||
+ sed -i "s:^root\:.*$:$root:" $path_work/$name_upgrading/rootfs$num_next/etc/shadow
|
||||
+ eend
|
||||
+
|
||||
ebegin $"Preparing first boot setup script"
|
||||
cat << EOL > $path_work/$name_upgrading/rootfs$num_next/etc/local.d/firststart.start
|
||||
cl-core --method setup_system --no-progress --usenew-conf --network on
|
@ -0,0 +1,13 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 3f69f91..96135d9 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -531,7 +531,7 @@ update_prepare() {
|
||||
eend
|
||||
|
||||
ebegin $"Creating mount points"
|
||||
- for mount_point in $(grep lxc.mount.entry $path_work/$name_upgrading/config | awk {'print $4'})
|
||||
+ for mount_point in $(grep '^lxc.mount.entry' $path_work/$name_upgrading/config | awk {'print $4'})
|
||||
do
|
||||
mkdir -p "$path_lxc/rootfs/$mount_point"
|
||||
done
|
@ -0,0 +1,12 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 0ab9dd5..714a44d 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -490,7 +490,6 @@ os_install_clock_timezone = $(cat /etc/timezone)
|
||||
[update]
|
||||
cl_update_rep_name =
|
||||
cl_update_rep_url =
|
||||
-cl_update_rep_sync =
|
||||
cl_update_eixupdate_force = force
|
||||
cl_update_force_fix_set = on
|
||||
EOL
|
@ -1,42 +0,0 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 9aaa10f..db548eb 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -209,8 +209,17 @@ set_vars(){
|
||||
if [ $path_def = "$path_work" ]
|
||||
then
|
||||
path_change=
|
||||
+ if [ ! -d $path_work ]
|
||||
+ then
|
||||
+ mkdir -p $path_work
|
||||
+ fi
|
||||
else
|
||||
path_change=$path_work
|
||||
+ if [ ! -d $path_work ]
|
||||
+ then
|
||||
+ printf $"Directory '%s' is not found.\n" $path_work >&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
fi
|
||||
|
||||
type_fs=$(df -Th $path_work | awk 'NR==2 {print $2}')
|
||||
@@ -448,7 +457,7 @@ create_lxc() {
|
||||
local random_mac=$(echo -n '02:'; hexdump -n5 -e '/1 ":%02X"' /dev/random | sed s/^://g)
|
||||
network_conf="lxc.net.0.type = veth
|
||||
lxc.net.0.flags = up
|
||||
-lxc.net.0.name = eth0
|
||||
+lxc.net.0.name = wan0
|
||||
lxc.net.0.link = br0
|
||||
lxc.net.0.hwaddr = ${random_mac}
|
||||
lxc.net.0.veth.pair = lxc-${name_lxc}"
|
||||
@@ -494,8 +503,8 @@ EOL
|
||||
EOL
|
||||
if [ $net_conf == veth ]
|
||||
then
|
||||
- cat << EOL > ${calculate_dir}/templates/default/runlevel.eth0
|
||||
-# Calculate mergepkg(sys-apps/openrc)!= path=/etc/runlevels/default name=net.eth0 protected link=/etc/init.d/net.lo symbolic
|
||||
+ cat << EOL > ${calculate_dir}/templates/default/runlevel.wan0
|
||||
+# Calculate mergepkg(sys-apps/openrc)!= path=/etc/runlevels/default name=net.wan0 protected link=/etc/init.d/net.lo symbolic
|
||||
EOL
|
||||
fi
|
||||
cat << EOL > ${calculate_dir}/templates/default/portage.binhost
|
@ -0,0 +1,22 @@
|
||||
diff --git a/cl-lxc b/cl-lxc
|
||||
index 9aaa10f..db548eb 100755
|
||||
--- a/cl-lxc
|
||||
+++ b/cl-lxc
|
||||
@@ -209,8 +209,17 @@ set_vars(){
|
||||
if [ $path_def = "$path_work" ]
|
||||
then
|
||||
path_change=
|
||||
+ if [ ! -d $path_work ]
|
||||
+ then
|
||||
+ mkdir -p $path_work
|
||||
+ fi
|
||||
else
|
||||
path_change=$path_work
|
||||
+ if [ ! -d $path_work ]
|
||||
+ then
|
||||
+ printf $"Directory '%s' is not found.\n" $path_work >&2
|
||||
+ exit 1
|
||||
+ fi
|
||||
fi
|
||||
|
||||
type_fs=$(df -Th $path_work | awk 'NR==2 {print $2}')
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python3_9)
|
||||
|
||||
declare -A CALCULATE_MODULES=(
|
||||
["lib"]="3.7.2.16"
|
||||
["install"]="3.7.2.9"
|
||||
["core"]="3.7.2.3"
|
||||
["i18n"]="3.7.2.10"
|
||||
["client"]="3.7.2.3"
|
||||
["console"]="3.7.2.2"
|
||||
["console-gui"]="3.7.2.1"
|
||||
["update"]="3.7.2.23"
|
||||
["builder"]="3.7.2.7"
|
||||
)
|
||||
|
||||
inherit calculate-utils-r15
|
||||
|
||||
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64"
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python3_9)
|
||||
|
||||
declare -A CALCULATE_MODULES=(
|
||||
["lib"]="3.7.2.17"
|
||||
["install"]="3.7.2.9"
|
||||
["core"]="3.7.2.3"
|
||||
["i18n"]="3.7.2.10"
|
||||
["client"]="3.7.2.3"
|
||||
["console"]="3.7.2.2"
|
||||
["console-gui"]="3.7.2.1"
|
||||
["update"]="3.7.2.23"
|
||||
["builder"]="3.7.2.7"
|
||||
)
|
||||
|
||||
inherit calculate-utils-r15
|
||||
|
||||
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64"
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python3_9)
|
||||
|
||||
declare -A CALCULATE_MODULES=(
|
||||
["lib"]="3.7.2.18"
|
||||
["install"]="3.7.2.9"
|
||||
["core"]="3.7.2.3"
|
||||
["i18n"]="3.7.2.10"
|
||||
["client"]="3.7.2.3"
|
||||
["console"]="3.7.2.2"
|
||||
["console-gui"]="3.7.2.1"
|
||||
["update"]="3.7.2.23"
|
||||
["builder"]="3.7.2.7"
|
||||
)
|
||||
|
||||
inherit calculate-utils-r15
|
||||
|
||||
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64"
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=(python3_9)
|
||||
|
||||
declare -A CALCULATE_MODULES=(
|
||||
["lib"]="3.7.2.15"
|
||||
["install"]="3.7.2.9"
|
||||
["core"]="3.7.2.3"
|
||||
["i18n"]="3.7.2.10"
|
||||
["client"]="3.7.2.3"
|
||||
["console"]="3.7.2.2"
|
||||
["console-gui"]="3.7.2.1"
|
||||
["update"]="3.7.2.23"
|
||||
["builder"]="3.7.2.7"
|
||||
)
|
||||
|
||||
inherit calculate-utils-r15
|
||||
|
||||
DESCRIPTION="A set of Calculate utilities for system installation, build and upgrade"
|
||||
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate_utilities"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="amd64"
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST plymouth-0.9.4.tar.xz 1103496 BLAKE2B abad2cefb89e9d17b77113396d7203090544759b3dd7f73f67153d9f126db28e5366d36aa11e2335566bf4046bebd50d8d9dd47c75634446fb3a0314cd458925 SHA512 83eb2de7e6d0980e9f7fa4e0b0f20c46a8238051d84bc38dbbb5dfa438e41c1a39846dcd652374256d9f1fe79967b154a3576cd9c433ef816b6c962be2d31e93
|
||||
DIST plymouth-0.9.5.tar.xz 1186200 BLAKE2B 8fd073703773fcf7f3e26454c860f094fb4b3d712c56c9df6716ef11815a79f7d5b078ab6c6567b76421026d84a086f95865bf9f3e4ae6363cb1ffc2caa68537 SHA512 686220e8d5b1a8be298156786d979d0e3fb9e010b930d0e8082a2bb152cf07c1bf493d820c243838a1771ee859dc0b4723bd9f10ee434a94a096ce9236c36ce9
|
||||
DIST plymouth-22.02.122.tar.xz 1183608 BLAKE2B 8bb1362fcaa7d4c0fb1b69729a8a681d992a5d2abc07644d3be5cc0b19df2cac83df031165a65fa06f95042f619b9f4b7a7e1f3816528f6623473a2b1303e1be SHA512 9f2f5a7121b431f16561d6b5f31177ff06cf1e6bdffaa68c1fe08aa3c765a96dee745824aae8eaac9a0b4a08f0a17a9ae79a82bd0826fcc3fe14d8553635f817
|
||||
DIST plymouth-5b91b9ed84cc91759c986634a4d64d474e6092cf.tar.gz 1132049 BLAKE2B 0e224aad93fef4039a1a023ece051a64e1fa854f29a814957673c7ba68eb3f2348ca075f59a17f7bad692152ddcc402b2246db413886ac73ad77a36a6fb2cb3c SHA512 3d81ce379d0a11af5b557bfe86e336a40e5abdbb6dbd6cd5e046ede9a46cf2782af75b8e32e3fb2232b8a22efee1890ecb47394742041d9dcb499b38476a814c
|
||||
|
@ -0,0 +1,74 @@
|
||||
[Plymouth Theme]
|
||||
Name=Calculate
|
||||
Description=Calculate spinner theme
|
||||
ModuleName=calculate
|
||||
|
||||
[calculate]
|
||||
Font=DroidSans 12
|
||||
TitleFont=DroidSans 30
|
||||
ImageDir=/usr/share/plymouth/themes/calculate
|
||||
DialogHorizontalAlignment=.5
|
||||
DialogVerticalAlignment=.382
|
||||
TitleHorizontalAlignment=.5
|
||||
TitleVerticalAlignment=.5
|
||||
HorizontalAlignment=.5
|
||||
VerticalAlignment=.5
|
||||
WatermarkHorizontalAlignment=.5
|
||||
WatermarkVerticalAlignment=.5
|
||||
Transition=none
|
||||
TransitionDuration=0.0
|
||||
BackgroundStartColor=0x000000
|
||||
BackgroundEndColor=0x000000
|
||||
ProgressBarBackgroundColor=0x606060
|
||||
ProgressBarForegroundColor=0xffffff
|
||||
DialogClearsFirmwareBackground=true
|
||||
MessageBelowAnimation=true
|
||||
|
||||
[boot-up]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
VerticalAlignmentType=below_watermark
|
||||
VerticalAlignment=.0
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/boot.png
|
||||
|
||||
[shutdown]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
Title=Shutdown...
|
||||
TitleColor=0xaaaaaa
|
||||
VerticalAlignment=.0
|
||||
VerticalAlignmentType=below_title
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||
|
||||
[reboot]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
Title=Reboot...
|
||||
TitleColor=0xaaaaaa
|
||||
VerticalAlignment=.0
|
||||
VerticalAlignmentType=below_title
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||
|
||||
[updates]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Installing Updates...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[system-upgrade]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading System...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[firmware-upgrade]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading Firmware...
|
||||
SubTitle=Do not turn off your computer
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,74 @@
|
||||
[Plymouth Theme]
|
||||
Name=Calculate
|
||||
Description=Calculate spinner theme
|
||||
ModuleName=calculate
|
||||
|
||||
[calculate]
|
||||
Font=DroidSans 12
|
||||
TitleFont=DroidSans 30
|
||||
ImageDir=/usr/share/plymouth/themes/calculate
|
||||
DialogHorizontalAlignment=.5
|
||||
DialogVerticalAlignment=.382
|
||||
TitleHorizontalAlignment=.5
|
||||
TitleVerticalAlignment=.5
|
||||
HorizontalAlignment=.5
|
||||
VerticalAlignment=.5
|
||||
WatermarkHorizontalAlignment=.5
|
||||
WatermarkVerticalAlignment=.5
|
||||
Transition=none
|
||||
TransitionDuration=0.0
|
||||
BackgroundStartColor=0x000000
|
||||
BackgroundEndColor=0x000000
|
||||
ProgressBarBackgroundColor=0x606060
|
||||
ProgressBarForegroundColor=0xffffff
|
||||
DialogClearsFirmwareBackground=true
|
||||
MessageBelowAnimation=true
|
||||
|
||||
[boot-up]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
VerticalAlignmentType=below_watermark
|
||||
VerticalAlignment=.0
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/boot.png
|
||||
|
||||
[shutdown]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
Title=Shutdown...
|
||||
TitleColor=0xaaaaaa
|
||||
VerticalAlignment=.0
|
||||
VerticalAlignmentType=below_title
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||
|
||||
[reboot]
|
||||
UseEndAnimation=false
|
||||
UseFirmwareBackground=false
|
||||
Title=Reboot...
|
||||
TitleColor=0xaaaaaa
|
||||
VerticalAlignment=.0
|
||||
VerticalAlignmentType=below_title
|
||||
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||
|
||||
[updates]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Installing Updates...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[system-upgrade]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading System...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[firmware-upgrade]
|
||||
UseFirmwareBackground=false
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading Firmware...
|
||||
SubTitle=Do not turn off your computer
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
MY_P=plymouth-${PV}
|
||||
MY_PN=plymouth
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/plymouth"
|
||||
else
|
||||
PRE_RELEASE_SHA="5b91b9ed84cc91759c986634a4d64d474e6092cf"
|
||||
SRC_URI="${SRC_URI} https://gitlab.freedesktop.org/${MY_PN}/${MY_PN}/-/archive/${PRE_RELEASE_SHA}/${MY_PN}-${PRE_RELEASE_SHA}.tar.gz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
|
||||
S="${WORKDIR}/${MY_PN}-${PRE_RELEASE_SHA}"
|
||||
fi
|
||||
|
||||
inherit autotools readme.gentoo-r1 systemd
|
||||
|
||||
DESCRIPTION="Graphical boot animation (splash) and logger"
|
||||
HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# IUSE="debug gdm +gtk +libkms +pango +split-usr static-libs +udev"
|
||||
IUSE="debug +drm +gtk +pango +split-usr static-libs +udev"
|
||||
|
||||
CDEPEND="
|
||||
>=media-libs/libpng-1.2.16:=
|
||||
drm? ( x11-libs/libdrm )
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.14:3
|
||||
x11-libs/cairo
|
||||
)
|
||||
pango? ( >=x11-libs/pango-1.21 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
elibc_musl? ( sys-libs/rpmatch-standalone )
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# Block due bug #383067
|
||||
RDEPEND="${CDEPEND}
|
||||
udev? ( virtual/udev )
|
||||
!<sys-kernel/dracut-0.37-r3
|
||||
"
|
||||
|
||||
DOC_CONTENTS="
|
||||
Follow the following instructions to set up Plymouth:\n
|
||||
https://wiki.gentoo.org/wiki/Plymouth#Configuration
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0.9.3-glibc-sysmacros.patch
|
||||
)
|
||||
|
||||
#S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
use elibc_musl && append-ldflags -lrpmatch
|
||||
default
|
||||
cp ${FILESDIR}/0.9.6_pre20211225-plugin.c ${S}/src/plugins/splash/two-step/plugin.c
|
||||
sed -i 's/two-step/calculate/g' ${S}/src/plugins/splash/two-step/Makefile.*
|
||||
sed -i 's/two_step/calculate/g' ${S}/src/plugins/splash/two-step/Makefile.*
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--with-system-root-install=no
|
||||
--localstatedir=/var
|
||||
--without-rhgb-compat-link
|
||||
--enable-documentation
|
||||
--enable-systemd-integration
|
||||
--with-systemdunitdir="$(systemd_get_systemunitdir)"
|
||||
$(use_enable !static-libs shared)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable debug tracing)
|
||||
$(use_enable drm)
|
||||
$(use_enable gtk)
|
||||
$(use_enable pango)
|
||||
$(use_with udev)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd src/libply
|
||||
emake
|
||||
cd ../libply-splash-core
|
||||
emake
|
||||
cd ../libply-splash-graphics
|
||||
emake
|
||||
cd ../plugins/splash/two-step
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ${S}/src/plugins/splash/two-step
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd ${S}/themes/spinfinity
|
||||
|
||||
insinto /usr/share/plymouth/themes/calculate
|
||||
doins box.png bullet.png entry.png lock.png
|
||||
|
||||
cd ${S}/themes/spinner
|
||||
doins throbber-00*.png
|
||||
|
||||
newins ${FILESDIR}/0.9.6_pre20211225-calculate.plymouth calculate.plymouth
|
||||
}
|
@ -0,0 +1,138 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
MY_P=plymouth-${PV}
|
||||
MY_PN=plymouth
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/plymouth/plymouth"
|
||||
else
|
||||
SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${MY_P}.tar.xz"
|
||||
# KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ~ppc64 ~riscv sparc x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
inherit autotools readme.gentoo-r1 systemd
|
||||
|
||||
DESCRIPTION="Graphical boot animation (splash) and logger"
|
||||
HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug +drm +gtk +pango +split-usr static-libs +udev"
|
||||
|
||||
CDEPEND="
|
||||
>=media-libs/libpng-1.2.16:=
|
||||
drm? ( x11-libs/libdrm )
|
||||
gtk? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/gtk+-3.14:3
|
||||
x11-libs/cairo
|
||||
)
|
||||
pango? ( >=x11-libs/pango-1.21 )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
elibc_musl? ( sys-libs/rpmatch-standalone )
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# Block due bug #383067
|
||||
RDEPEND="${CDEPEND}
|
||||
udev? ( virtual/udev )
|
||||
!<sys-kernel/dracut-0.37-r3
|
||||
"
|
||||
|
||||
DOC_CONTENTS="
|
||||
Follow the following instructions to set up Plymouth:\n
|
||||
https://wiki.gentoo.org/wiki/Plymouth#Configuration
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0.9.3-glibc-sysmacros.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
use elibc_musl && append-ldflags -lrpmatch
|
||||
default
|
||||
cp ${FILESDIR}/0.9.6_pre20211225-plugin.c ${S}/src/plugins/splash/two-step/plugin.c
|
||||
sed -i 's/two-step/calculate/g' ${S}/src/plugins/splash/two-step/Makefile.*
|
||||
sed -i 's/two_step/calculate/g' ${S}/src/plugins/splash/two-step/Makefile.*
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--with-system-root-install=no
|
||||
--localstatedir=/var
|
||||
--without-rhgb-compat-link
|
||||
--enable-documentation
|
||||
--enable-systemd-integration
|
||||
--with-systemdunitdir="$(systemd_get_systemunitdir)"
|
||||
$(use_enable !static-libs shared)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable debug tracing)
|
||||
$(use_enable drm)
|
||||
$(use_enable gtk)
|
||||
$(use_enable pango)
|
||||
$(use_with udev)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd src/libply
|
||||
emake
|
||||
cd ../libply-splash-core
|
||||
emake
|
||||
cd ../libply-splash-graphics
|
||||
emake
|
||||
cd ../plugins/splash/two-step
|
||||
emake
|
||||
}
|
||||
|
||||
# src_install() {
|
||||
# default
|
||||
|
||||
# insinto /usr/share/plymouth
|
||||
# newins "${DISTDIR}"/gentoo-logo.png bizcom.png
|
||||
|
||||
# if use split-usr ; then
|
||||
# # Install compatibility symlinks as some rdeps hardcode the paths
|
||||
# dosym ../usr/bin/plymouth /bin/plymouth
|
||||
# dosym ../usr/sbin/plymouth-set-default-theme /sbin/plymouth-set-default-theme
|
||||
# dosym ../usr/sbin/plymouthd /sbin/plymouthd
|
||||
# fi
|
||||
|
||||
# readme.gentoo_create_doc
|
||||
|
||||
# # looks like make install create /var/run/plymouth
|
||||
# # this is not needed for systemd, same should hold for openrc
|
||||
# # so remove
|
||||
# rm -rf "${D}"/var/run
|
||||
|
||||
# # fix broken symlink
|
||||
# dosym ../../bizcom.png /usr/share/plymouth/themes/spinfinity/header-image.png
|
||||
# }
|
||||
|
||||
src_install() {
|
||||
cd ${S}/src/plugins/splash/two-step
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd ${S}/themes/spinfinity
|
||||
|
||||
insinto /usr/share/plymouth/themes/calculate
|
||||
doins box.png bullet.png entry.png lock.png
|
||||
|
||||
cd ${S}/themes/spinner
|
||||
doins throbber-00*.png
|
||||
|
||||
newins ${FILESDIR}/0.9.6_pre20211225-calculate.plymouth calculate.plymouth
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST jackett-bin-0.19.275-amd64.tar.gz 44751886 BLAKE2B 9da172ac84a93e4eced0715fdd40140f647a454ece63e168bb05a8a72a0281751c567d8df9ee13f2e8b771447298b285ad87c59bd02d19bbda0f7a9fe33f98b4 SHA512 d1f49875c477d7b370d7ccba185998710949689f3e9179b4e7dcd119b65d10425133776362738485e774002166b0be3c8f35e39c51b9cd8de6666f711b25dc19
|
||||
DIST jackett-bin-0.20.444-amd64.tar.gz 45901902 BLAKE2B 874403dcc9daff2d282bae119fa5ac854053e678610f22893087a715a937bec35613b309cfbf246b6e61885778a623859af333024e512c6fc03972ac7e873022 SHA512 2f45859ffbeb0e0fd48a091b785b6962e99b5765268628d32f33e18e8b1afebc8004924b793ca4764208ef158161eacfcd70ea23fdb25e4dc2114ad8a6d8d780
|
||||
DIST jackett-bin-0.20.643-amd64.tar.gz 45939588 BLAKE2B 1d519630b9be8dabff57f226b9ccefb8a37acea1099326cd61dd6fee7b3542299145c0573eb75cb7068d60e26eea422d384b46ef269f1d2538e93e3c5123230a SHA512 b6e416194629fd0b4330f99c3ac2ecc656f69e17a7df121b8fa40475eba5d109fdd70ad817482a444d0d61965805b5aff06a4d79ff849f31e255228c886c6e21
|
||||
DIST jackett-bin-0.20.740-amd64.tar.gz 46043514 BLAKE2B 6f301c475f30cfe2bb95094a0e51eb6a7ad5c4c8b5a3db15cd42b7b31cbcee3551fb5faf6b9412cebcb6c6689fe830938de41b5973b291b2a228930a6133c7d4 SHA512 b0f76b44f40f30882a84d032fd5e77c0fa198d79e8398da3caa8b38a5febca7dda6ac27c45242705fa464110863a37f2b1c2c71a36ef5d87164716bbb577c272
|
||||
DIST jackett-bin-0.20.850-amd64.tar.gz 45793502 BLAKE2B fc7578271a4fee71ef086663b32acdd5d45398706e6b60d605531ff794e5755914cddaaca569d25ce59bdde5718cde3c0370ec1b1a3c940119cf3a80bd54a43a SHA512 c5ef79d190fc07d0b93895d02caf87a911d191f54ab60a9a656896c1a6d57901462e3b3c1f91235183883ec7ea3c3759782fc3894f2091d2140a75ea6c9597b6
|
||||
DIST jackett-bin-0.20.932-amd64.tar.gz 45891746 BLAKE2B 978d1a7f1fcb44254136c6c4f3a2dbed659882a4956f8d0c32ffadc9462d9d9649b467fba7d9516eb3a274dfe391dcbe749de9dd1c024a626c2ce171c94543da SHA512 290a598ecdff0975c03dac187d593f873eaad01c618911e63403abc93b518daff441298ab94a5755f89a169ce8d02216d0252737c682949f2ac3616367018bd1
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="API Support for your favorite torrent trackers"
|
||||
HOMEPAGE="https://github.com/Jackett/Jackett"
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxAMDx64.tar.gz -> ${P}-amd64.tar.gz )
|
||||
"
|
||||
|
||||
KEYWORDS="amd64"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
RESTRICT="strip"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/jackett
|
||||
app-crypt/mit-krb5
|
||||
dev-libs/icu
|
||||
dev-util/lttng-ust
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
S="${WORKDIR}"/Jackett
|
||||
|
||||
src_install() {
|
||||
dodir /opt/jackett
|
||||
cp -a "${S}"/. "${ED}"/opt/jackett || die
|
||||
newinitd "${FILESDIR}"/jackett.initd jackett
|
||||
systemd_dounit "${FILESDIR}"/jackett.service
|
||||
doenvd "${FILESDIR}"/99jackett
|
||||
}
|
Loading…
Reference in new issue