parent
933e976a23
commit
4fbd627793
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Graylog program group"
|
||||
ACCT_GROUP_ID=478
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chainsaw@gentoo.org</email>
|
||||
<name>Tony Vroon</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,10 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="A group for the OpenRCT2 dedicated server"
|
||||
|
||||
ACCT_GROUP_ID="479"
|
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Graylog program user"
|
||||
ACCT_USER_ID=478
|
||||
ACCT_USER_GROUPS=( graylog )
|
||||
acct-user_add_deps
|
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chainsaw@gentoo.org</email>
|
||||
<name>Tony Vroon</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>conikost@gentoo.org</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="A user for the OpenRCT2 dedicated server"
|
||||
|
||||
ACCT_USER_GROUPS=( "openrct2" )
|
||||
ACCT_USER_ID="479"
|
||||
|
||||
acct-user_add_deps
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST graylog-2.4.6.tgz 122985232 BLAKE2B 3a409a08f27c3abf1eadca57c4e8c9afc334655e050c0db9bad9d16e03acab6d92bfced708486ad8383987842d9b0a5ddc54e28d29fc426761fcb0ab8c65844c SHA512 e1941f4740f43c5b92b5faa7cde06fb15294acfed5f0f56cb21a7ceffb8616382b68b67d049a2982c68833d706e57b77f365665f12193d053a2ac0996801bcbe
|
||||
DIST graylog-2.5.1.tgz 123878927 BLAKE2B d168579be4d20e3a8081d608247e7101fc5d99ddd2b5f063f94d7e91d4095c6bd016a4bc1be0f0e08b5043b771070312286404ece5eacc51e4a8730dfc13dab1 SHA512 44e2ca00e47a34708cea94b74fdc0f56f3a381f161d25633bdf7685fbcd989937163508f8b47b0869c7daacec6c8bd2c874f9381e196ffb3194eb6e3f96b3ce9
|
||||
DIST graylog-3.1.3.tgz 120983897 BLAKE2B 68e1dd7b8de7ab9fb12fd2035bcf6f0901d8d9f5083ff8efef09736819ccd70ae4dd6f466cf2fa1eaebb24b4098a26d72524f9b9a47e8dd62d0224bad189bb62 SHA512 8eec2339db474b89fc717e693ec23ca32d9a018f9bb924aab895d1a1f4e90afa9fe9547e432d13b9d0bf5831f8772763f19de41ac66f3e09ebf7e96ebd6cbccf
|
@ -0,0 +1,12 @@
|
||||
GRAYLOG_CONFIG_FILE="/etc/graylog/graylog.conf"
|
||||
GRAYLOG_DATA_DIR="/var/lib/graylog"
|
||||
GRAYLOG_GROUP="graylog"
|
||||
GRAYLOG_INSTALL_DIR="/usr/share/graylog"
|
||||
GRAYLOG_LOG_DIR="/var/log/graylog"
|
||||
GRAYLOG_OPTIONS=""
|
||||
GRAYLOG_USER="graylog"
|
||||
|
||||
JAVA_OPTS="-Djava.library.path=$GRAYLOG_INSTALL_DIR/lib/sigar -Xms1g -Xmx1g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow"
|
||||
|
||||
# Please adjust according to your bind address
|
||||
rc_need="net.lo"
|
@ -0,0 +1,30 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/usr/bin/java"
|
||||
command_args="${JAVA_OPTS} -jar ${GRAYLOG_INSTALL_DIR}/graylog.jar server -f ${GRAYLOG_CONFIG_FILE} --no-pid-file ${GRAYLOG_OPTIONS}"
|
||||
command_background="true"
|
||||
command_user="${GRAYLOG_USER}:${GRAYLOG_GROUP}"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
output_log="${GRAYLOG_LOG_DIR}/graylog.stdout.log"
|
||||
error_log="${GRAYLOG_LOG_DIR}/graylog.stderr.log"
|
||||
directory="${GRAYLOG_INSTALL_DIR}"
|
||||
required_files="${GRAYLOG_CONFIG_FILE}"
|
||||
|
||||
depend() {
|
||||
use dns
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
local d
|
||||
for d in \
|
||||
"${GRAYLOG_DATA_DIR}" \
|
||||
"${GRAYLOG_DATA_DIR}/data" \
|
||||
"${GRAYLOG_DATA_DIR}/data/journal" \
|
||||
"${GRAYLOG_LOG_DIR}"; do
|
||||
|
||||
checkpath -d -o "${GRAYLOG_USER}":"${GRAYLOG_GROUP}" -m750 "${d}"
|
||||
done
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>chainsaw@gentoo.org</email>
|
||||
<name>Tony Vroon</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>hydrapolic@gmail.com</email>
|
||||
<name>Tomáš Mózes</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">graylog2/graylog2-server</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,4 +1,4 @@
|
||||
DIST sysklogd-1.5.1.tar.gz 90011 BLAKE2B c40bd8d5769f7d3d4141d602c74ac41e05a140743d18c4923d9368da7ba193ccb89a6837173994f0b7a9c290cc23f64513040434d7ab8df81b5d09b73b0263ad SHA512 a72196a1a172d25be1c4791ef6256fe71fa2ba8c1383d230e646e93f8a65c3a57c535189726325da4c792fdb2e9cb119bba43c878816a8e78e78189fd32b12b7
|
||||
DIST sysklogd-2.0.1.tar.gz 461158 BLAKE2B 2c56ea1b5edb11f6ce75cb34d7cb5778516fbf3cb64986a7dd6063f830e9e8040430a0deb0ac68aeb389435319ede89202b2aa31cb480fe9bd9518ad503ca6ee SHA512 24d82a2db8d7d8fbdf291964d3d42717cf3b62129d1d503986b17a8005ca414eb824c39ed787d73bac966dad5a7cc9b439efce58e218aebed72b765e07134a83
|
||||
DIST sysklogd-2.0.2.tar.gz 465933 BLAKE2B bc0181e43ca5996cfbf8a8a35d083f332e15f5c83215ec60b406cefc7817bb742d0ce094d6c0d9fe708d345db630a73ce408992d9aade18e5b69414ca4e2b2a6 SHA512 1e5e30162b1091c37801542ae44df3e5d1da09ead02dd74f81e1e35ebb2fea99bab372f00eca621340ca306a41629ccdfb3caa0d46db0fecf46e3030da932473
|
||||
DIST sysklogd-2.0.3.tar.gz 466919 BLAKE2B d9ada06dadb5a43ca7102cb24eaffa0494af2743f4714bab7d362cf480835ea9c3fc51ee171e4eb3b90380d63abe78c759bdfc5d946ec4d5bf8fce748cd916b9 SHA512 95ed0465e37b438d624b0a78d74c1194c57d117890492b5773c9ccefa7aa2c1f54ed510e54a29019fb2d7274200370031fe822a9316c154e64a2a01cb912d7a8
|
||||
DIST sysklogd_1.5-6.diff.gz 25677 BLAKE2B 3cb1f596490998b6002d4656a2321a500ce9941a37737c0b9d4702bbb87d7bc9ba21b68e06d175e3c1714a701adc6b3312e18a556ebc9ef395d8968762830cb5 SHA512 816961a835a43057569f62fd20d9f7b5e0bfcfcb173b68947457708504db3ce47e635956c8a9564f9bd577d8f3c49dfc725d321dfd3370b2de918363c30f838e
|
||||
|
@ -0,0 +1,82 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
need clock hostname
|
||||
provide logger
|
||||
}
|
||||
|
||||
has_klogd() {
|
||||
[ -x "/usr/sbin/klogd" ]
|
||||
}
|
||||
|
||||
start_daemon() {
|
||||
local retval=0
|
||||
local daemon="$1"
|
||||
local options="$2"
|
||||
local fg_opt=""
|
||||
|
||||
ebegin "sysklogd -> start: ${daemon}"
|
||||
start-stop-daemon --start --exec /usr/sbin/"${daemon}" \
|
||||
-b -m --pidfile /var/run/"${daemon}".pid \
|
||||
-- -F ${options}
|
||||
retval=$?
|
||||
eend ${retval} "Failed to start ${daemon}"
|
||||
|
||||
return ${retval}
|
||||
}
|
||||
|
||||
stop_daemon() {
|
||||
local retval=0
|
||||
local daemon="$1"
|
||||
|
||||
[ -z "${daemon}" ] && return 1
|
||||
|
||||
ebegin "sysklogd -> stop: ${daemon}"
|
||||
# syslogd can be stubborn some times (--retry 15)...
|
||||
start-stop-daemon --stop --retry 15 --quiet --pidfile /var/run/"${daemon}".pid
|
||||
retval=$?
|
||||
eend ${retval} "Failed to stop ${daemon}"
|
||||
|
||||
return ${retval}
|
||||
}
|
||||
|
||||
start() {
|
||||
start_daemon "syslogd" "${SYSLOGD}" || return 1
|
||||
|
||||
# klogd do not always start proper if started too early
|
||||
sleep 1
|
||||
|
||||
if has_klogd && ! start_daemon "klogd" "${KLOGD}" ; then
|
||||
stop_daemon "syslogd"
|
||||
return 1
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
stop() {
|
||||
if has_klogd ; then
|
||||
stop_daemon "klogd" || return 1
|
||||
fi
|
||||
stop_daemon "syslogd" || return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
reload() {
|
||||
local ret=0
|
||||
|
||||
ebegin "Reloading configuration"
|
||||
|
||||
start-stop-daemon --signal HUP --pidfile /var/run/syslogd.pid
|
||||
ret=$((${ret} + $?))
|
||||
if has_klogd ; then
|
||||
start-stop-daemon --signal USR1 --pidfile /var/run/klogd.pid
|
||||
ret=$((${ret} + $?))
|
||||
fi
|
||||
|
||||
eend ${ret}
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tar-1.32.90.tar.xz 2145976 BLAKE2B 95f1442da87bcbd58e0a6aad303b8c9da9179cc32a6e835d3fbe2e090ad4316e96265a54f573906b262034b92d8d3e56f3ff2609145249bd16dd4ea2a79bb601 SHA512 a42703b73ec3c1f462849469f00dd190a0164972fd2e97f128c3b559a6e9c79e87d5bbf47fca17ca9f8b6810221fbc727b6c15e38693256d9e43a2c2a2d7b593
|
||||
DIST tar-1.32.tar.bz2 2947264 BLAKE2B 4e380a9a2f84a2af5130464e1b298ae6acf02ee459cbca20dd0991c2859785e5aac789d57b87b32e8b45d89985b6414af9dd37161385da9568d6030c5aa42c0e SHA512 3139e87112123269ee0600243b3ea081687cc93667bef5832bfe3c785c1be622f520f00fcfbdf44ad1d3247866d0ecfe347a85bbfec38eb38fa1014baef566f6
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Use this to make tarballs :)"
|
||||
HOMEPAGE="https://www.gnu.org/software/tar/"
|
||||
SRC_URI="mirror://gnu/tar/${P}.tar.xz
|
||||
mirror://gnu-alpha/tar/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
[[ -n "$(ver_cut 3)" ]] && [[ "$(ver_cut 3)" -ge 90 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="acl elibc_glibc minimal nls selinux static userland_GNU xattr"
|
||||
|
||||
LIB_DEPEND="acl? ( virtual/acl[static-libs(+)] )"
|
||||
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.10.35 )
|
||||
static? ( ${LIB_DEPEND} )
|
||||
xattr? ( elibc_glibc? ( sys-apps/attr ) )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use userland_GNU ; then
|
||||
sed -i \
|
||||
-e 's:/backup\.sh:/gbackup.sh:' \
|
||||
scripts/{backup,dump-remind,restore}.in \
|
||||
|| die "sed non-GNU"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
local myeconfargs=(
|
||||
--bindir="${EPREFIX}"/bin
|
||||
--enable-backup-scripts
|
||||
--libexecdir="${EPREFIX}"/usr/sbin
|
||||
$(usex userland_GNU "" "--program-prefix=g")
|
||||
$(use_with acl posix-acls)
|
||||
$(use_enable nls)
|
||||
$(use_with selinux)
|
||||
$(use_with xattr xattrs)
|
||||
)
|
||||
FORCE_UNSAFE_CONFIGURE=1 econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
local p=$(usex userland_GNU "" "g")
|
||||
if [[ -z ${p} ]] ; then
|
||||
# a nasty yet required piece of baggage
|
||||
exeinto /etc
|
||||
doexe "${FILESDIR}"/rmt
|
||||
fi
|
||||
|
||||
# autoconf looks for gtar before tar (in configure scripts), hence
|
||||
# in Prefix it is important that it is there, otherwise, a gtar from
|
||||
# the host system (FreeBSD, Solaris, Darwin) will be found instead
|
||||
# of the Prefix provided (GNU) tar
|
||||
if use prefix ; then
|
||||
dosym tar /bin/gtar
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/sbin/${p}backup{,-tar} || die
|
||||
mv "${ED}"/usr/sbin/${p}restore{,-tar} || die
|
||||
|
||||
if use minimal ; then
|
||||
find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \
|
||||
-type f -a '!' '(' -name tar -o -name ${p}tar ')' \
|
||||
-delete || die
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CRATES="
|
||||
aho-corasick-0.6.10
|
||||
backtrace-0.3.35
|
||||
backtrace-sys-0.1.31
|
||||
base64-0.9.3
|
||||
bitflags-0.5.0
|
||||
bitflags-1.2.1
|
||||
byteorder-1.2.1
|
||||
bytes-0.4.12
|
||||
c2-chacha-0.2.2
|
||||
cc-1.0.45
|
||||
cfg-if-0.1.10
|
||||
clap-2.33.0
|
||||
cpuid-0.1.0
|
||||
device_tree-1.1.0
|
||||
epoll-4.0.1
|
||||
fuchsia-zircon-0.3.3
|
||||
fuchsia-zircon-sys-0.3.3
|
||||
futures-0.1.18
|
||||
futures-cpupool-0.1.8
|
||||
getrandom-0.1.12
|
||||
glob-0.2.11
|
||||
httparse-1.3.4
|
||||
hyper-0.11.16
|
||||
iovec-0.1.4
|
||||
ipnetwork-0.14.0
|
||||
itoa-0.4.4
|
||||
kernel-0.1.0
|
||||
kernel32-sys-0.2.2
|
||||
kvm-bindings-0.1.1
|
||||
kvm-ioctls-0.2.0
|
||||
language-tags-0.2.2
|
||||
lazy_static-1.4.0
|
||||
libc-0.2.62
|
||||
log-0.3.9
|
||||
log-0.4.8
|
||||
logger-0.1.0
|
||||
memchr-2.2.1
|
||||
mime-0.3.14
|
||||
mio-0.6.19
|
||||
mio-uds-0.6.7
|
||||
miow-0.2.1
|
||||
net2-0.2.33
|
||||
num_cpus-1.10.1
|
||||
percent-encoding-1.0.1
|
||||
pnet-0.22.0
|
||||
pnet_base-0.22.0
|
||||
pnet_datalink-0.22.0
|
||||
pnet_macros-0.22.0
|
||||
pnet_macros_support-0.22.0
|
||||
pnet_packet-0.22.0
|
||||
pnet_sys-0.22.0
|
||||
pnet_transport-0.22.0
|
||||
ppv-lite86-0.2.5
|
||||
proc-macro2-1.0.5
|
||||
quote-1.0.2
|
||||
rand-0.7.2
|
||||
rand_chacha-0.2.1
|
||||
rand_core-0.5.1
|
||||
rand_hc-0.2.0
|
||||
redox_syscall-0.1.56
|
||||
regex-1.0.6
|
||||
regex-syntax-0.6.12
|
||||
relay-0.1.1
|
||||
remove_dir_all-0.5.2
|
||||
rustc-demangle-0.1.16
|
||||
rustc-serialize-0.3.24
|
||||
ryu-1.0.1
|
||||
safemem-0.3.2
|
||||
scoped-tls-0.1.2
|
||||
seccomp-0.1.0
|
||||
serde-1.0.101
|
||||
serde_derive-1.0.101
|
||||
serde_json-1.0.41
|
||||
slab-0.4.2
|
||||
syn-1.0.5
|
||||
syntex-0.42.2
|
||||
syntex_errors-0.42.0
|
||||
syntex_pos-0.42.0
|
||||
syntex_syntax-0.42.0
|
||||
sys_util-0.1.0
|
||||
tempfile-3.1.0
|
||||
term-0.4.6
|
||||
textwrap-0.11.0
|
||||
thread_local-0.3.6
|
||||
time-0.1.42
|
||||
timerfd-1.0.0
|
||||
tokio-core-0.1.12
|
||||
tokio-io-0.1.5
|
||||
tokio-service-0.1.0
|
||||
tokio-uds-0.1.7
|
||||
unicase-2.5.1
|
||||
unicode-width-0.1.6
|
||||
unicode-xid-0.0.3
|
||||
unicode-xid-0.2.0
|
||||
utf8-ranges-1.0.4
|
||||
version_check-0.1.5
|
||||
wasi-0.7.0
|
||||
winapi-0.2.8
|
||||
winapi-0.3.8
|
||||
winapi-build-0.1.1
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
ws2_32-sys-0.2.1"
|
||||
|
||||
inherit cargo linux-info toolchain-funcs
|
||||
|
||||
DESCRIPTION="Secure and fast microVMs for serverless computing"
|
||||
HOMEPAGE="https://firecracker-microvm.github.io https://github.com/firecracker-microvm/firecracker"
|
||||
SRC_URI="https://github.com/firecracker-microvm/firecracker/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris ${CRATES})"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="acct-group/kvm"
|
||||
|
||||
set_target_arch() {
|
||||
case "$(tc-arch)" in
|
||||
amd64) target_arch=x86_64 ;;
|
||||
x86) target_arch=i686 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK+=" ~KVM_AMD" || \
|
||||
CONFIG_CHECK+=" ~KVM_INTEL"
|
||||
ERROR_KVM="${P} requires KVM in-kernel support."
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local target_arch
|
||||
set_target_arch
|
||||
cargo_src_compile --target ${target_arch}-unknown-linux-gnu
|
||||
}
|
@ -1 +1 @@
|
||||
DIST genymotion-3.0.2-linux_x64.bin 38744066 BLAKE2B 4c98cdc8d5a5cd98192260893b39dd838bba5903d590268d53223c1ebe712296cf25aa638c16de39ea4f83a5fd8717edbab7c043ff6a12e6455862ecd25ca7cc SHA512 5075d9a9c6c5e84ff90e05e4fa70db98cf89ad25e8765566176b94559f60cc170e383a02f50c752fb63859b757645390d977081d2f79ce0fab8607ebf3e08e01
|
||||
DIST genymotion-3.0.3-linux_x64.bin 38760629 BLAKE2B 1853f5f631c8343eafa92fcd7fd42ad7663e78cc8a3848f7aa9d2ccf61009fc4e8955930142af35c4f2f9bbb9704260882e65fa0dc5e43c5d8d45e14f43218bc SHA512 8a3d5f57cb6c5018ae78940187a8c48bc19a7627f72ab746fc361afd3400a14b4f6ce2d036c828bd238b65d5346cffdf2dd55b5177c6d909b7fd749f4088d748
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST prog-express-3.7.8-1.amd64.deb 36468792 BLAKE2B 7edc5b4c9b7c145877298ac33db743960850d2fbd4cc33943612573277a32935dba15a531f13ad7d75309291cf74ca8f0b80b084dafd840f7831362315c6b8c5 SHA512 647549edd846330044bf34eb40436cc622c4e0871726a31049a93b032e5e1c4428231bee97a21cf75baeeade4e651f7d593ed0cdeb0698679582ff6a7f4293e2
|
||||
DIST prog-express-3.7.8-1.i386.deb 36468530 BLAKE2B 9e6e81546889a5892bce33168e26b067abe91ceecd9a77f8a0f4af788cbb9da3930e3c1fcf682d6b5aceda04bc84d7ddcf7f45ee4936be8833be4b5244f12541 SHA512 149ae0150d5f8cb99aec92485e4309973f425a87d5c46971b850c69263ea2cbf39df73025709327f80e8b01219114ef9b7219bad7647d947de3625e1bec4904b
|
||||
DIST prog-express-3.8.3-1.amd64.deb 37858252 BLAKE2B 0edc06e138fb06bf1d09cc8c1e0650fd1e9f3259f8738c8ec2d072914bc1a215eff60f13871b12ea3e650824c2b2e077edc617bd35e41329505343fdc8c18a0c SHA512 e8e7088eb98e4b63e875308c45ee9dbce8cae5d86ce82eff29a2a3ad2798d22f3621fa38ccc7a66f4e6bd3b71c063e1e793453665640e11ffd0848ec243519ad
|
||||
DIST prog-express-3.8.3-1.i386.deb 37858512 BLAKE2B e812e44f7d440a7891e30fc3d9230daf034b7aa0eef800388eeccff50ef9a8dd22e5e989e7d8b6f5d07e77fe317d0fd01dd9e21e7f6510adf2e412c09ce7ac77 SHA512 b5805add8c51c6eeda2ba76ebd3a33df753527a60f81ace515e90945b70c5d720dac5d8dd87c0c381b52a690d2501b618e81cde51320759b639ec9bd143c422f
|
||||
DIST prog-express-3.8.5-1.amd64.deb 37867724 BLAKE2B a460a4e7aad36c4a2d3054332d8e380a8b8d3639316aceb7c32053b679540e31a8398b609105f8f4169f7a1bcf114c9a793e7e9a46574a6f6bbe005222a368ad SHA512 b9246633d3d213616884f6f87bbbeb30bed9cc14d46428e284de1e47e4e0c9d9be386bca6194b880bc44f53f7b831e51e27b65905f7a75a065880666d0559951
|
||||
DIST prog-express-3.8.5-1.i386.deb 37867536 BLAKE2B 067873da13374cfc52e5ef01cd02ee5594415369269898dab6fcc651f23ae0e16f1a44414bc77125e431c1411e7bfc383c45f4b037146b18a8b727c3d8d08a26 SHA512 5be2e5292986768970f6afaa16cbdd1740a610221f2de3cc21dbf751201753a1064d26d0714e482f9c95a310063aec6e2b31a8fa8a020d1d80583c0b84e0115b
|
||||
|
@ -1 +1,2 @@
|
||||
DIST tmuxp-1.5.3.tar.gz 71095 BLAKE2B 37c62eb9d334e5cca47cb4687403ad73cfffa57919770d754fb595dc26f76d248001e62e82eb7246104b74e752701ce57fa56cc78e8eeec8dc49e1522fc6b72c SHA512 9d803e715b1b75aec8940996db579ef545f5d291e64c7d4551930ec5ad683d8a5f737cc22328f0d528e709da6f613c8b3451637ec3e93ac7e9d34aea64faa0e0
|
||||
DIST tmuxp-1.5.4.tar.gz 843048 BLAKE2B 863b428198e8bb2895802ba7365ac2ec43fc75c708b41929934b6803c79b8f6436b5233ad567f1ab010e6ae372d89261a7ee19953fa01ab9defd1e290b6da621 SHA512 f6fdecff23de883076461fcef3fb1555242d8a96f1c05c88fd0fb3216bbb99fb321680f484972b10f54ff87eb032d8627397f76960262612954eaab6bbf7c7a9
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7,8} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="tmux session manager. built on libtmux"
|
||||
HOMEPAGE="https://tmuxp.git-pull.com"
|
||||
SRC_URI="https://github.com/tmux-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/kaptan[${PYTHON_USEDEP}]
|
||||
>=dev-python/libtmux-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/libtmux-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.3.9[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/pytest-4.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-rerunfailures-4.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
SHELL="/bin/bash" pytest -vv || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command-line YAML processor - jq wrapper for YAML documents"
|
||||
HOMEPAGE="https://yq.readthedocs.io/ https://github.com/kislyuk/yq/ https://pypi.org/project/yq/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-misc/jq
|
||||
>=dev-python/pyyaml-3.11[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:unittest.main():unittest.main(verbosity=2):' \
|
||||
-i test/test.py || die
|
||||
|
||||
sed -r -i 's:[[:space:]]*"coverage",:: ; s:[[:space:]]*"flake8",::' \
|
||||
setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" test/test.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST calligraplan-3.1.0.tar.xz 3617600 BLAKE2B af45aa28529c18c9fa9fae2b7c03ea1b795d3fec3fd44dbcc4ed056a4b1b843b10cb8a9ad6dab319775a7d7032520721a4719605859dd60100a19eafdcb621ed SHA512 a8ccc6ee2f0381b811926a296122464bdb79aad7c75ff0f7a554e4596165ff7fd7ef62c9af9232ea36542d6b538446c8920fe77cbbe7ffacdf6e6b99a1b68156
|
||||
DIST calligraplan-3.2.0.tar.xz 3416652 BLAKE2B 655457ff4a8a223efff5845d7438e0a9eddaafaef76a83a2d328902c835206bafb62add6ede379e2988af1f41ebcca867ca974ca3bb470deaa9689b2f493f89a SHA512 7b9b40b90a831be64da72c7ec50f230df4f29dd9bac2c5202ee774ab1d31caf62336ce9d007a88a92da781d6a69dd1a4727957cbe557325741b659de6a9f7164
|
||||
DIST calligraplan-3.2.1.tar.xz 3417328 BLAKE2B dee2fe03a013abee0fab17495b98927eaf6ef3d2d4daaa344fccfcbd06dbaeb64717d4e844dc8659c61773a39a367fe3f93ba69b621a4dfaa9919835112e5ce9 SHA512 cd73a6ef0b9230f41d5edfeffb3664465643ca7dde8179eab0f7e4fc5e26d1331d110222256bbe18926feb39a2928abbaf0186af0376e7262df2f863941696c5
|
||||
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KDE_HANDBOOK="forceoptional"
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Project management application"
|
||||
HOMEPAGE="https://www.calligra.org/"
|
||||
SRC_URI="mirror://kde/stable/${PN/plan/}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="activities +holidays kwallet pim X"
|
||||
|
||||
# FIXME: Disabled by upstream for good reason
|
||||
# Crashes (https://bugs.kde.org/show_bug.cgi?id=311940)
|
||||
# $(add_kdeapps_dep akonadi)
|
||||
# $(add_kdeapps_dep akonadi-contacts)
|
||||
# Currently upstream-disabled:
|
||||
# =dev-libs/kproperty-3.0*:5
|
||||
# =dev-libs/kreport-3.0*:5
|
||||
DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep kglobalaccel)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep khtml)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep designer)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-lang/perl
|
||||
dev-libs/kdiagram:5
|
||||
sys-libs/zlib
|
||||
activities? ( $(add_frameworks_dep kactivities) )
|
||||
holidays? ( $(add_frameworks_dep kholidays) )
|
||||
kwallet? (
|
||||
$(add_frameworks_dep kwallet)
|
||||
app-crypt/qca:2[qt5(+)]
|
||||
)
|
||||
pim? (
|
||||
<kde-apps/kcalcore-19.04.50:5
|
||||
$(add_kdeapps_dep kcontacts)
|
||||
)
|
||||
X? (
|
||||
$(add_qt_dep qtx11extras)
|
||||
x11-libs/libX11
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-office/calligra[calligra_features_plan(-)]
|
||||
!app-office/calligra-l10n:4
|
||||
$(add_qt_dep qtsvg)
|
||||
"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-qt-5.11.patch
|
||||
"${FILESDIR}"/${P}-qca.patch
|
||||
"${FILESDIR}"/${P}-missing-header.patch
|
||||
"${FILESDIR}"/${P}-unused-deps.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package activities KF5Activities)
|
||||
$(cmake-utils_use_find_package holidays KF5Holidays)
|
||||
$(cmake-utils_use_find_package pim KF5CalendarCore)
|
||||
$(cmake-utils_use_find_package pim KF5Contacts)
|
||||
$(cmake-utils_use_find_package kwallet Qca-qt5)
|
||||
$(cmake-utils_use_find_package kwallet KF5Wallet)
|
||||
)
|
||||
# Qt5DBus can't be disabled because of KF5DBusAddons dependency
|
||||
|
||||
kde5_src_configure
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
KDE_APPS_MINIMAL="19.08.0"
|
||||
KDE_HANDBOOK="forceoptional"
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Project management application"
|
||||
HOMEPAGE="https://www.calligra.org/"
|
||||
SRC_URI="mirror://kde/stable/${PN/plan/}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="activities +holidays kwallet pim X"
|
||||
|
||||
# FIXME: Disabled by upstream for good reason
|
||||
# Crashes (https://bugs.kde.org/show_bug.cgi?id=311940)
|
||||
# $(add_kdeapps_dep akonadi)
|
||||
# $(add_kdeapps_dep akonadi-contacts)
|
||||
# Currently upstream-disabled:
|
||||
# =dev-libs/kproperty-3.0*:5
|
||||
# =dev-libs/kreport-3.0*:5
|
||||
DEPEND="
|
||||
$(add_frameworks_dep karchive)
|
||||
$(add_frameworks_dep kconfig)
|
||||
$(add_frameworks_dep kconfigwidgets)
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep kdbusaddons)
|
||||
$(add_frameworks_dep kglobalaccel)
|
||||
$(add_frameworks_dep kguiaddons)
|
||||
$(add_frameworks_dep khtml)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kiconthemes)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep kitemviews)
|
||||
$(add_frameworks_dep kjobwidgets)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_frameworks_dep kparts)
|
||||
$(add_frameworks_dep kservice)
|
||||
$(add_frameworks_dep ktextwidgets)
|
||||
$(add_frameworks_dep kwidgetsaddons)
|
||||
$(add_frameworks_dep kwindowsystem)
|
||||
$(add_frameworks_dep kxmlgui)
|
||||
$(add_qt_dep designer)
|
||||
$(add_qt_dep qtdbus)
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtprintsupport)
|
||||
$(add_qt_dep qtwidgets)
|
||||
$(add_qt_dep qtxml)
|
||||
dev-lang/perl
|
||||
dev-libs/kdiagram:5
|
||||
sys-libs/zlib
|
||||
activities? ( $(add_frameworks_dep kactivities) )
|
||||
holidays? ( $(add_frameworks_dep kholidays) )
|
||||
kwallet? (
|
||||
$(add_frameworks_dep kwallet)
|
||||
app-crypt/qca:2[qt5(+)]
|
||||
)
|
||||
pim? (
|
||||
$(add_frameworks_dep kcalendarcore)
|
||||
$(add_frameworks_dep kcontacts)
|
||||
)
|
||||
X? (
|
||||
$(add_qt_dep qtx11extras)
|
||||
x11-libs/libX11
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-office/calligra[calligra_features_plan(-)]
|
||||
!app-office/calligra-l10n:4
|
||||
$(add_qt_dep qtsvg)
|
||||
"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-qt-5.11.patch
|
||||
"${FILESDIR}"/${P}-qca.patch
|
||||
"${FILESDIR}"/${P}-missing-header.patch
|
||||
"${FILESDIR}"/${P}-unused-deps.patch
|
||||
"${FILESDIR}"/${P}-kcalcore-19.08-{1,2}.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package activities KF5Activities)
|
||||
$(cmake-utils_use_find_package holidays KF5Holidays)
|
||||
$(cmake-utils_use_find_package pim KF5CalendarCore)
|
||||
$(cmake-utils_use_find_package pim KF5Contacts)
|
||||
$(cmake-utils_use_find_package kwallet Qca-qt5)
|
||||
$(cmake-utils_use_find_package kwallet KF5Wallet)
|
||||
)
|
||||
# Qt5DBus can't be disabled because of KF5DBusAddons dependency
|
||||
|
||||
kde5_src_configure
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
From 3a01affd66f8dfdcc124e23595217f3ae5a09723 Mon Sep 17 00:00:00 2001
|
||||
From: Dag Andersen <danders@get2net.dk>
|
||||
Date: Thu, 20 Jun 2019 10:52:00 +0200
|
||||
Subject: ICal: Adapt to api changes in KCalCore
|
||||
|
||||
---
|
||||
CMakeLists.txt | 37 +++++++++++-----------
|
||||
src/CMakeLists.txt | 4 +++
|
||||
.../filters/icalendar/export/icalendarexport.cpp | 5 +++
|
||||
3 files changed, 27 insertions(+), 19 deletions(-)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 0dabbaf..49fa642 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -75,6 +75,10 @@ if ("${KF5CalendarCore_VERSION}" VERSION_GREATER 5.6.40)
|
||||
set(HAVE_QDATETIME_KCALCORE TRUE)
|
||||
endif()
|
||||
|
||||
+if ("${KF5CalendarCore_VERSION}" VERSION_GREATER 5.11.42)
|
||||
+ set(KCALCORE_HAVE_NO_PERSION_PTR TRUE)
|
||||
+endif()
|
||||
+
|
||||
if (PLANCHARTDEBUG)
|
||||
add_definitions(-DPLAN_CHART_DEBUG)
|
||||
endif ()
|
||||
diff --git a/src/plugins/filters/icalendar/export/icalendarexport.cpp b/src/plugins/filters/icalendar/export/icalendarexport.cpp
|
||||
index cd75598..ce29bfe 100644
|
||||
--- a/src/plugins/filters/icalendar/export/icalendarexport.cpp
|
||||
+++ b/src/plugins/filters/icalendar/export/icalendarexport.cpp
|
||||
@@ -141,8 +141,13 @@ void ICalendarExport::createTodos(KCalCore::Calendar::Ptr cal, const Node *node,
|
||||
todo->setOrganizer(node->projectNode()->leader());
|
||||
}
|
||||
if ( node->type() != Node::Type_Project && ! node->leader().isEmpty()) {
|
||||
+#if KCALCORE_HAVE_NO_PERSION_PTR
|
||||
+ KCalCore::Person p = KCalCore::Person::fromFullName(node->leader());
|
||||
+ KCalCore::Attendee::Ptr a(new KCalCore::Attendee(p.name(), p.email()));
|
||||
+#else
|
||||
KCalCore::Person::Ptr p = KCalCore::Person::fromFullName(node->leader());
|
||||
KCalCore::Attendee::Ptr a(new KCalCore::Attendee(p->name(), p->email()));
|
||||
+#endif
|
||||
a->setRole(KCalCore::Attendee::NonParticipant);
|
||||
todo->addAttendee(a);
|
||||
}
|
||||
--
|
||||
cgit v1.1
|
@ -1,84 +0,0 @@
|
||||
From a9eaf1c98ed408fd6e8897fa9e2f99ed17db1ebc Mon Sep 17 00:00:00 2001
|
||||
From: David Faure <faure@kde.org>
|
||||
Date: Tue, 23 Jul 2019 12:26:17 +0200
|
||||
Subject: Port to KCalCore API changes
|
||||
|
||||
The code is in #if 0, but I tested compilation of this in the calligra
|
||||
stable branch:
|
||||
https://commits.kde.org/calligra/2d484fda1b31a72659088a4bfce5c3708e923cb0
|
||||
|
||||
So you can use KCalCore again if you want :-)
|
||||
It's turning into a KF5 framework so the API will be stable from now on.
|
||||
|
||||
CCMAIL: danders@get2net.dk
|
||||
---
|
||||
.../filters/icalendar/export/icalendarexport.cpp | 20 +++++++++++++++++---
|
||||
1 file changed, 17 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/plugins/filters/icalendar/export/icalendarexport.cpp b/src/plugins/filters/icalendar/export/icalendarexport.cpp
|
||||
index b21320f..828b641 100644
|
||||
--- a/src/plugins/filters/icalendar/export/icalendarexport.cpp
|
||||
+++ b/src/plugins/filters/icalendar/export/icalendarexport.cpp
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <kcalcore/attachment.h>
|
||||
#include <kcalcore/icalformat.h>
|
||||
#include <kcalcore/memorycalendar.h>
|
||||
+#include <kcalcore_version.h>
|
||||
|
||||
#include <QTextCodec>
|
||||
#include <QByteArray>
|
||||
@@ -355,14 +356,15 @@ void ICalendarExport::createTodos(KCalCore::Calendar::Ptr cal, const Node *node,
|
||||
todo->setOrganizer(node->projectNode()->leader());
|
||||
}
|
||||
if ( node->type() != Node::Type_Project && ! node->leader().isEmpty()) {
|
||||
-#if KCALCORE_HAVE_NO_PERSION_PTR
|
||||
+#if KCALCORE_VERSION >= QT_VERSION_CHECK(5, 11, 80)
|
||||
KCalCore::Person p = KCalCore::Person::fromFullName(node->leader());
|
||||
- KCalCore::Attendee::Ptr a(new KCalCore::Attendee(p.name(), p.email()));
|
||||
+ KCalCore::Attendee a(p.name(), p.email());
|
||||
+ a.setRole(KCalCore::Attendee::NonParticipant);
|
||||
#else
|
||||
KCalCore::Person::Ptr p = KCalCore::Person::fromFullName(node->leader());
|
||||
KCalCore::Attendee::Ptr a(new KCalCore::Attendee(p->name(), p->email()));
|
||||
-#endif
|
||||
a->setRole(KCalCore::Attendee::NonParticipant);
|
||||
+#endif
|
||||
todo->addAttendee(a);
|
||||
}
|
||||
DateTime st = node->startTime(id);
|
||||
@@ -381,13 +383,21 @@ void ICalendarExport::createTodos(KCalCore::Calendar::Ptr cal, const Node *node,
|
||||
const QList<Resource*> lst = task->requestedResources();
|
||||
foreach(const Resource *r, lst) {
|
||||
if (r->type() == Resource::Type_Work) {
|
||||
+#if KCALCORE_VERSION >= QT_VERSION_CHECK(5, 11, 80)
|
||||
+ todo->addAttendee(KCalCore::Attendee(r->name(), r->email()));
|
||||
+#else
|
||||
todo->addAttendee(KCalCore::Attendee::Ptr(new KCalCore::Attendee(r->name(), r->email())));
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
} else {
|
||||
foreach(const Resource *r, s->resources()) {
|
||||
if (r->type() == Resource::Type_Work) {
|
||||
+#if KCALCORE_VERSION >= QT_VERSION_CHECK(5, 11, 80)
|
||||
+ todo->addAttendee(KCalCore::Attendee(r->name(), r->email()));
|
||||
+#else
|
||||
todo->addAttendee(KCalCore::Attendee::Ptr(new KCalCore::Attendee(r->name(), r->email())));
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -398,7 +408,11 @@ void ICalendarExport::createTodos(KCalCore::Calendar::Ptr cal, const Node *node,
|
||||
todo->setPercentComplete(task->completion().percentFinished());
|
||||
}
|
||||
foreach(const Document *doc, node->documents().documents()) {
|
||||
+#if KCALCORE_VERSION >= QT_VERSION_CHECK(5, 11, 80)
|
||||
+ todo->addAttachment(KCalCore::Attachment(doc->url().url()));
|
||||
+#else
|
||||
todo->addAttachment(KCalCore::Attachment::Ptr(new KCalCore::Attachment(doc->url().url())));
|
||||
+#endif
|
||||
}
|
||||
if (! parent.isNull()) {
|
||||
todo->setRelatedTo(parent->uid(), KCalCore::Incidence::RelTypeParent);
|
||||
--
|
||||
cgit v1.1
|
@ -1,24 +0,0 @@
|
||||
From fe36bf6f0dc1f0c1e927850dd78093cfe3b7aae2 Mon Sep 17 00:00:00 2001
|
||||
From: Albert Astals Cid <aacid@kde.org>
|
||||
Date: Sun, 28 Jul 2019 00:07:33 +0200
|
||||
Subject: Fix compile on CI
|
||||
|
||||
src/workpackage/view.h:148:31: error: field m_scheduleActions has incomplete type QMap<QAction*, KPlato::Schedule*>
|
||||
---
|
||||
src/workpackage/view.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/workpackage/view.h b/src/workpackage/view.h
|
||||
index 6cae32b..cd2fc4e 100644
|
||||
--- a/src/workpackage/view.h
|
||||
+++ b/src/workpackage/view.h
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <KoView.h>
|
||||
|
||||
+#include <QMap>
|
||||
#include <QStackedWidget>
|
||||
|
||||
class QPrinter;
|
||||
--
|
||||
cgit v1.1
|
@ -1,127 +0,0 @@
|
||||
From 9c5eb86128da46899e719209a92a65df012c6d8e Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
||||
Date: Tue, 1 Jan 2019 19:19:19 +0100
|
||||
Subject: [PATCH] Re-add accidentally removed test for QCA, KF5Wallet is
|
||||
optional
|
||||
|
||||
---
|
||||
CMakeLists.txt | 18 +++++++++++++++++-
|
||||
src/libs/store/CMakeLists.txt | 15 +++++++--------
|
||||
2 files changed, 24 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index eed9d3c..3cb4b63 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -128,7 +128,6 @@ find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED
|
||||
Parts
|
||||
# Sonnet
|
||||
TextWidgets
|
||||
- Wallet
|
||||
WidgetsAddons
|
||||
WindowSystem
|
||||
XmlGui
|
||||
@@ -260,6 +259,23 @@ set_package_properties(KChart PROPERTIES
|
||||
TYPE REQUIRED
|
||||
)
|
||||
|
||||
+##
|
||||
+## Test for QCA2
|
||||
+##
|
||||
+macro_optional_find_package(Qca-qt5 2.1.0 QUIET)
|
||||
+set_package_properties(Qca-qt5 PROPERTIES
|
||||
+ DESCRIPTION "Qt Cryptographic Architecture"
|
||||
+ URL "https:/download.kde.org/stable/qca-qt5"
|
||||
+ PURPOSE "Required for encrypted OpenDocument files and encrypted xls files support"
|
||||
+ TYPE OPTIONAL
|
||||
+)
|
||||
+
|
||||
+find_package(KF5Wallet ${REQUIRED_KF5_VERSION})
|
||||
+
|
||||
+if(Qca-qt5_FOUND AND KF5Wallet_FOUND)
|
||||
+ add_definitions( -DQCA2 )
|
||||
+endif()
|
||||
+
|
||||
find_package(Perl REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
diff --git a/src/libs/store/CMakeLists.txt b/src/libs/store/CMakeLists.txt
|
||||
index 2c96fa7..f998264 100644
|
||||
--- a/src/libs/store/CMakeLists.txt
|
||||
+++ b/src/libs/store/CMakeLists.txt
|
||||
@@ -4,14 +4,8 @@ endif()
|
||||
|
||||
########### libkostore ###############
|
||||
|
||||
-if( Qca-qt5_FOUND )
|
||||
- add_definitions( -DQCA2 )
|
||||
-endif()
|
||||
-
|
||||
set(kostore_LIB_SRCS
|
||||
KoDirectoryStore.cpp
|
||||
- KoEncryptedStore.cpp
|
||||
- KoEncryptionChecker.cpp
|
||||
KoLZF.cpp
|
||||
KoStore.cpp
|
||||
KoStoreDevice.cpp
|
||||
@@ -23,6 +17,12 @@ set(kostore_LIB_SRCS
|
||||
StoreDebug.cpp
|
||||
KoNetAccess.cpp # temporary while porting
|
||||
)
|
||||
+if( Qca-qt5_FOUND )
|
||||
+ set(kostore_LIB_SRCS ${kostore_LIB_SRCS}
|
||||
+ KoEncryptedStore.cpp
|
||||
+ KoEncryptionChecker.cpp
|
||||
+ )
|
||||
+endif()
|
||||
|
||||
add_library(planstore SHARED ${kostore_LIB_SRCS})
|
||||
generate_export_header(planstore BASE_NAME kostore)
|
||||
@@ -35,12 +35,11 @@ target_link_libraries(planstore
|
||||
PRIVATE
|
||||
Qt5::Gui
|
||||
KF5::Archive
|
||||
- KF5::Wallet
|
||||
KF5::KIOWidgets
|
||||
KF5::I18n
|
||||
)
|
||||
if( Qca-qt5_FOUND )
|
||||
- target_link_libraries(planstore PRIVATE qca-qt5)
|
||||
+ target_link_libraries(planstore PRIVATE qca-qt5 KF5::Wallet)
|
||||
endif()
|
||||
|
||||
set_target_properties(planstore PROPERTIES
|
||||
diff --git a/src/libs/widgets/KoDocumentInfoDlg.cpp b/src/libs/widgets/KoDocumentInfoDlg.cpp
|
||||
index 1615a61..55e2c32 100644
|
||||
--- a/src/libs/widgets/KoDocumentInfoDlg.cpp
|
||||
+++ b/src/libs/widgets/KoDocumentInfoDlg.cpp
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "KoDocumentInfo.h"
|
||||
#include "KoDocumentBase.h"
|
||||
#include "KoGlobal.h"
|
||||
+#ifdef QCA2
|
||||
#include <KoEncryptionChecker.h>
|
||||
+#endif
|
||||
#include "KoPageWidgetItem.h"
|
||||
//#include <KoDocumentRdfBase.h>
|
||||
#include <KoIcon.h>
|
||||
@@ -105,12 +107,16 @@ KoDocumentInfoDlg::KoDocumentInfoDlg(QWidget* parent, KoDocumentInfo* docInfo)
|
||||
d->aboutUi = new Ui::KoDocumentInfoAboutWidget();
|
||||
QWidget *infodlg = new QWidget();
|
||||
d->aboutUi->setupUi(infodlg);
|
||||
+#ifdef QCA2
|
||||
if (!KoEncryptionChecker::isEncryptionSupported()) {
|
||||
+#endif
|
||||
d->aboutUi->lblEncryptedDesc->setVisible(false);
|
||||
d->aboutUi->lblEncrypted->setVisible(false);
|
||||
d->aboutUi->pbEncrypt->setVisible(false);
|
||||
d->aboutUi->lblEncryptedPic->setVisible(false);
|
||||
+#ifdef QCA2
|
||||
}
|
||||
+#endif
|
||||
d->aboutUi->cbLanguage->addItems(KoGlobal::listOfLanguages());
|
||||
d->aboutUi->cbLanguage->setCurrentIndex(-1);
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
@ -1,124 +0,0 @@
|
||||
From f53805bdc108b608e40f217e6a78e7e4df4284f2 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
||||
Date: Sun, 18 Mar 2018 11:56:57 +0100
|
||||
Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
|
||||
|
||||
Reviewers: #calligra:_3.0
|
||||
|
||||
Tags: #calligra:_3.0
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D11454
|
||||
---
|
||||
src/kptview.h | 1 +
|
||||
src/kptviewlist.cpp | 1 +
|
||||
src/libs/ui/kptaccountseditor.cpp | 1 +
|
||||
src/libs/ui/kptdocumentspanel.h | 1 +
|
||||
src/libs/ui/kptitemviewsettup.cpp | 2 +-
|
||||
src/libs/ui/kpttaskeditor.cpp | 1 +
|
||||
src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp | 1 +
|
||||
src/libs/widgets/KoPageLayoutWidget.cpp | 2 ++
|
||||
15 files changed, 18 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/kptview.h b/src/kptview.h
|
||||
index 44d11935e71..a98e55342db 100644
|
||||
--- a/src/kptview.h
|
||||
+++ b/src/kptview.h
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "kptcontext.h"
|
||||
#include "kptviewbase.h"
|
||||
|
||||
+#include <QActionGroup>
|
||||
#include <QDockWidget>
|
||||
#include <QMap>
|
||||
|
||||
diff --git a/src/kptviewlist.cpp b/src/kptviewlist.cpp
|
||||
index f34e702e055..0e6db7b2ffe 100644
|
||||
--- a/src/kptviewlist.cpp
|
||||
+++ b/src/kptviewlist.cpp
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <QStyle>
|
||||
#include <QBrush>
|
||||
#include <QContextMenuEvent>
|
||||
+#include <QHeaderView>
|
||||
#include <QMenu>
|
||||
|
||||
#include <kmessagebox.h>
|
||||
diff --git a/src/libs/ui/kptaccountseditor.cpp b/src/libs/ui/kptaccountseditor.cpp
|
||||
index 7991fafd779..54e3a87c94f 100644
|
||||
--- a/src/libs/ui/kptaccountseditor.cpp
|
||||
+++ b/src/libs/ui/kptaccountseditor.cpp
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <QContextMenuEvent>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
+#include <QHeaderView>
|
||||
|
||||
#include <KLocalizedString>
|
||||
#include <kactioncollection.h>
|
||||
diff --git a/src/libs/ui/kptdocumentspanel.h b/src/libs/ui/kptdocumentspanel.h
|
||||
index 00ea3af80b2..491cb1ebb86 100644
|
||||
--- a/src/libs/ui/kptdocumentspanel.h
|
||||
+++ b/src/libs/ui/kptdocumentspanel.h
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
#include "kptdocuments.h"
|
||||
|
||||
+#include <QModelIndexList>
|
||||
#include <QWidget>
|
||||
#include <kundo2qstack.h>
|
||||
|
||||
diff --git a/src/libs/ui/kptitemviewsettup.cpp b/src/libs/ui/kptitemviewsettup.cpp
|
||||
index d1c3b1fc157..7c97a070b9a 100644
|
||||
--- a/src/libs/ui/kptitemviewsettup.cpp
|
||||
+++ b/src/libs/ui/kptitemviewsettup.cpp
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
#include "KoPageLayoutWidget.h"
|
||||
|
||||
+#include <QHeaderView>
|
||||
#include <QPushButton>
|
||||
|
||||
-
|
||||
namespace KPlato
|
||||
{
|
||||
|
||||
diff --git a/src/libs/ui/kpttaskeditor.cpp b/src/libs/ui/kpttaskeditor.cpp
|
||||
index 21546118d33..91db5acbb18 100644
|
||||
--- a/src/libs/ui/kpttaskeditor.cpp
|
||||
+++ b/src/libs/ui/kpttaskeditor.cpp
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <QVBoxLayout>
|
||||
#include <QDragMoveEvent>
|
||||
#include <QAction>
|
||||
+#include <QHeaderView>
|
||||
#include <QMenu>
|
||||
|
||||
#include <kactionmenu.h>
|
||||
diff --git a/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp b/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp
|
||||
index 344ebc2b599..9146f06ab8c 100644
|
||||
--- a/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp
|
||||
+++ b/src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <KFile>
|
||||
|
||||
#include <QAction>
|
||||
+#include <QHeaderView>
|
||||
#include <QTreeView>
|
||||
#include <QStandardItemModel>
|
||||
#include <QModelIndex>
|
||||
diff --git a/src/libs/widgets/KoPageLayoutWidget.cpp b/src/libs/widgets/KoPageLayoutWidget.cpp
|
||||
index c9e17b748a9..b67e9848807 100644
|
||||
--- a/src/libs/widgets/KoPageLayoutWidget.cpp
|
||||
+++ b/src/libs/widgets/KoPageLayoutWidget.cpp
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
#include <KoUnit.h>
|
||||
|
||||
+#include <QButtonGroup>
|
||||
+
|
||||
class Q_DECL_HIDDEN KoPageLayoutWidget::Private
|
||||
{
|
||||
public:
|
||||
--
|
||||
2.16.2
|
||||
|
@ -1,57 +0,0 @@
|
||||
From 5924e3ad82b5dfc95acf9f6751946d5f086d9ce7 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
|
||||
Date: Tue, 1 Jan 2019 20:13:57 +0100
|
||||
Subject: Drop unused dependencies
|
||||
|
||||
Test Plan: Built fine with deps removed.
|
||||
|
||||
Reviewers: #calligra:_3.0, danders
|
||||
|
||||
Reviewed By: #calligra:_3.0, danders
|
||||
|
||||
Subscribers: danders
|
||||
|
||||
Differential Revision: https://phabricator.kde.org/D17903
|
||||
---
|
||||
CMakeLists.txt | 14 ++------------
|
||||
1 file changed, 2 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 3cb4b63..a6a3c79 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -121,7 +121,6 @@ find_package(KF5 ${REQUIRED_KF5_VERSION} REQUIRED
|
||||
IconThemes
|
||||
ItemViews
|
||||
JobWidgets
|
||||
- KCMUtils
|
||||
KIO
|
||||
Notifications
|
||||
# NotifyConfig
|
||||
@@ -169,22 +168,13 @@ find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED
|
||||
COMPONENTS
|
||||
Core
|
||||
Gui
|
||||
- Network
|
||||
PrintSupport
|
||||
- Svg
|
||||
Test
|
||||
Widgets
|
||||
Xml
|
||||
)
|
||||
- find_package(Qt5 ${REQUIRED_QT_VERSION} QUIET
|
||||
- COMPONENTS
|
||||
- DBus
|
||||
- OpenGL
|
||||
- # Quick
|
||||
- # Sql
|
||||
- # WebKit
|
||||
- # WebKitWidgets
|
||||
- )
|
||||
+ find_package(Qt5DBus ${REQUIRED_QT_VERSION} QUIET)
|
||||
+
|
||||
# Qt5Declarative was removed in Qt 5.6.0 so search for it in a separate call
|
||||
# Including it in a collected find_package(Qt5 ...) call can lead to a fatal not-found error:
|
||||
# * Qt5 (required version >= 5.3.0)
|
||||
--
|
||||
cgit v1.1
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue