mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
*/*: treeclean stale/unmaintained packages
Closes: https://bugs.gentoo.org/885347 Closes: https://bugs.gentoo.org/885345 Closes: https://bugs.gentoo.org/885343 Closes: https://bugs.gentoo.org/885341 Closes: https://bugs.gentoo.org/885339 Closes: https://bugs.gentoo.org/885337 Closes: https://bugs.gentoo.org/885335 Closes: https://bugs.gentoo.org/885331 Closes: https://bugs.gentoo.org/885329 Closes: https://bugs.gentoo.org/869230 Closes: https://bugs.gentoo.org/860975 Closes: https://bugs.gentoo.org/859664 Closes: https://bugs.gentoo.org/900362 Closes: https://bugs.gentoo.org/887439 Closes: https://bugs.gentoo.org/887433 Closes: https://bugs.gentoo.org/855116 Closes: https://bugs.gentoo.org/855107 Closes: https://bugs.gentoo.org/897656 Closes: https://bugs.gentoo.org/887955 Closes: https://bugs.gentoo.org/885293 Closes: https://bugs.gentoo.org/847322 Closes: https://bugs.gentoo.org/843524 Closes: https://bugs.gentoo.org/860012 Closes: https://bugs.gentoo.org/852032 Closes: https://bugs.gentoo.org/887193 Closes: https://bugs.gentoo.org/859646 Closes: https://bugs.gentoo.org/901025 Closes: https://bugs.gentoo.org/921735 Closes: https://bugs.gentoo.org/901027 Closes: https://bugs.gentoo.org/887209 Closes: https://bugs.gentoo.org/859649 Closes: https://bugs.gentoo.org/855125 Closes: https://bugs.gentoo.org/921751 Closes: https://bugs.gentoo.org/859673 Closes: https://bugs.gentoo.org/799449 Closes: https://bugs.gentoo.org/901127 Closes: https://bugs.gentoo.org/921740 Closes: https://bugs.gentoo.org/901163 Closes: https://bugs.gentoo.org/887313 Closes: https://bugs.gentoo.org/847325 Closes: https://bugs.gentoo.org/884553 Closes: https://bugs.gentoo.org/859700 Closes: https://bugs.gentoo.org/857633 Closes: https://bugs.gentoo.org/857630 Closes: https://bugs.gentoo.org/857627 Closes: https://bugs.gentoo.org/857624 Closes: https://bugs.gentoo.org/884565 Closes: https://bugs.gentoo.org/855080 Closes: https://bugs.gentoo.org/855119 Closes: https://bugs.gentoo.org/901167 Closes: https://bugs.gentoo.org/887413 Closes: https://bugs.gentoo.org/861707 Closes: https://bugs.gentoo.org/859715 Closes: https://bugs.gentoo.org/901179 Closes: https://bugs.gentoo.org/901181 Closes: https://bugs.gentoo.org/901141 Closes: https://bugs.gentoo.org/887435 Closes: https://bugs.gentoo.org/859718 Closes: https://bugs.gentoo.org/901177 Closes: https://bugs.gentoo.org/890893 Closes: https://bugs.gentoo.org/901185 Closes: https://bugs.gentoo.org/887445 Closes: https://bugs.gentoo.org/884579 Closes: https://bugs.gentoo.org/901193 Closes: https://bugs.gentoo.org/859724 Closes: https://bugs.gentoo.org/886629 Closes: https://bugs.gentoo.org/859730 Closes: https://bugs.gentoo.org/861974 Closes: https://bugs.gentoo.org/887511 Closes: https://bugs.gentoo.org/861977 Closes: https://bugs.gentoo.org/861980 Closes: https://bugs.gentoo.org/887513 Closes: https://bugs.gentoo.org/897392 Closes: https://bugs.gentoo.org/861983 Closes: https://bugs.gentoo.org/861986 Closes: https://bugs.gentoo.org/861989 Closes: https://bugs.gentoo.org/861992 Closes: https://bugs.gentoo.org/861995 Closes: https://bugs.gentoo.org/887515 Closes: https://bugs.gentoo.org/861998 Closes: https://bugs.gentoo.org/862001 Closes: https://bugs.gentoo.org/887517 Closes: https://bugs.gentoo.org/862004 Closes: https://bugs.gentoo.org/862007 Closes: https://bugs.gentoo.org/862010 Closes: https://bugs.gentoo.org/862013 Closes: https://bugs.gentoo.org/862016 Closes: https://bugs.gentoo.org/862079 Closes: https://bugs.gentoo.org/915488 Closes: https://bugs.gentoo.org/884693 Closes: https://bugs.gentoo.org/901149 Closes: https://bugs.gentoo.org/855278 Closes: https://bugs.gentoo.org/921779 Closes: https://bugs.gentoo.org/921885 Closes: https://bugs.gentoo.org/835485 Closes: https://bugs.gentoo.org/887659 Closes: https://bugs.gentoo.org/834741 Closes: https://bugs.gentoo.org/884695 Closes: https://bugs.gentoo.org/901297 Closes: https://bugs.gentoo.org/807703 Closes: https://bugs.gentoo.org/862957 Closes: https://bugs.gentoo.org/922022 Closes: https://bugs.gentoo.org/923917 Closes: https://bugs.gentoo.org/923916 Closes: https://bugs.gentoo.org/923918 Closes: https://bugs.gentoo.org/901287 Closes: https://bugs.gentoo.org/852047 Closes: https://bugs.gentoo.org/852035 Closes: https://bugs.gentoo.org/860333 Closes: https://bugs.gentoo.org/848039 Closes: https://bugs.gentoo.org/897650 Closes: https://bugs.gentoo.org/849071 Closes: https://bugs.gentoo.org/842342 Closes: https://bugs.gentoo.org/860471 Closes: https://bugs.gentoo.org/887953 Closes: https://bugs.gentoo.org/863371 Closes: https://bugs.gentoo.org/887951 Closes: https://bugs.gentoo.org/860459 Closes: https://bugs.gentoo.org/901407 Closes: https://bugs.gentoo.org/847352 Closes: https://bugs.gentoo.org/922042 Closes: https://bugs.gentoo.org/860462 Closes: https://bugs.gentoo.org/901409 Closes: https://bugs.gentoo.org/897652 Closes: https://bugs.gentoo.org/848021 Closes: https://bugs.gentoo.org/901405 Closes: https://bugs.gentoo.org/887959 Closes: https://bugs.gentoo.org/901411 Closes: https://bugs.gentoo.org/887961 Closes: https://bugs.gentoo.org/860465 Closes: https://bugs.gentoo.org/885291 Closes: https://bugs.gentoo.org/901413 Closes: https://bugs.gentoo.org/887967 Closes: https://bugs.gentoo.org/860468 Closes: https://bugs.gentoo.org/863377 Closes: https://bugs.gentoo.org/922043 Closes: https://bugs.gentoo.org/901425 Closes: https://bugs.gentoo.org/863380 Closes: https://bugs.gentoo.org/847319 Closes: https://bugs.gentoo.org/863383 Closes: https://bugs.gentoo.org/860474 Closes: https://bugs.gentoo.org/887989 Closes: https://bugs.gentoo.org/860477 Closes: https://bugs.gentoo.org/887991 Closes: https://bugs.gentoo.org/901427 Closes: https://bugs.gentoo.org/887993 Closes: https://bugs.gentoo.org/901429 Closes: https://bugs.gentoo.org/887997 Closes: https://bugs.gentoo.org/860480 Closes: https://bugs.gentoo.org/897654 Closes: https://bugs.gentoo.org/922047 Closes: https://bugs.gentoo.org/887999 Closes: https://bugs.gentoo.org/897664 Closes: https://bugs.gentoo.org/860531 Closes: https://bugs.gentoo.org/784665 Closes: https://bugs.gentoo.org/860525 Closes: https://bugs.gentoo.org/888003 Closes: https://bugs.gentoo.org/860537 Closes: https://bugs.gentoo.org/922052 Closes: https://bugs.gentoo.org/897662 Closes: https://bugs.gentoo.org/901421 Closes: https://bugs.gentoo.org/785535 Closes: https://bugs.gentoo.org/784644 Closes: https://bugs.gentoo.org/804831 Closes: https://bugs.gentoo.org/885365 Closes: https://bugs.gentoo.org/922053 Closes: https://bugs.gentoo.org/840707 Closes: https://bugs.gentoo.org/836142 Closes: https://bugs.gentoo.org/836153 Closes: https://bugs.gentoo.org/783675 Closes: https://bugs.gentoo.org/888005 Closes: https://bugs.gentoo.org/887879 Closes: https://bugs.gentoo.org/860528 Closes: https://bugs.gentoo.org/901417 Closes: https://bugs.gentoo.org/922055 Closes: https://bugs.gentoo.org/842807 Closes: https://bugs.gentoo.org/810287 Closes: https://bugs.gentoo.org/888007 Closes: https://bugs.gentoo.org/860540 Closes: https://bugs.gentoo.org/885373 Closes: https://bugs.gentoo.org/888011 Closes: https://bugs.gentoo.org/800995 Closes: https://bugs.gentoo.org/885375 Closes: https://bugs.gentoo.org/863758 Closes: https://bugs.gentoo.org/809320 Closes: https://bugs.gentoo.org/809440 Closes: https://bugs.gentoo.org/863779 Closes: https://bugs.gentoo.org/901431 Closes: https://bugs.gentoo.org/860774 Closes: https://bugs.gentoo.org/860768 Closes: https://bugs.gentoo.org/901433 Closes: https://bugs.gentoo.org/852989 Closes: https://bugs.gentoo.org/885367 Closes: https://bugs.gentoo.org/860771 Closes: https://bugs.gentoo.org/901435 Closes: https://bugs.gentoo.org/887881 Closes: https://bugs.gentoo.org/901437 Closes: https://bugs.gentoo.org/784668 Closes: https://bugs.gentoo.org/901439 Closes: https://bugs.gentoo.org/901419 Closes: https://bugs.gentoo.org/888017 Closes: https://bugs.gentoo.org/888019 Closes: https://bugs.gentoo.org/901441 Closes: https://bugs.gentoo.org/885377 Closes: https://bugs.gentoo.org/901443 Closes: https://bugs.gentoo.org/807115 Closes: https://bugs.gentoo.org/885363 Closes: https://bugs.gentoo.org/888021 Closes: https://bugs.gentoo.org/888023 Closes: https://bugs.gentoo.org/901445 Closes: https://bugs.gentoo.org/888015 Closes: https://bugs.gentoo.org/887921 Closes: https://bugs.gentoo.org/863821 Closes: https://bugs.gentoo.org/907907 Closes: https://bugs.gentoo.org/887883 Closes: https://bugs.gentoo.org/908948 Closes: https://bugs.gentoo.org/908947 Closes: https://bugs.gentoo.org/908951 Closes: https://bugs.gentoo.org/892694 Closes: https://bugs.gentoo.org/801016 Closes: https://bugs.gentoo.org/922082 Closes: https://bugs.gentoo.org/852260 Closes: https://bugs.gentoo.org/901451 Closes: https://bugs.gentoo.org/922083 Closes: https://bugs.gentoo.org/860777 Closes: https://bugs.gentoo.org/901449 Closes: https://bugs.gentoo.org/901453 Closes: https://bugs.gentoo.org/921785 Closes: https://bugs.gentoo.org/860969 Closes: https://bugs.gentoo.org/817227 Closes: https://bugs.gentoo.org/921788 Closes: https://bugs.gentoo.org/921789 Closes: https://bugs.gentoo.org/835527 Closes: https://bugs.gentoo.org/897414 Closes: https://bugs.gentoo.org/921781 Closes: https://bugs.gentoo.org/897430 Closes: https://bugs.gentoo.org/848720 Closes: https://bugs.gentoo.org/883173 Closes: https://bugs.gentoo.org/921800 Closes: https://bugs.gentoo.org/921803 Closes: https://bugs.gentoo.org/921804 Closes: https://bugs.gentoo.org/921807 Closes: https://bugs.gentoo.org/901479 Closes: https://bugs.gentoo.org/901483 Closes: https://bugs.gentoo.org/901151 Closes: https://bugs.gentoo.org/896028 Closes: https://bugs.gentoo.org/921783 Closes: https://bugs.gentoo.org/897432 Closes: https://bugs.gentoo.org/905472 Closes: https://bugs.gentoo.org/921810 Closes: https://bugs.gentoo.org/843485 Closes: https://bugs.gentoo.org/921816 Closes: https://bugs.gentoo.org/921818 Closes: https://bugs.gentoo.org/921825 Closes: https://bugs.gentoo.org/921822 Closes: https://bugs.gentoo.org/816654 Closes: https://bugs.gentoo.org/921775 Closes: https://bugs.gentoo.org/921777 Closes: https://bugs.gentoo.org/848723 Closes: https://bugs.gentoo.org/921853 Closes: https://bugs.gentoo.org/921895 Closes: https://bugs.gentoo.org/921855 Closes: https://bugs.gentoo.org/897506 Closes: https://bugs.gentoo.org/921857 Closes: https://bugs.gentoo.org/880013 Closes: https://bugs.gentoo.org/897542 Closes: https://bugs.gentoo.org/921864 Closes: https://bugs.gentoo.org/922915 Closes: https://bugs.gentoo.org/921897 Closes: https://bugs.gentoo.org/921900 Closes: https://bugs.gentoo.org/921865 Closes: https://bugs.gentoo.org/887637 Closes: https://bugs.gentoo.org/839306 Closes: https://bugs.gentoo.org/921868 Closes: https://bugs.gentoo.org/921869 Closes: https://bugs.gentoo.org/862082 Closes: https://bugs.gentoo.org/921873 Closes: https://bugs.gentoo.org/897588 Closes: https://bugs.gentoo.org/901221 Closes: https://bugs.gentoo.org/921808 Closes: https://bugs.gentoo.org/897590 Closes: https://bugs.gentoo.org/848549 Closes: https://bugs.gentoo.org/921876 Closes: https://bugs.gentoo.org/921878 Closes: https://bugs.gentoo.org/921879 Closes: https://bugs.gentoo.org/921880 Closes: https://bugs.gentoo.org/921797 Closes: https://bugs.gentoo.org/862765 Closes: https://bugs.gentoo.org/921780 Closes: https://bugs.gentoo.org/921881 Closes: https://bugs.gentoo.org/921813 Closes: https://bugs.gentoo.org/921784 Closes: https://bugs.gentoo.org/800076 Closes: https://bugs.gentoo.org/921884 Closes: https://bugs.gentoo.org/822456 Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
parent
48e042ef35
commit
a6b3f15b1a
50
app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
Normal file
50
app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild
Normal file
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage"
|
||||
HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="systemd"
|
||||
|
||||
SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
DEPEND="
|
||||
!app-admin/ananicy
|
||||
>=dev-cpp/nlohmann_json-3.9
|
||||
>=dev-libs/libfmt-8
|
||||
>=dev-libs/spdlog-1.9
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-remove-debug-flags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_SYSTEMD=$(usex systemd)
|
||||
-DUSE_EXTERNAL_FMTLIB=ON
|
||||
-DUSE_EXTERNAL_JSON=ON
|
||||
-DUSE_EXTERNAL_SPDLOG=ON
|
||||
-DVERSION=${PV}
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if ! use systemd ; then
|
||||
doinitd "${FILESDIR}/${PN}.initd"
|
||||
fi
|
||||
|
||||
keepdir /etc/ananicy.d
|
||||
}
|
49
app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild
Normal file
49
app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild
Normal file
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage"
|
||||
HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+regex systemd +threads"
|
||||
|
||||
SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
DEPEND="
|
||||
!app-admin/ananicy
|
||||
>=dev-cpp/nlohmann_json-3.9
|
||||
>=dev-libs/libfmt-8
|
||||
>=dev-libs/spdlog-1.9
|
||||
regex? ( >=dev-libs/libpcre2-8 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_REGEX_SUPPORT=$(usex regex)
|
||||
-DENABLE_SYSTEMD=$(usex systemd)
|
||||
-DENABLE_THREADS=$(usex threads)
|
||||
-DUSE_EXTERNAL_FMTLIB=ON
|
||||
-DUSE_EXTERNAL_JSON=ON
|
||||
-DUSE_EXTERNAL_SPDLOG=ON
|
||||
-DVERSION=${PV}
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if ! use systemd ; then
|
||||
doinitd "${FILESDIR}/${PN}.initd"
|
||||
fi
|
||||
|
||||
keepdir /etc/ananicy.d
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST zenmonitor3-2.0.0.tar.gz 83502 BLAKE2B 3d7105879304f7cfad70e160b04941b210b9c63da2f6bfabec1e1e26cc0110da812b86417c9fa09434d1c2b90aced7d9f2c000e4321dae3a7288d1424b4af85f SHA512 75bf343456cb7392f1bf99264db721a2cae972a2c6a6ef44284aae2d429cc0d6b87493de50bd4189b6ff7c555512434b898517b383e313ab5ad28d25687c9a9e
|
@ -1,24 +0,0 @@
|
||||
--- a/makefile 2022-02-09 17:44:15.642864568 +0100
|
||||
+++ b/makefile 2022-02-09 17:46:30.128907145 +0100
|
||||
@@ -1,7 +1,6 @@
|
||||
-CC := cc
|
||||
|
||||
ifeq ($(PREFIX),)
|
||||
- PREFIX := /usr/local
|
||||
+ PREFIX := /usr
|
||||
endif
|
||||
|
||||
BUILD_FILES_COMMON := \
|
||||
@@ -19,10 +18,10 @@
|
||||
src/zenmonitor-cli.c
|
||||
|
||||
build:
|
||||
- $(CC) -Isrc/include `pkg-config --cflags gtk+-3.0` $(BUILD_FILES_GUI) -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -no-pie -Wall $(CFLAGS)
|
||||
+ $(CC) -Isrc/include `pkg-config --cflags gtk+-3.0` $(BUILD_FILES_GUI) -o zenmonitor `pkg-config --libs gtk+-3.0` -lm -Wall $(CFLAGS) ${LDFLAGS}
|
||||
|
||||
build-cli:
|
||||
- $(CC) -Isrc/include `pkg-config --cflags glib-2.0` $(BUILD_FILES_CLI) -o zenmonitor-cli `pkg-config --libs glib-2.0` -lm -lncurses -no-pie -Wall $(CFLAGS)
|
||||
+ $(CC) -Isrc/include `pkg-config --cflags glib-2.0` $(BUILD_FILES_CLI) -o zenmonitor-cli `pkg-config --libs glib-2.0` -lm -ltinfo -lncurses -Wall $(CFLAGS) ${LDFLAGS}
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Ta180m/zenmonitor3</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="cli">Build zenmonitor-cli</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,50 +0,0 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit fcaps toolchain-funcs
|
||||
|
||||
DESCRIPTION="Zen monitor is monitoring software for AMD Zen-based CPUs"
|
||||
HOMEPAGE="https://github.com/Ta180m/zenmonitor3"
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="https://github.com/Ta180m/${PN}/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="cli +filecaps policykit"
|
||||
|
||||
DEPEND="
|
||||
cli? ( sys-libs/ncurses )
|
||||
filecaps? ( sys-libs/libcap )
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
policykit? ( sys-auth/polkit )
|
||||
sys-kernel/zenpower3
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-makefile.patch" )
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake build
|
||||
use cli && emake build-cli
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
|
||||
DESTDIR="${D}" emake install
|
||||
use cli && DESTDIR="${D}" emake install-cli
|
||||
if use policykit; then
|
||||
mkdir -p "${ED}/usr/share/polkit-1/actions" || die
|
||||
DESTDIR="${D}" emake install-polkit
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fcaps cap_sys_rawio,cap_dac_read_search usr/bin/zenmonitor
|
||||
use cli && fcaps cap_sys_rawio,cap_dac_read_search usr/bin/zenmonitor-cli
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST canna-2ch-20040519.tar.gz 53168 BLAKE2B 247b30f7a97258eac52f9a1d32bd2a785dcfaccd50430fd251a287a80b7a7ab12d1f2c4894d9eb026552f033854b50fbc967a50b66b84d3d5fe68e1954beb6fb SHA512 62b6f633fd0d345e09ce1e0603f61fe1363880ecdc72932e7a8d6d4c17a23be619a749974a3f54a78642396834888f628f047f1a88db3c8d36a758468bd6d296
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="Japanese Canna dictionary for 2channelers"
|
||||
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna"
|
||||
SRC_URI="https://dev.gentoo.org/~naota/files/${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="canna"
|
||||
|
||||
BDEPEND="canna? ( app-i18n/canna )"
|
||||
|
||||
CANNADICS=( 2ch )
|
||||
DICSDIRFILE="${FILESDIR}/052ch.dics.dir"
|
||||
|
||||
src_compile() {
|
||||
# Anthy users do not need binary dictionary
|
||||
if use canna; then
|
||||
mkbindic nichan.ctd || die
|
||||
fi
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
nichan.cbd(nichan.mwd) -2ch---
|
||||
nichan.cld(nichan.mwd) -2ch---
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="canna">Add support for the Canna kana to kanji conversion engine</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">omaemona</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST pubdic-bonobo-20021025.tar.bz2 16654 BLAKE2B 594b0632da121ffb6172b4d3455e3a8f8da050f2829f20841d30576434afd2b265005c86f3fd205531efad62a8e26c4ed930c27e40e984523f8a872438029045 SHA512 d858df12e2e5eff6d9473f4c6a20722010caade7f1aa5df7de5e647d2ed3f0eaed269c36891fbaecc5ff68df5e708b1a78b9b68b82de4c0362c905a0e2dd5edb
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( bonobo )
|
||||
DICSDIRFILE="${FILESDIR}/bonobo.dics.dir"
|
||||
MYPN="pubdic-bonobo"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="supporting dictionaries for Canna"
|
||||
HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/canna/"
|
||||
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/canna/${MYPN}-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${MYPN}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
cat bonobo.p | sort >> y.p || die
|
||||
cat y.p | /usr/libexec/canna/pod - -p -i -2 > bonobo.spl || die
|
||||
mergeword < bonobo.spl > bonobo.t || die
|
||||
rm -rf bonobo.spl || die
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
bonobo.cbd(bonobo.mwd) -bonobo---
|
||||
bonobo.cld(bonobo.mwd) -bonobo---
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST canna-canada-med-20030309.tar.gz 2032221 BLAKE2B 5a57242e537491d86f2e52ad30c2e9dfa15b75c3d3753e7336d40b920b602961c022686ceaf4d7f508669507f301c99114f7cf244f30a36352452a7fea77f36f SHA512 d8da724fc39742bdf22a79a61cb1ed8547b969a8c4b55d715e402cccc705ba7b1b09bf194ef7f88536e8b5d1c9c983a9bf41cf360e24c5e6c7eacd1c7d67f1ab
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( med henkaku oldchar medinst medx sfx )
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="medical term dictionary for canna"
|
||||
HOMEPAGE="https://web.archive.org/web/20050723235132/http://spica.onh.go.jp/med_dic/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
S="${WORKDIR}/canada_med"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv dics.dir.add canadamed.dics.dir || die
|
||||
export DICSDIRFILE="${S}/canadamed.dics.dir"
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST cannadic-0.95c.tar 3072000 BLAKE2B f7359ea3f329d88e50b621628a303c3b5e04a4aeff91278b5990509f9d493c566a971dec6bb8f05c9fc20ab14ba899700b622f04d268b4cc492977d16a2fda2e SHA512 1b9c80fc941a24c25b110617e300d988fa520cf0b22302891bfaefb738fc84b58094d62375cbd2a28e9ce2f3ebddff7f870693a4fcfee4dc533f0b6456483beb
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( gcanna gcannaf )
|
||||
DICSDIRFILE="${FILESDIR}/05cannadic.dics.dir"
|
||||
MY_P="${P/canna-/}"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="Japanese dictionary as a supplement/replacement to Canna3.5b2"
|
||||
HOMEPAGE="https://web.archive.org/web/20150905224451/http://cannadic.oucrc.org/"
|
||||
SRC_URI="https://web.archive.org/web/20150919101016if_/http://cannadic.oucrc.org/${MY_P}.tar.gz -> ${MY_P}.tar"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="app-i18n/canna"
|
||||
|
||||
src_compile() {
|
||||
emake maindic
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
gcanna.cbd(gcanna.mwd) -gcanna---
|
||||
gcanna.cld(gcanna.mwd) -gcanna---
|
||||
gcannaf.ctd(.swd) -gcannaf---
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST canna-shion_0.0.20010204-13.debian.tar.xz 3948 BLAKE2B 9c213f7ec8eb63782ee1677c4d51772846a6bb110d25406972bc03fe60fc504d8274c7293e0db14b5eb08cb19f968dbb5dedca36b464b0c8f6e1c929c4e6a58f SHA512 67a2568ad403f8132d18b9a832ae8030aae3d6d497cc35b372dc00f813462433850470e758682c824dd50cf1c556a900aa7ab3a012afcc9402c715dfe768ff74
|
||||
DIST canna-shion_0.0.20010204.orig.tar.gz 1396657 BLAKE2B ff3ed61c40d5f58df6e07f71e93b5ad683f00bf82f012f787f88e2eed0c3d5c9535805d0ad356a98caf297ced366fe5059d9555ea8950faa28aa2f1b5571cfe2 SHA512 bf375fdc4cf1549a2808fbb53b77b5fadec6fd5e45ae72445356c3cf3504d297285f776eec19fc476b5a487e092917ce71a25992995831f9fd8bf673316c93e9
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( basho kaom keisan pub scien sup )
|
||||
DEBIAN="${PN}_${PV/_p/-}"
|
||||
MYPV="$(ver_cut 1-3)"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="supporting dictionaries for Canna"
|
||||
HOMEPAGE="https://web.archive.org/web/20051217013038/http://www.coolbrain.net:80/shion.html"
|
||||
SRC_URI="
|
||||
mirror://debian/pool/main/c/${PN}/${PN}_${MYPV}.orig.tar.gz
|
||||
mirror://debian/pool/main/c/${PN}/${DEBIAN}.debian.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/${PN}-${MYPV}.orig"
|
||||
|
||||
LICENSE="shion"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-remove-first-line.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv "${WORKDIR}/debian/shion.dics.dir.off" "${WORKDIR}/debian/shion.dics.dir" || die
|
||||
export DICSDIRFILE="${WORKDIR}/debian/shion.dics.dir"
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
--- a/basho.ctd
|
||||
+++ b/basho.ctd
|
||||
@@ -1,4 +1,3 @@
|
||||
-# $Id: basho.ctd,v 1.1 2001/01/26 21:02:02 lain Exp $
|
||||
あいお #CN 秋穂
|
||||
あいおい #CN 相生
|
||||
あいかわ #JCN*1 愛川
|
||||
--- a/kaom.ctd
|
||||
+++ b/kaom.ctd
|
||||
@@ -1,4 +1,3 @@
|
||||
-# $Id: kaom.ctd,v 1.1 2001/01/21 23:42:22 lain Exp $
|
||||
あうー、 #T35 (>.<)
|
||||
あげて、 #T35 (ノ^^)ノ
|
||||
あせ、 #T35*15 (^^; (;^_^A
|
||||
--- a/keisan.ctd
|
||||
+++ b/keisan.ctd
|
||||
@@ -1,4 +1,3 @@
|
||||
-# $Id: keisan.ctd,v 1.1 2001/01/26 21:15:34 lain Exp $
|
||||
あーかいば #T35*1 アーカイバ
|
||||
あーかいぶ #T30*8 アーカイブ
|
||||
あーきてくちゃ #T35*25 アーキテクチャ
|
||||
--- a/pub.ctd
|
||||
+++ b/pub.ctd
|
||||
@@ -1,4 +1,3 @@
|
||||
-# $Id: kaom.ctd,v 1.1 2001/05/30 19:57:12 lain Exp $
|
||||
! #T35*76 ! 感嘆符
|
||||
!! #T35*76 !!
|
||||
!= #T35*76 ≠
|
||||
--- a/scien.ctd
|
||||
+++ b/scien.ctd
|
||||
@@ -1,4 +1,3 @@
|
||||
-# $Id: suppli.ctd,v 1.1 2001/01/26 21:28:56 lain Exp $
|
||||
あーかいぶ #T30 アーカイブ
|
||||
あーく #T35 アーク
|
||||
あーくこうげん #T35 アーク光源
|
||||
--- a/sup.ctd
|
||||
+++ b/sup.ctd
|
||||
@@ -1,4 +1,3 @@
|
||||
-# $Id: suppli.ctd,v 1.1 2001/05/30 20:00:09 lain Exp $
|
||||
あーかいう゛ #T30 アーカイヴ
|
||||
あーかんそー #CN アーカンソー
|
||||
あーけーど #T35 アーケード
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST skk-dictionaries.patch 6286237 BLAKE2B cd677cff3eaa872a204a125ee323f5eac563ec4eba060572618edd2472baf63f1eb8c57fbacd88ee17748d02a08f91b42e05ee348e6cf1a726559b24d3847e25 SHA512 380fda2d95a1cad1ba74fa0c434294e749f02c9f57f84017a27a0cbee0995ed3a3ccdfc86dfb42338ecbf14e4a9da75d5ef2beb0dc1f2e1b3e4bc90ba0990df2
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( geo zipcode )
|
||||
DICSDIRFILE="${FILESDIR}/02skk-dictionaries.dics.dir"
|
||||
MYPN="${PN/canna-/}"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="skk jisyo zipcode and geo datasets for canna"
|
||||
HOMEPAGE="https://src.fedoraproject.org/rpms/Canna"
|
||||
SRC_URI="https://src.fedoraproject.org/rpms/Canna/raw/f29/f/${MYPN}.patch"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p dic/ideo/words/ || die
|
||||
tail -n +30 "${DISTDIR}/${MYPN}.patch" | patch -p1 || die
|
||||
mv dic/ideo/words/*.t -t . || die
|
||||
sed -e '/\# This/d' -e '/\# Date/d' -i *.t || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkbindic zipcode.t || die
|
||||
mkbindic geo.t || die
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
zipcode.cbd(zipcode.mwd) -zipcode---
|
||||
zipcode.cld(zipcode.mwd) -zipcode---
|
||||
|
||||
geo.cbd(geo.mwd) -geo---
|
||||
geo.cld(geo.mwd) -geo---
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST canna-yubin-0.4.0.20210430.0.tar.xz 1913580 BLAKE2B 0c7663f3b71e2409022afdd030150753b7483a01ce718e2931bbb8cf8322ac863db789f6488d48342efa6dad29e7b37f2bf81da6cb3b68de9550a6b6344efa13 SHA512 e5a9d4979b05d0b6d32a2f80c5be7aa6749fb462eab2a88725b843622b37140fb171e8e4cfcf5a494e90b940561d383332cddbb0950e9bc0b26f7a5ef86d9923
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CANNADICS=( yubin7 )
|
||||
DICSDIRFILE="${FILESDIR}/yubin.dics.dir"
|
||||
|
||||
inherit cannadic
|
||||
|
||||
DESCRIPTION="Japanese postal code number extension dictionary for Canna"
|
||||
HOMEPAGE="https://osdn.net/projects/canna-yubin/"
|
||||
SRC_URI="https://jaist.dl.osdn.jp/${PN}/75047/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+ public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=app-i18n/canna-3.6_p3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="-j1" emake
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
yubin7.cbd(yubin7.mwd) -yubin7---
|
||||
yubin7.cld(yubin7.mwd) -yubin7---
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST dictd-devils-20210627.zip 164627 BLAKE2B 519efb77dac5d5ba3bc8280e6c544345eb44f92c681c20664f2e414897735b0deb261ec19e06813ebf681aa058596d52d53bc159c3f21bbf135ae97f6f6465c8 SHA512 b0e04c13864df1e90d8393b0b2eab87ef8848f9243c061777b83289e3c52d773dffb182c7e570b71ecf2a17fae4d359f65eb250f2c50aec442b31e92c94d3680
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edos2unix
|
||||
|
||||
DESCRIPTION="The Devil's Dictionary for dict"
|
||||
HOMEPAGE="https://www.gutenberg.org/ebooks/972"
|
||||
SRC_URI="https://www.gutenberg.org/files/972/972-0.zip -> ${P}.zip"
|
||||
S="$WORKDIR"
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/format.patch" )
|
||||
|
||||
src_prepare() {
|
||||
edos2unix 972-0.txt
|
||||
default
|
||||
|
||||
sed \
|
||||
-e 's/\r//g' \
|
||||
-e "/^ *THE DEVIL'S DICTIONARY/,/^End of Project Gutenberg's The Devil's Dictionary/!{w COPYING.gutenberg" -e 'd}' \
|
||||
-e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \
|
||||
-e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" \
|
||||
-e '/^ /y/,/\a/' \
|
||||
-i 972-0.txt || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
head -n -6 972-0.txt | dictfmt -u "${SRC_URI% ->*}" \
|
||||
-s "The Devil's Dictionary (2021-06-27 Project Gutenberg version)" \
|
||||
--headword-separator " or " \
|
||||
--columns 80 \
|
||||
-h devils || die
|
||||
sed -e 'y/\a/,/' -i devils.dict || die
|
||||
dictzip devils.dict || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/dict
|
||||
doins devils.dict.dz devils.index
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
--- a/972-0.txt
|
||||
+++ b/972-0.txt
|
||||
@@ -124,7 +124,7 @@
|
||||
ABORIGINIES, n. Persons of little worth found cumbering the soil of a
|
||||
newly discovered country. They soon cease to cumber; they fertilize.
|
||||
|
||||
-ABRACADABRA.
|
||||
+ABRACADABRA,
|
||||
|
||||
By _Abracadabra_ we signify
|
||||
An infinite number of things.
|
||||
@@ -1405,7 +1405,7 @@
|
||||
Ignores the Law as 't were a straw,
|
||||
And wants to sin--don't let him.
|
||||
|
||||
-CUI BONO? [Latin] What good would that do _me_?
|
||||
+CUI BONO?, [Latin] What good would that do _me_?
|
||||
|
||||
CUNNING, n. The faculty that distinguishes a weak animal or person
|
||||
from a strong one. It brings its possessor much mental satisfaction
|
||||
@@ -2571,7 +2571,7 @@
|
||||
these persons from swift and awful death is one of the most striking
|
||||
proofs of God's mercy to those that hate Him.
|
||||
|
||||
-FORMA PAUPERIS. [Latin] In the character of a poor person--a
|
||||
+FORMA PAUPERIS, [Latin] In the character of a poor person--a
|
||||
method by which a litigant without money for lawyers is considerately
|
||||
permitted to lose his case.
|
||||
|
||||
@@ -3074,7 +3074,7 @@
|
||||
|
||||
|
||||
|
||||
-HABEAS CORPUS. A writ by which a man may be taken out of jail when
|
||||
+HABEAS CORPUS, A writ by which a man may be taken out of jail when
|
||||
confined for the wrong crime.
|
||||
|
||||
HABIT, n. A shackle for the free.
|
||||
@@ -3539,7 +3539,7 @@
|
||||
|
||||
|
||||
|
||||
-I is the first letter of the alphabet, the first word of the language,
|
||||
+I, is the first letter of the alphabet, the first word of the language,
|
||||
the first thought of the mind, the first object of affection. In
|
||||
grammar it is a pronoun of the first person and singular number. Its
|
||||
plural is said to be _We_, but how there can be more than one myself
|
||||
@@ -3718,7 +3718,7 @@
|
||||
Pollo Doncas
|
||||
|
||||
|
||||
-IMPOSTOR n. A rival aspirant to public honors.
|
||||
+IMPOSTOR, n. A rival aspirant to public honors.
|
||||
|
||||
IMPROBABILITY, n.
|
||||
|
||||
@@ -4252,7 +4252,7 @@
|
||||
|
||||
|
||||
|
||||
-J is a consonant in English, but some nations use it as a vowel--
|
||||
+J, is a consonant in English, but some nations use it as a vowel--
|
||||
than which nothing could be more absurd. Its original form, which has
|
||||
been but slightly modified, was that of the tail of a subdued dog, and
|
||||
it was not a letter but a character, standing for a Latin verb,
|
||||
@@ -4323,7 +4323,7 @@
|
||||
|
||||
|
||||
|
||||
-K is a consonant that we get from the Greeks, but it can be traced
|
||||
+K, is a consonant that we get from the Greeks, but it can be traced
|
||||
away back beyond them to the Cerathians, a small commercial nation
|
||||
inhabiting the peninsula of Smero. In their tongue it was called
|
||||
_Klatch_, which means "destroyed." The form of the letter was
|
||||
@@ -4767,7 +4767,7 @@
|
||||
live with. The liver is heaven's best gift to the goose; without it
|
||||
that bird would be unable to supply us with the Strasbourg _pate_.
|
||||
|
||||
-LL.D. Letters indicating the degree _Legumptionorum Doctor_, one
|
||||
+LL.D., Letters indicating the degree _Legumptionorum Doctor_, one
|
||||
learned in laws, gifted with legal gumption. Some suspicion is cast
|
||||
upon this derivation by the fact that the title was formerly _LL.d._,
|
||||
and conferred only upon gentlemen distinguished for their wealth. At
|
||||
@@ -8612,7 +8612,7 @@
|
||||
civilization and enlightenment, despite their obvious agency in this
|
||||
incomparable dictionary.
|
||||
|
||||
-TZETZE (or TSETSE) FLY, n. An African insect (_Glossina morsitans_)
|
||||
+TZETZE FLY or TSETSE FLY, n. An African insect (_Glossina morsitans_)
|
||||
whose bite is commonly regarded as nature's most efficacious remedy
|
||||
for insomnia, though some patients prefer that of the American
|
||||
novelist (_Mendax interminabilis_).
|
||||
@@ -8781,7 +8781,7 @@
|
||||
|
||||
|
||||
|
||||
-W (double U) has, of all the letters in our alphabet, the only
|
||||
+W, (double U) has, of all the letters in our alphabet, the only
|
||||
cumbrous name, the names of the others being monosyllabic. This
|
||||
advantage of the Roman alphabet over the Grecian is the more valued
|
||||
after audibly spelling out some simple Greek word, like
|
||||
@@ -9040,7 +9040,7 @@
|
||||
|
||||
|
||||
|
||||
-X in our alphabet being a needless letter has an added invincibility
|
||||
+X, in our alphabet being a needless letter has an added invincibility
|
||||
to the attacks of the spelling reformers, and like them, will
|
||||
doubtless last as long as the language. X is the sacred symbol of ten
|
||||
dollars, and in such words as Xmas, Xn, etc., stands for Christ, not,
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A database for 'dict'-compatible dictionary software, based on Ambrose Bierce's satirical The Devil's Dictionary.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST dictd-elements-20030309.db 46325 BLAKE2B 70b5003a1dc5825ef67c4b2ceb8a322d5827cc28c3be61ea2d2e125343b1d03816385ea298c9794e25edf1f1e4361bc8f141876b1fba3f9005926a33ad28bffe SHA512 a09d152f4b7ed6f0fb43d7eed08abd469565b0d63d92e965e872dc90174298f8c661c9c22ab9c605fc865d7e1f3366dcbd27d17f1be274d0610b0938f8bb9b40
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Jay Kominek's database of the elements for dict"
|
||||
HOMEPAGE="https://www.dict.org/"
|
||||
SRC_URI="https://web.archive.org/web/20121223051336/http://www.miranda.org:80/~jkominek/elements/elements.db -> ${P}.db"
|
||||
S="$WORKDIR"
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${A}" elements.db || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -e '/^%h/{h;n;n;s/Symbol: //;T;x;G;s/\n/ /}' -i elements.db || die
|
||||
sed -e '/^%h/{N;N;s/%h.*\n%d\n\(%h.*\)/\1\n%d/}' -i elements.db || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dictfmt -u "${SRC_URI% ->*}" \
|
||||
-s "Jay Kominek's Elements database (version $PV)" \
|
||||
--headword-separator " " \
|
||||
--columns 80 \
|
||||
-p elements \
|
||||
< elements.db || die
|
||||
dictzip elements.dict || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/dict
|
||||
doins elements.dict.dz elements.index
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elog "You must unregister ${PN} and restart your dictd server before the"
|
||||
elog "dictionary is completely removed. If you are using OpenRC, both tasks may be"
|
||||
elog "accomplished by running '/etc/init.d/dictd restart'."
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer status="inactive">
|
||||
<name>Jay Kominek</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
A database for 'dict'-compatible dictionary software, based on Jay Kominek's descriptions of the atomic elements.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST dict-gazetteer_1.3.orig.tar.gz 2860737 BLAKE2B fbe5ef47f3044bd48173f1b0462fa8706e7232a889f9cc1bf6a4822c4ed3c461266843f249b526ffc93fb05a19e5a5656466375aef1a71ce0578562bf3f428d5 SHA512 2c875eb42ed6e6d2a75a24da1548730b86a54c8a2ed7dd8f41499d0963741775a3d0579f2b99c25798ecb4a9ae5cb327c04d446e79f06b55325be1a14854581f
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="The original U.S. Gazetteer Place and Zipcode Files for dict"
|
||||
HOMEPAGE="https://sourceforge.net/projects/dict-gazetteer/"
|
||||
SRC_URI="mirror://sourceforge/project/dict-gazetteer/dict-gazetteer_${PV}.orig.tar.gz"
|
||||
S="${WORKDIR}/dict-gazetteer-${PV}"
|
||||
LICENSE="GPL-2 public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-fix-makefile.patch"
|
||||
"${FILESDIR}/${PN}-fix-paths.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
mkdir -p "${T}/dict" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --datadir="${T}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
emake db
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
insinto "/usr/share"
|
||||
doins -r "${T}/dict"
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -77,7 +77,7 @@
|
||||
$(DATABASE) $(DATAINDEX): $(EXES) data/*.txt
|
||||
./format -p < data/places.txt > tmp
|
||||
./format -c < data/counties.txt >> tmp
|
||||
-# ./format -m < data/mcds.txt >> tmp
|
||||
+ ./format -m < data/mcds.txt >> tmp
|
||||
./format -z < data/zips.txt >> tmp
|
||||
sort tmp | ./format -f > $(DATABASE)
|
||||
-rm -f tmp
|
||||
@@ -165,7 +165,7 @@
|
||||
# fi \
|
||||
# done
|
||||
-rm -f config.h config.cache config.status stamp-h.in stamp-h
|
||||
- -rm -f Makefile
|
||||
+ -rm -f Makefile
|
||||
# -rm -f configure Makefile # We need to keep configure
|
||||
-rm -f $(DATABASE) $(DATABASE).dz $(DATAINDEX)
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -36,9 +36,6 @@
|
||||
AC_INIT(format.c)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
-prefix=/usr
|
||||
-datadir=/usr/lib
|
||||
-
|
||||
echo Configuring for dict-gazetteer
|
||||
echo .
|
||||
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">dict-gazetteer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jarg423.txt 1413674 BLAKE2B 943fae047e5773fcf4af5e6720533ef2886e6be93e9eb0a10beeb4aa263bde619f639ada35a431992d08bb470a2914201d02e6a83ccc755fcae55f9c96abd9b6 SHA512 98afd7f9f010c7f6c43ba2f368add48c8faf37c922e41de4d804a39bcc2fec6a18de51765a609aa2bd7396baaf3c772a22f1d07ae185ae0fe206dafa166a84ea
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="The Jargon File for dict"
|
||||
HOMEPAGE="http://www.catb.org/~esr/jargon/index.html"
|
||||
SRC_URI="http://www.catb.org/~esr/jargon/oldversions/jarg${PV//.}.txt"
|
||||
S="${WORKDIR}"
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${A}" jargon.txt || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
# This sed script works for all versions >=3.0.0 until <4.4.0 (when the
|
||||
# entire format changes).
|
||||
sed \
|
||||
-e '/^The Jargon Lexicon/,/:(Lexicon Entries End Here):/!{w jargon.doc' -e 'd}' \
|
||||
-e 's/^ \s*/\t/' -e 's/^ //' \
|
||||
-e 's/\([^\t]\)\t/\1 /g' \
|
||||
-e 's/^\(:[^:]*:\)\s*/\1/' \
|
||||
-e '/^= . =/,/^$/d' \
|
||||
-e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \
|
||||
-e 's/\([^A-Za-z ]\) \+\([2-9][0-9]\?\|1[0-9]\)\.\( \+\|$\)/\1\n\n\2. /g' \
|
||||
-e 's/^\([2-9][0-9]\?\|1[0-9]\)\.\( \+\|$\)/\n\1. /g' \
|
||||
-i jargon.txt || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dictfmt -u "$SRC_URI" \
|
||||
-s "The Jargon File (version $PV)" \
|
||||
--columns 80 \
|
||||
-j jargon \
|
||||
< jargon.txt || die
|
||||
dictzip jargon.dict || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newdoc jargon.doc jargon.txt
|
||||
insinto /usr/share/dict
|
||||
doins jargon.dict.dz jargon.index
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elog "You must unregister ${PN} and restart your dictd server before the"
|
||||
elog "dictionary is completely removed. If you are using OpenRC, both tasks may be"
|
||||
elog "accomplished by running '/etc/init.d/dictd restart'."
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer status="inactive">
|
||||
<name>Eric S. Raymond</name>
|
||||
<email>esr@thyrsus.com</email>
|
||||
</maintainer>
|
||||
<maintainer status="inactive">
|
||||
<name>Guy Steele</name>
|
||||
<email>gls@think.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
A database for 'dict'-compatible dictionary software, based on the classic Jargon File describing the slang that developed around computer programming in the '70s and '80s.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="dictd english dictionaries metapackage"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
HOMEPAGE="http://www.dict.org"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-dicts/dictd-devils
|
||||
app-dicts/dictd-elements
|
||||
app-dicts/dictd-foldoc
|
||||
app-dicts/dictd-gazetteer
|
||||
app-dicts/dictd-jargon
|
||||
app-dicts/dictd-misc
|
||||
app-dicts/dictd-vera
|
||||
app-dicts/dictd-wn
|
||||
|
||||
|| ( app-dicts/dictd-gcide app-dicts/dictd-web1913 )
|
||||
"
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST dict-misc_1.5A-2.diff.gz 4765 BLAKE2B 79df500281d1b354480457beb540c061b92c99a8dccc693169159440f2b1b5cb1b4bb184c374bc55a2d1e49ad1713c3ceb66fd2871e64d50ae79e1c7b625680f SHA512 56df697c138cf5f2002df30911b8811e94a6d389610c8961f9371de95c6425bbeb5c8abec42d79efde87643df2e59d43c0bf0fb0a5ec06f4564e9c25c62d0637
|
||||
DIST dict-misc_1.5A.orig.tar.gz 1097766 BLAKE2B ee29fcfb42b689d6818128f8cfc0dc1c74cc8522808e9bae14888c1fb9a95aee69504f2900e58cbdf21d9437961a0b91a8ff9f7bcf693ecc11180697c71caf47 SHA512 96c8a94cc28be40ee0cd1d102d2a77de0636995765e95cacb9a16d451cb4983e0c0b970f4964fef7c8ebd2cb4d96a44a3e97112f66646995b3ff64f0ad6d07f3
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MYPV="${PV/_alpha/A-}"
|
||||
MYPV2="$(ver_cut 1-3 ${MYPV} )"
|
||||
|
||||
DESCRIPTION="Hitchcock's and Easton's Bible Dictionaries"
|
||||
HOMEPAGE="http://www.dict.org"
|
||||
SRC_URI="
|
||||
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dict-misc/${MYPV}/dict-misc_${MYPV2}.orig.tar.gz
|
||||
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dict-misc/${MYPV}/dict-misc_${MYPV}.diff.gz
|
||||
"
|
||||
S="${WORKDIR}/dict-misc-${MYPV2}"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
RDEPEND="${BDEPEND}"
|
||||
|
||||
PATCHES=( "${WORKDIR}/dict-misc_${MYPV}.diff" )
|
||||
|
||||
src_compile() {
|
||||
cat easton/easton-info.txt easton/T*.html \
|
||||
| sed 's,<A HREF=[^>]*>\([^<]*\).*</A>,{\1},g' \
|
||||
| sed 's,\([A-Z][A-Z]*\) .T000[0-9]*,{\1},g' \
|
||||
| dictfmt -e \
|
||||
-u ftp://ccel.wheaton.edu/ebooks/HTML/e/easton/ebd/ \
|
||||
-s "Easton's 1897 Bible Dictionary" easton || die
|
||||
|
||||
dictzip -v easton.dict || die
|
||||
|
||||
dictfmt -h \
|
||||
-u ftp://ccel.wheaton.edu/ebooks/HTML/bible_names/bible_names.txt \
|
||||
-s "Hitchcock's Bible Names Dictionary (late 1800's)" \
|
||||
hitchcock < bible_names.txt || die
|
||||
|
||||
dictzip -v hitchcock.dict || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/dict"
|
||||
doins hitchcock.{index,dict.dz}
|
||||
doins easton.{index,dict.dz}
|
||||
dodoc "easton/easton-info.txt"
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">ubuntu</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST mueller-dict-3.1.tar.gz 6615310 BLAKE2B 7e205e1660fcc4adf1d1b710561eb9fb009978f0271b8aee42d2ffc09337a311eca203ac0ab84b12bdf378a49b984b3b0337509cf4f00384946c76446e84227e SHA512 e6828235412bda0a23bcf2b84e652edfeb6c5cbbb97b1368808dd724be6ab7084afc670a4f38084f8f622f06dd400006747b45b0f59b780ce58c04f0bc2ff7e5
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="mueller-dict"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="V. K. Mueller English-Russian Dictionary"
|
||||
HOMEPAGE="https://mueller-dict.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="ipa"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
dev-lang/perl
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-dictfmt.patch" )
|
||||
|
||||
src_prepare() {
|
||||
rm -r "${S}"/dict/*.dz "${S}"/dict/*.index || die
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
#preformat need the en_US.UTF-8 locale
|
||||
local myconf=(
|
||||
--enable-preformat
|
||||
$(use_enable ipa IPA-unicode)
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc NEWS README ChangeLog
|
||||
pushd "${S}/dict" || die
|
||||
insinto /usr/share/dict
|
||||
doins mueller-{abbrev,base,dict,geo,names}.{dict.dz,index}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- a/dict/Makefile.am
|
||||
+++ b/dict/Makefile.am
|
||||
@@ -10,7 +10,7 @@
|
||||
#CHARSET = utf-8
|
||||
|
||||
DICTFMT_FLAGS = --headword-separator \; --break-headwords --columns=0 \
|
||||
- --locale=$(LOCALE) -c5 -u $(URL)
|
||||
+ --utf8 -c5 -u $(URL)
|
||||
DICTZIP_FLAGS = -k
|
||||
|
||||
if FORMAT
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="ipa">convert transcription into the IPA Unicode</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">mueller-dict</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,12 +0,0 @@
|
||||
DIST pgw050ab.zip 1400825 BLAKE2B 7145d4ba24bb5dbfc89c6d2437a7056e1be3bf778040831e7b2e3f0420f9811c3b4f803238b174c76932c77099f3ab8f9144b410d219085068d8a7d09cf3e432 SHA512 bc9b7e2e43b40301cb44271dda1dc410fefcda912a6a199bfe7c309749f5a6ac036e17fe588460a3d78ffabbab6553b83077bb8a5658ca421cd16f8014c042f2
|
||||
DIST pgw050c.zip 1159912 BLAKE2B c0133d8ceff0c511d8e6e727eb33b87cef47d549eeb9c11f4db6713ff44fc52a1fbc18e40409f5778ee2f7354fd4561ef2f2cc3875e3985996f1eae19e01307e SHA512 4b782884c32b59d28e47206591060ca44fdeaa7050f5e91a316061fb8287ec0296b5b779638fd462861e96558b79f4b6585c332a783dc6ac7c671113cd57d466
|
||||
DIST pgw050de.zip 1172639 BLAKE2B e8557299d1b760e074a1da047f2ef4db27cdfeab91028a4ff682395d0263c81294698e32186a749de7440b7f84cbc71e0fd55ebc692b24b371883c65fbcf6b1a SHA512 69fe3979131b004eb259aef52c83efc1e4ecde951a6f6294ff16e63a9d60d52a6bbe9fadf93b68dd9df988cfcf36c7a13f594a10c54ea531212c3300a11caf18
|
||||
DIST pgw050fh.zip 1347072 BLAKE2B 9ffae0773b14c9878456ef497e5d16f78475e87acf805c325ff698043e931f5fa96af52edbffcd1eda6caef139132908841c5c28b5c8825166c4b32aae06404b SHA512 9d8dd9bc71c26dfd1ee42129484073c6c7fae89e2ec77407c4535c50b13c74268cd203d8136d79de75bd9efec920723e6d3e5c65c5dd893e8c3c53d61ccdd4d9
|
||||
DIST pgw050il.txt 3726925 BLAKE2B e3d6b6e8bc8fbebfabe41757dd8df64745a1026d277198f1082ccaa4ab9798c3892c5cdeed522a1e5eb9e39342243c77682c126f07a1edb5b48dab59c450f5b0 SHA512 697f6209ef559c8326dcea7360347a1b4da401a49903a2475648dd645a562069cf4da1e471b1f4b3acb558af09171e9c0ae6b09a45af2e63ddae46e7716e5e3f
|
||||
DIST pgw050mo.zip 1036584 BLAKE2B 5a2ab8bbcb4738850fb52f17a5b56b82347ad95b5c0c630275078942de9c210c4a482cb5a08b629f9f3a15303ed1f76bf1796fac4584e43dd84c5d2e34958ee0 SHA512 6957eaf19ca83a3bf584149b2a205f709dbd8d072fbd7396657b1c7786f02b5f0d21b56bf054221c0057bf27b5d02e7c79f3deced9b7e51f6b9779cf8993db88
|
||||
DIST pgw050pq.zip 1044532 BLAKE2B fbd7e3dfbbacdb8154fe6c39ae1d781c238548b5ee1b985d4ed3003ac6a177ce09573a60d5f021630fc6fcc219f446a0682891e8dda0e124554e04bf0c3b8a10 SHA512 0b7993b1c5e5cab7233e6b569d56351c7c27f4727a5c927eb1cee0fca2b2fc854e627b63b61cbfa1403752bdf29675e26d40430be32ba1655451c69bb968f1a8
|
||||
DIST pgw050r.zip 601207 BLAKE2B 6fba41c89c755165bec9928796830dbe740c011e9b56983e4da72a8ab391eac3016ff3fd5396f970b7299342092f73b265b9daa223eff455460bb92d0ba194a1 SHA512 15efdfacf33a316441af1c6f2d980bb2e4f74cf15663a25eef2183ad1d50a475efb92a93a0d9ac9540fbc9b2ed89333f29e2e41f4c27c6932757ee4535faaa53
|
||||
DIST pgw050s.zip 1421850 BLAKE2B 264ec367db97bdbcc3caf81dd26920d7560a07521c98ee9754d53195d5c94c6d2ec7d8f627a03c92c77534c0f80cb902ef0bfa6db7369f8a7788e4594b641036 SHA512 c2b74ef60f65ea1c504247e6b0b3f3e677f57ef18e62bbae82a599ed37dc57825336f36f7ba060307fe0c6dd62751acb746c4f96677071eb798c5128b01faec0
|
||||
DIST pgw050tw.zip 1395640 BLAKE2B bf40aba3dbb3ae82393d54d2842e653759b4c0c206ee225df7134454f3038718dddf9bb9286307223d5232b206f6f24b8e5827702b5759c6fe69a7eef351c9c1 SHA512 1aa46777dbaa429587ebd30c7c4ad9736afe02187861eb60a67348e683afa9660cb76571cc5e57b0a423b9e1761805507173ef67352954935015d60180078052
|
||||
DIST pgw050xz.zip 579098 BLAKE2B 6e3155a8ca0a3541d3418527c1f7417b885f6e2f79577a6684dca24fddbcfa03d849f91ea73a9a6cfe27ecf3c5ea2c5c3ee6f31fabef4a1d161a58dafe5a38da SHA512 01d8151afdc185e77b2afbbe0e5602d8518f9ce51d14c25b0a3c9676d40252c42defb320ac843b40b466e2b481b7b7f80b3871c332733d770c5eb4363d4a1991
|
||||
DIST web1913-dict-patches-p1.tar.gz 15311 BLAKE2B 0849c15799ff4d7f06c42e22fb9e5693aaf1d16ba4ef77a06007c63bcf32b7cb12c1e526ad969a91f8082f79d10e502e6458fdbd113bd7922cd8b44f920c559e SHA512 b70d1ea571a067b7115572dba18aa1d05c4f51e596482c88c651883ba2937b5b569303a34c75056a0425e7feccab3715bb0c978fa46d539d5ceb56b5e296eb90
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
WV="${PV%_p*}"
|
||||
GV="${WV//.}"
|
||||
SN="web1913-dict-patches"
|
||||
SV="${PV##*_}"
|
||||
SD="${SN}-${SV}"
|
||||
|
||||
DESCRIPTION="Webster's Revised Unabridged Dictionary (1913) for dict"
|
||||
HOMEPAGE="https://www.micra.com"
|
||||
SRC_URI="
|
||||
https://www.gutenberg.org/files/660/old/pgw${GV}ab.zip
|
||||
https://www.gutenberg.org/files/661/old/pgw${GV}c.zip
|
||||
https://www.gutenberg.org/files/662/old/pgw${GV}de.zip
|
||||
https://www.gutenberg.org/files/663/old/pgw${GV}fh.zip
|
||||
https://www.gutenberg.org/files/664/old/pgw${GV}il.txt
|
||||
https://www.gutenberg.org/files/665/old/pgw${GV}mo.zip
|
||||
https://www.gutenberg.org/files/666/old/pgw${GV}pq.zip
|
||||
https://www.gutenberg.org/files/667/old/pgw${GV}r.zip
|
||||
https://www.gutenberg.org/files/668/old/pgw${GV}s.zip
|
||||
https://www.gutenberg.org/files/669/old/pgw${GV}tw.zip
|
||||
https://www.gutenberg.org/files/670/old/pgw${GV}xz.zip
|
||||
https://git.sr.ht/~ag_eitilt/${SN}/archive/${SV}.tar.gz -> ${SD}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=app-text/dictd-1.13.0-r3"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
PATCHES=( "${SD}/tag-nesting.patch" )
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A//pgw${GV}il.txt}
|
||||
cp "$DISTDIR/pgw${GV}il.txt" . || die
|
||||
cp "${SD}/xhtml-lat1.ent" "${SD}/xhtml-special.ent" "${SD}/xhtml-symbol.ent" . || die
|
||||
cp "${SD}/dictfmt-elements.txt" web1913.txt || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e '/<! Begin file/,$ d' pgw050c.txt > COPYING.gutenberg || die
|
||||
|
||||
for f in $(ls pgw$GV?*.txt) ; do
|
||||
echo "Cleaning '${f}'" || die
|
||||
sed -n -e '/<! Begin file/,$ p' -i "${f}" || die
|
||||
sed -f "${SD}/cleanup.sed" -i "${f}" || die
|
||||
cat "${SD}/micra-head.xml" "${f}" "${SD}/micra-foot.xml" > "${f%txt}xml" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
for f in $(ls pgw050?*.xml) ; do
|
||||
echo "Processing '${f}'" || die
|
||||
xsltproc "${SD}/dictfmt-elements.xsl" "${f}" >> web1913.txt || die
|
||||
done
|
||||
echo "Building dictionary" || die
|
||||
dictfmt -u " ${SRC_URI% * ->*}" \
|
||||
-s "Webster's Revised Unabridged Dictionary, 1913 edition (v$WV ${SV})" \
|
||||
--headword-separator " / " \
|
||||
--columns 73 \
|
||||
--utf8 \
|
||||
-p web1913 \
|
||||
< web1913.txt || die
|
||||
dictzip web1913.dict || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/dict
|
||||
doins web1913.dict.dz web1913.index
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elog "You must unregister $PN and restart your dictd server before the"
|
||||
elog "dictionary is completely removed. If you are using OpenRC, both tasks may be"
|
||||
elog "accomplished by running '/etc/init.d/dictd restart'."
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Patrick Cassidy</name>
|
||||
<email>cassidy@micra.com</email>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
A database for 'dict'-compatible dictionary software, based on the 1913 edition of Webster's Revised Unabridged Dictionary as digitized by MICRA, Inc.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST yc-5.2.1.el.gz 33305 BLAKE2B 8bed47715f49466425afefd036cf562055025564e50ae219e027848104e3851b6cba29f74bcf81487d2494d314a290eabe27e128968dbba9d475562e248a267b SHA512 11c8d63a9f6cb94118a00976518949ab50496f8b8f994a8e1c352be5deefc549540935e0727b036c2b3c493366cfb8c47f040fcc425174b6668ec9f5e8d499dc
|
@ -1 +0,0 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
@ -1,12 +0,0 @@
|
||||
;;;; -*- mode: lisp-interaction; syntax: elisp; coding: iso-2022-7bit -*-
|
||||
|
||||
;;;; Configuration for yc
|
||||
(setq yc-server-host "unix")
|
||||
;If you use inet socket service, enable the following line.
|
||||
;(setq yc-server-host "localhost")
|
||||
(setq yc-use-color t)
|
||||
(if (eq window-system 'x)
|
||||
(setq yc-use-fence nil)
|
||||
(setq yc-use-fence t))
|
||||
(load "yc")
|
||||
(global-yc-mode 1)
|
@ -1,2 +0,0 @@
|
||||
localhost
|
||||
unix
|
@ -1,11 +0,0 @@
|
||||
--- a/yc.el
|
||||
+++ b/yc.el
|
||||
@@ -2071,7 +2071,7 @@
|
||||
;; $BJ8@a$r;XDj$7$J$$>l9g!"8=:_$NJ8@a$,BP>]$H$J$k(B
|
||||
;; $BFI$_$r<hF@$7$?J8@a$O$=$NFI$_$r%-%c%C%7%e$9$k(B
|
||||
;; cut $B$,(B $BHs(Bnil $B$N>l9g!";XDjJ8@a0J9_$NFI$_$r:o=|$9$k(B
|
||||
-(defun yc-yomi (&optional idx &optional cut)
|
||||
+(defun yc-yomi (&optional idx cut)
|
||||
(if (integerp idx)
|
||||
(yc-put-bunsetsu-yomi idx (yc-get-bunsetsu-yomi idx cut) cut)
|
||||
(yc-put-bunsetsu-yomi yc-mark (yc-get-bunsetsu-yomi yc-mark cut) cut)))
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Yet another Canna client on Emacsen"
|
||||
HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
|
||||
SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.el.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="app-i18n/canna"
|
||||
|
||||
ELISP_PATCHES="${P}-emacs-26.patch"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
dodoc "${FILESDIR}"/sample.{dot.emacs,hosts.canna}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp_pkg_postinst
|
||||
|
||||
elog "See the sample.dot.emacs in ${EPREFIX}/usr/share/doc/${PF}."
|
||||
elog
|
||||
elog "And If you use unix domain socket for connecting the canna server,"
|
||||
elog "please confirm that there's *no* following line in your ~/.emacs:"
|
||||
elog ' (setq yc-server-host "localhost")'
|
||||
elog
|
||||
elog "If you use inet domain socket for connecting the canna server,"
|
||||
elog "please modify as following in ${EPREFIX}/etc/conf.d/canna:"
|
||||
elog ' CANNASERVER_OPTS="-inet"'
|
||||
elog
|
||||
elog "And create ${EPREFIX}/etc/hosts.canna."
|
||||
elog "See the sample.hosts.canna in ${EPREFIX}/usr/share/doc/${PF}."
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST spice-html5-spice-html5-0.3.0.tar.bz2 397775 BLAKE2B 8b03203e0a0377d6ae2b14cd4cad058f09c2073f00eda430330dfb9039bd6f0ff8cc817c9ef7728f3a876ece154ea1455dded8aaffa063ddec0c7df9e994aff0 SHA512 0a7c9584a6afad4097909c47d86bdedc6d9d5859cd421daa9834ece1ef11cc43cb1dce68985511e1d1d82d5055ca9025e6705b91ba3130b0e6a05edcf67fe7d0
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://gitlab.freedesktop.org/spice/spice-html5/-/issues</bugs-to>
|
||||
<remote-id type="freedesktop-gitlab">spice/spice-html5</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,24 +0,0 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Spice Javascript client"
|
||||
HOMEPAGE="https://gitlab.freedesktop.org/spice/spice-html5"
|
||||
SRC_URI="https://gitlab.freedesktop.org/spice/${PN}/-/archive/${P}/${PN}-${P}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
LICENSE="LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s/VERSION/${PV}/" < package.json.in > package.json || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README TODO apache.conf.sample
|
||||
insinto /usr/share/spice-html5
|
||||
doins -r src ./*.html ./*.json ./*.css
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST libpreloadvaccine-0_pre20190831.tar.gz 84112 BLAKE2B 1a1aae9f036d753f1bb65645bc1775eadb8818577b917c48bcc94be370b35ddc9f27e3e05770c320dc47927284f198313922be46b3e2c57d1294e877455dbe63 SHA512 7990868f307e272c1d16c8c31dda89d6df40eafac45a4e03bd22b37a3829472cf71f96eb3bab939973fcdbdee009f2d66d41edeed05f3368c4acbb828624e8a2
|
@ -1,23 +0,0 @@
|
||||
From 9b55c68551fccf7bdb7514af35045a592b9da2db Mon Sep 17 00:00:00 2001
|
||||
From: Alessandro Barbieri <lssndrbarbieri@gmail.com>
|
||||
Date: Thu, 21 Oct 2021 07:15:26 +0200
|
||||
Subject: [PATCH] fix typo
|
||||
|
||||
--- a/test/test_libpreloadvaccine.c
|
||||
+++ b/test/test_libpreloadvaccine.c
|
||||
@@ -33,7 +33,7 @@ static void test_file_contains_object(void)
|
||||
static void test_file_contains_object_bad_file(void)
|
||||
{
|
||||
char *working_dir = getenv("PWD");
|
||||
- char *test_path = strcat(working_dir,"/test/test_data/ld.so.prload");
|
||||
+ char *test_path = strcat(working_dir,"/test/test_data/ld.so.preload");
|
||||
TEST_ASSERT_FALSE(file_contains_object("/tmp/libpreload.so", test_path));
|
||||
}
|
||||
|
||||
@@ -62,4 +62,4 @@ int main(void)
|
||||
RUN_TEST(test_file_contains_object_bad_file);
|
||||
|
||||
return UnityEnd();
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
@ -1,33 +0,0 @@
|
||||
--- a/makefile 2019-08-31 06:10:16.000000000 +0200
|
||||
+++ b/makefile 2021-10-18 11:35:15.173731696 +0200
|
||||
@@ -4,17 +4,14 @@
|
||||
LIBS = -lm
|
||||
|
||||
###
|
||||
-CFLAGS = -std=c99
|
||||
-CFLAGS += -g
|
||||
+CFLAGS += -std=c99
|
||||
CFLAGS += -Wall
|
||||
CFLAGS += -Wextra
|
||||
CFLAGS += -pedantic
|
||||
-CFLAGS += -Werror
|
||||
CFLAGS += -Wmissing-declarations
|
||||
CFLAGS += -DUNITY_SUPPORT_64
|
||||
|
||||
BUILDFLAGS = -Wall
|
||||
-BUILDFLAGS += -g
|
||||
BUILDFLAGS += -fPIC
|
||||
BUILDFLAGS += -shared
|
||||
|
||||
@@ -38,8 +35,8 @@
|
||||
|
||||
tests.out: test/*.c src/*.c src/*.h
|
||||
@echo Compiling $@
|
||||
- @$(CC) $(CFLAGS) src/*.c test/vendor/unity.c test/*.c -o tests.out $(LIBS)
|
||||
+ @$(CC) $(CFLAGS) -fPIE $(LDFLAGS) src/*.c test/vendor/unity.c test/*.c -o tests.out $(LIBS)
|
||||
|
||||
build: src/*.c src/*.h
|
||||
@echo Compiling $@
|
||||
- @$(CC) $(BUILDFLAGS) src/*.c -o libpreloadvaccine.so $(BUILDLIBS)
|
||||
\ Manca newline alla fine del file
|
||||
+ @$(CC) $(BUILDFLAGS) $(CFLAGS) $(LDFLAGS) -Wl,-soname,libpreloadvaccine.so src/*.c -o libpreloadvaccine.so $(BUILDLIBS)
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="634e0155e77bb539a5b35c0ea964bbc525ae3f74"
|
||||
|
||||
DESCRIPTION=" Whitelisting LD_PRELOAD libraries using LD_AUDIT"
|
||||
HOMEPAGE="https://github.com/ForensicITGuy/libpreloadvaccine"
|
||||
SRC_URI="https://github.com/ForensicITGuy/libpreloadvaccine/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=( README.md )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-makefile.patch"
|
||||
"${FILESDIR}/${PN}-fix-typo.patch"
|
||||
)
|
||||
#RESTRICT="!test? ( test )"
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
emake build
|
||||
use test && emake tests.out
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so libpreloadvaccine.so
|
||||
einstalldocs
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/ForensicITGuy/libpreloadvaccine/issues</bugs-to>
|
||||
<remote-id type="github">ForensicITGuy/libpreloadvaccine</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST canfep-1.0.tar.gz 8067 BLAKE2B 1a6e8af357d2b7aaccf442b0f8bab577ed05a5a0fdf2fb4c189105c2c41f739c2e559e740584bf393fcc52d3f3bd0bb6216e06e2b685f62f7dded9d576e95bed SHA512 0fd7c8ca56282fa537b76fe33f46e03d4f0f4727528ccad95cd4726888372da9158fc8bed2cdc67d645defb479040cd4a4d0999f69d38fd8b4080f7ece4e67d6
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Canna Japanese kana-kanji frontend processor on console"
|
||||
HOMEPAGE="https://web.archive.org/web/20170517105759/http://www.geocities.co.jp/SiliconValley-Bay/7584/canfep/"
|
||||
SRC_URI="https://web.archive.org/web/20181106043248if_/http://www.geocities.co.jp/SiliconValley-Bay/7584/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="canfep"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/canna
|
||||
sys-libs/ncurses:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-utf8.patch"
|
||||
"${FILESDIR}/${PN}-posix-pty.patch"
|
||||
"${FILESDIR}/${PN}-termcap.patch"
|
||||
"${FILESDIR}/${P}-respect-flags.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export CXX
|
||||
LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodoc 00{changes,readme}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,7 +1,5 @@
|
||||
# Linux
|
||||
-CC=c++
|
||||
-LIBS=-lcanna -ltermcap
|
||||
-CFLAGS=-O2 -g
|
||||
+LIBS += -lcanna
|
||||
|
||||
# Solaris 2.6J
|
||||
#CC=c++
|
||||
@@ -19,10 +17,10 @@
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
- $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
|
||||
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -fPIE -o $@ $(OBJS) $(LIBS)
|
||||
|
||||
.C.o:
|
||||
- $(CC) $(CFLAGS) -c $<
|
||||
+ $(CXX) $(CXXFLAGS) -fPIC -c $<
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET) $(OBJS)
|
@ -1,190 +0,0 @@
|
||||
--- a/canna.C
|
||||
+++ b/canna.C
|
||||
@@ -4,10 +4,87 @@
|
||||
#define FEP_KEY 15
|
||||
#define ESC_KEY 27
|
||||
|
||||
+void Canna::write_utf8(int fd, char *p, int len)
|
||||
+{
|
||||
+ if (eucjp_to_utf8_cd == (iconv_t)-1)
|
||||
+ write(fd, p, strlen(p));
|
||||
+ else
|
||||
+ {
|
||||
+ char *putf8 = iconv_string(eucjp_to_utf8_cd, p, len);
|
||||
+ write(fd, putf8, strlen(putf8));
|
||||
+ free(putf8);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
+char * Canna::iconv_string(iconv_t fd, char *str, int slen)
|
||||
+{
|
||||
+ char *from;
|
||||
+ size_t fromlen;
|
||||
+ char *to;
|
||||
+ size_t tolen;
|
||||
+ size_t len = 0;
|
||||
+ size_t done = 0;
|
||||
+ char *result = NULL;
|
||||
+ char *p;
|
||||
+ int l;
|
||||
+
|
||||
+ from = (char *)str;
|
||||
+ fromlen = slen;
|
||||
+ for (;;)
|
||||
+ {
|
||||
+ if (len == 0 || errno == E2BIG)
|
||||
+ {
|
||||
+ /* Allocate enough room for most conversions. When re-allocating
|
||||
+ * increase the buffer size. */
|
||||
+ len = len + fromlen * 2 + 40;
|
||||
+ p = (char*)malloc((unsigned)len);
|
||||
+ if (p != NULL && done > 0)
|
||||
+ memcpy(p, result, done);
|
||||
+ free(result);
|
||||
+ result = p;
|
||||
+ if (result == NULL) /* out of memory */
|
||||
+ break;
|
||||
+ }
|
||||
+
|
||||
+ to = (char *)result + done;
|
||||
+ tolen = len - done - 2;
|
||||
+ /* Avoid a warning for systems with a wrong iconv() prototype by
|
||||
+ * casting the second argument to void *. */
|
||||
+ if (iconv(fd, &from, &fromlen, &to, &tolen) != (size_t)-1)
|
||||
+ {
|
||||
+ /* Finished, append a NUL. */
|
||||
+ *to = 0;
|
||||
+ break;
|
||||
+ }
|
||||
+ /* Check both ICONV_EILSEQ and EILSEQ, because the dynamically loaded
|
||||
+ * iconv library may use one of them. */
|
||||
+ if (errno == EILSEQ || errno == EILSEQ)
|
||||
+ {
|
||||
+ /* Can't convert: insert a '?' and skip a character. This assumes
|
||||
+ * conversion from 'encoding' to something else. In other
|
||||
+ * situations we don't know what to skip anyway. */
|
||||
+ *to++ = *from++;
|
||||
+ fromlen -= 1;
|
||||
+ }
|
||||
+ else if (errno != E2BIG)
|
||||
+ {
|
||||
+ /* conversion failed */
|
||||
+ free(result);
|
||||
+ result = NULL;
|
||||
+ break;
|
||||
+ }
|
||||
+ /* Not enough room or skipping illegal sequence. */
|
||||
+ done = to - (char *)result;
|
||||
+ }
|
||||
+ return result;
|
||||
+}
|
||||
+
|
||||
// コンストラクタだよん
|
||||
Canna::Canna(int ac, char** av, char* amsg, char* emsg):
|
||||
Pty(ac, av, amsg, emsg)
|
||||
{
|
||||
+ char *p_lang = getenv("LANG");
|
||||
+
|
||||
// かんなの初期化
|
||||
jrKanjiControl(0, KC_INITIALIZE, 0);
|
||||
jrKanjiControl(0, KC_SETAPPNAME, "canfep");
|
||||
@@ -15,6 +92,9 @@
|
||||
jrKanjiControl(0, KC_QUERYMODE, (char*) saveMode);
|
||||
jrKanjiControl(0, KC_SETWIDTH, (char*) 72);
|
||||
|
||||
+ if (p_lang == NULL || strstr(p_lang, "-8"))
|
||||
+ eucjp_to_utf8_cd = iconv_open("utf-8", "euc-jp");
|
||||
+
|
||||
mode(saveMode);
|
||||
}
|
||||
|
||||
@@ -25,6 +105,8 @@
|
||||
jrKanjiControl(0, KC_KILL, (char*) &ksv);
|
||||
jrKanjiControl(0, KC_FINALIZE, 0);
|
||||
|
||||
+ if (eucjp_to_utf8_cd != (iconv_t)-1)
|
||||
+ iconv_close(eucjp_to_utf8_cd);
|
||||
mode(saveMode);
|
||||
}
|
||||
|
||||
@@ -32,7 +114,7 @@
|
||||
void
|
||||
Canna::kakutei(unsigned char* p)
|
||||
{
|
||||
- write(wfd, p, strlen((char*) p));
|
||||
+ write_utf8(wfd, (char*)p, strlen((char*) p));
|
||||
}
|
||||
|
||||
// 変換中(未確定)の文字列を出力する
|
||||
@@ -42,13 +124,13 @@
|
||||
write(rfd, sc, strlen(sc));
|
||||
write(rfd, rc, strlen(rc));
|
||||
write(rfd, us, strlen(us));
|
||||
- write(rfd, p, pos);
|
||||
+ write_utf8(rfd, (char*)p, pos);
|
||||
write(rfd, ue, strlen(ue));
|
||||
write(rfd, so, strlen(so));
|
||||
- write(rfd, p + pos, len);
|
||||
+ write_utf8(rfd, (char*)p + pos, len);
|
||||
write(rfd, se, strlen(se));
|
||||
write(rfd, us, strlen(us));
|
||||
- write(rfd, p + pos + len, strlen((char*) p + pos + len));
|
||||
+ write_utf8(rfd, (char*)p + pos + len, strlen((char*) p + pos + len));
|
||||
write(rfd, ue, strlen(ue));
|
||||
}
|
||||
|
||||
@@ -73,7 +155,7 @@
|
||||
write(rfd, sc, strlen(sc));
|
||||
write(rfd, ts, strlen(ts));
|
||||
write(rfd, ce, strlen(ce));
|
||||
- write(rfd, p, strlen((char*) p));
|
||||
+ write_utf8(rfd, (char*)p, strlen((char*) p));
|
||||
write(rfd, fs, strlen(fs));
|
||||
}
|
||||
|
||||
@@ -84,13 +166,13 @@
|
||||
write(rfd, sc, strlen(sc));
|
||||
write(rfd, ts, strlen(ts));
|
||||
write(rfd, ce, strlen(ce));
|
||||
- write(rfd, p, strlen((char*) p));
|
||||
+ write_utf8(rfd, (char*)p, strlen((char*) p));
|
||||
write(rfd, " ", 1);
|
||||
- write(rfd, l, pos);
|
||||
+ write_utf8(rfd, (char*)l, pos);
|
||||
write(rfd, so, strlen(so));
|
||||
- write(rfd, l + pos, len);
|
||||
+ write_utf8(rfd, (char*)l + pos, len);
|
||||
write(rfd, se, strlen(se));
|
||||
- write(rfd, l + pos + len, strlen((char*) l + pos +len));
|
||||
+ write_utf8(rfd, (char*)l + pos + len, strlen((char*) l + pos +len));
|
||||
write(rfd, fs, strlen(fs));
|
||||
}
|
||||
|
||||
--- a/canna.H
|
||||
+++ b/canna.H
|
||||
@@ -5,6 +5,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#include <errno.h>
|
||||
+#include <iconv.h>
|
||||
#include <canna/jrkanji.h>
|
||||
|
||||
#include "pty.H"
|
||||
@@ -17,6 +19,7 @@
|
||||
jrKanjiStatus ks;
|
||||
jrKanjiStatusWithValue ksv;
|
||||
private:
|
||||
+ iconv_t eucjp_to_utf8_cd;
|
||||
unsigned char currentMode[BUFSIZ];
|
||||
unsigned char saveMode[BUFSIZ];
|
||||
private:
|
||||
@@ -25,6 +28,8 @@
|
||||
void delhenkan(int len);
|
||||
void mode(unsigned char* p);
|
||||
void gline(unsigned char* p, unsigned char* l, int pos, int len);
|
||||
+ void write_utf8(int fd, char *p, int len);
|
||||
+ char* iconv_string(iconv_t fd, char *str, int slen);
|
||||
public:
|
||||
void loop();
|
||||
};
|
@ -1,67 +0,0 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=212709
|
||||
|
||||
Author: OKUMURA N. Shin-ya <oku.ns@dream.com>
|
||||
|
||||
--- a/pty.C
|
||||
+++ b/pty.C
|
||||
@@ -257,6 +257,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
+#if defined(_POSIX_C_SOURCE)
|
||||
+ // BSD pty が開けないので、POSIX の方法を試す
|
||||
+ if ((master = posix_openpt(O_RDWR)) >= 0) {
|
||||
+ if (grantpt(master) == 0 && unlockpt(master) == 0) {
|
||||
+ // マスタデバイス名は固定
|
||||
+ strcpy(line, "/dev/ptmx");
|
||||
+ tcgetattr(0, &tt);
|
||||
+ tt.c_iflag &= ~ISTRIP;
|
||||
+ ioctl(0, TIOCGWINSZ, (char*) &win);
|
||||
+ return;
|
||||
+ }
|
||||
+ close(master);
|
||||
+ } else {
|
||||
+ perror("/dev/ptmx");
|
||||
+ }
|
||||
+#endif // _POSIX_C_SOURCE
|
||||
+
|
||||
printf("Out of pty's\n");
|
||||
fail();
|
||||
}
|
||||
@@ -265,12 +282,36 @@
|
||||
void
|
||||
Pty::getslave()
|
||||
{
|
||||
+#if defined(_POSIX_C_SOURCE)
|
||||
+ // マスタデバイスが POSIX 方式の場合
|
||||
+ if (strcmp(line, "/dev/ptmx") == 0) {
|
||||
+ char *slave_devname = ptsname(master);
|
||||
+ if (slave_devname == NULL) {
|
||||
+ perror("ptsname");
|
||||
+ fail();
|
||||
+ }
|
||||
+ slave = open(slave_devname, O_RDWR);
|
||||
+ if (slave < 0) {
|
||||
+ perror(slave_devname);
|
||||
+ fail();
|
||||
+ }
|
||||
+ strcpy(line, slave_devname);
|
||||
+ } else {
|
||||
+ line[strlen("/dev/")] = 't';
|
||||
+ slave = open(line, O_RDWR);
|
||||
+ if (slave < 0) {
|
||||
+ perror(line);
|
||||
+ fail();
|
||||
+ }
|
||||
+ }
|
||||
+#else // ! _POSIX_C_SOURCE
|
||||
line[strlen("/dev/")] = 't';
|
||||
slave = open(line, O_RDWR);
|
||||
if (slave < 0) {
|
||||
perror(line);
|
||||
fail();
|
||||
}
|
||||
+#endif // _POSIX_C_SOURCE
|
||||
tcsetattr(slave, TCSAFLUSH, &tt);
|
||||
if (!hs)
|
||||
win.ws_row--;
|
@ -1,266 +0,0 @@
|
||||
--- a/pty.C
|
||||
+++ b/pty.C
|
||||
@@ -4,9 +4,18 @@
|
||||
int Pty::child = 0;
|
||||
struct termios Pty::tt;
|
||||
int Pty::wfd = 0;
|
||||
+char Pty::buf[] = "";
|
||||
+char Pty::funcstr[] = "";
|
||||
int Pty::hs = 0;
|
||||
+char* Pty::so = 0;
|
||||
+char* Pty::se = 0;
|
||||
+char* Pty::us = 0;
|
||||
+char* Pty::ue = 0;
|
||||
+char* Pty::sc = 0;
|
||||
+char* Pty::rc = 0;
|
||||
char* Pty::ce = 0;
|
||||
char* Pty::ts = 0;
|
||||
+char* Pty::fs = 0;
|
||||
char* Pty::ds = 0;
|
||||
char Pty::endstr[] = "";
|
||||
char Pty::endmsg[] = "";
|
||||
@@ -14,88 +23,7 @@
|
||||
// コンストラクタだよん
|
||||
Pty::Pty(int ac, char** av, char* amsg, char* emsg)
|
||||
{
|
||||
- // 環境変数 TERM のエントリを取得
|
||||
- char buff[BUFSIZ];
|
||||
- char* term = getenv("TERM");
|
||||
- if (!term)
|
||||
- term = "vt100";
|
||||
- int ret = tgetent(buff, term);
|
||||
- if (ret != 1) {
|
||||
- tgetent(buff, "vt100");
|
||||
- putenv("TERM=vt100");
|
||||
- }
|
||||
-
|
||||
- // termcap から装飾用のエントリを取ってくる
|
||||
- char funcstr[BUFSIZ];
|
||||
- char* pt = funcstr;
|
||||
-
|
||||
- // スタンドアウト (反転)
|
||||
- so = tgetstr("so", &pt);
|
||||
- adjstr(so);
|
||||
- se = tgetstr("se", &pt);
|
||||
- adjstr(se);
|
||||
-
|
||||
- // アンダーライン (下線)
|
||||
- us = tgetstr("us", &pt);
|
||||
- adjstr(us);
|
||||
- ue = tgetstr("ue", &pt);
|
||||
- adjstr(ue);
|
||||
-
|
||||
- // カーソル位置の保存,保存した位置への復帰
|
||||
- sc = tgetstr("sc", &pt);
|
||||
- adjstr(sc);
|
||||
- rc = tgetstr("rc", &pt);
|
||||
- adjstr(rc);
|
||||
-
|
||||
- // カーソル位置から行の最後までを削除する
|
||||
- ce = tgetstr("ce", &pt);
|
||||
- adjstr(ce);
|
||||
-
|
||||
- // ステータスラインを持っているかどうか
|
||||
- hs = tgetflag("hs");
|
||||
-
|
||||
- // kon と jfbterm ではステータスラインを使わない
|
||||
- if (strcmp(term, "kon") == 0)
|
||||
- hs = 0;
|
||||
- if (strcmp(term, "jfbterm") == 0)
|
||||
- hs = 0;
|
||||
-
|
||||
- // ステータスラインへ移動,戻る
|
||||
- if (hs) {
|
||||
- ts = tgoto(tgetstr("ts", &pt), 0, 0);
|
||||
- adjstr(ts);
|
||||
- fs = tgetstr("fs", &pt);
|
||||
- adjstr(fs);
|
||||
- ds = tgetstr("ds", &pt);
|
||||
- adjstr(ds);
|
||||
- if (ds) {
|
||||
- strcat(endstr, ds);
|
||||
- strcat(endstr, ce);
|
||||
- }
|
||||
- }
|
||||
- else {
|
||||
- char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
|
||||
- adjstr(cs);
|
||||
- if (cs) {
|
||||
- write(1, ce, strlen(ce));
|
||||
- write(1, cs, strlen(cs));
|
||||
- }
|
||||
- char* cl = tgetstr("cl", &pt);
|
||||
- adjstr(cl);
|
||||
- if (cl) {
|
||||
- write(1, cl, strlen(cl));
|
||||
- strcat(endstr, cl);
|
||||
- }
|
||||
- ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
|
||||
- adjstr(ds);
|
||||
- if (ds) {
|
||||
- strcat(endstr, ds);
|
||||
- strcat(endstr, ce);
|
||||
- }
|
||||
- ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
|
||||
- adjstr(ts);
|
||||
- fs = rc;
|
||||
- }
|
||||
+ gettermcap();
|
||||
|
||||
// 開始と終了のメッセージ
|
||||
if (amsg && ac == 1)
|
||||
@@ -209,21 +137,75 @@
|
||||
done();
|
||||
}
|
||||
|
||||
-// termcap エントリからパディングを削除する
|
||||
void
|
||||
-Pty::adjstr(char* str)
|
||||
+Pty::gettermcap()
|
||||
{
|
||||
- char* sp = strdup(str);
|
||||
- char* p = sp;
|
||||
- while (*p != '\0') {
|
||||
- if (strncmp(p, "$<", 2) == 0) {
|
||||
- while (*p != '>')
|
||||
- p++;
|
||||
- *p = '\0';
|
||||
+ // 環境変数 TERM のエントリを取得
|
||||
+ char* term = getenv("TERM");
|
||||
+ if (!term)
|
||||
+ term = "vt100";
|
||||
+ int ret = tgetent(buf, term);
|
||||
+ if (ret != 1) {
|
||||
+ tgetent(buf, "vt100");
|
||||
+ putenv("TERM=vt100");
|
||||
+ }
|
||||
+
|
||||
+ // termcap から装飾用のエントリを取ってくる
|
||||
+ char* pt = funcstr;
|
||||
+
|
||||
+ // スタンドアウト (反転)
|
||||
+ so = tgetstr("so", &pt);
|
||||
+ se = tgetstr("se", &pt);
|
||||
+
|
||||
+ // アンダーライン (下線)
|
||||
+ us = tgetstr("us", &pt);
|
||||
+ ue = tgetstr("ue", &pt);
|
||||
+
|
||||
+ // カーソル位置の保存,保存した位置への復帰
|
||||
+ sc = tgetstr("sc", &pt);
|
||||
+ rc = tgetstr("rc", &pt);
|
||||
+
|
||||
+ // カーソル位置から行の最後までを削除する
|
||||
+ ce = tgetstr("ce", &pt);
|
||||
+
|
||||
+ // ステータスラインを持っているかどうか
|
||||
+ hs = tgetflag("hs");
|
||||
+
|
||||
+ // kon と jfbterm ではステータスラインを使わない
|
||||
+ if (strcmp(term, "kon") == 0)
|
||||
+ hs = 0;
|
||||
+ if (strcmp(term, "jfbterm") == 0)
|
||||
+ hs = 0;
|
||||
+
|
||||
+ // ステータスラインへ移動,戻る
|
||||
+ if (hs) {
|
||||
+ ts = tgoto(tgetstr("ts", &pt), 0, 0);
|
||||
+ fs = tgetstr("fs", &pt);
|
||||
+ ds = tgetstr("ds", &pt);
|
||||
+ if (ds) {
|
||||
+ strcat(endstr, ds);
|
||||
+ strcat(endstr, ce);
|
||||
}
|
||||
- *str++ = *p++;
|
||||
}
|
||||
- free(sp);
|
||||
+ else {
|
||||
+ char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
|
||||
+ if (cs) {
|
||||
+ write(1, ce, strlen(ce));
|
||||
+ write(1, cs, strlen(cs));
|
||||
+ }
|
||||
+ char* cl = tgetstr("cl", &pt);
|
||||
+ if (cl) {
|
||||
+ write(1, cl, strlen(cl));
|
||||
+ strcat(endstr, cl);
|
||||
+ }
|
||||
+ ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
|
||||
+ if (ds) {
|
||||
+ strcat(endstr, ds);
|
||||
+ strcat(endstr, ce);
|
||||
+ }
|
||||
+ ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
|
||||
+ fs = rc;
|
||||
+ }
|
||||
}
|
||||
|
||||
// マスタデバイスを取る
|
||||
@@ -327,34 +309,7 @@
|
||||
{
|
||||
signal(SIGWINCH, SIG_IGN);
|
||||
|
||||
- // ステータスラインが使えない場合は cs/ds/ts を取り直す
|
||||
- if (!hs) {
|
||||
- char buff[BUFSIZ];
|
||||
- char* term = getenv("TERM");
|
||||
- tgetent(buff, term);
|
||||
- char funcstr[BUFSIZ];
|
||||
- char* pt = funcstr;
|
||||
- char* cs = tgoto(tgetstr("cs", &pt), tgetnum("li") - 2, 0);
|
||||
- adjstr(cs);
|
||||
- if (cs) {
|
||||
- write(1, ce, strlen(ce));
|
||||
- write(1, cs, strlen(cs));
|
||||
- }
|
||||
- char* cl = tgetstr("cl", &pt);
|
||||
- adjstr(cl);
|
||||
- if (cl) {
|
||||
- write(1, cl, strlen(cl));
|
||||
- strcpy(endstr, cl);
|
||||
- }
|
||||
- ds = tgoto(tgetstr("cs", &pt), tgetnum("li") - 1, 0);
|
||||
- adjstr(ds);
|
||||
- if (ds) {
|
||||
- strcat(endstr, ds);
|
||||
- strcat(endstr, ce);
|
||||
- }
|
||||
- ts = tgoto(tgetstr("cm", &pt), 0, tgetnum("li") - 1);
|
||||
- adjstr(ts);
|
||||
- }
|
||||
+ gettermcap();
|
||||
|
||||
// ウィンドウのサイズを設定し直す (stty -a の 行数/桁数 等)
|
||||
struct winsize win;
|
||||
--- a/pty.H
|
||||
+++ b/pty.H
|
||||
@@ -50,18 +50,21 @@
|
||||
int rfd;
|
||||
static int wfd;
|
||||
private:
|
||||
- static void adjstr(char* str);
|
||||
+ static char buf[BUFSIZ];
|
||||
+ static char funcstr[BUFSIZ];
|
||||
+private:
|
||||
+ static void gettermcap();
|
||||
protected:
|
||||
static int hs;
|
||||
- char* so;
|
||||
- char* se;
|
||||
- char* us;
|
||||
- char* ue;
|
||||
- char* sc;
|
||||
- char* rc;
|
||||
+ static char* so;
|
||||
+ static char* se;
|
||||
+ static char* us;
|
||||
+ static char* ue;
|
||||
+ static char* sc;
|
||||
+ static char* rc;
|
||||
static char* ce;
|
||||
static char* ts;
|
||||
- char* fs;
|
||||
+ static char* fs;
|
||||
static char* ds;
|
||||
private:
|
||||
static void finish();
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST im-canna-0.3.2.2.tar.gz 314633 BLAKE2B 971ab1d00645a0bd977a156abd6a1d3ad767505b5bd45792332a399685388b53b08e3133bc435adb7a7e27125fb1ad2d538f78af2420679c6d6d17878251b2ac SHA512 6ec4253038ca97e3e6319c024e4d11ca5418bf478280c4b19b81a9c628310a06bcd4ec35334d3a2bbdff0245bdfa660c1cdfd949ddd6b768d3b73d78648edc81
|
@ -1,35 +0,0 @@
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-moduledir = ${libdir}/gtk-2.0/2.4.0/immodules
|
||||
+moduledir = ${libdir}/gtk-2.0/${GTK_BINARY_VERSION}/immodules
|
||||
## Makefile.am for gtk+/modules/input
|
||||
if PLATFORM_WIN32
|
||||
no_undefined = -no-undefined
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
SUBDIRS = po
|
||||
|
||||
-INCLUDES = @GTK_DEP_CFLAGS@ -I/usr/include/canna -DIM_LOCALEDIR=\"${datadir}/locale\"
|
||||
+INCLUDES = @GTK_DEP_CFLAGS@ -DIM_LOCALEDIR=\"${datadir}/locale\"
|
||||
|
||||
DEPS =
|
||||
|
||||
-LDADDS = @GTK_DEP_LIBS@ -lcanna
|
||||
+LDADDS = @GTK_DEP_LIBS@
|
||||
|
||||
EXTRA_DIST= \
|
||||
im-canna.spec \
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -21,8 +21,10 @@
|
||||
|
||||
GTK_DEP_CFLAGS=`pkg-config gtk+-2.0 --cflags`
|
||||
GTK_DEP_LIBS=`pkg-config gtk+-2.0 --libs`
|
||||
+GTK_BINARY_VERSION=`pkg-config gtk+-2.0 --variable=gtk_binary_version`
|
||||
AC_SUBST(GTK_DEP_CFLAGS)
|
||||
AC_SUBST(GTK_DEP_LIBS)
|
||||
+AC_SUBST(GTK_BINARY_VERSION)
|
||||
|
||||
LT_RELEASE=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION
|
||||
LT_CURRENT=2
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools gnome2-utils
|
||||
|
||||
DESCRIPTION="Japanese Canna input method module for GTK+2"
|
||||
HOMEPAGE="http://bonobo.gnome.gr.jp/~nakai/immodule/"
|
||||
SRC_URI="http://bonobo.gnome.gr.jp/~nakai/immodule/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/canna
|
||||
x11-libs/gtk+:2
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/gettext
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-gentoo.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_query_immodules_gtk2
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST scim-canna-1.0.1.tar.gz 516186 BLAKE2B 03b977e841d6263f6c980e8e729122ca4ff7c9a0966f6f9daf57543250e7119a84ddfb7805804e3c5afaecba91d50d21448f49335d5a28cb967de8370b9f5dd9 SHA512 711b67211c9d1f4cb8ca09b88d455718607aa2d99e47a753fa8d71d2e1f0df8c649b64d08149785eeaa98d1399b9ca92e3df7e1be8f150ce99f28f82491b8bc1
|
@ -1,201 +0,0 @@
|
||||
--- a/src/scim_canna_imengine_setup.cpp
|
||||
+++ b/src/scim_canna_imengine_setup.cpp
|
||||
@@ -152,7 +152,9 @@
|
||||
// Internal data declaration.
|
||||
static bool __have_changed = true;
|
||||
|
||||
+#if !GTK_CHECK_VERSION(2, 12, 0)
|
||||
static GtkTooltips * __widget_tooltips = 0;
|
||||
+#endif
|
||||
|
||||
static BoolConfigData __config_bool_common [] =
|
||||
{
|
||||
@@ -284,11 +286,17 @@
|
||||
entry);
|
||||
gtk_widget_show (entry->widget);
|
||||
|
||||
+#if !GTK_CHECK_VERSION(2, 12, 0)
|
||||
if (!__widget_tooltips)
|
||||
__widget_tooltips = gtk_tooltips_new();
|
||||
+#endif
|
||||
if (entry->tooltip)
|
||||
+#if GTK_CHECK_VERSION(2, 12, 0)
|
||||
+ gtk_widget_set_tooltip_text (entry->widget, _(entry->tooltip));
|
||||
+#else
|
||||
gtk_tooltips_set_tip (__widget_tooltips, entry->widget,
|
||||
_(entry->tooltip), NULL);
|
||||
+#endif
|
||||
|
||||
return entry->widget;
|
||||
}
|
||||
@@ -324,11 +332,17 @@
|
||||
(GtkAttachOptions) (GTK_FILL|GTK_EXPAND),
|
||||
(GtkAttachOptions) (GTK_FILL), 4, 4);
|
||||
|
||||
+#if !GTK_CHECK_VERSION(2, 12, 0)
|
||||
if (!__widget_tooltips)
|
||||
__widget_tooltips = gtk_tooltips_new();
|
||||
+#endif
|
||||
if (entry->tooltip)
|
||||
+#if GTK_CHECK_VERSION(2, 12, 0)
|
||||
+ gtk_widget_set_tooltip_text (GTK_WIDGET (entry->widget), _(entry->tooltip));
|
||||
+#else
|
||||
gtk_tooltips_set_tip (__widget_tooltips, GTK_WIDGET (entry->widget),
|
||||
_(entry->tooltip), NULL);
|
||||
+#endif
|
||||
|
||||
return GTK_WIDGET (entry->widget);
|
||||
}
|
||||
@@ -351,31 +365,53 @@
|
||||
(GtkAttachOptions) (GTK_FILL), 4, 4);
|
||||
gtk_widget_show (label);
|
||||
|
||||
+#if GTK_CHECK_VERSION(2, 4, 0)
|
||||
+ entry->widget = gtk_combo_box_text_new_with_entry ();
|
||||
+ gtk_label_set_mnemonic_widget (GTK_LABEL (label),
|
||||
+ gtk_bin_get_child (GTK_BIN (entry->widget)));
|
||||
+ gtk_editable_set_editable (GTK_EDITABLE (gtk_bin_get_child (GTK_BIN (entry->widget))), FALSE);
|
||||
+#else
|
||||
entry->widget = gtk_combo_new ();
|
||||
gtk_label_set_mnemonic_widget (GTK_LABEL (label),
|
||||
GTK_COMBO (entry->widget)->entry);
|
||||
gtk_combo_set_value_in_list (GTK_COMBO (entry->widget), TRUE, FALSE);
|
||||
gtk_combo_set_case_sensitive (GTK_COMBO (entry->widget), TRUE);
|
||||
- gtk_entry_set_editable (GTK_ENTRY (GTK_COMBO (entry->widget)->entry),
|
||||
+ gtk_editable_set_editable (GTK_EDITABLE (GTK_COMBO (entry->widget)->entry),
|
||||
FALSE);
|
||||
+#endif
|
||||
gtk_widget_show (GTK_WIDGET (entry->widget));
|
||||
gtk_table_attach (GTK_TABLE (table), GTK_WIDGET (entry->widget),
|
||||
1, 2, idx, idx + 1,
|
||||
(GtkAttachOptions) (GTK_FILL|GTK_EXPAND),
|
||||
(GtkAttachOptions) (GTK_FILL), 4, 4);
|
||||
+#if GTK_CHECK_VERSION(2, 4, 0)
|
||||
+ g_object_set_data (G_OBJECT (gtk_bin_get_child (GTK_BIN (entry->widget))),
|
||||
+ DATA_POINTER_KEY,
|
||||
+ (gpointer) candidates_p);
|
||||
+ g_signal_connect ((gpointer) gtk_bin_get_child (GTK_BIN (entry->widget)), "changed",
|
||||
+ G_CALLBACK (on_default_combo_changed),
|
||||
+ entry);
|
||||
+#else
|
||||
g_object_set_data (G_OBJECT (GTK_COMBO (entry->widget)->entry),
|
||||
DATA_POINTER_KEY,
|
||||
(gpointer) candidates_p);
|
||||
-
|
||||
g_signal_connect ((gpointer) GTK_COMBO (entry->widget)->entry, "changed",
|
||||
G_CALLBACK (on_default_combo_changed),
|
||||
entry);
|
||||
+#endif
|
||||
+
|
||||
|
||||
+#if !GTK_CHECK_VERSION(2, 12, 0)
|
||||
if (!__widget_tooltips)
|
||||
__widget_tooltips = gtk_tooltips_new();
|
||||
+#endif
|
||||
if (entry->tooltip)
|
||||
+#if GTK_CHECK_VERSION(2, 12, 0)
|
||||
+ gtk_widget_set_tooltip_text (GTK_WIDGET (entry->widget), _(entry->tooltip));
|
||||
+#else
|
||||
gtk_tooltips_set_tip (__widget_tooltips, GTK_WIDGET (entry->widget),
|
||||
_(entry->tooltip), NULL);
|
||||
+#endif
|
||||
|
||||
return GTK_WIDGET (entry->widget);
|
||||
}
|
||||
@@ -403,11 +439,17 @@
|
||||
{
|
||||
GtkWidget *vbox, *frame, *table, *check, *widget;
|
||||
|
||||
+#if GTK_CHECK_VERSION(3, 0, 0)
|
||||
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
|
||||
+#else
|
||||
vbox = gtk_vbox_new (FALSE, 0);
|
||||
+#endif
|
||||
gtk_widget_show (vbox);
|
||||
|
||||
+#if !GTK_CHECK_VERSION(2, 12, 0)
|
||||
if (!__widget_tooltips)
|
||||
__widget_tooltips = gtk_tooltips_new();
|
||||
+#endif
|
||||
|
||||
/* specify initialize file name */
|
||||
frame = gtk_frame_new ("");
|
||||
@@ -455,7 +497,11 @@
|
||||
{
|
||||
GtkWidget *vbox, *table;
|
||||
|
||||
+#if GTK_CHECK_VERSION(3, 0, 0)
|
||||
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
|
||||
+#else
|
||||
vbox = gtk_vbox_new (FALSE, 0);
|
||||
+#endif
|
||||
gtk_widget_show (vbox);
|
||||
|
||||
table = gtk_table_new (2, 2, FALSE);
|
||||
@@ -480,7 +526,11 @@
|
||||
GtkWidget *vbox, *label;
|
||||
gchar str[256];
|
||||
|
||||
+#if GTK_CHECK_VERSION(3, 0, 0)
|
||||
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
|
||||
+#else
|
||||
vbox = gtk_vbox_new (FALSE, 0);
|
||||
+#endif
|
||||
gtk_widget_show (vbox);
|
||||
|
||||
g_snprintf (
|
||||
@@ -547,8 +597,23 @@
|
||||
}
|
||||
|
||||
static void
|
||||
-setup_combo_value (GtkCombo *combo, const String & str)
|
||||
+setup_combo_value (GtkWidget *combo, const String & str)
|
||||
{
|
||||
+#if GTK_CHECK_VERSION(2, 4, 0)
|
||||
+ ComboConfigCandidate *data
|
||||
+ = static_cast<ComboConfigCandidate*>
|
||||
+ (g_object_get_data (G_OBJECT (gtk_bin_get_child (GTK_BIN (combo))),
|
||||
+ DATA_POINTER_KEY));
|
||||
+
|
||||
+ gint default_index = -1;
|
||||
+ for (unsigned int i = 0; data[i].label; i++) {
|
||||
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _(data[i].label));
|
||||
+ if (!strcmp (data[i].data, str.c_str ()))
|
||||
+ default_index = i;
|
||||
+ }
|
||||
+ if (default_index != -1)
|
||||
+ gtk_combo_box_set_active (GTK_COMBO_BOX (combo), default_index);
|
||||
+#else
|
||||
GList *list = NULL;
|
||||
const char *defval = NULL;
|
||||
|
||||
@@ -563,11 +628,12 @@
|
||||
defval = _(data[i].label);
|
||||
}
|
||||
|
||||
- gtk_combo_set_popdown_strings (combo, list);
|
||||
+ gtk_combo_set_popdown_strings (GTK_COMBO (combo), list);
|
||||
g_list_free (list);
|
||||
|
||||
if (defval)
|
||||
- gtk_entry_set_text (GTK_ENTRY (combo->entry), defval);
|
||||
+ gtk_entry_set_text (GTK_ENTRY (GTK_COMBO (combo)->entry), defval);
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -582,8 +648,13 @@
|
||||
|
||||
for (unsigned int i = 0; i < __config_string_common_num; i++) {
|
||||
StringConfigData &entry = __config_string_common[i];
|
||||
+#if GTK_CHECK_VERSION(2, 12, 0)
|
||||
+ if (entry.widget && GTK_IS_COMBO_BOX (entry.widget))
|
||||
+ setup_combo_value (entry.widget, entry.value);
|
||||
+#else
|
||||
if (entry.widget && GTK_IS_COMBO (entry.widget))
|
||||
- setup_combo_value (GTK_COMBO (entry.widget), entry.value);
|
||||
+ setup_combo_value (entry.widget, entry.value);
|
||||
+#endif
|
||||
else if (entry.widget && GTK_IS_ENTRY (entry.widget))
|
||||
gtk_entry_set_text (GTK_ENTRY (entry.widget),
|
||||
entry.value.c_str ());
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="SCIM IMEngine module using Canna"
|
||||
HOMEPAGE="https://osdn.net/projects/scim-imengine"
|
||||
SRC_URI="https://free.nchc.org.tw/osdn//scim-imengine/29155/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
app-i18n/canna
|
||||
app-i18n/scim
|
||||
dev-libs/atk
|
||||
dev-libs/glib:2
|
||||
dev-libs/libltdl
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
media-libs/harfbuzz:=
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-fix_ftbfs_gtk3.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myargs=(
|
||||
--disable-static
|
||||
--enable-shared
|
||||
$(use_enable debug)
|
||||
)
|
||||
econf "${myargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST hollywood-1.22.tar.gz 16721081 BLAKE2B 9e55bb6734c9f26ada954af69c3da5d83da161ea2c2f2c7483c3a8dcfb42a2a842696d2a8faf736a93a77789c5b181e556dc86da4db3ccacb03906c150131105 SHA512 1b18f7895315f8cfc71642adccc171a45ef15a9f355a4b4cb5d5b094e5d850dd7c2898f495d332279e5b87bbf6104540f101f4c94ce00fc75d30db7b6089ab57
|
@ -1,35 +0,0 @@
|
||||
--- a/bin/hollywood
|
||||
+++ b/bin/hollywood
|
||||
@@ -18,7 +18,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
PKG="hollywood"
|
||||
-trap "pkill -f -9 lib/hollywood/ >/dev/null 2>&1; exit 0" INT
|
||||
+trap "pkill -f -9 libexec/hollywood/ >/dev/null 2>&1; exit 0" INT
|
||||
|
||||
spin_up() {
|
||||
local w=
|
||||
@@ -43,7 +43,7 @@
|
||||
done
|
||||
}
|
||||
|
||||
-WIDGET_DIR="$(dirname $0)/../lib/$PKG"
|
||||
+WIDGET_DIR="$(dirname $0)/../libexec/$PKG"
|
||||
SPLITS=$(ls "$WIDGET_DIR" | wc -l)
|
||||
DELAY=10
|
||||
while [ ! -z "$1" ]; do
|
||||
--- a/bin/wallstreet
|
||||
+++ b/bin/wallstreet
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
PKG="wallstreet"
|
||||
[ -n "$TMDIR" ] || export TMPDIR=$(mktemp -d /dev/shm/$PKG.XXXXXXXXX)
|
||||
-trap "rm -rf $TMPDIR; pkill -f -9 lib/$PKG/ >/dev/null 2>&1; exit 0" EXIT HUP INT QUIT TERM
|
||||
+trap "rm -rf $TMPDIR; pkill -f -9 libexec/$PKG/ >/dev/null 2>&1; exit 0" EXIT HUP INT QUIT TERM
|
||||
|
||||
dir="-v"
|
||||
-widget_dir="$(dirname $0)/../lib/$PKG"
|
||||
+widget_dir="$(dirname $0)/../libexec/$PKG"
|
||||
widget1=$(ls "$widget_dir/" | sort -R | head -n1)
|
||||
|
||||
if [ -n "$1" ]; then
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
COMMIT="35275a68c37bbc39d8b2b0e4664a0c2f5451e5f6"
|
||||
|
||||
DESCRIPTION="Fill your console with Hollywood melodrama technobabble"
|
||||
HOMEPAGE="
|
||||
https://hollywood.computer/
|
||||
https://github.com/dustinkirkland/hollywood
|
||||
"
|
||||
SRC_URI="https://github.com/dustinkirkland/hollywood/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-misc/byobu
|
||||
app-misc/tmux
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-use-libexec.patch" )
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
insinto /usr/share
|
||||
doins -r share/hollywood
|
||||
doins -r share/wallstreet
|
||||
doman share/man/man1/hollywood.1
|
||||
doman share/man/man1/wallstreet.1
|
||||
exeinto /usr/libexec/hollywood
|
||||
doexe lib/hollywood/*
|
||||
exeinto /usr/libexec/wallstreet
|
||||
doexe lib/wallstreet/*
|
||||
dodoc README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "supported programs" \
|
||||
"sys-process/atop \
|
||||
net-analyzer/bmon \
|
||||
app-misc/cmatrix \
|
||||
net-dns/dnstop \
|
||||
sys-process/glances \
|
||||
sys-process/htop \
|
||||
net-analyzer/ifstat \
|
||||
sys-process/iotop \
|
||||
net-analyzer/iptraf-ng \
|
||||
net-analyzer/jnettop \
|
||||
sys-process/latencytop \
|
||||
net-analyzer/nload \
|
||||
sys-process/nmon \
|
||||
sys-power/powertop \
|
||||
app-admin/sagan \
|
||||
net-analyzer/slurm \
|
||||
sys-process/tiptop \
|
||||
net-analyzer/vnstat \
|
||||
app-admin/ccze \
|
||||
media-gfx/jp2a \
|
||||
sys-apps/mlocate \
|
||||
app-text/tree \
|
||||
sys-apps/moreutils \
|
||||
app-admin/apg \
|
||||
net-misc/openssh \
|
||||
net-news/newsboat \
|
||||
net-news/rsstail \
|
||||
net-misc/wget \
|
||||
virtual/w3m"
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">dustinkirkland/hollywood</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
fill your console with Hollywood melodrama technobabble
|
||||
This utility will split your console into a multiple panes of genuine
|
||||
technobabble, perfectly suitable for any Hollywood geek melodrama.
|
||||
It is particularly suitable on any number of computer consoles in the
|
||||
background of any excellent schlock technothriller.
|
||||
|
||||
fill your console with Wall Street-like news and stats
|
||||
This utility will split your console into a multiple panes of news
|
||||
and statistics, like any good computer screen on Wall Street.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
DIST nonsense-0.7.tar.gz 132925 BLAKE2B 75748573c549f60eb48fcb23788600c44f9c97c3ba4dc6f271651d4cb717b044faa4f805a24c8d16daaa2f432bedf38f6ffee4a629a2231f59cac4e9f8dd2b66 SHA512 faefa857526312454e71cff4950149ce1623edbe129614c11d64f77305b71acd870171642b36d0fd8bef7e3dcecdbc68f2a1c77820c9f4c7ca756d8cce41fe1e
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /usr/share/nonsense
|
||||
exec perl /usr/share/nonsense/nonsense.pl "$@"
|
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Nonsense generates random (and sometimes humorous) text from datafiles and
|
||||
templates using a very simple, recursive grammar. It's like having a million
|
||||
monkeys sitting in front of a million typewriters, without having to feed or
|
||||
clean up after them. From fake Slashdot headlines to absurd college courses to
|
||||
buzzword bingo cards, Nonsense is a good way to waste time.
|
||||
|
||||
Whether this program has any practical applications is open to debate. I use it
|
||||
to produce the names for characters and places in the fake news articles I
|
||||
write for Humorix. You might be able to use it as an alternative to fortune(6)
|
||||
or as a way to add random content to your website.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/aduial/nonsense/issues</bugs-to>
|
||||
<remote-id type="github">aduial/nonsense</remote-id>
|
||||
<remote-id type="sourceforge">nonsense</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT="766d34590e1fc0edddb381ad16fab57f5d20d299"
|
||||
|
||||
DESCRIPTION="Generates random text from datafiles and templates"
|
||||
HOMEPAGE="
|
||||
https://github.com/aduial/nonsense
|
||||
https://sourceforge.net/projects/nonsense/
|
||||
https://nonsense.sourceforge.net
|
||||
"
|
||||
SRC_URI="https://github.com/aduial/nonsense/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install() {
|
||||
newbin "${FILESDIR}/nonsense.sh" nonsense
|
||||
dodoc README.md CHANGELOG.md HOWTO.md
|
||||
insinto /usr/share/nonsense
|
||||
doins *.data *.html *.template nonsense.pl
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST spark-1.0.1.tar.gz 3690 BLAKE2B 7ff40ab0018b533403c19122d6c5a47e54dbb00a524aa80cded11645efeffbbf4ca7f0a97fd3b52fdccd6997d175d032e6253b1d39a443e6c2b7460e959d02a1 SHA512 d96890cef0ab77bd3ebd7dff58c498258d645beb262809579c8b8a317616e758025b2ec526aed771df9f3931150fc5fc65c6c691731a7b5fffc581ff86ca662f
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Alessandro Barbieri</name>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">holman/spark</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user