mhiretskiy
commit
11988392ad
@ -0,0 +1 @@
|
|||||||
|
DIST pyinotify-0.9.6.tar.gz 60998 BLAKE2B 7fb55cfe5b2c02682b5842d95859a58f218ab591a4eee689b707e804c6fe8cde4cc1fb3dfbf54a044ff743deefa0ee5551bc6e27ca4dda1c608218a6c24597b2 SHA512 b52de43293b06b32236e90b7c33fac061f3095cd7d4aecec89a099d56020db1a85440ab9dcc8b521238c001fc49a1f37d1b16d621bc1acab4d7273aebcaadbc5
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="project">
|
||||||
|
<herd>maintainer-wanted</herd>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_PN=pyinotify
|
||||||
|
MY_P=$MY_PN-$PV
|
||||||
|
|
||||||
|
DESCRIPTION="Python module used for monitoring filesystems events"
|
||||||
|
HOMEPAGE="
|
||||||
|
http://trac.dbzteam.org/pyinotify
|
||||||
|
https://pypi.org/project/pyinotify/
|
||||||
|
https://github.com/seb-m/pyinotify/"
|
||||||
|
SRC_URI="http://seb.dbzteam.org/pub/pyinotify/releases/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
!dev-python/${MY_PN}[python_targets_python2_7]
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
rm -r ${D}/usr/share
|
||||||
|
}
|
@ -1,3 +0,0 @@
|
|||||||
AUX avidemux-plugins-2.6.20-optional-pulse.patch 743 BLAKE2B e60a7433e539d49d5bff7dea62bfda984866dd72b93158827ee5ed785d77174db3fbde9e67c9c3fdc8d652485d8e704c075811c65848ef48f78490c6a3061b7f SHA512 dcec29c63aa7eb828fc1aaf4b54edb76290e3c7655b00002efa8036f0572b1c0111c30e873b925bb606e8e672e177ba8d103100b1fb55dcc830b83e4a5556710
|
|
||||||
DIST avidemux-2.7.4.tar.gz 23815808 BLAKE2B 3a7206f04f568f28dd4d5116c580dd780b057a59e94dd61a2abe5dadfa557291a0c50f917ad1926f9f9a82d01af065c06138f954320e2d9c174fda7583a6b265 SHA512 36d857837cd6a74039a414df16367cd8cbf615173bcc531e57dc0dbfc2e002b1c0c4a80cef73a0d8f25d305deca809af0b5cbcdbad8c311324fa2e64381fd10b
|
|
||||||
EBUILD avidemux-plugins-2.7.4-r1.ebuild 4225 BLAKE2B cb708b89c9eca201e17e04db27da9c5e081813fa3d37af0cfd2e2378d8593930640d3abb233342c289633fb77ab78caf5c54ac9bff252dc872fd9160b350f00f SHA512 d8de926fd6480103d9ff2086acbe1653b9c48e66f1d767142f9faa7fdfdd90fce931503d6702543fa4ea54a7a224f7d1f0a496f69357b005c294fb329a187f54
|
|
@ -1,161 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit cmake python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Plugins for the video editor media-video/avidemux"
|
|
||||||
HOMEPAGE="http://fixounet.free.fr/avidemux"
|
|
||||||
SRC_URI="https://github.com/mean00/avidemux2/archive/${PV}.tar.gz -> avidemux-${PV}.tar.gz"
|
|
||||||
|
|
||||||
# Multiple licenses because of all the bundled stuff.
|
|
||||||
LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain"
|
|
||||||
SLOT="2.7"
|
|
||||||
IUSE="a52 aac aften alsa amr dcaenc debug dts fdk fontconfig fribidi jack lame libsamplerate cpu_flags_x86_mmx nvenc opengl opus oss pulseaudio qt5 truetype twolame vdpau vorbis vpx x264 x265 xv xvid"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
~media-libs/avidemux-core-${PV}:${SLOT}[vdpau?]
|
|
||||||
~media-video/avidemux-${PV}:${SLOT}[opengl?,qt5?]
|
|
||||||
dev-lang/spidermonkey:0=
|
|
||||||
dev-libs/libxml2:2
|
|
||||||
media-libs/a52dec
|
|
||||||
media-libs/libass:0=
|
|
||||||
media-libs/libmad
|
|
||||||
media-libs/libmp4v2
|
|
||||||
media-libs/libpng:0=
|
|
||||||
virtual/libiconv
|
|
||||||
aac? (
|
|
||||||
media-libs/faac
|
|
||||||
media-libs/faad2
|
|
||||||
)
|
|
||||||
aften? ( media-libs/aften )
|
|
||||||
alsa? ( media-libs/alsa-lib )
|
|
||||||
amr? ( media-libs/opencore-amr )
|
|
||||||
dcaenc? ( media-sound/dcaenc )
|
|
||||||
dts? ( media-libs/libdca )
|
|
||||||
fdk? ( media-libs/fdk-aac:0= )
|
|
||||||
fontconfig? ( media-libs/fontconfig:1.0 )
|
|
||||||
fribidi? ( dev-libs/fribidi )
|
|
||||||
jack? (
|
|
||||||
media-sound/jack-audio-connection-kit
|
|
||||||
libsamplerate? ( media-libs/libsamplerate )
|
|
||||||
)
|
|
||||||
lame? ( media-sound/lame )
|
|
||||||
nvenc? ( amd64? ( media-video/nvidia_video_sdk ) )
|
|
||||||
opus? ( media-libs/opus )
|
|
||||||
pulseaudio? ( media-sound/pulseaudio )
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
)
|
|
||||||
truetype? ( media-libs/freetype:2 )
|
|
||||||
twolame? ( media-sound/twolame )
|
|
||||||
vorbis? ( media-libs/libvorbis )
|
|
||||||
vpx? ( media-libs/libvpx:0= )
|
|
||||||
x264? ( media-libs/x264:0= )
|
|
||||||
x265? ( media-libs/x265:0= )
|
|
||||||
xv? (
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXv
|
|
||||||
)
|
|
||||||
xvid? ( media-libs/xvid )
|
|
||||||
"
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
oss? ( virtual/os-headers )
|
|
||||||
"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
!<media-libs/avidemux-plugins-${PV}
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/avidemux2-${PV}"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/${PN}-2.6.20-optional-pulse.patch )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Don't reapply PATCHES during cmake_src_prepare
|
|
||||||
unset PATCHES
|
|
||||||
|
|
||||||
processes="buildPluginsCommon:avidemux_plugins
|
|
||||||
buildPluginsCLI:avidemux_plugins"
|
|
||||||
use qt5 && processes+=" buildPluginsQt4:avidemux_plugins"
|
|
||||||
|
|
||||||
for process in ${processes} ; do
|
|
||||||
CMAKE_USE_DIR="${S}"/${process#*:} cmake_src_prepare
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# See bug 432322.
|
|
||||||
use x86 && replace-flags -O0 -O1
|
|
||||||
|
|
||||||
for process in ${processes} ; do
|
|
||||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
|
||||||
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DAVIDEMUX_SOURCE_DIR='${S}'
|
|
||||||
-DPLUGIN_UI=$(echo ${build/buildPlugins/} | tr '[:lower:]' '[:upper:]')
|
|
||||||
-DFAAC="$(usex aac)"
|
|
||||||
-DFAAD="$(usex aac)"
|
|
||||||
-DALSA="$(usex alsa)"
|
|
||||||
-DAFTEN="$(usex aften)"
|
|
||||||
-DDCAENC="$(usex dcaenc)"
|
|
||||||
-DFDK_AAC="$(usex fdk)"
|
|
||||||
-DOPENCORE_AMRWB="$(usex amr)"
|
|
||||||
-DOPENCORE_AMRNB="$(usex amr)"
|
|
||||||
-DLIBDCA="$(usex dts)"
|
|
||||||
-DFONTCONFIG="$(usex fontconfig)"
|
|
||||||
-DJACK="$(usex jack)"
|
|
||||||
-DLAME="$(usex lame)"
|
|
||||||
-DNVENC="$(usex nvenc)"
|
|
||||||
-DOPENGL="$(usex opengl)"
|
|
||||||
-DOPUS="$(usex opus)"
|
|
||||||
-DOSS="$(usex oss)"
|
|
||||||
-DPULSEAUDIOSIMPLE="$(usex pulseaudio)"
|
|
||||||
-DQT4=OFF
|
|
||||||
-DFREETYPE2="$(usex truetype)"
|
|
||||||
-DTWOLAME="$(usex twolame)"
|
|
||||||
-DX264="$(usex x264)"
|
|
||||||
-DX265="$(usex x265)"
|
|
||||||
-DXVIDEO="$(usex xv)"
|
|
||||||
-DXVID="$(usex xvid)"
|
|
||||||
-DVDPAU="$(usex vdpau)"
|
|
||||||
-DVORBIS="$(usex vorbis)"
|
|
||||||
-DLIBVORBIS="$(usex vorbis)"
|
|
||||||
-DVPXDEC="$(usex vpx)"
|
|
||||||
-DUSE_EXTERNAL_LIBA52=yes
|
|
||||||
-DUSE_EXTERNAL_LIBASS=yes
|
|
||||||
-DUSE_EXTERNAL_LIBMAD=yes
|
|
||||||
-DUSE_EXTERNAL_LIBMP4V2=yes
|
|
||||||
)
|
|
||||||
|
|
||||||
use qt5 && mycmakeargs+=( -DENABLE_QT5=True )
|
|
||||||
use debug && mycmakeargs+=( -DVERBOSE=1 -DADM_DEBUG=1 )
|
|
||||||
|
|
||||||
CMAKE_USE_DIR="${S}"/${process#*:} BUILD_DIR="${build}" cmake_src_configure
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
for process in ${processes} ; do
|
|
||||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
|
||||||
BUILD_DIR="${build}" cmake_src_compile
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
for process in ${processes} ; do
|
|
||||||
local build="${WORKDIR}/${P}_build/${process%%:*}"
|
|
||||||
BUILD_DIR="${build}" cmake_src_install
|
|
||||||
done
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
--- a/cmake/admCheckAudioDeviceLibs.cmake
|
|
||||||
+++ b/cmake/admCheckAudioDeviceLibs.cmake
|
|
||||||
@@ -158,6 +158,7 @@
|
|
||||||
|
|
||||||
MESSAGE(STATUS "Checking for PULSEAUDIOSIMPLE")
|
|
||||||
MESSAGE(STATUS "*****************************")
|
|
||||||
+ IF (PULSEAUDIOSIMPLE)
|
|
||||||
IF (PULSEAUDIOSIMPLE_INCLUDE_DIR AND PULSEAUDIOSIMPLE_LIBRARIES)
|
|
||||||
# in cache already
|
|
||||||
SET(PULSEAUDIOSIMPLE_FIND_QUIETLY TRUE)
|
|
||||||
@@ -191,6 +192,9 @@
|
|
||||||
MARK_AS_ADVANCED(PULSEAUDIOSIMPLE_INCLUDE_DIR PULSEAUDIOSIMPLE_LIBRARIES)
|
|
||||||
|
|
||||||
APPEND_SUMMARY_LIST("Audio Device" "PulseAudio" "${USE_PULSE_SIMPLE}")
|
|
||||||
+ ELSE (PULSEAUDIOSIMPLE)
|
|
||||||
+ MESSAGE("${MSG_DISABLE_OPTION}")
|
|
||||||
+ ENDIF (PULSEAUDIOSIMPLE)
|
|
||||||
ELSE (UNIX AND NOT APPLE)
|
|
||||||
SET(PULSEAUDIOSIMPLE_CAPABLE FALSE)
|
|
||||||
ENDIF (UNIX AND NOT APPLE)
|
|
@ -1,11 +1,11 @@
|
|||||||
<gnome-extra/cinnamon-4.5 amd64
|
<gnome-extra/cinnamon-4.7 amd64
|
||||||
<gnome-extra/cinnamon-control-center-4.5 amd64
|
<gnome-extra/cinnamon-control-center-4.7 amd64
|
||||||
<gnome-extra/cinnamon-desktop-4.5 amd64
|
<gnome-extra/cinnamon-desktop-4.7 amd64
|
||||||
<gnome-extra/cinnamon-menus-4.5 amd64
|
<gnome-extra/cinnamon-menus-4.7 amd64
|
||||||
<gnome-extra/cinnamon-screensaver-4.5 amd64
|
<gnome-extra/cinnamon-screensaver-4.7 amd64
|
||||||
<gnome-extra/cinnamon-session-4.5 amd64
|
<gnome-extra/cinnamon-session-4.7 amd64
|
||||||
<gnome-extra/cinnamon-settings-daemon-4.5 amd64
|
<gnome-extra/cinnamon-settings-daemon-4.7 amd64
|
||||||
<gnome-extra/cinnamon-translations-4.5 amd64
|
<gnome-extra/cinnamon-translations-4.7 amd64
|
||||||
<gnome-extra/cjs-4.5 amd64
|
<gnome-extra/cjs-4.7 amd64
|
||||||
<gnome-extra/nemo-4.5 amd64
|
<gnome-extra/nemo-4.7 amd64
|
||||||
<x11-wm/muffin-4.5 amd64
|
<x11-wm/muffin-4.7 amd64
|
||||||
|
@ -1,23 +1,27 @@
|
|||||||
~dev-util/lxqt-build-tools-0.6.0 amd64
|
~app-arch/lxqt-archiver-0.3.0 amd64
|
||||||
<lxqt-base/liblxqt-0.15 amd64
|
~dev-libs/libqtxdg-3.6.0 amd64
|
||||||
<lxqt-base/liblxqt-mount-0.15 amd64
|
~dev-util/lxqt-build-tools-0.8.0 amd64
|
||||||
<lxqt-base/lxqt-about-0.15 amd64
|
<lxqt-base/liblxqt-0.17 amd64
|
||||||
<lxqt-base/lxqt-admin-0.15 amd64
|
<lxqt-base/liblxqt-mount-0.17 amd64
|
||||||
<lxqt-base/lxqt-common-0.15 amd64
|
<lxqt-base/lxqt-about-0.17 amd64
|
||||||
<lxqt-base/lxqt-config-0.15 amd64
|
<lxqt-base/lxqt-admin-0.17 amd64
|
||||||
<lxqt-base/lxqt-globalkeys-0.15 amd64
|
<lxqt-base/lxqt-common-0.17 amd64
|
||||||
<lxqt-base/lxqt-l10n-0.15 amd64
|
<lxqt-base/lxqt-config-0.17 amd64
|
||||||
<lxqt-base/lxqt-meta-0.15 amd64
|
<lxqt-base/lxqt-globalkeys-0.17 amd64
|
||||||
<lxqt-base/lxqt-notificationd-0.15 amd64
|
<lxqt-base/lxqt-l10n-0.17 amd64
|
||||||
<lxqt-base/lxqt-openssh-askpass-0.15 amd64
|
<lxqt-base/lxqt-meta-0.17 amd64
|
||||||
<lxqt-base/lxqt-panel-0.15 amd64
|
<lxqt-base/lxqt-notificationd-0.17 amd64
|
||||||
<lxqt-base/lxqt-policykit-0.15 amd64
|
<lxqt-base/lxqt-openssh-askpass-0.17 amd64
|
||||||
<lxqt-base/lxqt-powermanagement-0.15 amd64
|
<lxqt-base/lxqt-panel-0.17 amd64
|
||||||
<lxqt-base/lxqt-qtplugin-0.15 amd64
|
<lxqt-base/lxqt-policykit-0.17 amd64
|
||||||
<lxqt-base/lxqt-runner-0.15 amd64
|
<lxqt-base/lxqt-powermanagement-0.17 amd64
|
||||||
<lxqt-base/lxqt-session-0.15 amd64
|
<lxqt-base/lxqt-qtplugin-0.17 amd64
|
||||||
<lxqt-base/lxqt-sudo-0.15 amd64
|
<lxqt-base/lxqt-runner-0.17 amd64
|
||||||
<x11-libs/libfm-qt-0.15 amd64
|
<lxqt-base/lxqt-session-0.17 amd64
|
||||||
<x11-misc/obconf-qt-0.15.0 amd64
|
<lxqt-base/lxqt-sudo-0.17 amd64
|
||||||
<x11-misc/pcmanfm-qt-0.15 amd64
|
<x11-libs/libfm-qt-0.17 amd64
|
||||||
<x11-themes/lxqt-themes-0.15 amd64
|
<x11-libs/qtermwidget-0.17 amd64
|
||||||
|
<x11-misc/obconf-qt-0.17.0 amd64
|
||||||
|
<x11-misc/pcmanfm-qt-0.17 amd64
|
||||||
|
<x11-terms/qterminal-0.17 amd64
|
||||||
|
<x11-themes/lxqt-themes-0.17 amd64
|
||||||
|
@ -1,33 +1,51 @@
|
|||||||
# Calculate format=kde path=/usr/share/plymouth/themes/calculate
|
# Calculate format=kde path=/usr/share/plymouth/themes/calculate pkg(sys-boot/plymouth-calculate-plugin)>=0.9.5
|
||||||
[Plymouth Theme]
|
[Plymouth Theme]
|
||||||
Name=Calculate
|
Name=Calculate
|
||||||
Description=Simple theme that shows progressbar, image and text for shutdown
|
Description=Calculate spinner theme
|
||||||
ModuleName=calculate
|
ModuleName=calculate
|
||||||
|
|
||||||
[calculate]
|
[calculate]
|
||||||
ImageDir=/usr/share/plymouth/themes/calculate
|
ImageDir=/usr/share/plymouth/themes/calculate
|
||||||
BootBackgroundStartColor=0x#-ini(theme.splash-silent-background-color-begin)-#
|
|
||||||
BootBackgroundEndColor=0x#-ini(theme.splash-silent-background-color-end)-#
|
[boot-up]
|
||||||
ShutdownBackgroundStartColor=0x#-ini(theme.splash-shutdown-background-color-begin)-#
|
BackgroundStartColor=0x#-ini(theme.splash-silent-background-color-begin)-#
|
||||||
ShutdownBackgroundEndColor=0x#-ini(theme.splash-shutdown-background-color-end)-#
|
BackgroundEndColor=0x#-ini(theme.splash-silent-background-color-end)-#
|
||||||
!ShutdownProgressbarColor=
|
|
||||||
!BootProgressbarColor=
|
|
||||||
#?ini(theme.splash-silent-picture)!=&&ini(theme.splash-silent-type)==background#
|
#?ini(theme.splash-silent-picture)!=&&ini(theme.splash-silent-type)==background#
|
||||||
BootImage=/usr/share/plymouth/themes/calculate/boot
|
WatermarkImage=/usr/share/plymouth/themes/calculate/boot
|
||||||
#ini#
|
#ini#
|
||||||
#?ini(theme.splash-silent-picture)!=&&ini(theme.splash-silent-type)==logo#
|
#?ini(theme.splash-silent-picture)!=&&ini(theme.splash-silent-type)==logo#
|
||||||
BootImage=/usr/share/plymouth/themes/calculate/boot.png
|
WatermarkImage=/usr/share/plymouth/themes/calculate/boot.png
|
||||||
#ini#
|
#ini#
|
||||||
#?ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==#
|
#?ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==#
|
||||||
!BootImage=
|
!WatermarkImage
|
||||||
#ini#
|
#ini#
|
||||||
|
|
||||||
|
[shutdown]
|
||||||
|
BackgroundStartColor=0x#-ini(theme.splash-shutdown-background-color-begin)-#
|
||||||
|
BackgroundEndColor=0x#-ini(theme.splash-shutdown-background-color-end)-#
|
||||||
|
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==background#
|
||||||
|
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==logo#
|
||||||
|
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown.png
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==#
|
||||||
|
!WatermarkImage=
|
||||||
|
#ini#
|
||||||
|
TitleColor=0x#-ini(theme.splash-shutdown-text-color)-#
|
||||||
|
Title=S h u t t i n g d o w n
|
||||||
|
|
||||||
|
[reboot]
|
||||||
|
BackgroundStartColor=0x#-ini(theme.splash-shutdown-background-color-begin)-#
|
||||||
|
BackgroundEndColor=0x#-ini(theme.splash-shutdown-background-color-end)-#
|
||||||
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==background#
|
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==background#
|
||||||
ShutdownImage=/usr/share/plymouth/themes/calculate/.shutdown
|
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||||
#ini#
|
#ini#
|
||||||
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==logo#
|
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==logo#
|
||||||
ShutdownImage=/usr/share/plymouth/themes/calculate/.shutdown.png
|
WatermarkImage=/usr/share/plymouth/themes/calculate/.shutdown.png
|
||||||
#ini#
|
#ini#
|
||||||
#?ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==#
|
#?ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==#
|
||||||
!ShutdownImage=
|
!WatermarkImage=
|
||||||
#ini#
|
#ini#
|
||||||
ShutdownTextColor=0x#-ini(theme.splash-shutdown-text-color)-#
|
TitleColor=0x#-ini(theme.splash-shutdown-text-color)-#
|
||||||
|
Title=S h u t t i n g d o w n
|
||||||
|
@ -0,0 +1,33 @@
|
|||||||
|
# Calculate format=kde path=/usr/share/plymouth/themes/calculate pkg(sys-boot/plymouth-calculate-plugin)<0.9.5 name=calculate.plymouth
|
||||||
|
[Plymouth Theme]
|
||||||
|
Name=Calculate
|
||||||
|
Description=Simple theme that shows progressbar, image and text for shutdown
|
||||||
|
ModuleName=calculate
|
||||||
|
|
||||||
|
[calculate]
|
||||||
|
ImageDir=/usr/share/plymouth/themes/calculate
|
||||||
|
BootBackgroundStartColor=0x#-ini(theme.splash-silent-background-color-begin)-#
|
||||||
|
BootBackgroundEndColor=0x#-ini(theme.splash-silent-background-color-end)-#
|
||||||
|
ShutdownBackgroundStartColor=0x#-ini(theme.splash-shutdown-background-color-begin)-#
|
||||||
|
ShutdownBackgroundEndColor=0x#-ini(theme.splash-shutdown-background-color-end)-#
|
||||||
|
!ShutdownProgressbarColor=
|
||||||
|
!BootProgressbarColor=
|
||||||
|
#?ini(theme.splash-silent-picture)!=&&ini(theme.splash-silent-type)==background#
|
||||||
|
BootImage=/usr/share/plymouth/themes/calculate/boot
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-silent-picture)!=&&ini(theme.splash-silent-type)==logo#
|
||||||
|
BootImage=/usr/share/plymouth/themes/calculate/boot.png
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-silent-picture)==||exists(#-ini(theme.splash-silent-picture)-#)==#
|
||||||
|
!BootImage=
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==background#
|
||||||
|
ShutdownImage=/usr/share/plymouth/themes/calculate/.shutdown
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-shutdown-picture)!=&&ini(theme.splash-shutdown-type)==logo#
|
||||||
|
ShutdownImage=/usr/share/plymouth/themes/calculate/.shutdown.png
|
||||||
|
#ini#
|
||||||
|
#?ini(theme.splash-shutdown-picture)==||exists(#-ini(theme.splash-shutdown-picture)-#)==#
|
||||||
|
!ShutdownImage=
|
||||||
|
#ini#
|
||||||
|
ShutdownTextColor=0x#-ini(theme.splash-shutdown-text-color)-#
|
@ -0,0 +1,188 @@
|
|||||||
|
# Calculate format=diff merge(sys-boot/plymouth)<0.9.5
|
||||||
|
commit 4ec46d8b9a1fdd4eb791013bae98e4ca34b412de
|
||||||
|
Author: Mir Calculate <support@calculate.ru>
|
||||||
|
Date: Wed Feb 13 15:35:50 2019 +0300
|
||||||
|
|
||||||
|
Изменён порядок инициализации framebuffer для plymouth
|
||||||
|
|
||||||
|
Добавлена переменная конфигурационного файла
|
||||||
|
FBDeviceTimeout, по истечении которого plymouth будет ожидать не только DRM
|
||||||
|
устройства, но и framebuffer. По истечении DeviceTimeout plymouth будет
|
||||||
|
запущен для text mode.
|
||||||
|
|
||||||
|
diff --git a/src/libply-splash-core/ply-device-manager.c b/src/libply-splash-core/ply-device-manager.c
|
||||||
|
index 55248ac..4350324 100644
|
||||||
|
--- a/src/libply-splash-core/ply-device-manager.c
|
||||||
|
+++ b/src/libply-splash-core/ply-device-manager.c
|
||||||
|
@@ -39,12 +39,14 @@
|
||||||
|
#include "ply-hashtable.h"
|
||||||
|
#include "ply-list.h"
|
||||||
|
#include "ply-utils.h"
|
||||||
|
+#include <math.h>
|
||||||
|
|
||||||
|
#define SUBSYSTEM_DRM "drm"
|
||||||
|
#define SUBSYSTEM_FRAME_BUFFER "graphics"
|
||||||
|
|
||||||
|
#ifdef HAVE_UDEV
|
||||||
|
static void create_devices_from_udev (ply_device_manager_t *manager);
|
||||||
|
+static void create_fb_devices_from_udev (ply_device_manager_t *manager);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static bool create_devices_for_terminal_and_renderer_type (ply_device_manager_t *manager,
|
||||||
|
@@ -81,6 +83,7 @@ struct _ply_device_manager
|
||||||
|
|
||||||
|
uint32_t paused : 1;
|
||||||
|
uint32_t device_timeout_elapsed : 1;
|
||||||
|
+ uint32_t fb_device_timeout_elapsed : 1;
|
||||||
|
};
|
||||||
|
|
||||||
|
static void
|
||||||
|
@@ -361,7 +364,12 @@ on_udev_event (ply_device_manager_t *manager)
|
||||||
|
ply_trace ("ignoring since we're already using text splash for local console");
|
||||||
|
else
|
||||||
|
create_devices_for_udev_device (manager, device);
|
||||||
|
- } else {
|
||||||
|
+ } else if (manager->fb_device_timeout_elapsed && strcmp (subsystem, SUBSYSTEM_FRAME_BUFFER) == 0){
|
||||||
|
+ if (manager->local_console_managed && manager->local_console_is_text)
|
||||||
|
+ ply_trace ("ignoring since we're already using text splash for local console");
|
||||||
|
+ else
|
||||||
|
+ create_devices_for_udev_device (manager, device);
|
||||||
|
+ } else {
|
||||||
|
ply_trace ("ignoring since we only handle subsystem %s devices after timeout", subsystem);
|
||||||
|
}
|
||||||
|
} else if (strcmp (action, "remove") == 0) {
|
||||||
|
@@ -539,6 +547,9 @@ ply_device_manager_free (ply_device_manager_t *manager)
|
||||||
|
ply_event_loop_stop_watching_for_timeout (manager->loop,
|
||||||
|
(ply_event_loop_timeout_handler_t)
|
||||||
|
create_devices_from_udev, manager);
|
||||||
|
+ ply_event_loop_stop_watching_for_timeout (manager->loop,
|
||||||
|
+ (ply_event_loop_timeout_handler_t)
|
||||||
|
+ create_fb_devices_from_udev, manager);
|
||||||
|
|
||||||
|
if (manager->udev_monitor != NULL)
|
||||||
|
udev_monitor_unref (manager->udev_monitor);
|
||||||
|
@@ -838,6 +849,24 @@ create_devices_from_udev (ply_device_manager_t *manager)
|
||||||
|
ply_trace ("Creating non-graphical devices, since there's no suitable graphics hardware");
|
||||||
|
create_non_graphical_devices (manager);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+static void
|
||||||
|
+create_fb_devices_from_udev (ply_device_manager_t *manager)
|
||||||
|
+{
|
||||||
|
+ bool found_drm_device, found_fb_device;
|
||||||
|
+
|
||||||
|
+ manager->fb_device_timeout_elapsed = true;
|
||||||
|
+
|
||||||
|
+ if (manager->paused) {
|
||||||
|
+ ply_trace ("create_fb_devices_from_udev timeout elapsed while paused, deferring execution");
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ ply_trace ("Timeout elapsed, looking for framebuffer devices from udev");
|
||||||
|
+
|
||||||
|
+ found_drm_device = create_devices_for_subsystem (manager, SUBSYSTEM_DRM);
|
||||||
|
+ found_fb_device = create_devices_for_subsystem (manager, SUBSYSTEM_FRAME_BUFFER);
|
||||||
|
+}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static void
|
||||||
|
@@ -851,6 +880,7 @@ create_fallback_devices (ply_device_manager_t *manager)
|
||||||
|
|
||||||
|
void
|
||||||
|
ply_device_manager_watch_devices (ply_device_manager_t *manager,
|
||||||
|
+ double fb_device_timeout,
|
||||||
|
double device_timeout,
|
||||||
|
ply_keyboard_added_handler_t keyboard_added_handler,
|
||||||
|
ply_keyboard_removed_handler_t keyboard_removed_handler,
|
||||||
|
@@ -870,6 +900,9 @@ ply_device_manager_watch_devices (ply_device_manager_t *manager,
|
||||||
|
manager->text_display_removed_handler = text_display_removed_handler;
|
||||||
|
manager->event_handler_data = data;
|
||||||
|
|
||||||
|
+ if (isnan (fb_device_timeout))
|
||||||
|
+ fb_device_timeout = 5;
|
||||||
|
+
|
||||||
|
/* Try to create devices for each serial device right away, if possible
|
||||||
|
*/
|
||||||
|
done_with_initial_devices_setup = create_devices_from_terminals (manager);
|
||||||
|
@@ -892,6 +925,10 @@ ply_device_manager_watch_devices (ply_device_manager_t *manager,
|
||||||
|
#ifdef HAVE_UDEV
|
||||||
|
watch_for_udev_events (manager);
|
||||||
|
create_devices_for_subsystem (manager, SUBSYSTEM_DRM);
|
||||||
|
+ ply_event_loop_watch_for_timeout (manager->loop,
|
||||||
|
+ fb_device_timeout,
|
||||||
|
+ (ply_event_loop_timeout_handler_t)
|
||||||
|
+ create_fb_devices_from_udev, manager);
|
||||||
|
ply_event_loop_watch_for_timeout (manager->loop,
|
||||||
|
device_timeout,
|
||||||
|
(ply_event_loop_timeout_handler_t)
|
||||||
|
@@ -1035,6 +1072,10 @@ ply_device_manager_unpause (ply_device_manager_t *manager)
|
||||||
|
ply_trace ("ply_device_manager_unpause() called, resuming watching for udev events");
|
||||||
|
manager->paused = false;
|
||||||
|
#ifdef HAVE_UDEV
|
||||||
|
+ if (manager->fb_device_timeout_elapsed) {
|
||||||
|
+ ply_trace ("ply_device_manager_unpause(): timeout elapsed while paused, looking for framebuffer udev devices");
|
||||||
|
+ create_fb_devices_from_udev (manager);
|
||||||
|
+ }
|
||||||
|
if (manager->device_timeout_elapsed) {
|
||||||
|
ply_trace ("ply_device_manager_unpause(): timeout elapsed while paused, looking for udev devices");
|
||||||
|
create_devices_from_udev (manager);
|
||||||
|
diff --git a/src/libply-splash-core/ply-device-manager.h b/src/libply-splash-core/ply-device-manager.h
|
||||||
|
index 389b636..37198a2 100644
|
||||||
|
--- a/src/libply-splash-core/ply-device-manager.h
|
||||||
|
+++ b/src/libply-splash-core/ply-device-manager.h
|
||||||
|
@@ -47,6 +47,7 @@ typedef void (* ply_text_display_removed_handler_t) (void *, ply_text_display_t
|
||||||
|
ply_device_manager_t *ply_device_manager_new (const char *default_tty,
|
||||||
|
ply_device_manager_flags_t flags);
|
||||||
|
void ply_device_manager_watch_devices (ply_device_manager_t *manager,
|
||||||
|
+ double fb_device_timeout,
|
||||||
|
double device_timeout,
|
||||||
|
ply_keyboard_added_handler_t keyboard_added_handler,
|
||||||
|
ply_keyboard_removed_handler_t keyboard_removed_handler,
|
||||||
|
diff --git a/src/main.c b/src/main.c
|
||||||
|
index ddc1883..f8f980c 100644
|
||||||
|
--- a/src/main.c
|
||||||
|
+++ b/src/main.c
|
||||||
|
@@ -103,6 +103,7 @@ typedef struct
|
||||||
|
double start_time;
|
||||||
|
double splash_delay;
|
||||||
|
double device_timeout;
|
||||||
|
+ double fb_device_timeout;
|
||||||
|
|
||||||
|
uint32_t no_boot_log : 1;
|
||||||
|
uint32_t showing_details : 1;
|
||||||
|
@@ -340,6 +341,19 @@ load_settings (state_t *state,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (isnan (state->fb_device_timeout)) {
|
||||||
|
+ char *timeout_string;
|
||||||
|
+
|
||||||
|
+ timeout_string = ply_key_file_get_value (key_file, "Daemon", "FBDeviceTimeout");
|
||||||
|
+
|
||||||
|
+ if (timeout_string != NULL) {
|
||||||
|
+ state->fb_device_timeout = atof (timeout_string);
|
||||||
|
+ ply_trace ("Framebuffer device timeout is set to %lf", state->fb_device_timeout);
|
||||||
|
+
|
||||||
|
+ free (timeout_string);
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
scale_string = ply_key_file_get_value (key_file, "Daemon", "DeviceScale");
|
||||||
|
|
||||||
|
if (scale_string != NULL) {
|
||||||
|
@@ -1100,6 +1114,7 @@ load_devices (state_t *state,
|
||||||
|
state->local_console_terminal = ply_device_manager_get_default_terminal (state->device_manager);
|
||||||
|
|
||||||
|
ply_device_manager_watch_devices (state->device_manager,
|
||||||
|
+ state->fb_device_timeout,
|
||||||
|
state->device_timeout,
|
||||||
|
(ply_keyboard_added_handler_t)
|
||||||
|
on_keyboard_added,
|
||||||
|
@@ -2269,6 +2284,7 @@ main (int argc,
|
||||||
|
state.progress = ply_progress_new ();
|
||||||
|
state.splash_delay = NAN;
|
||||||
|
state.device_timeout = NAN;
|
||||||
|
+ state.fb_device_timeout = NAN;
|
||||||
|
|
||||||
|
ply_progress_load_cache (state.progress,
|
||||||
|
get_cache_file_for_mode (state.mode));
|
@ -0,0 +1,23 @@
|
|||||||
|
# Calculate format=diff merge(sys-boot/plymouth)<0.9.5
|
||||||
|
commit c0e512de2352611112c5476e0032514e2b2d713c
|
||||||
|
Author: Mir Calculate <support@calculate.ru>
|
||||||
|
Date: Tue Feb 19 12:17:41 2019 +0300
|
||||||
|
|
||||||
|
Добавлена возможность указать запуск splash только для shutdown
|
||||||
|
|
||||||
|
diff --git a/src/main.c b/src/main.c
|
||||||
|
index f8f980c..c702c10 100644
|
||||||
|
--- a/src/main.c
|
||||||
|
+++ b/src/main.c
|
||||||
|
@@ -916,6 +916,11 @@ plymouth_should_show_default_splash (state_t *state)
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (ply_kernel_command_line_has_argument ("splash=shutdown") && state->mode == PLY_MODE_SHUTDOWN) {
|
||||||
|
+ ply_trace ("using default splash because kernel command line has option \"splash=shutdown\"");
|
||||||
|
+ return true;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (ply_kernel_command_line_has_argument ("splash=silent")) {
|
||||||
|
ply_trace ("using default splash because kernel command line has option \"splash=silent\"");
|
||||||
|
return true;
|
@ -1 +1,2 @@
|
|||||||
DIST plymouth-0.9.4.tar.xz 1103496 BLAKE2B abad2cefb89e9d17b77113396d7203090544759b3dd7f73f67153d9f126db28e5366d36aa11e2335566bf4046bebd50d8d9dd47c75634446fb3a0314cd458925 SHA512 83eb2de7e6d0980e9f7fa4e0b0f20c46a8238051d84bc38dbbb5dfa438e41c1a39846dcd652374256d9f1fe79967b154a3576cd9c433ef816b6c962be2d31e93
|
DIST plymouth-0.9.4.tar.xz 1103496 BLAKE2B abad2cefb89e9d17b77113396d7203090544759b3dd7f73f67153d9f126db28e5366d36aa11e2335566bf4046bebd50d8d9dd47c75634446fb3a0314cd458925 SHA512 83eb2de7e6d0980e9f7fa4e0b0f20c46a8238051d84bc38dbbb5dfa438e41c1a39846dcd652374256d9f1fe79967b154a3576cd9c433ef816b6c962be2d31e93
|
||||||
|
DIST plymouth-0.9.5.tar.xz 1186200 BLAKE2B 8fd073703773fcf7f3e26454c860f094fb4b3d712c56c9df6716ef11815a79f7d5b078ab6c6567b76421026d84a086f95865bf9f3e4ae6363cb1ffc2caa68537 SHA512 686220e8d5b1a8be298156786d979d0e3fb9e010b930d0e8082a2bb152cf07c1bf493d820c243838a1771ee859dc0b4723bd9f10ee434a94a096ce9236c36ce9
|
||||||
|
@ -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,98 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic
|
||||||
|
|
||||||
|
MY_P=plymouth-${PV}
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://anongit.freedesktop.org/git/plymouth"
|
||||||
|
else
|
||||||
|
SRC_URI="${SRC_URI} https://www.freedesktop.org/software/plymouth/releases/${MY_P}.tar.xz"
|
||||||
|
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit autotools readme.gentoo-r1 systemd toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Calculate plugin for plymouth"
|
||||||
|
HOMEPAGE="https://www.calculate-linux.org"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="debug gdm +gtk +libkms +pango +split-usr static-libs +udev"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
~sys-boot/${MY_P}[debug?,udev?,gtk?,libkms?,pango?,split-usr?,static-libs?]
|
||||||
|
"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
virtual/udev
|
||||||
|
!<sys-kernel/dracut-0.37-r3
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/0.9.3-glibc-sysmacros.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
cp ${FILESDIR}/0.9.5-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 gtk gtk)
|
||||||
|
$(use_enable libkms drm)
|
||||||
|
$(use_enable pango)
|
||||||
|
$(use_enable 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.5-calculate.plymouth calculate.plymouth
|
||||||
|
}
|
@ -1 +0,0 @@
|
|||||||
DIST gitea-1.12.4.tar.gz 135170598 BLAKE2B 5db5bda4b2a9ea94b97e2ea59416cb6a2f95d53cdd9804d4d38686413134b00935b859ab5d14883f0e9238472108b96d66e6c6f77cafb5eb9c505fd945abc97b SHA512 6d28cd1fca4332c12b2b9485775289cd86b450bb9072c6c200b1d7cc4e5ac439f5d5a39cb788228f8712a0e73990ff9f4b326ca1d8fa90bc0691c50925e1a8f1
|
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/vendor/modules.txt b/vendor/modules.txt
|
|
||||||
index efbc866..1c34104 100644
|
|
||||||
--- a/vendor/modules.txt
|
|
||||||
+++ b/vendor/modules.txt
|
|
||||||
@@ -845,6 +845,8 @@ gopkg.in/yaml.v2
|
|
||||||
# mvdan.cc/xurls/v2 v2.1.0
|
|
||||||
## explicit
|
|
||||||
mvdan.cc/xurls/v2
|
|
||||||
+# src.techknowlogick.com/xgo v0.0.0-20200602060627-a09175ea9056
|
|
||||||
+## explicit
|
|
||||||
# strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251
|
|
||||||
## explicit
|
|
||||||
strk.kbt.io/projects/go/libravatar
|
|
@ -1,14 +0,0 @@
|
|||||||
# Gitea configuration
|
|
||||||
GITEA_CONF="/etc/gitea/app.ini"
|
|
||||||
|
|
||||||
# Gitea user
|
|
||||||
GITEA_USER="git"
|
|
||||||
|
|
||||||
# Gitea group
|
|
||||||
GITEA_GROUP="git"
|
|
||||||
|
|
||||||
# Gitea working directory
|
|
||||||
GITEA_WORK_DIR="/var/lib/gitea"
|
|
||||||
|
|
||||||
# Gitea custom directory
|
|
||||||
GITEA_CUSTOM="${GITEA_WORK_DIR}/custom"
|
|
@ -1,22 +0,0 @@
|
|||||||
#!/sbin/openrc-run
|
|
||||||
# Copyright 2016-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
description="Gitea, a self-hosted Git service"
|
|
||||||
|
|
||||||
: ${GITEA_CONF:=/etc/gitea/app.ini}
|
|
||||||
: ${GITEA_USER:=git}
|
|
||||||
: ${GITEA_GROUP:=git}
|
|
||||||
: ${GITEA_WORK_DIR:=/var/lib/gitea}
|
|
||||||
: ${GITEA_CUSTOM:=${GITEA_WORK_DIR}/custom}
|
|
||||||
|
|
||||||
command="/usr/bin/gitea web"
|
|
||||||
command_args="--config ${GITEA_CONF}"
|
|
||||||
command_background="true"
|
|
||||||
command_user="${GITEA_USER}:${GITEA_GROUP}"
|
|
||||||
error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err"
|
|
||||||
pidfile="/run/${RC_SVCNAME}.pid"
|
|
||||||
required_files="${GITEA_CONF}"
|
|
||||||
start_stop_daemon_args="-d ${GITEA_WORK_DIR}"
|
|
||||||
start_stop_daemon_args="${start_stop_daemon_args} -e GITEA_WORK_DIR=${GITEA_WORK_DIR}"
|
|
||||||
start_stop_daemon_args="${start_stop_daemon_args} -e GITEA_CUSTOM=${GITEA_CUSTOM}"
|
|
@ -1,34 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Gitea service
|
|
||||||
Documentation=https://docs.gitea.io/
|
|
||||||
|
|
||||||
AssertPathIsDirectory=/var/lib/gitea
|
|
||||||
AssertPathIsReadWrite=/var/lib/gitea
|
|
||||||
|
|
||||||
After=network.target
|
|
||||||
Requires=network.target
|
|
||||||
After=mysqld.service
|
|
||||||
After=postgresql-9.3.service
|
|
||||||
After=postgresql-9.4.service
|
|
||||||
After=postgresql-9.5.service
|
|
||||||
After=postgresql-9.6.service
|
|
||||||
After=postgresql-10.service
|
|
||||||
After=postgresql-11.service
|
|
||||||
After=postgresql-12.service
|
|
||||||
After=memcached.service
|
|
||||||
After=redis.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=git
|
|
||||||
Group=git
|
|
||||||
|
|
||||||
Environment="GITEA_WORK_DIR=/var/lib/gitea" "GITEA_CUSTOM=/var/lib/gitea/custom"
|
|
||||||
WorkingDirectory=/var/lib/gitea
|
|
||||||
ExecStart=/usr/bin/gitea web --config /etc/gitea/app.ini
|
|
||||||
|
|
||||||
Restart=always
|
|
||||||
PrivateTmp=true
|
|
||||||
Nice=5
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,126 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit fcaps go-module tmpfiles systemd
|
|
||||||
MY_PV="${PV/_rc/-rc}"
|
|
||||||
|
|
||||||
DESCRIPTION="A painless self-hosted Git service"
|
|
||||||
HOMEPAGE="https://gitea.io"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999* ]] ; then
|
|
||||||
SRC_URI="https://github.com/go-gitea/gitea/releases/download/v${MY_PV}/gitea-src-${MY_PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64"
|
|
||||||
S="${WORKDIR}"
|
|
||||||
else
|
|
||||||
EGIT_REPO_URI="https://github.com/go-gitea/gitea"
|
|
||||||
inherit git-r3
|
|
||||||
S="${WORKDIR}/${P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+acct build-client pam sqlite"
|
|
||||||
|
|
||||||
BDEPEND="build-client? ( >=net-libs/nodejs-10[npm] )"
|
|
||||||
COMMON_DEPEND="
|
|
||||||
acct? (
|
|
||||||
acct-group/git
|
|
||||||
acct-user/git[gitea] )
|
|
||||||
pam? ( sys-libs/pam )"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
dev-vcs/git"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
custom/conf/app.ini.sample CONTRIBUTING.md README.md
|
|
||||||
)
|
|
||||||
FILECAPS=(
|
|
||||||
cap_net_bind_service+ep usr/bin/gitea
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/1.12-fix-vendoring.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local sedcmds=(
|
|
||||||
-e "s#^RUN_MODE = dev#RUN_MODE = prod#"
|
|
||||||
-e "s#^ROOT =#ROOT = ${EPREFIX}/var/lib/gitea/gitea-repositories#"
|
|
||||||
-e "s#^ROOT_PATH =#ROOT_PATH = ${EPREFIX}/var/log/gitea#"
|
|
||||||
-e "s#^APP_DATA_PATH = data#APP_DATA_PATH = ${EPREFIX}/var/lib/gitea/data#"
|
|
||||||
-e "s#^HTTP_ADDR = 0.0.0.0#HTTP_ADDR = 127.0.0.1#"
|
|
||||||
-e "s#^MODE = console#MODE = file#"
|
|
||||||
-e "s#^LEVEL = Trace#LEVEL = Info#"
|
|
||||||
-e "s#^LOG_SQL = true#LOG_SQL = false#"
|
|
||||||
-e "s#^DISABLE_ROUTER_LOG = false#DISABLE_ROUTER_LOG = true#"
|
|
||||||
-e "s#^APP_ID =#;APP_ID =#"
|
|
||||||
-e "s#^TRUSTED_FACETS =#;TRUSTED_FACETS =#"
|
|
||||||
)
|
|
||||||
|
|
||||||
sed -i "${sedcmds[@]}" custom/conf/app.ini.sample || die
|
|
||||||
if use sqlite ; then
|
|
||||||
sed -i -e "s#^DB_TYPE = .*#DB_TYPE = sqlite3#" custom/conf/app.ini.sample || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
einfo "Remove tests which are known to fail with network-sandbox enabled."
|
|
||||||
rm ./modules/migrations/github_test.go || die
|
|
||||||
|
|
||||||
einfo "Remove tests which depend on gitea git-repo."
|
|
||||||
rm ./modules/git/blob_test.go || die
|
|
||||||
rm ./modules/git/repo_test.go || die
|
|
||||||
|
|
||||||
# Remove already build assets (like frontend part)
|
|
||||||
use build-client && emake clean-all
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local gitea_tags=(
|
|
||||||
bindata
|
|
||||||
$(usev pam)
|
|
||||||
$(usex sqlite 'sqlite sqlite_unlock_notify' '')
|
|
||||||
)
|
|
||||||
local gitea_settings=(
|
|
||||||
"-X code.gitea.io/gitea/modules/setting.CustomConf=${EPREFIX}/etc/gitea/app.ini"
|
|
||||||
"-X code.gitea.io/gitea/modules/setting.CustomPath=${EPREFIX}/var/lib/gitea/custom"
|
|
||||||
"-X code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
|
|
||||||
)
|
|
||||||
local makeenv=(
|
|
||||||
TAGS="${gitea_tags[@]}"
|
|
||||||
LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}"
|
|
||||||
)
|
|
||||||
[[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}")
|
|
||||||
|
|
||||||
if use build-client; then
|
|
||||||
# -j1 as Makefile doesn't handle dependancy correctly, and is not
|
|
||||||
# useful as golang compiler don't use this info.
|
|
||||||
env "${makeenv[@]}" emake -j1 build
|
|
||||||
else
|
|
||||||
env "${makeenv[@]}" emake backend
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin gitea
|
|
||||||
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/gitea.confd-r1" gitea
|
|
||||||
newinitd "${FILESDIR}/gitea.initd-r3" gitea
|
|
||||||
newtmpfiles - gitea.conf <<-EOF
|
|
||||||
d /run/gitea 0755 git git
|
|
||||||
EOF
|
|
||||||
systemd_newunit "${FILESDIR}"/gitea.service-r2 gitea.service
|
|
||||||
|
|
||||||
insinto /etc/gitea
|
|
||||||
newins custom/conf/app.ini.sample app.ini
|
|
||||||
if use acct ; then
|
|
||||||
fowners root:git /etc/gitea/{,app.ini}
|
|
||||||
fperms g+w,o-rwx /etc/gitea/{,app.ini}
|
|
||||||
|
|
||||||
diropts -m0750 -o git -g git
|
|
||||||
keepdir /var/lib/gitea /var/lib/gitea/custom /var/lib/gitea/data
|
|
||||||
keepdir /var/log/gitea
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>nemunaire@nemunai.re</email>
|
|
||||||
<name>Pierre-Olivier Mercier</name>
|
|
||||||
</maintainer>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>proxy-maint@gentoo.org</email>
|
|
||||||
<name>Proxy Maintainers</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">go-gitea/gitea</remote-id>
|
|
||||||
</upstream>
|
|
||||||
<use>
|
|
||||||
<flag name="acct">User and group management via acct-*/git packages</flag>
|
|
||||||
<flag name="build-client">Build the client code, instead of using a precompiled one</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
Loading…
Reference in new issue