openvox now in portage
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
AUX puppet-systemd.patch 481 BLAKE2B 8ca58755e5c3a235c60eed11c98e20bbd3cb27c81531709b27981ee61f6f5dea63d2487d49761ff84e7590b608c170bcd369fe7ef3700a5df1bd03b29c66ec71 SHA512 08bb997cedea378efa4614e4b2ff04acdd68cdc376fde422677b64dc56b8256ecf7221210c20529bb5a9a49fa8c92f67667c7acd6ac64b665e79639318a3df97
|
||||
AUX puppet.init 751 BLAKE2B b873fd1e51e2b5c148d31da4f861ee8cc60c71ef7950f10f1ba78c8ce740fcc67d8fbcd274667c383f2e7f83b2c6f76abc138348cc172f02f667b766ecf302fa SHA512 566912034aa2e1306a65d59fafdfaf3d660693331c4f5020611bc806e7e5aa14047122bc31e229fd5ab9eb48979c04c436fbb5aa765f598b7416839b67640655
|
||||
AUX tmpfiles.d-2 35 BLAKE2B 333994788552e5c52273752f4e3c2947666737d03f9d340e16ada790607efe77da1ba9bb4852bc8274174fbb96ce0c7ae81062f7197e63ea4701e539b2650b3b SHA512 fdf00147c497bd822a14f0e42bad825a43ce0977ec6c0265d267dedeef56295e3ce319f7972d0ec2ab9f04f2407856947f4261d6e62054a36c6e1672b45f86f0
|
||||
DIST openvox-8.27.0.tar.gz 3748596 BLAKE2B 6c2406f8865529c7b17ecc552a76fc081edb72254a791cc19afd63e51ce35d58a297db7b575bca9d143e60b97add522231e48469d1737706659a6ee907ccc14e SHA512 1660e9b864a2645e0dcd00bbec35616b48cf351489e0549e679cccde5f01dc36b2c87a986bae745eb276ff66295f4590f596a97d2309526d2da99507ff63645a
|
||||
EBUILD openvox-8.27.0.ebuild 2986 BLAKE2B fccc42584e6eef600434f5cf451d0d458ea2b2ba387008accd5318948bcab24fc4b0c4fd9f477f2ed77623a29e7843fd010ece0b1630665ad5231f714f23fde0 SHA512 1d5007daeb5204fc7629964ffa52dc81ad8331528c3c6743e9d77ed8516b306153dee60d8ccb3e0bb95b8798634309a80a574c6bdc492d3e377ffc8c4a49559d
|
||||
@@ -1,10 +0,0 @@
|
||||
--- ext/systemd/puppet.service 2017-02-02 18:28:58.000000000 -0600
|
||||
+++ ext/systemd/puppet.service 2017-03-09 10:56:59.091489324 -0600
|
||||
@@ -17,7 +17,7 @@
|
||||
EnvironmentFile=-/etc/sysconfig/puppetagent
|
||||
EnvironmentFile=-/etc/sysconfig/puppet
|
||||
EnvironmentFile=-/etc/default/puppet
|
||||
-ExecStart=/opt/puppetlabs/puppet/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize
|
||||
+ExecStart=/usr/bin/puppet agent $PUPPET_EXTRA_OPTS --no-daemonize
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
@@ -1,29 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PUPPET_PID_DIR="${PUPPET_PID_DIR:-/run/puppet}"
|
||||
|
||||
pidfile="${PUPPET_PID_DIR}/puppet.pid"
|
||||
PUPPET_LOG_DIR="/var/log/puppet"
|
||||
|
||||
command="/usr/bin/puppet"
|
||||
extra_started_commands="reload"
|
||||
|
||||
command_args="agent --pidfile ${pidfile} --confdir /etc/puppetlabs/puppet ${PUPPET_EXTRA_OPTS}"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use dns logger puppetmaster netmount
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --owner puppet:puppet "${PUPPET_PID_DIR}"
|
||||
checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR}
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading $RC_SVCNAME"
|
||||
start-stop-daemon --signal SIGHUP --pidfile "${pidfile}"
|
||||
eend $?
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
D /run/puppet 0755 puppet puppet -
|
||||
@@ -1,117 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_RUBY="ruby33 ruby34"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit ruby-fakegem systemd tmpfiles
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="https://voxpupuli.org/openvox/"
|
||||
SRC_URI="https://github.com/OpenVoxProject/openvox/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="augeas diff doc emacs hiera ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
hiera? ( dev-ruby/hiera )
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-4.4.1
|
||||
dev-ruby/deep_merge
|
||||
dev-ruby/concurrent-ruby
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet
|
||||
!app-admin/puppet
|
||||
!app-admin/puppet-agent"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# fix systemd path
|
||||
eapply -p0 "${FILESDIR}/puppet-systemd.patch"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" \
|
||||
# "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
newtmpfiles "${FILESDIR}/tmpfiles.d-2" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet.conf
|
||||
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
DIST pdk_3.0.1.3-1bullseye_amd64.deb 120361070 BLAKE2B 1d9b885aebe1960ead9c0fdc6ac8751016f6a7a2504e6c5c46bb4bf54a328c8982dedd9fefbb424564390738f284d4f2635a7e1c43e3be341d171254150fabd7 SHA512 a291824a229c61ddf559a5bb40202f1f57076d5626abf647d92d570c8075738baa4649bc414dcad948110089d5aad613377d81ab0deb38d78f259d2fcab2e8dc
|
||||
EBUILD pdk-3.0.1.3.ebuild 892 BLAKE2B 02cc743b36be5984499c31ce0dc4e6b7106da1c93192e678020cafee7e5981b62f88307e92cd0a62aad95f318931f6a2ebc5534ba17c3029177b8e657fc4d349 SHA512 59cef997abcff199ebbbf8c50435f338e01082aa92bfae4193996eba36911702c8f7ff8dcba0e7a7769ab21ecfdb418d73c30e191aea2105263b9a0986002eea
|
||||
@@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit unpacker
|
||||
|
||||
DEB_RELEASE="bullseye"
|
||||
|
||||
DESCRIPTION="Puppet SDK - develop and test puppet modules"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/${DEB_RELEASE}/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1${DEB_RELEASE}"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
RESTRICT="strip"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
RDEPEND="virtual/libcrypt:="
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/puppetlabs/pdk
|
||||
/opt/puppetlabs/pdk/lib/engines/*
|
||||
/opt/puppetlabs/pdk/lib/*
|
||||
/opt/puppetlabs/pdk/bin/*"
|
||||
|
||||
src_install() {
|
||||
# Drop the opt folder into place
|
||||
insinto /opt
|
||||
doins -r opt/*
|
||||
|
||||
# make binaries executable
|
||||
find "${D}/opt/puppetlabs/pdk/" -type d -name bin -exec chmod 0755 -R "{}" ";"
|
||||
|
||||
dosym ../../opt/puppetlabs/pdk/bin/pdk /usr/bin/pdk
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
AUX nextcloud-client-3.14.2-doc-fix.patch 1253 BLAKE2B 8e0c44c5fdb02fc6d815c70a3fb8a9b28fe7d68e2d8b3a5a297a26c194a8866c39222df740cb1ecd70d7f615f491dea5f229b5bf9bf5ec3f7995d2f20254e518 SHA512 b9efc5723eb2f52ba7fc90325696fada2ddc88b47d47df576cfc74750a97b55bad77acda274983530f43c503ded8e4d7cc444005dd62b699926f46fdb2bd87aa
|
||||
AUX nextcloud-client-3.15.2-netrc.patch 1769 BLAKE2B f1d0e790feead13940c62c20ec54414ff498b2abb1850af21f509476857b51111c2893db024c5af2b56711b5aa220d2179e8efbf6d24e0a28866113fabf9d7fd SHA512 fe738c200b610c7f881ffce0399ee5abc17fe284b95dcd78666961a50b9e4d67d0e9c57919c04a9b5b56005445bd41f581a355f59d7477131008d3c12f0d682d
|
||||
AUX nextcloud-client-3.6.6-no-redefine-fortify-source.patch 1447 BLAKE2B 14a3a1a1206a0a0027aa9c59e07b6d81174428aaaf90fba5706e9c7a2f076753a4b2f364ffa0f22dabf785d58832dde1aeba61e3cb3cc92feffa8b4b614c5d65 SHA512 808c10f8ea1905d54f62f895b2089c2acb602e838143f6a4268a5ab1e966ffe6ff01f132b8b65e0eebde21435a859cc7fb4f868a2ca81da4dcaa02292a337ed7
|
||||
DIST nextcloud-client-3.15.2-fix-macosvfs-file-sharing.png.patch 727 BLAKE2B 77d87c47caa28c0d60afdef161c05a365d953e31e7331fd4b07adfe232ddd04a6108ad325a25befe961862dccb118c251239b84cfb63f1c72c205df31055ad69 SHA512 d4d8928aa63b7e174c7fe8099d349a5779e8be1b1a71dfecfded9f971533ba677fc85013c53c7cafdc05e1aed81820c6ef3b5e7c3f6a5cae62fc284a2a9371db
|
||||
DIST nextcloud-client-3.15.2.tar.gz 15671238 BLAKE2B ea98587f4183d42d3e6ace54c0cd8b2208e7e21bfbb2385af84c8688b2d5464171f90e287302c5d6081b234b8cbec4e2b05635d1385a2980f133bba7127a6203 SHA512 982b74d57954440496f973781aa6a719d316b3651fecbb5da4d4b211dda0574094b2ba35f83c6afe2e67c7be095528e0cf8544e9214e8d9db445f1ab95c8c256
|
||||
EBUILD nextcloud-client-3.15.2-r1.ebuild 3205 BLAKE2B 8f42717f3f09eaf080f49082c39bc73064e085bf2a4fccb4c9d8fef7559b06698769736a4951b0ea162ba86b17d15378417e056104339f5ae57eb1abad3c505f SHA512 4aaa95ac4b9dd7f1715a962bb8d3f79a9f5f431550cd4f4d54c92d4722f518714034b6f15a9738e3624bc3620ab378c9001755215adcc971f02099a13719364a
|
||||
MISC metadata.xml 712 BLAKE2B 423b16fa8879b0bc21d8ff1c692e5e592f571b5d69dcdd35fe79dae08b770c0d5beb2cbf71af2e7410d1dfd6917d15bac0482a84a40ce602ab03ab0f59940355 SHA512 2cfeff27549192c2aaa9c64369545e75b3a056c123d7647c96505dd410490230027401961e95ef88c93b0485393bd54aa11ddc922bcaf2782f9e68a2d8d17b32
|
||||
@@ -1,35 +0,0 @@
|
||||
From 463b4e63046a907581d5f4899aaddfa0afd9120a Mon Sep 17 00:00:00 2001
|
||||
From: Florian Schmaus <flo@geekplace.eu>
|
||||
Date: Tue, 22 Oct 2024 12:18:31 +0200
|
||||
Subject: [PATCH] doc: delete section containing non-existing images
|
||||
|
||||
Those images where deleted in 6d3335bd60ba ("Update instructions to
|
||||
build on Windows.") and are no longer available. Hence, drop the
|
||||
whole section referencing them.
|
||||
|
||||
Fixes: 6d3335bd60ba1cb499985fc15e0b918fe8c404f4
|
||||
--- a/doc/building.rst
|
||||
+++ b/doc/building.rst
|
||||
@@ -215,19 +215,6 @@ System requirements
|
||||
- Microsoft Visual Studio 2022 and tools to compile C++
|
||||
- `KDE Craft <https://community.kde.org/Craft>`_
|
||||
|
||||
-Setting up Microsoft Visual Studio
|
||||
-----------------------------------
|
||||
-
|
||||
-1. Click on 'Modify' in the Visual Studio Installer:
|
||||
-
|
||||
- .. image:: ./images/building/visual-studio-installer.png
|
||||
- :alt: Visual Studio Installer
|
||||
-
|
||||
-2. Select 'Desktop development with C++'
|
||||
-
|
||||
- .. image:: ./images/building/desktop-development-with-cpp.png
|
||||
- :alt: Desktop development with C++
|
||||
-
|
||||
Handling the dependencies
|
||||
-------------------------
|
||||
We handle the dependencies using `KDE Craft <https://community.kde.org/Craft>`_ because it is easy to set it up and it makes the maintenance much more reliable in all platforms.
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
diff --git a/src/cmd/netrcparser.cpp b/src/cmd/netrcparser.cpp
|
||||
index 266fe4f..15417e1 100644
|
||||
--- a/src/cmd/netrcparser.cpp
|
||||
+++ b/src/cmd/netrcparser.cpp
|
||||
@@ -14,8 +14,7 @@
|
||||
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
-#include <QTextStream>
|
||||
-#include <QStringTokenizer>
|
||||
+#include <QRegularExpression>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
@@ -58,32 +57,33 @@ bool NetrcParser::parse()
|
||||
}
|
||||
QString content = netrc.readAll();
|
||||
|
||||
- auto tokenizer = QStringTokenizer{content, u" \n\t"};
|
||||
+ auto tokens = content.split(QRegularExpression("\\s+"));
|
||||
|
||||
LoginPair pair;
|
||||
QString machine;
|
||||
bool isDefault = false;
|
||||
- for(auto itToken = tokenizer.cbegin(); itToken != tokenizer.cend(); ++itToken) {
|
||||
- const auto key = *itToken;
|
||||
+ for(int i=0; i<tokens.count(); i++) {
|
||||
+ const auto key = tokens[i];
|
||||
if (key == defaultKeyword) {
|
||||
tryAddEntryAndClear(machine, pair, isDefault);
|
||||
isDefault = true;
|
||||
continue; // don't read a value
|
||||
}
|
||||
|
||||
- if (itToken != tokenizer.cend()) {
|
||||
+ i++;
|
||||
+ if (i > tokens.count()) {
|
||||
qDebug() << "error fetching value for" << key;
|
||||
return false;
|
||||
}
|
||||
- auto value = *(++itToken);
|
||||
+ auto value = tokens[i];
|
||||
|
||||
if (key == machineKeyword) {
|
||||
tryAddEntryAndClear(machine, pair, isDefault);
|
||||
- machine = value.toString();
|
||||
+ machine = value;
|
||||
} else if (key == loginKeyword) {
|
||||
- pair.first = value.toString();
|
||||
+ pair.first = value;
|
||||
} else if (key == passwordKeyword) {
|
||||
- pair.second = value.toString();
|
||||
+ pair.second = value;
|
||||
} // ignore unsupported tokens
|
||||
}
|
||||
tryAddEntryAndClear(machine, pair, isDefault);
|
||||
-31
@@ -1,31 +0,0 @@
|
||||
Gentoo's toolchain always sets F_S (level 2 at minimum) by default.
|
||||
|
||||
https://bugs.gentoo.org/890072
|
||||
--- a/cmake/modules/DefineCompilerFlags.cmake
|
||||
+++ b/cmake/modules/DefineCompilerFlags.cmake
|
||||
@@ -47,12 +47,6 @@ if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
|
||||
|
||||
if (CMAKE_BUILD_TYPE)
|
||||
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
|
||||
- if (CMAKE_BUILD_TYPE_LOWER MATCHES "(release|relwithdebinfo|minsizerel)" AND (NOT ${CMAKE_C_FLAGS} MATCHES "FORTIFY_SOURCE=[3-9]"))
|
||||
- check_c_compiler_flag("-Wp,-D_FORTIFY_SOURCE=2" WITH_FORTIFY_SOURCE)
|
||||
- if (WITH_FORTIFY_SOURCE)
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wp,-D_FORTIFY_SOURCE=2")
|
||||
- endif (WITH_FORTIFY_SOURCE)
|
||||
- endif()
|
||||
endif()
|
||||
endif (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
|
||||
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -31,10 +31,6 @@ if(NOT MSVC)
|
||||
endif()
|
||||
|
||||
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
|
||||
- if(CMAKE_BUILD_TYPE_LOWER MATCHES "(release|relwithdebinfo|minsizerel)" AND ((NOT ${CMAKE_C_FLAGS} MATCHES "FORTIFY_SOURCE=[3-9]") AND (NOT ${CMAKE_CXX_FLAGS} MATCHES "FORTIFY_SOURCE=[3-9]")))
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2")
|
||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORTIFY_SOURCE=2")
|
||||
- endif()
|
||||
|
||||
if (CMAKE_CXX_COMPILER MATCHES "Clang")
|
||||
# Calling Qt's qCWarning(category, ...) with no params for "..." is a GNU
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>voyageur@gentoo.org</email>
|
||||
<name>Bernard Cafarelli</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<name>Florian Schmaus</name>
|
||||
<email>flow@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="dolphin">Install the <pkg>kde-apps/dolphin</pkg> extension</flag>
|
||||
<flag name="nautilus">Install the <pkg>gnome-base/nautilus</pkg> extension</flag>
|
||||
<flag name="webengine">Enable old Flow1 login using <pkg>dev-qt/qtwebengine</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">nextcloud/desktop</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake virtualx xdg
|
||||
|
||||
DESCRIPTION="Desktop Syncing Client for Nextcloud"
|
||||
HOMEPAGE="https://github.com/nextcloud/desktop"
|
||||
SRC_URI="
|
||||
https://github.com/nextcloud/desktop/archive/v${PV/_/-}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
https://github.com/nextcloud/desktop/commit/49a7c8d7874643da2550793877115c7f3dbd2d05.patch
|
||||
-> ${PN}-3.15.2-fix-macosvfs-file-sharing.png.patch
|
||||
"
|
||||
S="${WORKDIR}/desktop-${PV/_/-}"
|
||||
|
||||
LICENSE="CC-BY-3.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="doc dolphin nautilus test webengine"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.34:3
|
||||
dev-libs/glib:2
|
||||
>=dev-libs/openssl-1.1.0:0=
|
||||
>=dev-libs/qtkeychain-0.14.2:=[qt6(+)]
|
||||
dev-qt/qt5compat:6
|
||||
>=dev-qt/qtbase-6.6.0:6[dbus,gui,network,sql,sqlite,widgets]
|
||||
dev-qt/qtdeclarative:6[widgets]
|
||||
dev-qt/qtsvg:6
|
||||
dev-qt/qtwebsockets:6
|
||||
kde-frameworks/karchive:6
|
||||
kde-frameworks/kguiaddons:6
|
||||
net-libs/libcloudproviders
|
||||
sys-libs/zlib
|
||||
dolphin? (
|
||||
kde-frameworks/kcoreaddons:6
|
||||
kde-frameworks/kio:6
|
||||
)
|
||||
nautilus? ( dev-python/nautilus-python )
|
||||
webengine? ( dev-qt/qtwebengine:6[widgets] )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/qtbase:6[concurrent,xml]
|
||||
|| (
|
||||
gnome-base/librsvg
|
||||
media-gfx/inkscape
|
||||
)
|
||||
doc? (
|
||||
dev-python/sphinx
|
||||
dev-tex/latexmk
|
||||
dev-texlive/texlive-latexextra
|
||||
virtual/latex-base
|
||||
)
|
||||
test? (
|
||||
dev-util/cmocka
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
dolphin? ( >=kde-frameworks/extra-cmake-modules-5.106.0 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.6.6-no-redefine-fortify-source.patch
|
||||
# https://github.com/nextcloud/desktop/pull/7383
|
||||
"${FILESDIR}"/${PN}-3.14.2-doc-fix.patch
|
||||
# https://github.com/nextcloud/desktop/pull/7691
|
||||
"${DISTDIR}"/${PN}-3.15.2-fix-macosvfs-file-sharing.png.patch
|
||||
# https://github.com/nextcloud/desktop/pull/7698
|
||||
"${FILESDIR}"/${PN}-3.15.2-netrc.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Keep tests in ${T}
|
||||
sed -i -e "s#\"/tmp#\"${T}#g" test/test*.cpp || die
|
||||
# The image under images/building/path.png does no longer
|
||||
# exist. This is already fixed upstream and can be dropped on the
|
||||
# next bump
|
||||
sed -i '/images\/building\/path.png/d' doc/building.rst || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF}
|
||||
-DBUILD_UPDATER=OFF
|
||||
$(cmake_use_find_package doc Sphinx)
|
||||
$(cmake_use_find_package doc PdfLatex)
|
||||
-DBUILD_WITH_WEBENGINE=$(usex webengine)
|
||||
-DBUILD_SHELL_INTEGRATION_DOLPHIN=$(usex dolphin)
|
||||
-DBUILD_SHELL_INTEGRATION_NAUTILUS=$(usex nautilus)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
TEST_VERBOSE=1 virtx cmake_src_test
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local compile_targets=(all)
|
||||
if use doc; then
|
||||
compile_targets+=(doc doc-man)
|
||||
fi
|
||||
cmake_src_compile ${compile_targets[@]}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if ! has_version -r "dev-libs/qtkeychain[keyring]"; then
|
||||
elog "dev-libs/qtkeychain has not been build with the 'keyring' USE flag."
|
||||
elog "Please consider enabling the 'keyring' USE flag. Otherwise you may"
|
||||
elog "have to authenticate manually every time you start the nextlcoud client."
|
||||
elog "See https://bugs.gentoo.org/912844 for more information."
|
||||
fi
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
~app-admin/openvox-8.25.0 ~arm64
|
||||
~dev-ruby/semantic_puppet-1.1.1 ~arm64
|
||||
~dev-ruby/facter-4.10.0 ~arm64
|
||||
~dev-ruby/deep_merge-1.2.2 ~arm64
|
||||
~dev-ruby/hocon-1.4.0 ~arm64
|
||||
~dev-ruby/sys-filesystem-1.5.3 ~arm64
|
||||
app-admin/openvox **
|
||||
dev-ruby/openfact
|
||||
dev-ruby/scanf
|
||||
dev-ruby/semantic_puppet
|
||||
dev-ruby/deep_merge
|
||||
dev-ruby/hocon
|
||||
dev-ruby/sys-filesystem
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
app-admin/openvox
|
||||
dev-ruby/openfact
|
||||
dev-ruby/scanf
|
||||
@@ -1,9 +0,0 @@
|
||||
AUX jellyfin.confd 620 BLAKE2B 6e34eee798741ca3057f1f2163a4281f96cf1c0063ccfddb72d34a1d8f079e6b4a8c20e26d9c281a885a0810cddfef276c60382f3a2095aa27c469a7da321023 SHA512 ac70b53422fda386a3b6a871055b38b98c2c0b17dfd15973d9e0f8822cb3bd843cbc52dc3407c76231f8b58846b0a7618c8ecb427b2dc6dc49264ea99471784d
|
||||
AUX jellyfin.init-r1 864 BLAKE2B 6e63339c0018b2db6a9661836c1665ff932738ee3509a0b3f39ebd1f344d3c9c69d3a824832fc21dc7c825c7fd3efc462b6270be27300b843d533dfe6785d982 SHA512 f221aa9806c37d8f3214c7305bc4589487f462c07058a71fbf0129a1e6ea0544956c752108cfc34d8e89494e91e1313fc5a96c75f194575284f65591fe324d00
|
||||
AUX jellyfin.service 859 BLAKE2B 2eba62033723ca123b3078d4b760d8e8f5bb1cb3316c3cbec541b8b74279115969bff1dea7f40bc32973c2d6bad1e8b40c40caa96fc5154005becd5221a6a7a8 SHA512 4c63747afc63796d58d2e2679f3316a2fcd464240c8897aafc708815c866f067fa075350270151ce76f3166f2c61f3da43e7106d1d91a518fe43d45b163ada65
|
||||
DIST jellyfin_10.11.0-amd64-musl.tar.xz 85862604 BLAKE2B 176301918816ca9b05e4fb758b00d6ca0ce193f95f6ca772118c75c64a8105c026d6514c6f4a8fa68f0a51a646c3162780aef5dffc399c49c1807d18e1876b09 SHA512 927677ddb7b8bdb9684fc52853615b52d423a878175c6958d8be288c2c1bf022ba6db8898cb16a5a246f5a8304d6b268194a841288766392af63403cdd6e740a
|
||||
DIST jellyfin_10.11.0-amd64.tar.xz 85772524 BLAKE2B 467ff024f636a232a3ba0a67bb4994025964dd0c8a654078b818eb239b4818b42dbfe28ff67aede0e7b1687a8fbd798da3d740ae69015c17c151a4baf91af71a SHA512 a979fa1a51b367cf667c1531a0af5da11e448466ab3d82a8b0b6a0488c496dd79f8001701f3809742a24a98bc011d41c7e27865813f9d1db23d1b1331efd956e
|
||||
DIST jellyfin_10.11.0-arm64-musl.tar.xz 81416376 BLAKE2B 77ec9c6cf4d9b64f78bb6383c6e0bbdaaf2da576d1f61b309991370bd2f6ff78be864adbfa9e51081b92667ab13b0187bb442f31db651d0636f9992c24c54da9 SHA512 391126529848066e3fbd6b7c29bd0dd07b772b1b7d6e1ecd885d7eb26e14b10953f8c23b67e28c343750668df60cdb354b598a15dc2dab1f7390881e7cc330be
|
||||
DIST jellyfin_10.11.0-arm64.tar.xz 81374520 BLAKE2B 51e05339198d5a7695c8bcea4b62a55f1402d9abd20f19c6c64ec511f2cdd52d8ee0ee0eaa41bbe0a805f5b1e6d5288b557a7e498b65c6604ea1af766244fb2e SHA512 5853b81df338a943863fc43e200fe7cae2bfe96dc23fb635b0a1de4fe543f8b8e79cd425ed82bd6d37900c5b07ef5b4382aaec1e6067af1d61152d54c2dc4596
|
||||
EBUILD jellyfin-bin-10.11.0.ebuild 3178 BLAKE2B f3777493c75a755139a29b16701fa5fc3efa14b0cddeabf7919781384f0299be0d41753ee8ee2acf509dd3769e1f4baf27e000256b9027e04b01fc791d532929 SHA512 730b694df6c5c58b2dedfbfa59b039bfea0f85116b06cf8be36c5ca7734987314ca943538b6eaeb7f936c8af879e436ab9d1879985bb2486bbb6c50a2a068524
|
||||
MISC metadata.xml 649 BLAKE2B 29ce34c89c1300d32c3ff30990ec92e49cfab21d74340d1cd6893650ffda87920348ac5feda5ee68feff3e8adbd8cd6e58548d73879025a206dc82756a99c383 SHA512 d8a36b27ee99f29cf9dfea5cc4a9735732bb11cc5931adb4bfe1d1942378d2477f63417b6a2a694e9691c217d20c5ce84bc8d46af5155c46b99b850c0f561315
|
||||
@@ -1,15 +0,0 @@
|
||||
# This is the directory that will hold all Jellyfin data, and is also used as a default base directory for some other paths below.
|
||||
#JELLYFIN_DATA_DIR=/var/lib/jellyfin
|
||||
|
||||
# This is the directory where the Jellyfin logs will be stored.
|
||||
#JELLYFIN_LOG_DIR=/var/log/jellyfin
|
||||
|
||||
# This is the directory containing the server cache.
|
||||
#JELLYFIN_CACHE_DIR=/var/cache/jellyfin
|
||||
|
||||
# This is the directory containing the server configuration files.
|
||||
#JELLYFIN_CONFIG_DIR=/etc/jellyfin
|
||||
|
||||
# To configure Jellyfin to use a proxy, set http_proxy and/or https_proxy
|
||||
# export http_proxy=192.168.33.10:3128
|
||||
# export https_proxy=192.168.33.10:3129
|
||||
@@ -1,24 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
: ${JELLYFIN_CACHE_DIR:=/var/cache/jellyfin}
|
||||
: ${JELLYFIN_LOG_DIR:=/var/log/jellyfin}
|
||||
: ${JELLYFIN_DATA_DIR:=/var/lib/jellyfin}
|
||||
: ${JELLYFIN_CONFIG_DIR:=/etc/jellyfin}
|
||||
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
command="/opt/jellyfin/jellyfin"
|
||||
command_args="--logdir ${JELLYFIN_LOG_DIR} --cachedir ${JELLYFIN_CACHE_DIR} --configdir ${JELLYFIN_CONFIG_DIR} --datadir ${JELLYFIN_DATA_DIR}"
|
||||
command_user="${RC_SVCNAME}:${RC_SVCNAME}"
|
||||
command_background=true
|
||||
|
||||
start_pre() {
|
||||
# Ensure that our dirs are correct
|
||||
checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
|
||||
${JELLYFIN_LOG_DIR}
|
||||
checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
|
||||
${JELLYFIN_CACHE_DIR}
|
||||
checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
|
||||
${JELLYFIN_CONFIG_DIR}
|
||||
checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
|
||||
${JELLYFIN_DATA_DIR}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
[Unit]
|
||||
Description = Jellyfin Media Server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
User=jellyfin
|
||||
Group=jellyfin
|
||||
|
||||
Type=simple
|
||||
StateDirectory=jellyfin
|
||||
CacheDirectory=jellyfin
|
||||
LogsDirectory=jellyfin
|
||||
ConfigurationDirectory=jellyfin
|
||||
ExecStart=/opt/jellyfin/jellyfin --logdir "$LOGS_DIRECTORY" --cachedir "$CACHE_DIRECTORY" --configdir "$CONFIGURATION_DIRECTORY" --datadir "$STATE_DIRECTORY"
|
||||
TimeoutStopSec=20
|
||||
KillMode=process
|
||||
Restart=always
|
||||
|
||||
PrivateTmp=yes
|
||||
PrivateMounts=yes
|
||||
ProtectHome=yes
|
||||
ProtectSystem=full
|
||||
NoNewPrivileges=yes
|
||||
ProtectHostname=yes
|
||||
ProtectClock=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectKernelModules=yes
|
||||
ProtectKernelLogs=yes
|
||||
ProtectControlGroups=yes
|
||||
RemoveIPC=true
|
||||
RestrictRealtime=yes
|
||||
DeviceAllow=char-drm rw
|
||||
DeviceAllow=char-nvidia-frontend rw
|
||||
DeviceAllow=char-nvidia-uvm rw
|
||||
DeviceAllow=char-nvidia rw
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -1,104 +0,0 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit pax-utils systemd tmpfiles eapi9-ver
|
||||
|
||||
DESCRIPTION="Jellyfin puts you in control of managing and streaming your media"
|
||||
HOMEPAGE="https://jellyfin.org/
|
||||
https://github.com/jellyfin/jellyfin/"
|
||||
MY_PV="${PV//_rc/-rc}"
|
||||
MINOR_VER=$(ver_cut 1-2)
|
||||
if [[ ${PV} == *rc* ]]; then
|
||||
MY_TYPE="preview"
|
||||
else
|
||||
MY_TYPE="stable"
|
||||
KEYWORDS="-* ~amd64 ~arm64"
|
||||
fi
|
||||
SRC_URI="
|
||||
arm64? (
|
||||
elibc_glibc? (
|
||||
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/arm64/jellyfin_${MY_PV}-arm64.tar.xz
|
||||
)
|
||||
elibc_musl? (
|
||||
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/arm64-musl/jellyfin_${MY_PV}-arm64-musl.tar.xz
|
||||
)
|
||||
)
|
||||
amd64? (
|
||||
elibc_glibc? (
|
||||
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/amd64/jellyfin_${MY_PV}-amd64.tar.xz
|
||||
)
|
||||
elibc_musl? (
|
||||
https://repo.jellyfin.org/files/server/linux/${MY_TYPE}/v${MY_PV}/amd64-musl/jellyfin_${MY_PV}-amd64-musl.tar.xz
|
||||
)
|
||||
)"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
RESTRICT="mirror test"
|
||||
|
||||
DEPEND="acct-user/jellyfin
|
||||
media-libs/fontconfig
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/icu
|
||||
media-video/ffmpeg[vpx,x264]"
|
||||
BDEPEND="acct-user/jellyfin"
|
||||
|
||||
INST_DIR="/opt/jellyfin"
|
||||
QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/*.so.* ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv jellyfin ${P} || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/jellyfin/jellyfin/issues/7471
|
||||
# https://github.com/dotnet/runtime/issues/57784
|
||||
rm libcoreclrtraceptprovider.so || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/jellyfin
|
||||
fowners jellyfin:jellyfin /var/log/jellyfin
|
||||
keepdir /etc/jellyfin
|
||||
fowners jellyfin:jellyfin /etc/jellyfin
|
||||
insinto ${INST_DIR}
|
||||
dodir ${INST_DIR}
|
||||
doins -r "${S}"/*
|
||||
newtmpfiles - jellyfin.conf <<<"d /var/cache/jellyfin 0775 jellyfin jellyfin -"
|
||||
chmod 755 "${D}${INST_DIR}/jellyfin"
|
||||
newinitd "${FILESDIR}/jellyfin.init-r1" "jellyfin"
|
||||
newconfd "${FILESDIR}"/jellyfin.confd "jellyfin"
|
||||
systemd_dounit "${FILESDIR}/jellyfin.service"
|
||||
pax-mark -m "${ED}${INST_DIR}/jellyfin"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if ver_replacing -gt $MINOR_VER.99; then
|
||||
eerror "Downgrading jellyfin from one minor version to a previous one is not supported."
|
||||
eerror "If you wish to downgrade you must uninstall jellyfin-bin, restore the database"
|
||||
eerror "from a backup and then reinstall jellyfin-bin."
|
||||
die "Downgrade path not supported"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process jellyfin.conf
|
||||
|
||||
if ver_replacing -lt $MINOR_VER; then
|
||||
ewarn "Jellyfin usually makes backward incompatible database changes in new minor"
|
||||
ewarn "releases. At first startup after an upgrade jellyfin will start a database"
|
||||
ewarn "migration. This may take a long time but must not be aborted or the database"
|
||||
ewarn "could be left in an inconsistant state and must be recreated or restored from"
|
||||
ewarn "backup. Once the migration has started it is no longer possible to downgrade"
|
||||
ewarn "jellyfin without restoring the database from a backup."
|
||||
ewarn ""
|
||||
ewarn "The migration progress can be followed in the startup UI in the web browser"
|
||||
ewarn "or in the jellyfin logs."
|
||||
fi
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>gentoo@wb9.se</email>
|
||||
<name>Fredrik Eriksson</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>candrews@gentoo.org</email>
|
||||
<name>Craig Andrews</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">jellyfin/jellyfin</remote-id>
|
||||
<bugs-to>https://github.com/jellyfin/jellyfin/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user