parent
8c4698dc25
commit
d28f19e73e
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29303 BLAKE2B 4e60639f36cc051337ad2b99311a09f42c6e9fd41f3eb36ba7c76839ac248ebe23523d6c67647177672707e751e416000c1b48ce58e93f14fe2bc46ca47b7d7c SHA512 1c225c3206d21a74a9864241088bb303a07185dbc19c14967a59303d689f0fc5fd1c51bced5d50b28371d09cd42e806f37b1c2e711633a794a30f9c1be3307cc
|
||||
TIMESTAMP 2021-10-15T05:09:12Z
|
||||
MANIFEST Manifest.files.gz 29290 BLAKE2B 6b1a1a9684d9caecf611de69038a9a34743a7a1f6c9abb41e8cdce30ba48dbdebd5562c2b32b6d01eeebe1c02154546b6c2eb43628451f8e070b4e34569e0bc0 SHA512 d45c9c550a3d0555a98ebee63171e4011f38fc83c797a6fc677a19bff82c5e11755361d260abea02e052ff46b01f18583cf2488e440357a5c74ee9f0fc3fd858
|
||||
TIMESTAMP 2021-10-16T16:39:11Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFpDPhfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFrAC9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAmHBAArXidOqaQMLA8hjXqYjFI8NqbMbV3a6uORUNhPOusXeSAEZmfWnBY2etp
|
||||
Lej0Hk4qfhQE3tLv0MN/W7gwbk63FnpQ0lg4cHeCCq4/rKic6vAf0n7lj8+RLu3F
|
||||
RFauTbmLtFKoeRCg2zTQV4DssSfiUnrY7lZHwnfq0VTqDBgrHbp8A8In2Mrv3apR
|
||||
taK+pK/NHqMqbu80H7z2sXJ2352PQrqUO6F+jP+bGGMCOAFLKumIfT8FZWCK+oYt
|
||||
NQVDCF0nHVrbEM/8aLMHDPeIXaCosORCZ4aFpbhf3hqgn0KTCViB+2MV86Yf5Coo
|
||||
Gc8ybPiX/y5gL6fOUOMehcqLsAogzesScosDv0GruxfbOj7ut2e/m0kBZbZ6rYrX
|
||||
jz6KoP6W6xt8/9DvFQ9B2PGk2I3YN6jW5AVqgxioTmarH6UjQFUEh11xTj7uD29g
|
||||
BS1WwLvB1pCoikyZspmserN4+HseUsjygOpPkbSLWdTs1viCs0cCEcfEW5k89UGJ
|
||||
RpWjyQAIqkK6bIO1NF8ZI/pMPR3xnF6MSSermL1ooB+qVy8KtEI6JCKU9HkZFZVq
|
||||
fdUhbxcfGad9RaTHE9RR1iY4cmt2tdXl29u6GYKFJrMyw4fEwKgkJ/BIEnaacqXk
|
||||
fXPEp3k5+EczDGK2JfUjEED1YWrtBQw5XLCpyorGYJFCCHC2Sek=
|
||||
=gkic
|
||||
klA2vA/9H7fW3xk2xcWm9IMMwZfrc1vLvli5FFlC6K1Ahx4qbP2XXj5cBCP0htLf
|
||||
b1TS6eF+e+Ic9yYN00xBLEocFzq11XUK1y9n51yWDGkVLsbtA5Nxsz3uleBY75De
|
||||
82h58FGhLGRETU6zeW2/mtKOZ9Qt0IwsaJfKXFWLW22vpnHBMlz6EnbYbugcLyvi
|
||||
h3WUOek48Nt97Vy6/WJNjOM2qnN6eS+TSTlWwzobzuEp50cACeCISu8vKEdbv2HX
|
||||
VJN4gDq0M4caBmmLt2T/a7PpKeeLw8OIzIB7PrCw4VH94o5bKytLLhMfAGDqGFZ8
|
||||
IKmLqil6RWWWv81OpTonkZriSFUPkwIpFaI6s+O5NDG4v2vIzzrQYNaeOczt2HGu
|
||||
v9nGQCtDhQJxjZRzWIlxbKaMY1TpbzQDRb9aL2Vw+78WrZUo4BRM7AE3r09pcB30
|
||||
LjzWFUKS0hzn5+0DQIJ5LFSvFcS7B2BM9oCM+cg1hSMTkBVQhMJ1i7N6hKC20EiM
|
||||
WKWcvLDKrrXoNbIuv/Y0EWqTj5tus6mSqbzuuNuNcdHSeMk31EtF5Vt0ZPi/KqQj
|
||||
P+je9KOrzU2RwQXbLyY6fhK+lwWoKMfxHHySSJobu6OXoWUZsRpSC+nJk6FFTnqZ
|
||||
sNjQttSz0oNobfdpwwlG0sSOQAMaj3SlyBUjBp+uvbG8BWzRGNM=
|
||||
=9i7q
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD seat-0.ebuild 185 BLAKE2B be6dffb8cc37a688be351ddea569584a86063fe174237965fc304cc8880ffeae0763fe3e7ea5679d474a75d1104d50f2a2ab264de13c3bd5477f2cf68388dd83 SHA512 c6c4540f630a5e0253ae8ae933629f4c361aea37d70a08de31ea9449e786311654f421336c80e101a1bd81fe1593cc6c6f26745adc4dd7abd8cd679578c72a3d
|
||||
MISC metadata.xml 251 BLAKE2B b1949292bb332d69832bf47a05a2f53519bb6c233a09b8e595dac3ca8aff30e213aeefef78bbd8b0b52124b43669042e0d63c476b5dcacb309468bd4f233da83 SHA512 97acf3ebe0b0e94afecdbd634bb9800f9930660cb8f6be45fc54a6e24534a64399549ce1dc0862ab7d9bb3034bccdc6c96931046769846f847b769c9899f6037
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>arthurzam@gentoo.org</email>
|
||||
<name>Arthur Zamarin</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for sys-auth/seatd"
|
||||
ACCT_GROUP_ID=202
|
Binary file not shown.
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,210 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake flag-o-matic systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc clamonacc clamapp libclamav-only milter rar selinux systemd test uclibc"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamonacc !clamapp !milter )
|
||||
clamonacc? ( clamapp )
|
||||
milter? ( clamapp )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
dev-libs/libpcre2
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
app-arch/bzip2
|
||||
clamapp? ( sys-libs/ncurses:0 net-misc/curl dev-libs/json-c:= )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
virtual/libiconv
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
dev-libs/openssl:0=
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libxml2
|
||||
rar? ( app-arch/unrar )
|
||||
test? ( dev-python/pytest )"
|
||||
# TODO: there is no way to use this with the new build system instead of the bundled one
|
||||
# dev-libs/tomsfastmath
|
||||
|
||||
BDEPEND=">=dev-util/cmake-3.14
|
||||
virtual/pkgconfig"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
clamapp? ( dev-libs/json-c:* )
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.104.0-ncurses_detection.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
|
||||
local mycmakeargs=(
|
||||
-DDATABASE_DIRECTORY="${EPREFIX}"/var/lib/clamav
|
||||
-DAPP_CONFIG_DIRECTORY="${EPREFIX}"/etc/clamav
|
||||
-DENABLE_EXPERIMENTAL=OFF
|
||||
-DENABLE_JSON_SHARED=ON
|
||||
-DENABLE_APP=$(usex clamapp ON OFF)
|
||||
-DENABLE_MILTER=$(usex milter ON OFF)
|
||||
-DENABLE_CLAMONACC=$(usex clamonacc ON OFF)
|
||||
-DCLAMAV_USER="clamav"
|
||||
-DCLAMAV_GROUP="clamav"
|
||||
-DBYTECODE_RUNTIME=interpreter
|
||||
-DOPTIMIZE=ON
|
||||
-DENABLE_EXTERNAL_MSPACK=ON
|
||||
-DENABLE_MAN_PAGES=ON
|
||||
-DENABLE_UNRAR=$(usex rar ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
-DENABLE_STATIC_LIB=OFF
|
||||
-DENABLE_SHARED_LIB=ON
|
||||
-DENABLE_SYSTEMD=$(usex systemd ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# init scripts
|
||||
newinitd "${FILESDIR}/clamd.initd" clamd
|
||||
newinitd "${FILESDIR}/freshclam.initd" freshclam
|
||||
use clamonacc && \
|
||||
newinitd "${FILESDIR}/clamonacc.initd" clamonacc
|
||||
use milter && \
|
||||
newinitd "${FILESDIR}/clamav-milter.initd" clamav-milter
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd; then
|
||||
# The tmpfiles entry is behind USE=systemd because the
|
||||
# upstream OpenRC service files should (and do) ensure that
|
||||
# the directories they need exist and have the correct
|
||||
# permissions without the help of opentmpfiles. There are
|
||||
# years-old root exploits in opentmpfiles, the design is
|
||||
# fundamentally flawed, and the maintainer is not up to
|
||||
# the task of fixing it.
|
||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service-0.104.0" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
||||
"freshclamd.service"
|
||||
fi
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/clamd.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamd.conf || die
|
||||
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
||||
"${ED}"/etc/clamav/freshclam.conf.sample > \
|
||||
"${ED}"/etc/clamav/freshclam.conf || die
|
||||
|
||||
if use milter ; then
|
||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
||||
sed -e "s:^\(Example\):\# \1:" \
|
||||
-e "s/^#\(PidFile .*\)/\1/" \
|
||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
||||
-e "s/^#\(User .*\)/\1/" \
|
||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf.sample > \
|
||||
"${ED}"/etc/clamav/clamav-milter.conf || die
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-0.104.0" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
doman docs/man/*.[1-8]
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use libclamav-only ; then
|
||||
ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..."
|
||||
return 0
|
||||
fi
|
||||
|
||||
emake quick-check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libclamav-only ; then
|
||||
if use systemd ; then
|
||||
tmpfiles_process clamav.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
||||
ewarn "runlevels that previously contained clamd."
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
From cd99490efb82b66c75e92fab3ff97c480bfc9cf9 Mon Sep 17 00:00:00 2001
|
||||
From: Luca Barbato <lu_zero@gentoo.org>
|
||||
Date: Sat, 16 Oct 2021 10:56:22 +0200
|
||||
Subject: [PATCH] Use all the link line from ncurses pkg-config
|
||||
|
||||
Otherwise it would fail at link time if ncurses has a stand alone tinfo library.
|
||||
---
|
||||
cmake/FindCURSES.cmake | 6 +-----
|
||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/cmake/FindCURSES.cmake b/cmake/FindCURSES.cmake
|
||||
index 35d4a570f6..528211c45c 100644
|
||||
--- a/cmake/FindCURSES.cmake
|
||||
+++ b/cmake/FindCURSES.cmake
|
||||
@@ -58,11 +58,7 @@ if(NCURSES_NOT_FOUND EQUAL -1)
|
||||
set(HAVE_LIBNCURSES 1)
|
||||
set(CURSES_INCLUDE "<ncurses.h>")
|
||||
|
||||
- find_library(CURSES_LIBRARY
|
||||
- NAMES ncurses
|
||||
- PATHS ${PC_NCurses_LIBRARY_DIRS}
|
||||
- )
|
||||
-
|
||||
+ set(CURSES_LIBRARY ${PC_NCurses_LINK_LIBRARIES})
|
||||
set(CURSES_VERSION ${PC_NCurses_VERSION})
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
@ -0,0 +1,34 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
# Note: the "Foreground" option in clamav-milter.conf MUST
|
||||
# be set to "no".
|
||||
command="/usr/sbin/clamav-milter"
|
||||
|
||||
# For now, must be manually synchronized with the PidFile
|
||||
# variable in clamav-milter.conf.
|
||||
#
|
||||
# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
||||
#
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
depend() {
|
||||
# The milter can successfully launch without clamd, but it's not a
|
||||
# great user experience to have the milter start accepting requests
|
||||
# that it can't process. The "use" dependency below will start clamd
|
||||
# before clamav-milter, so long as clamd is also present this runlevel.
|
||||
use clamd
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
# This exists to support the (disabled) default MilterSocket setting
|
||||
# within clamav-milter.conf. The "clamav" user and group agree with
|
||||
# the (disabled) default "User" and "MilterSocketGroup" settings.
|
||||
#
|
||||
# Creating this directory is harmless even when a local socket is
|
||||
# not used. In fact, the clamd service that we depend on should
|
||||
# create it as well, to hold its own local socket (if enabled).
|
||||
checkpath --directory \
|
||||
--mode 0755 \
|
||||
--owner clamav:clamav \
|
||||
"/run/clamav"
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Milter module for the ClamAV scanner
|
||||
After=nss-lookup.target network.target
|
||||
Before=sendmail.service
|
||||
Before=postfix.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/clamav/clamav-milter.pid
|
||||
ExecStart=/usr/sbin/clamav-milter -c /etc/clamav/clamav-milter.conf
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,33 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
# Note: the "Foreground" option in clamd.conf must be set to "no"
|
||||
command="/usr/sbin/clamd"
|
||||
extra_started_commands="reload"
|
||||
|
||||
# For now, must be manually synchronized with the PidFile variable
|
||||
# in clamd.conf.
|
||||
#
|
||||
# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
||||
#
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
start_pre() {
|
||||
# This exists to support the (disabled) default LocalSocket setting
|
||||
# within clamd.conf. The "clamav" user and group agree with the
|
||||
# (disabled) default "User" and "LocalSocketGroup" settings in
|
||||
# clamd.conf. And everything here agrees with the
|
||||
# clamav-daemon.socket systemd service.
|
||||
#
|
||||
# Creating this directory is harmless even when a local socket is
|
||||
# not used.
|
||||
checkpath --directory \
|
||||
--mode 0755 \
|
||||
--owner clamav:clamav \
|
||||
"/run/clamav"
|
||||
}
|
||||
|
||||
reload() {
|
||||
ebegin "Reloading ${RC_SVCNAME}"
|
||||
"/usr/bin/clamdscan" --reload
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=clamd scanner (%i) daemon
|
||||
After=nss-lookup.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/clamd -c /etc/clamav/clamd%i.conf
|
||||
Restart=on-failure
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,18 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="/usr/sbin/clamonacc"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
# clamonacc doesn't support a PID file at the moment, so we
|
||||
# run it in the foreground and let OpenRC background it.
|
||||
#
|
||||
# https://bugzilla.clamav.net/show_bug.cgi?id=12595
|
||||
#
|
||||
command_args="--foreground"
|
||||
command_background=true
|
||||
|
||||
depend() {
|
||||
# Unlike the milter, the on-access scanner will simply fail to start
|
||||
# until clamd is available.
|
||||
need clamd
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
command="/usr/bin/freshclam"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
# Ignore the value of "PidFile" set in freshclam.conf.
|
||||
command_args="-p ${pidfile}"
|
||||
command_args_background="--daemon"
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST cuetools-1.4.1.tar.gz 32720 BLAKE2B 108b78f079e0065d1003bf09ee0a14b0ccf615e73cb5749ca92c0ef9a6580b023011d3aed83cea49256bdc743d13c6da5e394de019a120e7f8dc592e086bac50 SHA512 dc81e6ec756f9d040dd913e8f340be136d68619caa24bdec21364f94b4fc0ffcbcf21325c7fd53c9230d6d70a2856b45a32c5ca7f41ec76fa47298bf226d959e
|
||||
EBUILD cuetools-1.4.1.ebuild 714 BLAKE2B 7cd330b1bc284fc98776ef15374cfeb7cae01436c1a7e4c14ad9bfca0712bd17de0ad5076286a0f60c08d625a323ee1fd5b17a28b594c6dd92f6478a8b0a7120 SHA512 3d4fb8ae5b49eb121c4357a736657ebd55769dc393fd2c58506d41c2eb456d6a6782e6509c931f6d64d3d562d09422f1b7b1eb015140c9ca17d5ec38cff2d3ae
|
||||
EBUILD cuetools-1.4.1-r1.ebuild 707 BLAKE2B 8c3317fa90286b588c1148085923bdd70472e625a313cc2fd4c55a945b5a23366a40f83a5a04dc0bad6a6b48abacef2173ac6ef2c4a8168d174abae60fd36b92 SHA512 da9e1d47ebb788d058150b1b4e32ad8e9b22b1cb590626465e84d6ca01f595936dba6cd0342dcabb3a1f3c09277cf207d37c596c70f2aa6025092a4c70fb2b70
|
||||
MISC metadata.xml 654 BLAKE2B 3c621fc82d10986876fe4a93a757e37f98929de77c60dd39796199a9ce55ffcc882e5079d258cd0e070781d870f26fd5ccc374465a5d5689942719380aba991d SHA512 0f0b44d85c1a9f601b0dcb4364aafc5dd357e4e3969dce8d14c5290bd6e6a47e10245243ec4fc3abcbe7db635ebda816a528f342a68b2aec0c6ecf3e96166017
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,11 +1,5 @@
|
||||
AUX wordnet-3.0-fix-indexing-bug-314799.patch 732 BLAKE2B bb6d4453f9119a134c0b108984cc67a056a8f9a9cc4ed9c357e8eb7e68761e70680950475118198d6f9487ab7f14e5776798dff32d86e65e4db591e461595dbf SHA512 697a6279223270dad6a8f3834020560b6cde07edea62e3f4238c0b288b2cb875d294bf0101cf9c79f0e1d086116d90309ca851a926318a48f5cd02058062f149
|
||||
AUX wordnet-3.0-format-security.patch 1443 BLAKE2B 21e79d7341cd119598730d317c664406915cdb2aaf572e482061be913fcb85a372214eae71b93a2a31022c6b5638cf3bc8a2b2b719b975d15143c9487f443332 SHA512 5567b1d5e041ed39a38e40e253dc94e22a3a7c6b690bc452716b26c2932b94eeb065e00354e2c8f1dc77d53713fd2e69e44a498a8664e867de2df07f2f36c170
|
||||
AUX wordnet-3.0-src_stubs_c.patch 438 BLAKE2B de2bbb812e01d6c63912ae414a02e8f4c0caa697cf4ade90d605e10dce7afd8907ff65b3af0585ca100650264615ad9bbc2008098fec51969c406b563f1c783d SHA512 82bf6705b26bd0455a2a556abd9cd01cde7c7f738f3f4f5cbf49eefe5c301c7022e908208cce2617e0b95f78464beeab21c7af4131c3472fe4e2ba4650533359
|
||||
AUX wordnet-3.0-tcl8.6.patch 4974 BLAKE2B f26cdf66b00bbf2a5185642fbe140ee6294e6910e78d7230a7f4f4c7324a207537df8a5a32ba33c1166e332d4afcce621704f9186ac1adb362883d716ac8da22 SHA512 2dafc6a6cd332d387fa15b63a7c5cad222e611906582232f7bd6f2522773336e7b632775e73fcd1a8587bd95eabaf70ec1c9ea4b8a81a7c147360a836be0a90c
|
||||
DIST WordNet-3.0.tar.gz 11537227 BLAKE2B 358bdc3178f35f4f269ad9d0a5245396811f8678a020ab1ddf9978eef733bb91450f331d03734f585121b1532bb67ca97e765b13cb3f37018cd29df558201c5d SHA512 d39c008cec41de8f1b2aeacb4ad818f9997a13b30a992fda100b6dcc9c11c253530b00a1909b55ff7b564bafc33f7763c1ce9b0a6ae3e591695db2083e9ead7a
|
||||
DIST wn3.1.dict.tar.gz 16358468 BLAKE2B f3df09f39ea29fce3378122f1a93d713acb8be39e6798695b8cc412a3ae6e644cfcf906426d4091d9849be60620367d3de541ec6dd0d8016b8f0cf39a7bad346 SHA512 16dca17a87026d8a0b7b4758219cd21a869c3ef3da23ce7875924546f2eacac4c2f376cb271b798b2c458fe8c078fb43d681356e3d9beef40f4bd88d3579394f
|
||||
DIST wordnet-3.0-patchset-1.tar.bz2 8076 BLAKE2B 20684bd96814db6e0bf2d9aeb455def682fc38566d6abd3832bf0f7eae3b65b63e8b16aa21656bb81c1696bec0d179028ea8bb4687e5566a6d679bc55e300b9c SHA512 17668d736dd6dfe83e4d5d328729cbcdfb4dbca9a9707651534169bd2ce6fc2238d5c820d63330c51c20ab9b2964b56a609f58242b05dabbcfdfc0da61c048cb
|
||||
EBUILD wordnet-3.0-r4.ebuild 2099 BLAKE2B 7b936c3a1fe97bdd0223e06e5199b879aed52346542b50f774f15b8c633e2a237e3d0f8c0e191f0491bdf39e3f167f58c8c6df29d4a8b1c78be0cf88fc7421b2 SHA512 1ec886133b23f931052faee2a0a059f380879524f36f035676f4ac123ea0215386520ddfe1266fc030dea285c41e2f727dd0c0630458bfd8f85dc5d4b141062c
|
||||
EBUILD wordnet-3.0-r5.ebuild 2149 BLAKE2B 3860850921c4f54b21c92540870204210bba2a74ee9feeb05dd39c7cfe8b02ea7f46e24a0a73c6715d0c0e59af8454544dcec6e4b620a4941f5acf71b5de3398 SHA512 4685d889a731157f4a9254e713e1138539715289d1b50ae74cbdf63fc8205e36772c1abb5013173e5dcc955c21a2f1d1504e8337cffc73817473855abfcce78f
|
||||
EBUILD wordnet-3.1.ebuild 2771 BLAKE2B 095bcb04229fdff461d1198b2cd46a5eb15be069a4799721b4c82cc93d9b3db3e68881c753a3cefa0f38899e9d19593573558f9340e4b047922279129ab5c157 SHA512 5ac6e0691a3798e3094ea864c6d4112f604c0f94de702178d80932eb31843b5344cad42fdf599d5dc72574e839f9e80241c3c23eec15fe67b40b16eb4fcd8359
|
||||
DIST wordnet-3.0-patchset-2.tar.xz 8788 BLAKE2B 3e34b7f5f1011556fb9b53fc987fb3a0fd6818d68d8e71a35ee8d955071251648386c4a361bb902340c5ca899c993363721ee9acbea2eea1386e22502789be2d SHA512 2b72f12134cb60a1db98384650f13cd57012162908c0a37aa232ad0a04a249ce25cce76332dab08c5280d6f29fd58d5c874d5e8d6e00ef55523012d7faa09fcf
|
||||
EBUILD wordnet-3.1-r1.ebuild 2139 BLAKE2B ae6be8f280a5b0a41410d8e0aa6912b18665bc0900f6f184c8e993247ed312b93bfe1246aef098c1f17aa5908be49bc323ecc7d0247a44ca318bc852398f337a SHA512 2bca624a98035bee8ed2e4ee13135cd77ff569409a7db463b359e5ae28e38c12ed01cabced46a3e52a830839b333dc3da51affe3223337718d71e8ec0beac21a
|
||||
MISC metadata.xml 389 BLAKE2B 43d6aca669a34a791eea459cb4e2906b573e09bc03d6e79ca9432c15ebf89286a28378ac20a28467bbc6f6bf629ed20ea4e608a09762be8a677c0e3b7134d6f4 SHA512 562aa5c687da46765c959bf235ab0dcd5ef6edb9f105d46c50853dac8685a68ae8e9507662c0fddb2af155ced2aad54fa4230f467c48ffc2ed2fb72c98144297
|
||||
|
@ -1,20 +0,0 @@
|
||||
diff -p -u -r WordNet-3.0/lib/morph.c WordNet-3.0-mine/lib/morph.c
|
||||
--- a/lib/morph.c 2010-04-12 13:53:04.000000000 +0200
|
||||
+++ b/lib/morph.c 2010-04-12 13:54:53.000000000 +0200
|
||||
@@ -375,14 +375,14 @@ static char *exc_lookup(char *word, int
|
||||
static char line[WORDBUF], *beglp, *endlp;
|
||||
char *excline;
|
||||
|
||||
- if (exc_fps[pos] == NULL)
|
||||
+ if (exc_fps[pos-1] == NULL)
|
||||
return(NULL);
|
||||
|
||||
/* first time through load line from exception file */
|
||||
if(word != NULL){
|
||||
if (strlen(word) > WORDBUF - 1)
|
||||
return(NULL);
|
||||
- if ((excline = bin_search(word, exc_fps[pos])) != NULL) {
|
||||
+ if ((excline = bin_search(word, exc_fps[pos-1])) != NULL) {
|
||||
strcpy(line, excline);
|
||||
endlp = strchr(line,' ');
|
||||
} else
|
@ -1,48 +0,0 @@
|
||||
lib/binsrch.c | 4 ++--
|
||||
src/wn.c | 4 ++--
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/lib/binsrch.c b/lib/binsrch.c
|
||||
index 8b71216..9ac51a7 100644
|
||||
--- a/lib/binsrch.c
|
||||
+++ b/lib/binsrch.c
|
||||
@@ -193,7 +193,7 @@ char *replace_line(char *new_line, char *searchkey, FILE *fp)
|
||||
copyfile(fp, tfp);
|
||||
if (fseek(fp, offset, 0) == -1)
|
||||
return(NULL); /* could not seek to offset */
|
||||
- fprintf(fp, new_line); /* write line */
|
||||
+ fprintf(fp, "%s", new_line); /* write line */
|
||||
rewind(tfp);
|
||||
copyfile(tfp, fp);
|
||||
|
||||
@@ -220,7 +220,7 @@ char *insert_line(char *new_line, char *searchkey, FILE *fp)
|
||||
copyfile(fp, tfp);
|
||||
if (fseek(fp, offset, 0) == -1)
|
||||
return(NULL); /* could not seek to offset */
|
||||
- fprintf(fp, new_line); /* write line */
|
||||
+ fprintf(fp, "%s", new_line); /* write line */
|
||||
rewind(tfp);
|
||||
copyfile(tfp, fp);
|
||||
|
||||
diff --git a/src/wn.c b/src/wn.c
|
||||
index 004e1e6..398632f 100644
|
||||
--- a/src/wn.c
|
||||
+++ b/src/wn.c
|
||||
@@ -284,7 +284,7 @@ static void printsearches(char *word, int dbase, unsigned long search)
|
||||
printf("\t");
|
||||
printf(searchstr[j].template,
|
||||
partchars[dbase], partchars[dbase]);
|
||||
- printf(searchstr[j].helpstr);
|
||||
+ printf("%s", searchstr[j].helpstr);
|
||||
printf("\n");
|
||||
}
|
||||
}
|
||||
@@ -345,7 +345,7 @@ static int getoptidx(char *searchtype)
|
||||
|
||||
static int error_message(char *msg)
|
||||
{
|
||||
- fprintf(stderr, msg);
|
||||
+ fprintf(stderr, "%s", msg);
|
||||
return(0);
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -urNad wordnet-3.0/src/stubs.c.orig wordnet-3.0/src/stubs.c
|
||||
--- wordnet-3.0/src/stubs.c.orig 2007-01-04 18:47:55.000000000 +0100
|
||||
+++ wordnet-3.0/src/stubs.c 2007-01-20 19:01:19.000000000 +0100
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <tk.h>
|
||||
#include <wn.h>
|
||||
|
||||
-static char *Id = "$Id: stubs.c,v 1.7 2005/04/29 19:01:57 wn Exp $";
|
||||
+static const char Id[] = "$Id: stubs.c,v 1.7 2005/04/29 19:01:57 wn Exp $";
|
||||
|
||||
static char resultbuf[SEARCHBUF];
|
||||
|
@ -1,133 +0,0 @@
|
||||
src/stubs.c | 33 +++++++++++++++++----------------
|
||||
1 file changed, 17 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/src/stubs.c b/src/stubs.c
|
||||
index 794485c..cec2c04 100644
|
||||
--- a/src/stubs.c
|
||||
+++ b/src/stubs.c
|
||||
@@ -40,8 +40,8 @@ int wn_findvalidsearches (ClientData clientData, Tcl_Interp *interp,
|
||||
char *morph;
|
||||
int pos;
|
||||
if (argc != 3) {
|
||||
- interp -> result =
|
||||
- "usage: findvalidsearches searchword partofspeechnum";
|
||||
+ Tcl_SetResult(interp,
|
||||
+ "usage: findvalidsearches searchword partofspeechnum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
pos = atoi (argv[2]);
|
||||
@@ -52,7 +52,7 @@ int wn_findvalidsearches (ClientData clientData, Tcl_Interp *interp,
|
||||
} while ((morph = morphstr (NULL, pos)) != NULL);
|
||||
}
|
||||
sprintf (bitfieldstr, "%u", bitfield);
|
||||
- interp -> result = bitfieldstr;
|
||||
+ Tcl_SetResult(interp, bitfieldstr, TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -69,13 +69,13 @@ int wn_bit (ClientData clientData, Tcl_Interp *interp,
|
||||
static char bitfieldstr[32];
|
||||
int whichbit;
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: bit bitnum";
|
||||
+ Tcl_SetResult(interp, "usage: bit bitnum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
whichbit = atoi (argv[1]);
|
||||
bitfield = bit (whichbit);
|
||||
sprintf (bitfieldstr, "%u", bitfield);
|
||||
- interp -> result = bitfieldstr;
|
||||
+ Tcl_SetResult(interp, bitfieldstr, TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -89,8 +89,8 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
|
||||
int pos, searchtype, sense;
|
||||
char *morph;
|
||||
if (argc != 5) {
|
||||
- interp -> result =
|
||||
- "usage: search searchword partofspeechnum searchtypenum sensenum";
|
||||
+ Tcl_SetResult(interp,
|
||||
+ "usage: search searchword partofspeechnum searchtypenum sensenum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
pos = atoi (argv[2]);
|
||||
@@ -102,7 +102,7 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
|
||||
strcat (resultbuf, findtheinfo (morph, pos, searchtype, sense));
|
||||
} while ((morph = morphstr (NULL, pos)) != NULL);
|
||||
}
|
||||
- interp -> result = resultbuf;
|
||||
+ Tcl_SetResult(interp, resultbuf, TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_glosses (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: glosses [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: glosses [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
dflag = atoi (argv[1]);
|
||||
@@ -129,7 +129,7 @@ int wn_glosses (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_fileinfo (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: fileinfo [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: fileinfo [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
fileinfoflag = atoi (argv[1]);
|
||||
@@ -144,7 +144,7 @@ int wn_fileinfo (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_byteoffset (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: byteoffset [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: byteoffset [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
offsetflag = atoi (argv[1]);
|
||||
@@ -159,7 +159,7 @@ int wn_byteoffset (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_senseflag (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: senseflag [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: senseflag [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
wnsnsflag = atoi (argv[1]);
|
||||
@@ -175,12 +175,13 @@ int wn_contextualhelp (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
int pos, searchtype;
|
||||
if (argc != 3) {
|
||||
- interp -> result = "usage: contextualhelp partofspeechnum searchtypenum";
|
||||
+ Tcl_SetResult(interp,
|
||||
+ "usage: contextualhelp partofspeechnum searchtypenum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
pos = atoi (argv[1]);
|
||||
searchtype = atoi (argv[2]);
|
||||
- interp -> result = helptext[pos][searchtype];
|
||||
+ Tcl_SetResult(interp, helptext[pos][searchtype], TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -190,7 +191,7 @@ int wn_contextualhelp (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_reopendb (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 1) {
|
||||
- interp -> result = "usage: reopendb";
|
||||
+ Tcl_SetResult(interp, "usage: reopendb", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
re_wninit ();
|
||||
@@ -204,7 +205,7 @@ int wn_reopendb (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_abortsearch (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 1) {
|
||||
- interp -> result = "usage: abortsearch";
|
||||
+ Tcl_SetResult(interp, "usage: abortsearch", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
abortsearch = 1;
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools epatch flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="A lexical database for the English language"
|
||||
HOMEPAGE="https://wordnet.princeton.edu/"
|
||||
SRC_URI="
|
||||
ftp://ftp.cogsci.princeton.edu/pub/wordnet/${PV}/WordNet-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-patchset-1.tar.bz2"
|
||||
LICENSE="Princeton"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
# In contrast to what the configure script seems to imply, Tcl/Tk is NOT optional.
|
||||
# cf. bug 163478 for details. (Yes, it's about 2.1 but it's still the same here.)
|
||||
DEPEND="
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/WordNet-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
# Don't install into PREFIX/dict but PREFIX/share/wordnet/dict
|
||||
"${WORKDIR}/${P}-dict-location.patch"
|
||||
# Fixes bug 130024, make an additional shared lib
|
||||
"${WORKDIR}/${P}-shared-lib.patch"
|
||||
# Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN
|
||||
"${WORKDIR}/${P}-docs-path.patch"
|
||||
"${WORKDIR}"/${P}-CVE-2008-3908.patch #211491
|
||||
"${WORKDIR}"/${P}-CVE-2008-2149.patch #211491
|
||||
|
||||
"${FILESDIR}"/${P}-tcl8.6.patch
|
||||
"${FILESDIR}"/${P}-format-security.patch
|
||||
"${FILESDIR}"/${P}-src_stubs_c.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
|
||||
if ! use doc; then
|
||||
sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die
|
||||
fi
|
||||
|
||||
# Drop installation of OLD tk.h headers #255590
|
||||
sed '/^SUBDIRS/d' -i include/Makefile.am || die
|
||||
sed 's: include/tk/Makefile::' -i configure.ac || die
|
||||
rm -rf include/tk/ || die
|
||||
|
||||
rm -f configure || die
|
||||
eautoreconf
|
||||
MAKEOPTS+=" -e"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DUNIX -I"${T}"/usr/include
|
||||
|
||||
PLATFORM=linux WN_ROOT="${T}/usr" \
|
||||
WN_DICTDIR="${T}/usr/share/wordnet/dict" \
|
||||
WN_MANDIR="${T}/usr/share/man" \
|
||||
WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \
|
||||
WNHOME="${EPREFIX}/usr/share/wordnet" \
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-tk="${EPREFIX}"/usr/$(get_libdir)
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools epatch flag-o-matic
|
||||
|
||||
DESCRIPTION="A lexical database for the English language"
|
||||
HOMEPAGE="https://wordnet.princeton.edu/"
|
||||
SRC_URI="
|
||||
http://wordnetcode.princeton.edu/${PV}/WordNet-${PV}.tar.gz
|
||||
mirror://gentoo/${P}-patchset-1.tar.bz2"
|
||||
LICENSE="Princeton"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
# In contrast to what the configure script seems to imply, Tcl/Tk is NOT
|
||||
# optional. cf. bug 163478 for details. (Yes, it's about 2.1 but it's
|
||||
# still the same here.)
|
||||
DEPEND="
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/WordNet-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
# Don't install into PREFIX/dict but PREFIX/share/wordnet/dict
|
||||
"${WORKDIR}/${P}-dict-location.patch"
|
||||
# Fixes bug 130024, make an additional shared lib
|
||||
"${WORKDIR}/${P}-shared-lib.patch"
|
||||
# Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN
|
||||
"${WORKDIR}/${P}-docs-path.patch"
|
||||
"${WORKDIR}"/${P}-CVE-2008-3908.patch #211491
|
||||
"${WORKDIR}"/${P}-CVE-2008-2149.patch #211491
|
||||
|
||||
"${FILESDIR}"/${P}-tcl8.6.patch
|
||||
"${FILESDIR}"/${P}-format-security.patch
|
||||
"${FILESDIR}"/${P}-src_stubs_c.patch
|
||||
"${FILESDIR}"/${P}-fix-indexing-bug-314799.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
eapply_user
|
||||
|
||||
# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
|
||||
if ! use doc; then
|
||||
sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die
|
||||
fi
|
||||
|
||||
# Drop installation of OLD tk.h headers #255590
|
||||
sed '/^SUBDIRS/d' -i include/Makefile.am || die
|
||||
sed 's: include/tk/Makefile::' -i configure.ac || die
|
||||
rm -rf include/tk/ || die
|
||||
|
||||
rm -f configure || die
|
||||
eautoreconf
|
||||
MAKEOPTS+=" -e"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DUNIX -I"${T}"/usr/include
|
||||
|
||||
PLATFORM=linux WN_ROOT="${T}/usr" \
|
||||
WN_DICTDIR="${T}/usr/share/wordnet/dict" \
|
||||
WN_MANDIR="${T}/usr/share/man" \
|
||||
WN_DOCDIR="${T}/usr/share/doc/wordnet-${PV}" \
|
||||
WNHOME="${EPREFIX}/usr/share/wordnet" \
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-tk="${EPREFIX}"/usr/$(get_libdir)
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="A lexical database for the English language"
|
||||
HOMEPAGE="https://wordnet.princeton.edu/"
|
||||
SRC_URI="
|
||||
http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz
|
||||
http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz
|
||||
https://dev.gentoo.org/~soap/distfiles/${PN}-3.0-patchset-2.tar.xz"
|
||||
S="${WORKDIR}/WordNet-3.0"
|
||||
|
||||
LICENSE="Princeton"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
# In contrast to what the configure script seems to imply, Tcl/Tk is NOT
|
||||
# optional. cf. bug 163478 for details. (Yes, it's about 2.1 but it's
|
||||
# still the same here.)
|
||||
DEPEND="
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/patches/${PN}-3.0-build-system.patch
|
||||
|
||||
"${WORKDIR}"/patches/${PN}-3.0-CVE-2008-3908.patch #211491
|
||||
"${WORKDIR}"/patches/${PN}-3.0-tcl8.6.patch
|
||||
"${WORKDIR}"/patches/${PN}-3.0-format-security.patch
|
||||
"${WORKDIR}"/patches/${PN}-3.0-src_stubs_c.patch
|
||||
"${WORKDIR}"/patches/${PN}-3.0-fix-indexing-bug-314799.patch
|
||||
"${WORKDIR}"/patches/${PN}-3.0-CVE-2008-2149.patch #211491
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DUNIX -I"${T}"/usr/include
|
||||
|
||||
PLATFORM=linux \
|
||||
WN_ROOT="${T}"/usr \
|
||||
WN_DICTDIR="${T}"/usr/share/wordnet/dict \
|
||||
WN_MANDIR="${T}"/usr/share/man \
|
||||
WN_DOCDIR="${T}"/usr/share/doc/wordnet-3.0 \
|
||||
WNHOME="${EPREFIX}"/usr/share/wordnet \
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-tk="${EPREFIX}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# For clarification: WN is still on version 3.0. Only the database files
|
||||
# have been updated to 3.1 as a package for 3.1 does not currently exist.
|
||||
rm -r "${ED}"/usr/share/wordnet/dict || die
|
||||
insinto /usr/share/wordnet
|
||||
doins -r "${WORKDIR}"/dict
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The WordNet 3.1 ebuild has installed WordNet v3.0 with v3.1 database files instead."
|
||||
elog "See https://wordnet.princeton.edu/download/current-version/ for more."
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic
|
||||
|
||||
DESCRIPTION="A lexical database for the English language"
|
||||
HOMEPAGE="https://wordnet.princeton.edu/"
|
||||
SRC_URI="
|
||||
http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz
|
||||
mirror://gentoo/${PN}-3.0-patchset-1.tar.bz2
|
||||
http://wordnetcode.princeton.edu/wn3.1.dict.tar.gz"
|
||||
LICENSE="Princeton"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc"
|
||||
|
||||
# In contrast to what the configure script seems to imply, Tcl/Tk is NOT
|
||||
# optional. cf. bug 163478 for details. (Yes, it's about 2.1 but it's
|
||||
# still the same here.)
|
||||
DEPEND="
|
||||
dev-lang/tcl:0=
|
||||
dev-lang/tk:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/WordNet-3.0"
|
||||
|
||||
PATCHES1=(
|
||||
# Don't install into PREFIX/dict but PREFIX/share/wordnet/dict
|
||||
"${WORKDIR}/"${PN}-3.0"-dict-location.patch"
|
||||
# Fixes bug 130024, make an additional shared lib
|
||||
"${WORKDIR}/"${PN}-3.0"-shared-lib.patch"
|
||||
# Don't install the docs directly into PREFIX/doc but PREFIX/doc/PN
|
||||
"${WORKDIR}/"${PN}-3.0"-docs-path.patch"
|
||||
"${WORKDIR}"/"${PN}-3.0"-CVE-2008-3908.patch #211491
|
||||
|
||||
"${FILESDIR}"/"${PN}-3.0"-tcl8.6.patch
|
||||
"${FILESDIR}"/"${PN}-3.0"-format-security.patch
|
||||
"${FILESDIR}"/"${PN}-3.0"-src_stubs_c.patch
|
||||
"${FILESDIR}"/"${PN}-3.0"-fix-indexing-bug-314799.patch
|
||||
)
|
||||
|
||||
PATCHES0=(
|
||||
"${WORKDIR}"/"${PN}-3.0"-CVE-2008-2149.patch #211491
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply -p1 "${PATCHES1[@]}"
|
||||
eapply -p0 "${PATCHES0[@]}"
|
||||
eapply_user
|
||||
|
||||
# Don't install all the extra docs (html, pdf, ps) without doc USE flag.
|
||||
if ! use doc; then
|
||||
sed -i -e "s:SUBDIRS =.*:SUBDIRS = man:" doc/Makefile.am || die
|
||||
fi
|
||||
|
||||
# Drop installation of OLD tk.h headers #255590
|
||||
sed '/^SUBDIRS/d' -i include/Makefile.am || die
|
||||
sed 's: include/tk/Makefile::' -i configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -DUNIX -I"${T}"/usr/include
|
||||
|
||||
PLATFORM=linux WN_ROOT="${T}/usr" \
|
||||
WN_DICTDIR="${T}/usr/share/wordnet/dict" \
|
||||
WN_MANDIR="${T}/usr/share/man" \
|
||||
WN_DOCDIR="${T}/usr/share/doc/wordnet-3.0" \
|
||||
WNHOME="${EPREFIX}/usr/share/wordnet" \
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-tk="${EPREFIX}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -e
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# For clarification, WN is still on version 3.0. Only the database files
|
||||
# have been updated to 3.1 as a package for 3.1 does not currently exist.
|
||||
emake -e DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
rm -r "${D}/usr/share/wordnet/dict" || die
|
||||
mv "${WORKDIR}/dict" "${D}/usr/share/wordnet" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The WordNet 3.1 ebuild has installed WordNet v3.0 with v3.1 database files instead."
|
||||
elog "See https://wordnet.princeton.edu/download/current-version/ for more."
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX 50s-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5
|
||||
DIST s-1.12.0.tar.gz 59193 BLAKE2B 89e4c453b6590116a4cc08fc1be73519e6c95586c1e80b37f37d7273232aa707cd030cf74106fdd7eb7f05fe8ebd04253592076573472c3927cc1428b4c029f8 SHA512 036369011295dfde7567ae8bd479be9635de479e8821c3fe117a6c3827bc83492bb91e6ac64d4b20b061da95690f5585ed58f116a2b8c877dceee22153c8c990
|
||||
EBUILD s-1.12.0.ebuild 450 BLAKE2B 18ab861ac73c276bd269358e2a251ec37dd106c6462b6f7d9d585f8d0224ce57a59e45cb10d7b01fd578584990d31b63cbf1e98b2d4aa677eb9477f255778a0e SHA512 623e623c52cfdf4873030297b55fbbcc695253c2ea49e94d30a24a37c9487548ed760f863e3008bfbdcd80f73a35acc581e01cab3ae978c073a280dfd0d1f8f4
|
||||
EBUILD s-1.12.0.ebuild 457 BLAKE2B 501820173974c3eec5812c2844849859ada1ef5c8f1cc4ec711f8c8e5727821fdb62bd1097a78c192e63f3fd044f7863c32bd9a45dc9d79fc3d3db4a35daf8d8 SHA512 250638d81585dc593fea52e88add79f9d0ff878f16f9f8e79392a697b4f28aecea59b059a62dbe86c48f3d143056c369df093dffd78a3c5533ed0549ea5ffc5e
|
||||
MISC metadata.xml 358 BLAKE2B c966645ca03d9831e511a7b54ab031c9c9764ee8295d5b0a90dc1f80d93a68c95076329af5d8951dc025d86ab0f15580109b2c521178ff68694cfdce5fe0f9bf SHA512 268ef26faa4a736d2301efa6c3f745f90cc41fbc6fbaeb63931a6206a2cd78e66546d30f16dc956c7918a644522a637311047e71dc4318bdc588957085fca914
|
||||
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX fs-uae-launcher-3.0.0-ROMs.patch 626 BLAKE2B 2662476f496345e6dc2f169b8c3e6e579ba68c3c7c1d9c782ce2dff39394520bde6dc1a52d9d43f562bddec9dc28daa3d0e7e1e93f1da48a0a932e1415ad40ea SHA512 8b607f64cd1c66601f7fccf5332377a85e905a6d9ba9fadb9a7234d5f36c350590011141602e093ee7a30dce4c9c6c0e9928b8b7a0be716eeaa15aeff1eacce0
|
||||
DIST fs-uae-launcher-3.0.5.tar.gz 9633819 BLAKE2B 8ce627302244bbd7d174f28c0dad345699942429c1109a7408c88412f6bb0e3e5d765e6c51abf2b95837a83261023b4f9c58d65892e58043889be8dc5e4cb759 SHA512 1a6700c56a14edce86ffbefee7494117af067da8b1dbc22937a36641ccb90927a3bbb011d15a891388bf08378aa623e00a2d45dbc49e822a5a569e110843add5
|
||||
DIST fs-uae-launcher-3.1.26.tar.gz 9656516 BLAKE2B 1b8d12ef91631dedf412976e81529ac7138b7f688ad6ae1ad55bfd3625590ee00aab89d229d2aa64eec577d291a6e634362c557428534c355fdb39e878f40253 SHA512 0e4e542bebfe2d8f862005c016fe70319dd6c5e1e413be9b0ce0421bb95253ba6eb92337989cc86210094b9b02a6ad86da4725f1a65d50673703fa6c6cb58f37
|
||||
EBUILD fs-uae-launcher-3.0.5.ebuild 2055 BLAKE2B d6bf506e21a0e22afa5517fef2d6af211c283c9cebbba267d2d4567a1b3ea0a899e1d0ffe6b482191efb032c9b960b18e661dce94a226ad219e2bbcbf22432e5 SHA512 ae1c722b35a0f4be42010a8bb09ae19d692a490106752c8ac8450ec3c2f8c8ddaacc5a5d3cd97036f84627539d14af50b02f0e3f6f0999310475081fc0c8abda
|
||||
EBUILD fs-uae-launcher-3.1.26.ebuild 2178 BLAKE2B 0fd5ddbdbd88ad3e67e96a9452b61b7949a11182188babf8c18712cf1f6f9bc0c9d4eea869dd051bc6d5ba4f3fda77e181a86b7eaf5914567e39222ee361ff20 SHA512 25d3059c2e91b7440f1144fcd22f5b81fce69ea92d0eb8329fd7a036a89e965040b609a2c7f50990dfebc27660cfe1603bbe139488b331cd923f1b82199bce61
|
||||
MISC metadata.xml 409 BLAKE2B 0e27dad4e68facd0066f0f7d02e859eef7147a16cffa734b74efce77eea44ed333052e3a2a9956c052d9c7e8459b50893b0af78eb2061d1c0a1eaf32597ee1d0 SHA512 a4cf13ffb131f6049cdbd83c16ee1114651450d874dca73f68dfa19686ab09021277e860068a4ed6e8318d9bb1b750f861cb2a693945bcd8d0d4eece7f576e94
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
inherit distutils-r1 xdg
|
||||
|
||||
DESCRIPTION="PyQt5-based launcher for FS-UAE"
|
||||
HOMEPAGE="https://fs-uae.net/"
|
||||
SRC_URI="https://github.com/FrodeSolheim/fs-uae-launcher/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="lha"
|
||||
RETRICT="test" # The test files are just boilerplate.
|
||||
|
||||
RDEPEND="
|
||||
app-emulation/fs-uae
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},declarative,gui,network,opengl,widgets]
|
||||
dev-python/pyopengl[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
lha? ( dev-python/python-lhafile[${PYTHON_USEDEP}] )
|
||||
')
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.0-ROMs.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python bootstrap
|
||||
|
||||
# Unbundle OpenGL library. Keep oyoyo IRC library because upstream
|
||||
# is long dead and it's not worth packaging separately.
|
||||
rm -r OpenGL/ || die
|
||||
sed -i -r "/OpenGL/d" setup.py || die
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
emake
|
||||
}
|
||||
|
||||
python_install() {
|
||||
local dir=${EPREFIX}/usr/share/${PN}
|
||||
distutils-r1_python_install --install-lib="${dir}" --install-scripts="${dir}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dosym ../share/${PN}/${PN} /usr/bin/${PN}
|
||||
emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr
|
||||
mv "${ED}"/usr/share/doc/{${PN},${PF}} || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Some important information:"
|
||||
elog
|
||||
ewarn " - Do not use QtCurve, it will crash PyQt5!"
|
||||
elog
|
||||
elog " - By default, FS-UAE creates its directories under Documents/FS-UAE."
|
||||
elog " If your Documents directory is not configured according to the XDG"
|
||||
elog " user diretory spec, ~/FS-UAE will be used as a fallback."
|
||||
elog
|
||||
elog " - You can override this by putting the path to the desired base"
|
||||
elog " directory in a special config file. The config file will be read"
|
||||
elog " from ~/.config/fs-uae/base-dir by both FS-UAE and FS-UAE Launcher"
|
||||
elog " if it exists."
|
||||
elog
|
||||
elog " Alternatively, you can start FS-UAE and/or FS-UAE Launcher with"
|
||||
elog " --base-dir=/path/to/desired/dir"
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX fs-uae-3.0.0-Xatom.h.patch 669 BLAKE2B 3463b8f19551b8ea3d634bc75f9de2fb77685af9c24e1fba555991d1d094f4d75be048e4d9a7852bfd8882b1e9826f174550bc3953e3ec636193aaa647462d12 SHA512 af86c772049d8ff5eef36c8988888891ea60a68e929d752c8f1c9e325af584175f14496a2099654381bb33a3adecb913991e129fee05524ecad4a166228dbd68
|
||||
AUX fs-uae-3.0.0-libmpeg2.patch 1078 BLAKE2B 119d797854beb0148af9a77003b7b06696d9a474645ff15181044dcffd783a91f89a66cf90b072603c4f324b95a4a0cf124abefc6adc71b9be4b8a92f36060ac SHA512 8624c3404b627321a2b6673271be27daa24924a8c56903c870fd5a6f2dc50c18fd97810a1aab3cd684a5a97544c1e64f68c855c822d3e5bb5981faf264d28ae7
|
||||
DIST fs-uae-3.0.5.tar.gz 4819884 BLAKE2B 0a82e0635ed02c1b4f04610555370c80ea12a870a73fd00cc98adefcefada2deed293c437202af34fc98e2f695fe1b08df918eca71b504e5b94e5ab3a099d9ed SHA512 b34ffb818040c7bf67022f26e1dbc9ebf06742a354212f2b0d2aa6b8e04c60807893a16ff965c819395f4c3fb3c43c35b38dce848b86fa046a211e12414385c7
|
||||
DIST fs-uae-3.1.35.tar.gz 4817547 BLAKE2B 5f75a1e262ba8d642401a03ac5b2494be37b8bab8f014a48208cc6e0b2e33373a7ce6146065f41404d8fcbd60fe71582319abe51521336c2d7c04668c3adacd9 SHA512 96bec936f867fc42eb9f61058887c027da0bab1c8df196ab62a714b1f28c92aafe6c4a61d441e5c7b5d8aee28c90d68812d0f6049c610e2ef9eebdd7e3edf013
|
||||
EBUILD fs-uae-3.0.5.ebuild 2441 BLAKE2B dc324751f374098920fe05b64d3e784cda02ed8566772edffad946d20cf414c0396e5c438a5df92d9161982c77881520d2cac648d0168f1df25cc1260740cc7d SHA512 19ed36eb650ae6945c92b8a3e12d01333cdc59f39a77e80521d57c2e301d5832b7120f0ce34e049fb0e49d141af3b8a1a1ebd0acf5bda56c0d7d5de5313c7202
|
||||
EBUILD fs-uae-3.1.35.ebuild 2318 BLAKE2B c0e4136fbfbc3ffd5675b0143bf5b64436af57d35aef075b999aa98ff313fee162063e1ea55132a6900b39dddf58ec8e77e9cae65e8aebf2a982b2d7db8b01ec SHA512 a405ca0adacd46f7464863565efd9c12c72f3f49ed7846bc7bc9559e574bbc874d0d4d4add0b0e7f180ccdbeb3fc0db7f673bd9062b8ec3840828c90d210432a
|
||||
MISC metadata.xml 534 BLAKE2B 06da96462379543ad704ca1227e546f26e5578f1f62b14debe6297a659e250708b1c6b60d4e60805142f76b12b0c31812060af661f2166749aac811b82edc695 SHA512 2366d8d0d180a639d65aa1e7092cc9669f6d2ae07b3ce3ed6386e15795f141067ec93014f87bb6b0c57c51dfbb4c33ae5886f541a0634432c53a5541eb68f229
|
||||
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools xdg
|
||||
|
||||
DESCRIPTION="Integrates the most accurate Amiga emulation code available from WinUAE"
|
||||
HOMEPAGE="https://fs-uae.net/"
|
||||
SRC_URI="https://fs-uae.net/stable/${PV}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="fmv glew"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
media-libs/libpng:0=
|
||||
media-libs/libsdl2[opengl,X]
|
||||
media-libs/openal
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
fmv? ( media-libs/libmpeg2 )
|
||||
glew? ( media-libs/glew:0= )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/zip
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.0.0-libmpeg2.patch
|
||||
"${FILESDIR}"/${PN}-3.0.0-Xatom.h.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
AT_NO_RECURSIVE=1 eautoreconf
|
||||
|
||||
# Ensure bundled libraries are not used. Udis86 is unused
|
||||
# regardless. Only FLAC headers are bundled and the library is never
|
||||
# used? Lua is bundled but differs from upstream. We keep the
|
||||
# default of disabling the Lua feature anyway as it is unfinished.
|
||||
rm -r libmpeg2/ libudis86/ || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Qt and Udis86 are unused.
|
||||
econf \
|
||||
--enable-a2065 \
|
||||
--enable-action-replay \
|
||||
--enable-aga \
|
||||
--enable-arcadia \
|
||||
--enable-bsdsocket \
|
||||
--enable-caps \
|
||||
--enable-cd32 \
|
||||
--enable-cdtv \
|
||||
--enable-codegen \
|
||||
--enable-dms \
|
||||
--enable-drivesound \
|
||||
--enable-fdi2raw \
|
||||
--enable-gfxboard \
|
||||
--enable-jit \
|
||||
--enable-jit-fpu \
|
||||
--disable-lua \
|
||||
--enable-netplay \
|
||||
--enable-ncr \
|
||||
--enable-ncr9x \
|
||||
--enable-parallel-port \
|
||||
--enable-prowizard \
|
||||
--enable-savestate \
|
||||
--enable-scp \
|
||||
--enable-serial-port \
|
||||
--enable-slirp \
|
||||
--enable-softfloat \
|
||||
--enable-qemu-cpu \
|
||||
--enable-qemu-slirp \
|
||||
--enable-uaenative \
|
||||
--enable-uaenet \
|
||||
--enable-uaescsi \
|
||||
--enable-uaeserial \
|
||||
--disable-udis86 \
|
||||
--enable-vpar \
|
||||
--enable-xml-shader \
|
||||
--enable-zip \
|
||||
--without-cef \
|
||||
--with-glad \
|
||||
--without-qt \
|
||||
$(use_with fmv libmpeg2) \
|
||||
$(use_with glew)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Needed for QEMU-UAE.
|
||||
insinto /usr/include/uae
|
||||
doins src/include/uae/{api,attributes,log,ppc,qemu,types}.h
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "Install app-emulation/fs-uae-launcher for a better graphical interface."
|
||||
}
|
Binary file not shown.
@ -1,6 +1,4 @@
|
||||
AUX ibus-chewing-test.patch 1700 BLAKE2B 6cc7fa0fe7bbdb49f89adc5e0f2509bfd34222d3d7ab16e39effe98e973582120bcb90e7d00e859121fd1c16f41df3ade9750ed879e88269230d4984109f64a4 SHA512 124042ccebc509116661dd732b4bbb237a3962518a273701da7d4a20ec0109a3f5b850380c712e457df947e146c189a2606976262915d3973211b70b7464c061
|
||||
DIST ibus-chewing-1.5.1-Source.tar.gz 177044 BLAKE2B b188c7ea2c12fd1ccf64a70355da0a6f8a47976f141c8a0a7edcc7a5ccd6b959f73cad2cd1137874f965967780691fe920b44b3141cc6fa4e631921f4c4a2582 SHA512 2db6def1fe8ca3bd71419a001909d285ee48ef84c2f65e14bacff9cd114676bed594f0c90217e1fdab67c995a7b05d675812e90e281371d8464722c31649c633
|
||||
DIST ibus-chewing-1.6.1.tar.gz 111103 BLAKE2B c9b22b0fe4b164d02a1782479e139e04e3113299fb3ccebdba24eaa9d15964eca34d381f45f0c313bb53bc0b8c7f7b649ff4c0179c712f6d880e3d92a9d02692 SHA512 b093db79c656433614b9f72719a2b0768a30c2fb6fa066eda1e79cc9932ce1836f7f1e5611612fb44f260fe80a9baa9e18fdc9754b285e8a5f12a87c376cbd39
|
||||
EBUILD ibus-chewing-1.5.1-r1.ebuild 1450 BLAKE2B e2e8ee3f2dc2e805da44ccb7535e9b548f4f4bb6d32ec2d5f439776d17c9db75d9efa5ae4b3354d6ca8737c0e82a41e0bd67aa001427855e523ede0515c369c3 SHA512 69b31323aaee9f7c00a263c09169f69faf934fe605e7de0eef5a472fb56a52ccb6a6ac4c75c21dbe8b5bb0cffe91de56eb3522ced09e13e8ab8c814a387f9957
|
||||
EBUILD ibus-chewing-1.6.1.ebuild 1430 BLAKE2B 3b2c28285abc9d559961a16d1d7543118dd10c7c728d1ae123b74c1b776f25c890962f959167120aeb8ad12996804f6438729c6aff69db14764ceff0d1b1c2f0 SHA512 6631ce3998047f196dd6b8deef3570b39b937c7fd85facdfa1b720be773c87cafe5a36f8c1da7ad0458cdeee23591be0ddd621a0e0ebf93188cd7f1785b3d56f
|
||||
MISC metadata.xml 425 BLAKE2B 3d316bb5e0e46c4fb91e042eec905fb162abe1258796d1e31a029d272f413c8ef0266883ce4605d56d14910b319c1f14750e392f79fe807b19647ae79bc5b921 SHA512 e0c893b0d30b186f6c0f0043e1babbdf0f245f664dde4cf74d0a97367c94e975bb8d6874eddff69875f0a7741282aa118b34ff76f475aa2ada86fad9b93f594f
|
||||
AUX ibus-chewing-test.patch 2777 BLAKE2B cb7f3c8246ff80a6b7781a72aa27f0a5804d7dcfedd51001888c7833d6eb6790b5a931412d3bfad28c1711578799b48b5c39ce4760ebf96b03282bee2b233312 SHA512 245f907e51ffd4c7efd291055322e976eebf948f3f86b1e23a9f187f97ae91e20a41c6faf1a0396ebc097f09ba71e123940878c5211d2bf7f49ecce770a7a2cf
|
||||
DIST ibus-chewing-1.6.1_p20210117.tar.gz 112715 BLAKE2B 80279a40c8733fc8e9f43b09cf825bea53442a6572d7863bf7d8faf06765fcb3609c71b9087551c6b2d35b268b2585f6e4c019f15ccc08c8f91bc3a14427ad57 SHA512 979f58d3b32ec22051d32c7425867761eea8e13eb9dc900975e3986bb7b3064883474267731c32f79c96d2029da0415dba8d5ed7ae3645f04c3fed44dbe25bd6
|
||||
EBUILD ibus-chewing-1.6.1_p20210117.ebuild 1495 BLAKE2B 9360c9e227f4617e73f9790601061a758dbf04fae6753407b159eee5ae111fec7ebd7fbad55c07c535a395ca81490c5ce8020a426b0c73130d8e265bb85b3098 SHA512 3f5f6a0385dc4b6354e16e78b0e7ae3bd0d88943a6b5b1b569c00f54afb65db2ca66781be440221032347ff8c6a310b383e635b7403c6212c23091c29840b209
|
||||
MISC metadata.xml 411 BLAKE2B 39bf10c1dbb59f5213f9250b3780bb1a91bc7a13f6681eb996a64344779775247859b38d4a55c42b030ed15fa7d408ea387cd28c200740a76fd70383814cb016 SHA512 57eca3e6c4d055f23021ace5573124be9a826de6227391d024701faeea31c2e280633523ee509565c2c2223faa7d0a92c12f92b70b83bdfbc444b604066db481
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake-utils gnome2-utils virtualx
|
||||
|
||||
MY_P="${P}-Source"
|
||||
|
||||
DESCRIPTION="Chinese Chewing engine for IBus"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/definite/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gconf nls"
|
||||
|
||||
RDEPEND="app-i18n/ibus
|
||||
app-i18n/libchewing
|
||||
dev-libs/glib:2
|
||||
dev-util/gob:2
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
gconf? ( gnome-base/gconf )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-test.patch )
|
||||
DOCS=( AUTHORS ChangeLog README RELEASE-NOTES.txt USER-GUIDE )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMANAGE_DEPENDENCY_PACKAGE_EXISTS_CMD=false
|
||||
-DPRJ_DOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
use nls || mycmakeargs+=( -DMANAGE_GETTEXT_SUPPORT=0 )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${EPREFIX%/}/"${GLIB_COMPILE_SCHEMAS} --allow-any-name "${BUILD_DIR}"/bin || die
|
||||
|
||||
export GSETTINGS_BACKEND="memory"
|
||||
export GSETTINGS_SCHEMA_DIR="${BUILD_DIR}/bin"
|
||||
virtx cmake-utils_src_test
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use gconf && gnome2_gconf_savelist
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use gconf && gnome2_gconf_install
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_schemas_update
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">definite/ibus-chewing</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="project">
|
||||
<email>cjk@gentoo.org</email>
|
||||
<name>Cjk</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="gconf">Enable support for <pkg>gnome-base/gconf</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">definite/ibus-chewing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,5 +1,6 @@
|
||||
AUX ibus-hangul-test.patch 446 BLAKE2B 06a83c8701e803f97b5755215488639b77c3be819b39932e6d6e957467eec482f32bf0477d84e7ec552a495f2e5b56f4dc730c27851cff2f252b0b36152d19f6 SHA512 3171d14b3eb495f09c5a90cee9fc85d87a5b773452367f1ed1bd33eaa3a220658052f6edef53fc7585292b0811f5b04b53eade0175d609dadcee0d29ea3506ac
|
||||
DIST ibus-hangul-1.5.3.tar.gz 525834 BLAKE2B 6c92dbbde39bc42b7df974dbb23c9ef62088c8d3f63a500bd3c7e9c90b3d80d16dc1d76616620e1d7590fee549979a03585ac635761687dc11737d65fdf09e08 SHA512 ba21a8afb750e33744042c5e4f9d88891764921a37c4dbe1f4efa9883fd3c889789854af57adcd24bc1ca365ee49d2e01073c54d72cd025558b41788fb6213b4
|
||||
DIST ibus-hangul-1.5.4.tar.gz 542612 BLAKE2B 46495c04a37888a3ed21831b5bbca5b788f4d3a831fb3ce4eb13d95f302877fadddf831016f1d29aa2c1a6ba73fc0d585f2be57c10267a51a1a2186642632918 SHA512 dc4c755349424605de3832496a8a0cf7e8da577cbeff85d2b03da187fd5fdc9de5475eb523c69310e4f7edbb9a513f6f218de082ba32a25a477cdf5eb6f65513
|
||||
EBUILD ibus-hangul-1.5.3-r1.ebuild 988 BLAKE2B 843a94ce91a794fdb3edb82521e1ac317eb13d42a596286049b46bac75963987b3e8e62a462cfed23ac8ea1252c6cb04805a04d83dd767916816daabd9d43137 SHA512 31ca698a4989a3503ee2f79a6afb5d6e7dea3906f553ae03034f47c479e5a7bc404e7040c4344ffe117a1aad0db81b58189353e5ab1c569c377464ba8da05119
|
||||
EBUILD ibus-hangul-1.5.4.ebuild 990 BLAKE2B 7dd6f3dfd6f96637fd73e2e0f1dbe3eda72c454a319aa56fb389ebb1ad9667373d8992eaaacf2e54576b83182ae18c7bf9cabe185625da424cf407cae7458599 SHA512 a0b4d22d042f94880f07b38815bb8ff2fa9ed14698fcb40e33fc0b70e5c59311aae8f1683ea24959acae723596f1dfc52dadd243faf196c25e4bedd17ee04e30
|
||||
EBUILD ibus-hangul-1.5.4.ebuild 1223 BLAKE2B 73a04f764828b84eef8c7ca1f507fddf915e77432f281dfaf6a4c06ba8308813fd239f1c331e85cd618f1ceaf889d2aba585bcd50de6c1bdce62b2f435ec78e5 SHA512 dc7246018b7e13a098aceb39507da85329e91c167e18ddeaa4d486752accebf11732f21ab5bffcba73cc5f328d1456d69ae146223fd3ad15dcbe248a98c7057e
|
||||
MISC metadata.xml 321 BLAKE2B d336297b96a4ba3ae1e2c8bf3b1493717b49ce42c85cb0748af54c7bf6be4a1c74461c122dbbfc9b107fa02f4e83800798dd61c1bba74426bb7a2487e0d8fef9 SHA512 d05f79c856e4e579d1f98cd7c9869294f1906fa7e73eeae7120ee6af710d5f16f103d63f1261a9d798ba5584fa8e6f349d73d407a747811515280c736b43eb48
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- a/tests/ibus-hangul.c
|
||||
+++ b/tests/ibus-hangul.c
|
||||
@@ -261,6 +261,7 @@
|
||||
G_CALLBACK (window_inserted_text_cb), entry);
|
||||
gtk_container_add (GTK_CONTAINER (window), entry);
|
||||
gtk_widget_show_all (window);
|
||||
+ gtk_window_present (window);
|
||||
}
|
||||
|
||||
static void
|
||||
--- a/tests/runtest
|
||||
+++ b/tests/runtest
|
||||
@@ -7,7 +7,6 @@
|
||||
: ${DISABLE_GUI_TESTS:=''}
|
||||
|
||||
ibus-daemon --xim --panel disable --config disable &
|
||||
-sleep 30
|
||||
|
||||
tst=$1
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST ibus-table-chinese-1.8.2.tar.gz 10576111 BLAKE2B a80fa9c4780207efefba1118ee9dacc33dba4136b916a24971198b3325bf1b26f86cd4586db994db6dfaa85fffe087b021673d056b10df61c5f95ede4e967cd6 SHA512 30fd1c7ee8416cd62d8e26bc2646a667ac45c4579a7cb191c77e80fecccbc576c34f33ec0b5c55669c073a633298cfda1711e4b9d89a9ef8f6146acdc0167c1a
|
||||
DIST ibus-table-chinese-1.8.3.tar.gz 10824912 BLAKE2B e9f4e377a794827196e04e197044b3fdcd81d84ed89067e17745879495df69cc6e95814863f856cc0a7b7db0aba3cbd93d1c1d172f607fdd410dbed02dc4ad54 SHA512 610455343d9c9bf6577c7fd7aef9435c339c2f23c4d5f7ae2cbbc2366a9eb6a8a124e86621387497cc624e3276bf739b55602355ad41c4127f45f6d85cc5b4dc
|
||||
EBUILD ibus-table-chinese-1.8.2.ebuild 731 BLAKE2B ce48f80c7feb47b4ff2a0720e327faf322ebd180cfc022f4485d9a8d7da9de6ac8a480f8f3fc4beef1dfb811b15f2debbf4582c4a0f8cf70df26c985a32ec954 SHA512 13f1884ea80789b0436f3a993cd784fec1ac0417007c2b131ce3c3ce12e57c94b442d43e07a746c980360a910df7797cce9f11fefda92f6f5255ddc14f150212
|
||||
EBUILD ibus-table-chinese-1.8.3.ebuild 733 BLAKE2B 2e5b2092d7f6393a7d386e045444de81b7b0664744e085c14b2f70ecfac1e3371770a582172e74a881ae90823cf890369d3dcc033aee0f09aa3f0e20d6916ee3 SHA512 b691aea0d21000da67bc3a3c868c5db5d7b96799fd276092b9e43d439df9a15290ca98e599349e46511474abfccd9773b1438dbf6c888a04e20963dd56cc1e20
|
||||
EBUILD ibus-table-chinese-1.8.3.ebuild 731 BLAKE2B 8761567c6a2be7538d74e5b59e6b753f2f29880edea8980af2b02c043e0577b8f155e3de2f7e52649ad11e28f02f6b48fd0c63d05d24e162805048b0d49f3d05 SHA512 0bdee824e3ee3d5439fb3142dd9a079e084b1091dc26a40e246f6a2457714ef553e693940c779ebf1eb292b524f4cd3ece4dcf0b4207d1539975585838309463
|
||||
MISC metadata.xml 327 BLAKE2B c229992501fcb82736c7075b0bf06f3b6bd6999e54efc0bde71318a7b913d559af50f04ff04b30ca4c8d9028b061ea56a9eaa418314a8e28aac6b8e5897e527d SHA512 01c8f5543e6430b811708f685f545e969e4f7e1cd57f08613ea514ee5d14e1d79c9b49dd3e2cd62fe4d93137961f7503feac28331300bf50f8ea37657d7bd664
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
CMAKE_IN_SOURCE_BUILD="1"
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Chinese tables for IBus-Table"
|
||||
HOMEPAGE="https://github.com/definite/ibus-table-chinese"
|
||||
SRC_URI="https://github.com/definite/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-i18n/ibus-table"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/cmake-fedora"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_FEDORA_TMP_DIR="${T}"
|
||||
-DDATA_DIR="${EPREFIX}"/usr/share
|
||||
-DMANAGE_DEPENDENCY_PACKAGE_EXISTS_CMD=false
|
||||
-DPRJ_DOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST ibus-table-others-1.3.11.tar.gz 662398 BLAKE2B a600535b51b731c482eeecb78b8bff6ca14795e411348ed0e2cd4207ad1a89aed7d338c6b706695dd734f405ee5203e23dfffa370cae12ad763eabf6bbdfe848 SHA512 bfa17338e3a6a3e392bb3e5e5736af9bfa5584a897aea4ca72aec0df2c84dc94a0737f8fb87ced382e6acac3f8169ed2aef93a2f94330a4829048d009cb96ee0
|
||||
DIST ibus-table-others-1.3.9.tar.gz 627253 BLAKE2B b4c72ead9364945a3f15a348aa14e0886ebc7c7fd35448d573540ffd9510139630ac22228229ee1a37687e01179a0ec880ce170e84a196b0defe5c059b662583 SHA512 4557ba981a00035226b6cbe0d97ae14df275d3e7c5c453097b85e433a524e00efeebe508621495e63d6ff9cdd590f9d54b51a143147b83e1e3748f05b03d2019
|
||||
EBUILD ibus-table-others-1.3.11.ebuild 552 BLAKE2B 1b430d48647bb709d400f599f734b835a924b31c65b8a139435c5ed8d8271aa7c30ba413738aecaccaedfff352ea55e70ba25e69ff5728c89cdd626d1b786b2f SHA512 8e0e686cdf3fbdac487bc9fa31009ff4f9ed60c1959a16219efe95a4ebcac935cde576cbc405963efddd9dcaca1444f89986940a52d2530338e9887871a64eb2
|
||||
EBUILD ibus-table-others-1.3.9.ebuild 550 BLAKE2B 00092cd76c017e18c6a51b55b420310f1ffd4857eac41b43ec55d2b3f708d0157b691b598c667874442eefebc47dd98a2652f4a66b514a77a7ed71c06ef5b59e SHA512 771619e90c05391279adf17213e2a66c323dc5927f25a73e1cfdc55886155ebb5f310bf0a81b9b344c1eb500009921092be0203715d696851734ceb110b17624
|
||||
EBUILD ibus-table-others-1.3.11.ebuild 550 BLAKE2B 17ad3e0df0cbb970720096eab210c6a594fa8246a13848a571f49b404639e08e1ed3497291e87ce43900e304da17c66961dab70c6874f2daedf0ce2ec74b61fe SHA512 a70c392425112b866ce7f3e7dc77959fe72834ef53c73bd3321d7369136f6dffe85c2ea4fa87c2d692b4c93c672a06ecfd51a9ed9ebad6c21be1113910e072ac
|
||||
MISC metadata.xml 642 BLAKE2B 0eb23a3102a282b9ff6e77a623f119ed41d1aff2afada1a32e4124de6b97ad4239bcba7738b9f3663f1277e70972314047a25c6da3a61d04ff7b0f6aa6caa896 SHA512 51b6e52fa107591db67c5ddddee30653475882125228c04ad37729eb7cf09fe9a39e016816177a2793a3bbb51a3001422b3f958c95832055867bfd98ea0367ba
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DESCRIPTION="Various tables for IBus-Table"
|
||||
HOMEPAGE="https://github.com/moebiuscurve/ibus-table-others"
|
||||
SRC_URI="https://github.com/moebiuscurve/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-i18n/ibus-table
|
||||
!app-i18n/ibus-table-code
|
||||
!app-i18n/ibus-table-cyrillic
|
||||
!app-i18n/ibus-table-latin
|
||||
!app-i18n/ibus-table-tv"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
@ -1,5 +1,3 @@
|
||||
DIST ibus-table-1.14.0.tar.gz 1450310 BLAKE2B 72a655e378b39324ff849e6941dc28920760d030d748a5b4b0899e14b94874a52581d03ccbef2d72c5eaae51d20a0e19690bde5a1411960347fe49cf3137d21b SHA512 60e570b82c4f05200410e9e4e155089223a20ebcf66d1c039a783108005f63699e75bc528fc30cd370c1400b65e765ade0d069184bd2ab81e2eda9bade2e8ac9
|
||||
DIST ibus-table-1.14.1.tar.gz 1451943 BLAKE2B e8fc54daf89aaee813de6788bef9f56a654ffdf4751acf3e2f622d971134c3aba906ca2b106f51b2fa305b8c65fb4db862f57f5f9e3e82a569c5a72e3017e627 SHA512 a658c2d370d173d2fe2f38c02c6b822a17771754ac98a856f954c4c998e90a857f9d54ed652c74159af9545d445001d202e7b5578e7694f8767f928b42db9055
|
||||
EBUILD ibus-table-1.14.0.ebuild 1035 BLAKE2B 3d6f6497234af6e53a4095bc5fed4eb26c327efc72ab66133125aa015548d22117a97d4547acea1cd72b176c8eee9c8cbdf85566d87dec87b9d84f872fa92e34 SHA512 846f9911b80ed5230af4957c490f34969f4608ecf6f5011eb4ebd7742bdd5b64493df1b06951dd1edb678a4e8067400b5c6a28f8acdd6728990801e40d6ae29e
|
||||
EBUILD ibus-table-1.14.1.ebuild 1037 BLAKE2B ae710df21cae6d1efc385cb6dc2bac6cfc5dc899307a7b983f317d03160d0f7398afeebf2a5e040a422efba2fa98c508ff52fa38205f6b49c1d42191e5dc5c8c SHA512 8f1fa8e7a21ee39a7513413068f4a4e4c8e7e1f53249278b9db6a351caf763e401f70b1b51ef44efde28de9f88fa4116c1663f1de621ec84cf368e6b55768af2
|
||||
EBUILD ibus-table-1.14.1.ebuild 1035 BLAKE2B 3d6f6497234af6e53a4095bc5fed4eb26c327efc72ab66133125aa015548d22117a97d4547acea1cd72b176c8eee9c8cbdf85566d87dec87b9d84f872fa92e34 SHA512 846f9911b80ed5230af4957c490f34969f4608ecf6f5011eb4ebd7742bdd5b64493df1b06951dd1edb678a4e8067400b5c6a28f8acdd6728990801e40d6ae29e
|
||||
MISC metadata.xml 315 BLAKE2B eeff056ce020201cb6e59f0f160232486fd94cc9de7cc90980155f9ef97988199d592b01190b13b013433853fbc25d9c4e5e29fe33fb74aa4239318cfac312fd SHA512 3329cc73468815ecf7f122ee8e8b81ca7295abcfeab95082841ae460c7ca76fdf2cb3d01b1548795bb525ce855052f512b8b2d77fa3afd302f41c156edf35de0
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
PYTHON_REQ_USE="sqlite(+)"
|
||||
|
||||
inherit gnome2-utils python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Tables engines for IBus"
|
||||
HOMEPAGE="https://github.com/ibus/ibus/wiki"
|
||||
SRC_URI="https://github.com/kaio/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-i18n/ibus[python(+),${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/libiconv
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls)
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
xdg_pkg_preinst
|
||||
gnome2_schemas_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
Binary file not shown.
@ -0,0 +1,189 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# The Debian ca-certificates package merely takes the CA database as it exists
|
||||
# in the nss package and repackages it for use by openssl.
|
||||
#
|
||||
# The issue with using the compiled debs directly is two fold:
|
||||
# - they do not update frequently enough for us to rely on them
|
||||
# - they pull the CA database from nss tip of tree rather than the release
|
||||
#
|
||||
# So we take the Debian source tools and combine them with the latest nss
|
||||
# release to produce (largely) the same end result. The difference is that
|
||||
# now we know our cert database is kept in sync with nss and, if need be,
|
||||
# can be sync with nss tip of tree more frequently to respond to bugs.
|
||||
|
||||
# When triaging user reports, refer to our wiki for tips:
|
||||
# https://wiki.gentoo.org/wiki/Certificates#Debugging_certificate_issues
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
if [[ ${PV} == *.* ]] ; then
|
||||
# Compile from source ourselves.
|
||||
PRECOMPILED=false
|
||||
|
||||
DEB_VER=$(ver_cut 1)
|
||||
NSS_VER=$(ver_cut 2-)
|
||||
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
|
||||
else
|
||||
# Debian precompiled version.
|
||||
PRECOMPILED=true
|
||||
inherit unpacker
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="https://packages.debian.org/sid/ca-certificates"
|
||||
NMU_PR=""
|
||||
if ${PRECOMPILED} ; then
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
|
||||
else
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
|
||||
https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
|
||||
cacert? (
|
||||
https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch
|
||||
)"
|
||||
fi
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE=""
|
||||
${PRECOMPILED} || IUSE+=" cacert"
|
||||
|
||||
# c_rehash: we run `c_rehash`
|
||||
# debianutils: we run `run-parts`
|
||||
CDEPEND="app-misc/c_rehash
|
||||
sys-apps/debianutils"
|
||||
|
||||
BDEPEND="${CDEPEND}"
|
||||
if ! ${PRECOMPILED} ; then
|
||||
BDEPEND+=" ${PYTHON_DEPS}"
|
||||
fi
|
||||
|
||||
DEPEND=""
|
||||
if ${PRECOMPILED} ; then
|
||||
DEPEND+=" !<sys-apps/portage-2.1.10.41"
|
||||
fi
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
${DEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
# For the conversion to having it in CONFIG_PROTECT_MASK,
|
||||
# we need to tell users about it once manually first.
|
||||
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|
||||
|| ewarn "You should run update-ca-certificates manually after etc-update"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if ! ${PRECOMPILED} ; then
|
||||
default
|
||||
# Initial 20200601 deb release had bad naming inside the debian source tarball.
|
||||
DEB_S="${WORKDIR}/${PN}-${DEB_VER}"
|
||||
DEB_BAD_S="${WORKDIR}/work"
|
||||
if [[ -d "${DEB_BAD_S}" ]] && [[ ! -d "${DEB_S}" ]] ; then
|
||||
mv "${DEB_BAD_S}" "${DEB_S}"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Do all the work in the image subdir to avoid conflicting with source
|
||||
# dirs in ${WORKDIR}. Need to perform everything in the offset #381937
|
||||
mkdir -p "image/${EPREFIX}" || die
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
${PRECOMPILED} && unpacker_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
mkdir -p usr/sbin || die
|
||||
cp -p "${S}"/${PN}-${DEB_VER}/sbin/update-ca-certificates \
|
||||
usr/sbin/ || die
|
||||
|
||||
if use cacert ; then
|
||||
pushd "${S}"/nss-${NSS_VER} >/dev/null || die
|
||||
eapply "${DISTDIR}"/nss-cacert-class1-class3-r2.patch
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
default
|
||||
eapply -p2 "${FILESDIR}"/${PN}-20150426-root.patch
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
-e 's/openssl rehash/c_rehash/' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
python_setup
|
||||
local d="${S}/${PN}-${DEB_VER}/mozilla" c="usr/share/${PN}"
|
||||
# Grab the database from the nss sources.
|
||||
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
|
||||
emake -C "${d}"
|
||||
|
||||
# Now move the files to the same places that the precompiled would.
|
||||
mkdir -p etc/ssl/certs \
|
||||
etc/ca-certificates/update.d \
|
||||
"${c}"/mozilla \
|
||||
|| die
|
||||
if use cacert ; then
|
||||
mkdir -p "${c}"/cacert.org || die
|
||||
mv "${d}"/CA_Cert_Signing_Authority.crt \
|
||||
"${c}"/cacert.org/cacert.org_class1.crt || die
|
||||
mv "${d}"/CAcert_Class_3_Root.crt \
|
||||
"${c}"/cacert.org/cacert.org_class3.crt || die
|
||||
fi
|
||||
mv "${d}"/*.crt "${c}"/mozilla/ || die
|
||||
else
|
||||
mv usr/share/doc/{ca-certificates,${PF}} || die
|
||||
fi
|
||||
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd "${c}" || die
|
||||
find * -name '*.crt' | LC_ALL=C sort
|
||||
) > etc/ca-certificates.conf
|
||||
|
||||
sh usr/sbin/update-ca-certificates --root "${S}/image" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR image/* "${D}"/ || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
cd ${PN}-${DEB_VER} || die
|
||||
doman sbin/*.8
|
||||
dodoc debian/README.* examples/ca-certificates-local/README
|
||||
fi
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
|
||||
doenvd 98ca-certificates
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -d "${EROOT}/usr/local/share/ca-certificates" ]] ; then
|
||||
# if the user has local certs, we need to rebuild again
|
||||
# to include their stuff in the db.
|
||||
# However it's too overzealous when the user has custom certs in place.
|
||||
# --fresh is to clean up dangling symlinks
|
||||
"${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
|
||||
fi
|
||||
|
||||
if [[ -n "$(find -L "${EROOT}"/etc/ssl/certs/ -type l)" ]] ; then
|
||||
ewarn "Removing the following broken symlinks:"
|
||||
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
|
||||
fi
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
AUX kanatest-0.4.8+gtk-2.22.patch 967 BLAKE2B d8e0802faeccdf32449ec49ff6f2a828dbf78663d690ed543a6e5cae20fa651de4e106476408bff623e016fe446f06641cfedba06d3d07031b1705b360c67a24 SHA512 d996ba512c7b10d8971cd5f7ee1bd25517f1847f3f4466e25b3217fbff23c6164ac51e5d29bc4ed6f6e02251e02f00b5d430e004d50b8f00eab468efc4f51def
|
||||
AUX kanatest-0.4.8-autoconf.patch 363 BLAKE2B 4f73332578adaeae1d9cd9368e377b76810e1b1c4c2e8fe02f2e647c15b95bd4bd860a24955b27b7ee223a321e0fa88386b45ae47f3786dc4f23a00e1ad7dd39 SHA512 25dff41e539ce5b758799df673735407c13560762a091a886e552c26be4dd7191bcd867523756e1f0b52066c13774ee16d5b1a32deb94e0355a9ae1396d0cf54
|
||||
AUX kanatest-0.4.8-cflags.patch 432 BLAKE2B 95da5c15032bf7476814da5b2a8d946f8a65f19e410618a59c3872122f2d9fd8499b1bc273941152034e0860f5700060eb96360012b20ab5a95c058f12bd250f SHA512 7d1d9ffda261a918d37b76fac63e641428c41ac225845cfe58b1bf5e4c8908447c56340f581b918ef55d34754f7b795d4cd0fb1eb03ea6327e43b719a95a367d
|
||||
AUX kanatest-0.4.8-desktop-QA.patch 388 BLAKE2B e894bc7497920187e1c9469b93860bfe0cbdf089f05b3392c2137379253085aba22316f8cd126e7a8b8017e90373e66f56cd0bd0f15cf500d54424aea83c0286 SHA512 7cee66cff16552831bb935f93eb2144a6b35ab4563be0750beaf83da95f7cf54292b29d70f92b4b4be9202784c56e5bd082df49d870cd22a5fb89380112a2ca9
|
||||
AUX kanatest-0.4.8-format-security.patch 1151 BLAKE2B bffee4a4301b78e92cad399457cb988754380c42c9e880148b3b7c4b01b06f013b623a05941d43f55d580d304d156ff6830322126a1610e2c6bea6cbba2f6f6a SHA512 6d97fbf0fc4e7013e43db609f193efd28eda45e209b70d2310efa1ae525da554c8b59abb514fd5a085973dd0c1532bafca6fc0514b1e8fe6144c5d39d3a6124e
|
||||
DIST kanatest-0.4.8.tar.gz 302154 BLAKE2B b5bc8668f2526abef3ec576c5781b16d7c226f744613a38010125bcb1c977f0fc0b58809ba2a468a216f4b4d7b974e0d12693eea9754cc4a0ce75efcedfb1333 SHA512 c52a5e4104c17eae29f03f30abd7f003c83757e04298427112593603eab0edf7d7927b0567a053f2ea3b8aac66921546180c452d84ef6b3cdc2a361f14cbac47
|
||||
EBUILD kanatest-0.4.8.ebuild 950 BLAKE2B a3e9df62e38ae30ce582c571cfbf965bc9f36efd25fa5203800b9cacdf056d24ba7bcbebe7486a4360c404f2c46f8d081a7de3bb6b7814dd562adbb683373914 SHA512 73bf94c9e66e22184feb62719a604e99e3333e19a2e07bd69e8d940fdf4a9de51d8652697b265ae5491f4ba557b271b9f6e2adc569ff3e8e763c65600e53b5e5
|
||||
EBUILD kanatest-0.4.8.ebuild 767 BLAKE2B 24e1f3f6aadc241150bff453d104db334e9ebc6d7821777d426bd712fb247cf3eb5e09110730e7f18edd56a26c1409d10ecca39b8b4bac0480e022e3857843e7 SHA512 ad7d2b67465a54d5b3dc87ad9f405f14a977015c359448a23278df7e47154d0e2c61f2f676897959a5ada0571f4deeefd06b6d6444f69046cd0c82b8d2e2fb97
|
||||
MISC metadata.xml 231 BLAKE2B c2fdc9ca113ea1fb6cb14f865609798058c3443d097117d61de82b4f53e8d293bc187413600b6a6eb3e1c744ae7712bf8c55db53562076e7bc5de5eae0c1f209 SHA512 281ccb55b01108f6fd9953a4fc8723e312c6416b885b11a32d2a0d4d532ebbc361990c814402bc8061e360c02b8074797b1b68ee9a8bc96d37f2cb6455e5949c
|
||||
|
@ -0,0 +1,16 @@
|
||||
--- a/data/kanatest.desktop
|
||||
+++ b/data/kanatest.desktop
|
||||
@@ -1,11 +1,10 @@
|
||||
[Desktop Entry]
|
||||
-Encoding=UTF-8
|
||||
Name=Hiragana and Katakana Test
|
||||
Comment=Hiragana and Katakana drill tool
|
||||
Exec=kanatest
|
||||
-Icon=kanatest.png
|
||||
+Icon=kanatest
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
X-Desktop-File-Install-Version=0.10
|
||||
-Categories=Game;Application;X-Fedora;
|
||||
+Categories=Game;X-Fedora;
|
@ -0,0 +1,22 @@
|
||||
--- a/src/stats.c
|
||||
+++ b/src/stats.c
|
||||
@@ -84,7 +84,7 @@ gchar buffer[BUFFER_SIZE];
|
||||
|
||||
info_dialog = gtk_message_dialog_new (GTK_WINDOW(appGUI->sts->stat_window),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL,
|
||||
- GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, buffer);
|
||||
+ GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", buffer);
|
||||
|
||||
gtk_window_set_title(GTK_WINDOW(info_dialog), _("Question"));
|
||||
gtk_widget_show (info_dialog);
|
||||
--- a/src/test.c
|
||||
+++ b/src/test.c
|
||||
@@ -538,7 +538,7 @@ test_info(GUI *appGUI) {
|
||||
|
||||
info_dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW(appGUI->main_window),
|
||||
GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL,
|
||||
- GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message);
|
||||
+ GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message);
|
||||
|
||||
gtk_window_set_title (GTK_WINDOW(info_dialog), _("Information"));
|
||||
gtk_widget_show (info_dialog);
|
@ -1,48 +1,38 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=8
|
||||
|
||||
inherit autotools epatch gnome2-utils
|
||||
inherit autotools xdg
|
||||
|
||||
DESCRIPTION="Visual flashcard tool for memorizing the Japanese Hiragana and Katakana alphabet"
|
||||
HOMEPAGE="http://www.clayo.org/kanatest"
|
||||
SRC_URI="http://www.clayo.org/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE="https://www.clayo.org/kanatest"
|
||||
SRC_URI="https://www.clayo.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.12:2=
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
dev-libs/libxml2:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS TRANSLATORS ChangeLog README )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}+gtk-2.22.patch
|
||||
"${FILESDIR}"/${P}-autoconf.patch
|
||||
"${FILESDIR}"/${P}-cflags.patch
|
||||
"${FILESDIR}"/${P}-desktop-QA.patch
|
||||
"${FILESDIR}"/${P}-format-security.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}+gtk-2.22.patch \
|
||||
"${FILESDIR}"/${P}-autoconf.patch \
|
||||
"${FILESDIR}"/${P}-cflags.patch
|
||||
|
||||
sed -i \
|
||||
-e '/Encoding/d' \
|
||||
-e '/^Categories/s:Application;::' \
|
||||
-e '/^Icon/s:.png::' \
|
||||
data/${PN}.desktop || die
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
src_install() {
|
||||
default
|
||||
dodoc TRANSLATORS
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST neofetch-7.1.0.tar.gz 95400 BLAKE2B 32368d461835d95ba8203c560b2f6733594966cbaf809d877a46c08675284288565e3a21b14d94900dd66b778dc975339196f182732e2cd8bc1ccc9e6da6253e SHA512 fe1013fb54585c15ba556054478a2c8c503120387e81bd16bfdfbb6f3a188ed4124585540abf43da9209cbbe0d7fb90d50914cd6620137d00f013cfb6954a042
|
||||
EBUILD neofetch-7.1.0-r1.ebuild 1145 BLAKE2B 379df4be886a147f7b3cdeb2c183fa73dbea2095800f46371e99c181df205ddd30bb2cf18c155a2a96a04b30d9604066349b12ab55db12f23b6e751680e3a53d SHA512 77afb0622b674a33204d7ffeaac19d752b789d2f3961dd24cbda62ce269305626f5e8a2aef0cf91bde90dd73eb3968fc92b368b4bc070869bf3697a4807399a5
|
||||
EBUILD neofetch-7.1.0-r1.ebuild 1152 BLAKE2B b6f1dffe6170bd6da9f0406bb023b4633b90db41dc5d19d255eedea868ea5df9ed65c418932f54b03e4b9738b26da8683e2e83084ac6ad3bec926541ee6bdea6 SHA512 483f3c77a121fb1b538faec852a2d12edf43188d8e33c249ea708cac8dc1b1e4deabe0435ffbaf763c15292744a763ac7761f1f95a5af5a3c8c948d9b8d6ad82
|
||||
EBUILD neofetch-7.1.0.ebuild 937 BLAKE2B 72424ef48458c2c4c0a70900f42f597ebaf0ec659b3fadc9e860262b336d066786b078412c363394c674250d52fcb2ab267c665d2778b98cea96a1baf759134c SHA512 568336106a81b75f35e657c7f494e6b1b7683dbba29085bc28c0e7b441d288c5a013ba3c6ebd1ad62b3862ec8ad835b6fcea07eb0dcd590b907c38f4427d79aa
|
||||
EBUILD neofetch-9999.ebuild 1147 BLAKE2B 12a4fe99b0c45f980d0452a4b96288a8543beb03f94eb81195dd11a1b87129506f7d9bf5a6a54380d4b6289988e7f2098680804924fb9cf32a7386fe1e6efaa7 SHA512 753c3e6ebae6688c78246d2276dfadd37baeb004763e5d9d26cd04dcafa1b77f48304456df92e3ca78eefb0d419bde969eb438d1bd2d80674ed5d8504bb3a7ed
|
||||
MISC metadata.xml 863 BLAKE2B 3a4dbfbeea790e95fafbe9b47169bd43c127be69f21ffb2c0752ad2003304ef7628f0c95388288cf00b5d567b83626ac15cb015a8fd9c4c6cacc1137410a7887 SHA512 593a76d4beb607cf64a5dfeec978d7c6be6ad2a1dc36aefa44c2e18724d09c76133d3bab0fc5692f2bd997c86156337142b5115e7d34d4da59f91e69f44d4f30
|
||||
|
@ -1,4 +1,5 @@
|
||||
AUX srm-1.2.15-cflags.patch 343 BLAKE2B e6159fdc6211273859215dc2a90fe598a1c956bef5aa69c02cb6bef54129873e71189d1646d04cb89f3be8bf968cc23631452e089a819d57d4fe3681ff3e4dd9 SHA512 81196944b68b0bff7b32a16dd749cc15ce73c125dba6bfa175dbc38b4baf3a291702139ae63f900e94c3babdacf769fc943992e192371c5c7073275320f0f9c6
|
||||
AUX srm-1.2.15-cflags.patch 435 BLAKE2B 6b3b0a87a2cd193ead17aa3588d1636ab632a77f50bd4d250948c5b0d68b876e540d258523824d2e578afb1fccaaaef32a447d012e253b18e9a24a34d5806816 SHA512 1b2e7a53a2518d805892804911d52b4e9ccef6cbd7e2b1c2b0da52ac3b512d2b12eb06cb893c498b6ed28e8f6d5a9ca68d7381fef7ba2a94fffcfe0760bc1407
|
||||
AUX srm-1.2.15-musl.patch 472 BLAKE2B eea5d31861785ce74d0c8de4641ea0697bda80962fb2a72488393c5b7164901b60be1203cf3bd401f0d6eba1c62d5243cb556c19437a936dd611ac679ac6a7c3 SHA512 515fa37d3cad0dc5e917908c308c33fba9bbf89ca04301610d02540e1afbad29874755dc59e6464776cf2e31b8bd0bbbee403c8d0449020f99366905a21ebccb
|
||||
DIST srm-1.2.15.tar.gz 132031 BLAKE2B f01fd8fce0095f5d2247026d3627fc8100b1bc9263f947f2d8500c999220c781ff109283c25b480fe295deb7e162f246afbad68c0797e0fec180ff57f1ff87be SHA512 a8ec78473c55b70557fca88f525998ed51df3be58618b9da220e1bb73df013163f4e1563cbe2062b9cf1512152afeb9004b5be0be69cc1278c0d28597310dfd2
|
||||
EBUILD srm-1.2.15.ebuild 822 BLAKE2B 8b82bae77a52035b8a0b09123eb0c6cd45e722ad3a5988224953752d5c5733740f22839842a254739cef88c3af5cd98f635f6366c2b5127e9f51245f1b7a43aa SHA512 54c1b081bb8f02f75846615458c49e71c14ea6ceeb6fa26190b3af49b0e836060c73f42917b165e408baed3df0b5ca309497ed0ae4c270ca889ca15d2362ed92
|
||||
EBUILD srm-1.2.15.ebuild 889 BLAKE2B 400862c383b0c0ace4f39f3e4653978d72fabd5a6f6cabe5e5c0e1cf17b4e0377293d9b76759b61c66c4053c9af811b07aab39655d444d51f44d81223a12e804 SHA512 2474e155459c6c07c703f39b567b4fd40c3b440cf9ad889e25e1ee9938f05e4e156dcce330b0ede28156fb73f07e12bc6a7c4401bbadda0fc784c24e43c3f905
|
||||
MISC metadata.xml 327 BLAKE2B 8b76b855e466f402df68277c417d0c7deec7a25f5b89ac6935fb0b3a9678cfa350ac5d59a4e04bd850d5f6c6512a8adc5fc1e3e04011f422fcd7bf9330946c1a SHA512 48ee707e4446bb599761bdf02980bbd486ca30ccc9ec40ca87cdd9bc1723c23d26619153c21d016c9ee2a0ba7fb6907cc110d5bbb32dbf7cbae81784772a177a
|
||||
|
@ -0,0 +1,17 @@
|
||||
musl doesn't have an internal __sighandler_t type,
|
||||
and only makes sighandler_t visible if _GNU_SOURCE
|
||||
is defined.
|
||||
https://bugs.gentoo.org/714026
|
||||
|
||||
--- a/src/sunlink.c
|
||||
+++ b/src/sunlink.c
|
||||
@@ -102,9 +102,6 @@
|
||||
static volatile int SIGINT_received = 0;
|
||||
#if defined(__unix__)
|
||||
#include <signal.h>
|
||||
-#if defined(__linux__) && !defined(__USE_GNU)
|
||||
-typedef __sighandler_t sighandler_t;
|
||||
-#endif
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
typedef sig_t sighandler_t;
|
||||
#endif
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue