Sync with portage [Mon Oct 9 23:52:30 MSK 2023].

master
root 7 months ago
parent 0c713a0fa4
commit 9fe04ecf15

Binary file not shown.

Binary file not shown.

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
</pkgmetadata>

Binary file not shown.

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<maintainer type="person">
<email>sam@gentoo.org</email>
<name>Sam James</name>
</maintainer>
</pkgmetadata>

Binary file not shown.

@ -1,2 +1,3 @@
DIST orca-44.1.tar.xz 3760772 BLAKE2B 1e2825e9183b86563d85f106f80b7fa84d7d0cc06c818cb72c2a307c9c85a421cbbfc581df7829afde558ddf468bc048382d059ae995661a5163d390585961b4 SHA512 951a60b7efd9b61762404c20b62d476c1ebc3fc2662c0be1feef307fa1761feb5195c89ce725db1585dde4c39d96e1aa74c2b5c934115a3c2669880c3c7ac200
DIST orca-45.0.tar.xz 3949908 BLAKE2B 135dff79cda2a1a116256f2c1b68a40d29b17e5507fd3407d61dfc2478339aab1d7627c3aaac5f388a0140008e8a492820f0e56caac7ea83216c50f4f3fa32d8 SHA512 3213d5f0b8e0eacc5daad3df3e521548c5e6dd5ad8584e50d60a7fd054fee86793e956d3db3dcdc223d34d72bcfbfa0b436bc40f6e965528eafa2abf36259c83
DIST orca-45.1.tar.xz 3966196 BLAKE2B 5d78e228c480e880ca62f5e6b35d5394cbe41b67dc14f7158ca3dcadcd9721bb6e37f2054c1fa3375019351fc609d1ab4268becede10b60fbc67051c5e67539f SHA512 581126ced85943c916d9b2c0a55c12fe16344c9d6501be0290698c0668909faab4c1f539ffd856c82d0b386cfa8ca00ba5176ff5b9c5c1176cc30faededb411a

@ -0,0 +1,59 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit gnome2 python-single-r1
DESCRIPTION="Extensible screen reader that provides access to the desktop"
HOMEPAGE="https://wiki.gnome.org/Projects/Orca"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="+braille"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
>=app-accessibility/at-spi2-core-2.48:2[introspection]
>=dev-libs/glib-2.28:2
media-libs/gstreamer:1.0[introspection]
>=x11-libs/gtk+-3.6.2:3[introspection]
$(python_gen_cond_dep '
dev-python/gst-python:1.0[${PYTHON_USEDEP}]
>=dev-python/pygobject-3.18:3[${PYTHON_USEDEP}]
')
braille? (
$(python_gen_cond_dep '
>=app-accessibility/brltty-5.0-r3[python,${PYTHON_USEDEP}]
dev-libs/liblouis[python,${PYTHON_USEDEP}]
')
)
"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '
>=app-accessibility/speech-dispatcher-0.8[python,${PYTHON_USEDEP}]
>=dev-python/pyatspi-2.46[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
')
x11-libs/libwnck:3[introspection]
x11-libs/pango[introspection]
"
BDEPEND="
dev-util/itstool
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
# app-text/yelp-tools
src_configure() {
gnome2_src_configure \
$(use_with braille liblouis)
}
src_install() {
gnome2_src_install
python_optimize
}

Binary file not shown.

@ -11,7 +11,7 @@ SRC_URI="https://github.com/drush-ops/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""

@ -1,2 +1 @@
DIST emacs-updater-1.16.tar.xz 7112 BLAKE2B 82160ef71b4c22a385a45765c1f60b7d428297cfb3b51f84bd44b176d1bd302165f9ccdde803aae628a2dab9e0520098082232c513b2006ae5facfa283f287ab SHA512 3de3126debc49ea47bd57802c1a3aa82a0769ab392741fb891c93ffb66141f05f58025fa0de746ec78795fc34c135536740e447e1f6a4ae59aa847d21bd6215b
DIST emacs-updater-1.17.tar.xz 7236 BLAKE2B f39a19eba794cd57b25fbfc38998775a7818d98c81bbbdf485b33ed273815dfb3a74c26ca410f0e3b8e4bd46f2114b96155485cdcf87d5bec70a96dfe1a3a279 SHA512 461f496075bd7fc057290d40d408e5243ec464d8814abbe0c47c77a223b314ba2bcc35e20bf5e22e6dcee485a024ab93ced7155fa5212bc2d9c3b6362f168c52

@ -1,37 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Rebuild Emacs packages"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
DEPEND="|| ( sys-apps/util-linux app-misc/getopt )"
RDEPEND="${DEPEND}
>=app-editors/emacs-23.1:*
>=app-portage/portage-utils-0.3"
src_prepare() {
default
if ! has_version sys-apps/util-linux; then
# BSD ships a dumb getopt(1), so use getopt-long instead
sed -i -e '/^GETOPT=/s/getopt/&-long/' emacs-updater || die
fi
if [[ -n ${EPREFIX} ]]; then
sed -i -e "1s:/:${EPREFIX}/:" \
-e "s:^\([[:upper:]]*=\)/:\1${EPREFIX}/:" \
emacs-updater || die
fi
}
src_install() {
dosbin emacs-updater
doman emacs-updater.8
}

@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
DEPEND="|| ( sys-apps/util-linux app-misc/getopt )"
RDEPEND="${DEPEND}

@ -14,7 +14,7 @@ SRC_URI="https://eradman.com/entrproject/code/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
KEYWORDS="~amd64 arm arm64 ppc ppc64 ~riscv x86"
IUSE="test"
RESTRICT="!test? ( test )"

@ -1 +1 @@
DIST fsvs-1.2.5.tar.bz2 427494 BLAKE2B ac445bd6572ccdc589ec3d9e21127446a0553d29ac62b1e99e60b767cb1c06d8be13469bcdef03382fa6088bb3fdb740a10a0e39fc5707fbfba749472523bc12 SHA512 36ab5d04491d506b2891548f3ad458e7977bbd2e7d4b03e135b13d07adb22aedb261c28d5ddd3df895771806ef54c1bca6a1ef7bc5aa2e50e4b234ddf6cbe19c
DIST fsvs-1.2.11.tar.gz 498514 BLAKE2B 8683fe3c22a0ea0d4762d631e520596dc02d69059f4ff5d8719bd44405134e5b5100c594a260d1b55a9dd7c6d240a84a0c5e05a18006a7a5f193ce76178d934c SHA512 72f883dfef85cb8aeb4d3baf3a2de5bfb6b5479273027f86b52edfdd2ea6dac4b2271b83a9879add3d7c9008f80a2fef13671b9e5ed61958c72ff144d9fad086

@ -0,0 +1,68 @@
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@
@echo ''
@false
-configure: configure.in
+configure: configure.ac
@echo Generating configure.
autoconf
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -11,10 +11,11 @@
################################ Definitions ################################
DIR := /usr/share/doc
-VERSION := $(shell git describe --tags --always)
+VERSION := 1.2.11
+CC := @CC@
CFLAGS := @CFLAGS@
-CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"' -Wno-deprecated-declarations
+CFLAGS += -Wall -funsigned-char -DFSVS_VERSION='"$(VERSION)"' -Wno-deprecated-declarations
LDFLAGS := @LDFLAGS@
FSVS_LDFLAGS = $(LDFLAGS)
BASELIBS := -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre2-8 -lgdbm -ldl
@@ -48,11 +49,7 @@
################################ Targets ###################################
-ifeq (@CHROOTER_JAIL@, )
-all: deps tags check-version check-dox $(DEST) lsDEST
-else
-all: tools/fsvs-chrooter
-endif
+all: fsvs
check-version: config.h fsvs.c
@@ -145,18 +142,11 @@
################################ Rules ######################################
-%.o: %.c
- @echo " CC $<"
- @$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
# if the Makefile has changed, the output will (at least sometimes)
# change, too.
$(DEST): $(C_FILES:%.c=%.o)
- @echo " Link $@"
- @$(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) -o $@ $^ $(BASELIBS) $(EXTRALIBS)
-ifeq (@ENABLE_RELEASE@, 1)
- -strip $@
-endif
+ $(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) -o $@ $^ $(BASELIBS) $(EXTRALIBS)
# For debugging: generate preprocessed, generate assembler
@@ -171,7 +161,6 @@
.%.d: %.c
@echo " deps for $<"
@$(CC) $(CPPFLAGS) $(CFLAGS) -MM $< | perl -pe 's#\bdoc.g-c\b##' > $@
-include $(D_FILES)
tools/fsvs-chrooter: tools/fsvs-chrooter.c
tools/fsvs-chrooter: interface.h config.h

@ -1,31 +0,0 @@
Fixes --as-needed support(bug #294834)
Verbose build
Fixes underlinking(bug #463684) - patch went upstream
--- fsvs-1.2.5/src/Makefile.in.orig 2011-11-11 22:19:12.000000000 +0400
+++ fsvs-1.2.5/src/Makefile.in 2013-08-19 13:30:16.186082295 +0400
@@ -18,7 +18,7 @@
CFLAGS := @CFLAGS@ @NEED_FNESTED_FUNCTIONS@
CFLAGS += -Wall -funsigned-char -Os -DFSVS_VERSION='"$(VERSION)"'
LDFLAGS := @LDFLAGS@
-FSVS_LDFLAGS = $(LDFLAGS) -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm
+FSVS_LIBS = -lsvn_subr-1 -lsvn_delta-1 -lsvn_ra-1 -lpcre -lgdbm -ldl
EXTRALIBS := @EXTRALIBS@
WAA_CHARS?= @WAA_WC_MD5_CHARS@
@@ -146,13 +146,13 @@
################################ Rules ######################################
%.o: %.c
@echo " CC $<"
- @$(CC) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CFLAGS) -c -o $@ $<
# if the Makefile has changed, the output will (at least sometimes)
# change, too.
$(DEST): $(C_FILES:%.c=%.o)
@echo " Link $@"
- @$(CC) $(FSVS_LDFLAGS) $(LDLIBS) $(LIBS) $(EXTRALIBS) -o $@ $^
+ $(CC) -o $@ $^ $(LDFLAGS) $(LDLIBS) $(LIBS) $(FSVS_LIBS) $(EXTRALIBS)
ifeq (@ENABLE_RELEASE@, 1)
-strip $@
endif

@ -1,38 +1,33 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit flag-o-matic toolchain-funcs
inherit autotools
DESCRIPTION="Backup/restore for subversion backends"
HOMEPAGE="http://fsvs.tigris.org/"
SRC_URI="http://download.fsvs-software.org/${P}.tar.bz2"
HOMEPAGE="https://github.com/phmarek/fsvs"
SRC_URI="https://github.com/phmarek/fsvs/archive/refs/tags/${P}.tar.gz"
S="${WORKDIR}/fsvs-${P}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-vcs/subversion
dev-libs/libpcre
sys-libs/gdbm
RDEPEND="
dev-libs/apr-util
dev-util/ctags"
dev-libs/libpcre
dev-util/ctags
dev-vcs/subversion
sys-libs/db:*
sys-libs/gdbm"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-as-needed.patch"
)
PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
src_prepare() {
# fix #570596 by restoring pre-GCC5 inline semantics
append-cflags -std=gnu89
default
}
src_compile() {
# respect compiler
emake CC="$(tc-getCC)"
eautoreconf
}
src_install() {

@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<!-- maintainer-needed -->
<upstream>
<remote-id type="github">phmarek/fsvs</remote-id>
</upstream>
</pkgmetadata>

@ -12,7 +12,7 @@ SRC_URI="
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
KEYWORDS="amd64 ~arm ~arm64 x86"
# Assumed System:
# sys-apps/coreutils

@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~mschiff/src/${PN}/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
RDEPEND="
app-admin/lib_users

Binary file not shown.

@ -0,0 +1,44 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ALTERNATIVES=(
"reference:>=app-arch/gzip-1.12-r3"
"pigz:>=app-arch/pigz-2.8[-symlink(-)]"
)
inherit app-alternatives
DESCRIPTION="gzip symlinks"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="split-usr"
RDEPEND="
!<app-arch/gzip-1.12-r3
!app-arch/pigz[symlink(-)]
"
src_install() {
local usr_prefix=
use split-usr && usr_prefix=../usr/bin/
case $(get_alternative) in
pigz)
dosym "${usr_prefix}pigz" /bin/gzip
dosym gzip /bin/gunzip
dosym gzip /bin/zcat
newman - gzip.1 <<<".so pigz.1"
;;
reference)
dosym gzip-reference /bin/gzip
# gzip uses shell wrappers rather than argv[0]
dosym gunzip-reference /bin/gunzip
dosym zcat-reference /bin/zcat
newman - gzip.1 <<<".so gzip-reference.1"
;;
esac
newman - gunzip.1 <<<".so gzip.1"
newman - zcat.1 <<<".so gzip.1"
}

Binary file not shown.

@ -12,7 +12,7 @@ SRC_URI="https://github.com/p7zip-project/p7zip/archive/v${PV}.tar.gz -> ${P}.ta
LICENSE="LGPL-2.1 rar? ( unRAR )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
IUSE="abi_x86_x32 natspec +pch rar static"
RDEPEND="natspec? ( dev-libs/libnatspec )"

@ -15,7 +15,7 @@ SRC_URI="
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos"
IUSE="static test"
RESTRICT="!test? ( test )"

@ -1,3 +1,4 @@
DIST unrar-6.2.10.tar.gz 246383 BLAKE2B 6f7e7bf099f5a9de71c01b941c4cceaaf568709ac8b8e2f490f2f037c27adabc3bcde595e1330476f72204e6c5611e8c995c4c2842d9248731d876e67abc1086 SHA512 26e7febc4e62bcace7aa36e05d5341ab57813cc0c224c6a924ca909828879b0172d2cea9ab6cfdfe4bc3b51d49feb48f46df3874fa6f070f6062a15e1020271d
DIST unrar-6.2.12.tar.gz 246918 BLAKE2B 3c7744ee5839b4d87362625a03f30e3cac3d74df988479692023b9c242c136044666ebf0470197b28b95171dae076faecf815ef50caffb747185b8433707612c SHA512 261ac3728f917f36a03c7c3c563d7775abdb06b598ab48a299d837e8fc0ca75ad885ec8e292aeb1775e87e775ed274e9e0f033001598229ec96db69d69824ddb
DIST unrar-6.2.8.tar.gz 246249 BLAKE2B 3766f7ebd0379835cff7cce8bb2deaf86d3de7c4a37d211d8a41effeb13a5a9efc53deabb5f10cd7f49d8e144cd9c1a93cce2ca3ae74e8a2142ab3ae97ab4759 SHA512 9b956d0c4b6a13f9ff4d9e57de7284dc879070746e3792e7640481a5b5b8336142b21c4d0c66c64627630cafbed0ff019a41b8f8536299ac7cbfdb933f92f75a
DIST unrar-6.2.9.tar.gz 246388 BLAKE2B 495af1b78d2213c6bac0e75462b3d5e9fc3bfea809bcbb672216da47cd483bcc5867b504358125c51147a0e1869568c8a822946ca8148f204eeb087671029d9d SHA512 80424348946a56b47c107b2cd78c8bc7ce7f223a4d923b137860ec50678c4f279114dd7cdc9eb6a2fa6ff8c8a059ab8d35e16e3feae9dd1433fe51479501b61c

@ -0,0 +1,62 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib toolchain-funcs
MY_PN="${PN}src"
DESCRIPTION="Uncompress rar files"
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/unrar"
LICENSE="unRAR"
SLOT="0/6" # subslot = soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
PATCHES=( "${FILESDIR}/${PN}-6.2.6-honor-flags.patch" )
src_prepare() {
default
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
if [[ ${CHOST} == *-darwin* ]] ; then
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
else
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
fi
sed -i "${sed_args[@]}" makefile || die
}
src_configure() {
mkdir -p build-{lib,bin} || die
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
cp build-{lib,bin}/Makefile || die
}
src_compile() {
unrar_make() {
emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
}
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
unrar_make -C build-bin
}
src_install() {
dobin build-bin/unrar
dodoc readme.txt
dolib.so build-lib/libunrar*
insinto /usr/include/libunrar${PV%.*.*}
doins *.hpp
dosym libunrar${PV%.*.*} /usr/include/libunrar
find "${ED}" -type f -name "*.a" -delete || die
}

Binary file not shown.

@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
DESCRIPTION="Pseudo incremental backup with different exclude lists using hardlinks and rsync"
HOMEPAGE="https://www.nico.schottelius.org/software/ccollect/"
@ -11,21 +11,20 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~hppa ppc ~sparc x86"
IUSE="doc examples"
# tests need ssh-access
RESTRICT="test"
DEPEND="
RDEPEND="net-misc/rsync"
BDEPEND="
doc? (
>=app-text/asciidoc-8.1.0
app-text/docbook-xsl-stylesheets
app-text/docbook-xml-dtd:4.2
dev-libs/libxslt
)"
RDEPEND="net-misc/rsync"
# tests need ssh-access
RESTRICT="test"
src_compile() {
use doc && emake XSL=/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl documentation
use doc && emake XSL="${BROOT}"/usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl documentation
}
src_install() {
@ -64,15 +63,15 @@ src_install() {
pkg_postinst() {
ewarn "If you're upgrading from 0.6.x or less, you'll have to"
ewarn "upgrade your existing configuration as follows:"
ewarn "1. Make the scripts in ${EROOT%/}/usr/share/ccollect/scripts executable"
ewarn "2. Run all config-pre-\$VER-to-\$VER.sh in ${EROOT%/}/usr/share/ccollect/scripts"
ewarn "1. Make the scripts in ${EROOT}/usr/share/ccollect/scripts executable"
ewarn "2. Run all config-pre-\$VER-to-\$VER.sh in ${EROOT}/usr/share/ccollect/scripts"
ewarn " ascending order, where \$VER is greater or equal than the version"
ewarn " you upgraded from."
ewarn "Example:"
ewarn " You upgraded from 0.5, thus you have to run:"
ewarn " ${EROOT%/}/usr/share/ccollect/tools/config-pre-0.6-to-0.6.sh"
ewarn " ${EROOT%/}/usr/share/ccollect/tools/config-pre-0.7-to-0.7.sh"
ewarn " ${EROOT}/usr/share/ccollect/tools/config-pre-0.6-to-0.6.sh"
ewarn " ${EROOT}/usr/share/ccollect/tools/config-pre-0.7-to-0.7.sh"
elog "Please note that many tools are now installed directly to ${EROOT%/}/usr/bin"
elog "Please note that many tools are now installed directly to ${EROOT}/usr/bin"
elog "as recommended by upstream."
}

@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
@ -12,23 +12,20 @@ SRC_URI="http://www.muempf.de/down/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=app-cdr/cdrtools-1.11.28"
DEPEND=""
src_prepare() {
sed -i -e '/cd\(backup\|restore\)/,+1 s:CFLAGS:LDFLAGS:' \
"${S}"/Makefile || die "sed Makefile failed"
default
}
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-u_char-musl.patch
)
src_compile() {
emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)"
src_configure() {
tc-export CC
}
src_install() {
dobin cdbackup cdrestore
doman cdbackup.1 cdrestore.1
dodoc CHANGES CREDITS README
einstalldocs
}

@ -0,0 +1,32 @@
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
# compiler selection and options
-CC = gcc
-CFLAGS = -g -O2 -Wall
+CFLAGS += -Wall
DEPFLAGS = -MM -MG
# install location
@@ -18,19 +17,16 @@
all: $(TARGETS)
-%.o: %.c
- $(CC) $(CFLAGS) -c $< -o $@
-
$(DEPFILE): Makefile
@$(CC) $(DEPFLAGS) cdbackup.c cdrestore.c cdrom.c virtual.c misc.c > $@
include $(DEPFILE)
cdbackup: cdbackup.o cdrom.o virtual.o virtual-backup.o misc.o
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
cdrestore: cdrestore.o cdrom.o virtual.o misc.o
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
strip: $(TARGETS)
strip $(TARGETS)

@ -0,0 +1,11 @@
--- a/virtual.h
+++ b/virtual.h
@@ -42,7 +42,7 @@
};
struct toc_entry {
- u_char track_no; /* track number */
+ unsigned char track_no; /* track number */
char is_data; /* 1 = data track */
char is_cdbackup; /* was it created by CD-Backup? */
int sec_start; /* start sector */

@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
@ -13,22 +13,23 @@ S="${WORKDIR}/${PN}"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="threads"
PATCHES=( "${FILESDIR}"/${PN}-1.11-unused.patch )
RDEPEND="dev-libs/libbsd:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-portable.patch
)
src_prepare() {
default
cp "${FILESDIR}"/Makefile.linux Makefile || die
# bits/stat.h has __unused too
sed -i 's/__unused/__cpdup_unused/' *.c || die
echo "#define strlcpy(a,b,c) strncpy(a,b,c)" >> cpdup.h || die
rm compat_linux.c || die
}
src_configure() {
tc-export CC
use threads || MAKEOPTS+=" NOPTHREADS=1"
tc-export CC PKG_CONFIG
}
src_install() {

@ -1,13 +0,0 @@
OBJS = cpdup.o fsmid.o hclink.o hcproto.o misc.o
CFLAGS += -D__cpdup_unused="__attribute__ ((unused))" -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -DNOMD5
ifndef NOPTHREADS
CFLAGS += -DUSE_PTHREADS=1 -pthread
endif
all: $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o cpdup
.c.o:
$(CC) $(CFLAGS) -c -o $@ $<

@ -1,14 +0,0 @@
--- a/cpdup.c
+++ b/cpdup.c
@@ -1543,7 +1543,11 @@
*/
static int
+#ifdef _ST_FLAGS_PRESENT_
xrename(const char *src, const char *dst, u_long flags)
+#else
+xrename(const char *src, const char *dst, u_long flags __unused)
+#endif
{
int r;

@ -0,0 +1,30 @@
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,9 @@
-# $DragonFly: src/bin/cpdup/Makefile,v 1.7 2008/04/10 22:09:08 dillon Exp $
-#
+OBJS = cpdup.o hcproto.o hclink.o misc.o fsmid.o
-PROG= cpdup
-SRCS= cpdup.c hcproto.c hclink.c misc.c fsmid.c
-
-.if defined(.FreeBSD)
-CFLAGS += -D_ST_FLAGS_PRESENT_=1
-WARNS?= 6
-.endif
-
-.if !defined(NOMD5)
-SRCS+= md5.c
-.endif
-
-LDADD+= -lmd
-DPADD+= ${LIBMD}
-
-.include <bsd.prog.mk>
+CPPFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNOMD5 -DUSE_PTHREADS=1
+CPPFLAGS += $(shell $(PKG_CONFIG) --cflags libbsd)
+CFLAGS += -pthread
+LIBS += $(shell $(PKG_CONFIG) --libs libbsd)
+all: $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o cpdup $(LIBS)

@ -0,0 +1,128 @@
--- a/compat_sun.h
+++ b/compat_sun.h
@@ -1,6 +1,3 @@
-/* __unused is a gcc'ism. */
-#define __unused
-
#include <stdio.h>
#include <stdarg.h>
--- a/cpdup.c
+++ b/cpdup.c
@@ -127,8 +127,8 @@
static void hltdelete(struct hlink *);
static void hltsetdino(struct hlink *, ino_t);
static int YesNo(const char *path);
-static int xrename(const char *src, const char *dst, u_long flags);
-static int xlink(const char *src, const char *dst, u_long flags);
+static int xrename(const char *src, const char *dst, unsigned long flags);
+static int xlink(const char *src, const char *dst, unsigned long flags);
static int xremove(struct HostConf *host, const char *path);
static int DoCopy(copy_info_t info, struct stat *stat1, int depth);
static int ScanDir(List *list, struct HostConf *host, const char *path,
@@ -1648,7 +1648,7 @@
*/
static int
-xrename(const char *src, const char *dst, u_long flags)
+xrename(const char *src, const char *dst, unsigned long flags)
{
int r;
@@ -1663,7 +1663,7 @@
}
static int
-xlink(const char *src, const char *dst, u_long flags)
+xlink(const char *src, const char *dst, unsigned long flags)
{
int r;
#ifdef _ST_FLAGS_PRESENT_
--- a/cpdup.h
+++ b/cpdup.h
@@ -39,7 +39,6 @@
#define __printflike(a,b)
#define __printf0like(a,b)
#define __aligned(x)
-#define __unused
#endif
void logstd(const char *ctl, ...) __printflike(1, 2);
--- a/hclink.c
+++ b/hclink.c
@@ -73,7 +73,7 @@
}
static int
-rc_badop(hctransaction_t trans __unused, struct HCHead *head)
+rc_badop(hctransaction_t trans, struct HCHead *head)
{
head->error = EOPNOTSUPP;
return(0);
--- a/hcproto.c
+++ b/hcproto.c
@@ -10,6 +10,8 @@
#include "hclink.h"
#include "hcproto.h"
+#include <bsd/string.h>
+
static int hc_decode_stat(hctransaction_t trans, struct stat *, struct HCHead *);
static int hc_decode_stat_item(struct stat *st, struct HCLeaf *item);
static int rc_encode_stat(hctransaction_t trans, struct stat *);
@@ -1503,7 +1505,7 @@
* CHFLAGS
*/
int
-hc_chflags(struct HostConf *hc, const char *path, u_long flags)
+hc_chflags(struct HostConf *hc, const char *path, unsigned long flags)
{
hctransaction_t trans;
struct HCHead *head;
@@ -1535,7 +1537,7 @@
{
struct HCLeaf *item;
const char *path = NULL;
- u_long flags = 0;
+ unsigned long flags = 0;
int rc;
FOR_EACH_ITEM(item, trans, head) {
@@ -1544,7 +1546,7 @@
path = HCC_STRING(item);
break;
case LC_FILEFLAGS:
- flags = (u_long)HCC_INT64(item);
+ flags = (unsigned long)HCC_INT64(item);
break;
}
}
@@ -1846,7 +1848,7 @@
}
static int
-rc_geteuid(hctransaction_t trans, struct HCHead *head __unused)
+rc_geteuid(hctransaction_t trans, struct HCHead *head)
{
hcc_leaf_int32(trans, LC_UID, geteuid());
return (0);
@@ -1920,7 +1922,7 @@
}
static int
-rc_getgroups(hctransaction_t trans, struct HCHead *head __unused)
+rc_getgroups(hctransaction_t trans, struct HCHead *head)
{
int count, i;
gid_t *gidlist;
--- a/hcproto.h
+++ b/hcproto.h
@@ -105,7 +105,7 @@
int hc_chmod(struct HostConf *hc, const char *path, mode_t mode);
int hc_mknod(struct HostConf *hc, const char *path, mode_t mode, dev_t rdev);
int hc_link(struct HostConf *hc, const char *name1, const char *name2);
-int hc_chflags(struct HostConf *hc, const char *path, u_long flags);
+int hc_chflags(struct HostConf *hc, const char *path, unsigned long flags);
int hc_readlink(struct HostConf *hc, const char *path, char *buf, int bufsiz);
mode_t hc_umask(struct HostConf *hc, mode_t numask);
int hc_symlink(struct HostConf *hc, const char *name1, const char *name2);

@ -1,7 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit autotools
DESCRIPTION="Hdup is backup program using tar, find, gzip/bzip2, mcrypt and ssh"
HOMEPAGE="http://www.miek.nl/projects/hdup2/index.html"
@ -12,30 +14,33 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="crypt"
CDEPEND="
DEPEND="
app-arch/bzip2
app-arch/gzip
app-arch/tar
>=dev-libs/glib-2.0"
RDEPEND="
${CDEPEND}
${DEPEND}
virtual/openssh
sys-apps/coreutils
sys-apps/findutils
crypt? ( app-crypt/mcrypt )"
DEPEND="
${CDEPEND}
virtual/pkgconfig"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${PN}-2.0.14-fix-build-system.patch )
PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
src_prepare() {
default
eautoconf # bug 906003
}
src_install() {
HTML_DOCS=( doc/FAQ.html )
default
dodoc Credits
dodoc -r Credits examples
insinto /usr/share/${PN}
doins -r contrib examples
doins -r contrib
}
pkg_postinst() {

@ -1 +1,2 @@
DIST mylvmbackup-0.14.tar.gz 57338 BLAKE2B 2f3e85d73a08d8877f84c04e8a7368500fd10dd9ee5172110589175918c10d0e80dce17b842286aacb111d088c275138a87fcf46fb4b416d0697221735cc36b3 SHA512 e61f0c4e24b5482b2f7f4213e810a32776d1b39f589e27c309a4940943f3a9519041e53cf85a089a94100e2cc81715a033682bbe071220d755c14211b4177bfa
DIST mylvmbackup-0.16.tar.gz 58490 BLAKE2B 43f34e0e386c4cc4f8d30ce3fb3f9e93f4ce7c795d1b74a0e6c2bb74750c855b5eeb41a09d9c2f6e0532bb297d00519d99b356fa98dfb0fbc4fc8cfd25daa976 SHA512 c23dd47c7cb13883cddb161f12a1698a1108b65d01a0e6d6feafab2d92c98717e38d4bc4a23712cb2e23f624e8c4e6307a2b0f171024976b52a58a720fd01b8b

@ -0,0 +1,11 @@
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@
README \
TODO
CLEANFILES = $(NAME).spec $(NAME) $(MAN1) $(MAN1).html
-prefix = /usr/local
+prefix = /usr
sysconfdir = /etc
bindir = $(prefix)/bin
datadir = $(prefix)/share/mylvmbackup

@ -0,0 +1,31 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Tool for creating backups of MySQL server's data files using LVM snapshots"
HOMEPAGE="http://lenzg.net/mylvmbackup/"
SRC_URI="http://lenzg.net/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND="
dev-perl/Config-IniFiles
dev-perl/DBD-mysql
dev-perl/TimeDate
sys-fs/lvm2
virtual/mysql"
PATCHES=(
"${FILESDIR}"/${PN}-0.16-fix-build-system.patch
"${FILESDIR}"/${PN}-0.14-fix-config.patch
)
src_install() {
default
keepdir /var/tmp/${PN}/{backup,mnt}
fperms 0700 /var/tmp/${PN}/
}

Binary file not shown.

@ -1 +1 @@
DIST acme.sh-3.0.6.tar.gz 275569 BLAKE2B 8b7989e7a6e59e7263a343d7d22ae4c6998dc7fc7e8340fde1dc4226681430c2fca00755781c9a1a9b5c564fc1a25a30cc36c131a81cc11a9c2f15a67c870bc8 SHA512 2ddd561356586a289bcd08770b7347ef2e1cb121948987031a9e53d19abd5beda433e50c659aa3ee5dc3b06bdf8e479b5b31ba0b52c4a283d2c491aead4d10ac
DIST acme.sh-3.0.7.tar.gz 284269 BLAKE2B 2e3d81446772049660d3a7b8005b82a890238d33ef16211b304ecd9b996063de9e788095ff958422f90d2e20615f84943d6085959ac2f27d6ad51a8eeffb2800 SHA512 83d080b461662bf2c5cfa9cb51aaf41d7f873f54908e2e5f94d7e3fe8e3f6953d73aafb66adc97455aa958f37c72ef77ba475c7d7cbb3ca3c5bbffb4937c4bae

@ -33,7 +33,7 @@ LICENSE="GPL-2 LGPL-2.1"
# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
SLOT="1/11.6.15.2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="common-lisp static-libs +cxx python qt5 test"
RESTRICT="!test? ( test )"
REQUIRED_USE="qt5? ( cxx ) python? ( ${PYTHON_REQUIRED_USE} )"

Binary file not shown.

@ -1,31 +0,0 @@
I don't know why, but this got reverted upstream by the original commit author.
But it works fine for us, as we even patched this in before they did it, and
I've emailed them.
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..63d9994
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,3 @@
+info_TEXINFOS = c.texi
+c_TEXINFOS = cpp.texi fp.texi fdl.texi gpl.texi
+dist_data_DATA = c.pdf
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..911616b
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,11 @@
+# Process this file with autoconf to produce a configure script:
+# autoreconf -vi
+# Public domain. Originally written by Ineiev, 2023.
+AC_INIT([GNU C Intro And Reference], [0.0-rc3], [c-manual@gnu.org],
+ [c-intro-and-ref], [https://www.gnu.org/software/c-intro-and-ref/])
+
+AC_PREREQ([2.65])
+AC_CONFIG_SRCDIR([c.texi])
+AM_INIT_AUTOMAKE([1.11])
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT

@ -30,10 +30,6 @@ BDEPEND="
)
"
PATCHES=(
"${FILESDIR}"/gnu-c-intro-ref-9999-autotools.patch
)
src_prepare() {
default

Binary file not shown.

@ -15,7 +15,7 @@ S="${WORKDIR}"/${PN}-release-${PV}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
KEYWORDS="amd64 ~riscv x86"
IUSE="lua python"
RESTRICT="!test? ( test )"

Binary file not shown.

@ -1,2 +1,2 @@
DIST elfeed-protocol-0.8.1.tar.gz 48250 BLAKE2B 9a6491c29b1fe64bc7ced8e94548552b85b501279e60173bca0a8a11e5b624a17a51cdb035139620905ecde0c7c4dab0fed7a00f869af823123ca69c12dcfdc6 SHA512 846c39766d9312b3612b9d27ebe88e2aac153b2a3cd1683438b696004aaa4cb6d250b876c9669bf63a17a6fc6aaa6a0980550e962b19ab85268d6214ad4a022f
DIST elfeed-protocol-0.9.0.tar.gz 48646 BLAKE2B cffb43799f9909a7c194d24ae490afcdcc7d9ae789b047ac90d9d4a6d1c014deedd5cc3d4a18cca7b643c07b2a297ece5fc8058651e531b9ee9da2572eb1152b SHA512 d9d1f130453a3759ca008153634bb6a768f757df22fdde6f39c397e9605eef335dc192f05c04a94f71123d24a8055acb9c7fc37350bd0b533cd9caf3c2602c9b
DIST elfeed-protocol-0.9.1.tar.gz 52032 BLAKE2B da5a468ee6e3d88bc455dac5208a6550d67fdec6634889ea98daff5fc4b1b8a93f2ec9cbc9829730e3ee885c363c2688873c7e0b5df873146aab41a9746c684e SHA512 de34ea493e676819882201ee5feb0cfed3a9bb0a69d9b00ca1c6cdd954a4c12352d817dd3055c48aa12a2225d43a60a9c5b6f0bffca815cf7d265a427d3c268b

@ -0,0 +1,57 @@
defadvice is obsolete in Emacs 30.
--- gnuserv-3.12.8/gnuserv-compat.el
+++ gnuserv-3.12.8/gnuserv-compat.el
@@ -112,38 +112,34 @@
;; can do! If the device doesn't represent a live frame, we create
;; the frame as requested.
- (defadvice make-frame (around
- gnuserv-compat-make-frame
- first
- (&optional parameters device)
- activate)
+ (defun gnuserv-compat-make-frame (orig-fun &optional parameters device)
(if (and device
(frame-live-p device))
(progn
(if parameters
(modify-frame-parameters device parameters))
- (setq ad-return-value device))
- ad-do-it))
+ device)
+ (funcall orig-fun parameters)))
+
+ (advice-add 'make-frame :around #'gnuserv-compat-make-frame)
;; Advise `delete-frame' to run `delete-device-hook'. This might be a
;; little too hacky, but it seems to work! If someone actually tries
;; to do something device specific then it will probably blow up!
- (defadvice delete-frame (before
- gnuserv-compat-delete-frame
- first
- nil
- activate)
+ (defun gnuserv-compat-delete-frame (&optional frame _force)
(run-hook-with-args 'delete-device-hook frame))
+ (advice-add 'delete-frame :before #'gnuserv-compat-delete-frame)
+
;; Advise `filtered-frame-list' to ignore the optional device
;; argument. Here we don't follow the mapping of devices to frames.
;; We just assume that any frame satisfying the predicate will do.
- (defadvice filtered-frame-list (around
- gnuserv-compat-filtered-frame-list
- first
- (predicate &optional device)
- activate)
- ad-do-it)
+ (defun gnuserv-compat-filtered-frame-list (orig-fun predicate
+ &optional _device)
+ (funcall orig-fun predicate))
+
+ (advice-add 'filtered-frame-list
+ :around #'gnuserv-compat-filtered-frame-list)
;; )

@ -0,0 +1,251 @@
Most Common Lisp macros want a cl- prefix in Emacs 27 and later
--- gnuserv-3.12.8/devices.el
+++ gnuserv-3.12.8/devices.el
@@ -31,7 +31,7 @@
;; XEmacs 19.14. A 'device' for Emacs 19 is just a frame, from which we can
;; determine the connection to an X display, etc.
-(require 'cl)
+(require 'cl-macs)
(eval-when-compile
(if (string-match "XEmacs" (emacs-version))
(set 'byte-optimize nil)))
@@ -220,43 +220,43 @@
(setq frames (cdr frames)))))
(defun device-color-cells (&optional device)
- (case window-system
+ (cl-case window-system
((x win32 w32 pm) (x-display-color-cells device))
(ns (ns-display-color-cells device))
(otherwise 1)))
(defun device-pixel-width (&optional device)
- (case window-system
+ (cl-case window-system
((x win32 w32 pm) (x-display-pixel-width device))
(ns (ns-display-pixel-width device))
(otherwise (frame-width device))))
(defun device-pixel-height (&optional device)
- (case window-system
+ (cl-case window-system
((x win32 w32 pm) (x-display-pixel-height device))
(ns (ns-display-pixel-height device))
(otherwise (frame-height device))))
(defun device-mm-width (&optional device)
- (case window-system
+ (cl-case window-system
((x win32 w32 pm) (x-display-mm-width device))
(ns (ns-display-mm-width device))
(otherwise nil)))
(defun device-mm-height (&optional device)
- (case window-system
+ (cl-case window-system
((x win32 w32 pm) (x-display-mm-height device))
(ns (ns-display-mm-height device))
(otherwise nil)))
(defun device-bitplanes (&optional device)
- (case window-system
+ (cl-case window-system
((x win32 w32 pm) (x-display-planes device))
(ns (ns-display-planes device))
(otherwise 2)))
(defun device-class (&optional device)
- (case window-system
+ (cl-case window-system
(x ; X11
(cond
((fboundp 'x-display-visual-class)
--- gnuserv-3.12.8/gnuserv-compat.el
+++ gnuserv-3.12.8/gnuserv-compat.el
@@ -49,7 +49,7 @@
;; 20.3. Also, XEmacs preloads the common lisp stuff, and we might as
;; well use it here.
-(require 'cl)
+(require 'cl-macs)
(eval-and-compile
(unless (fboundp 'define-obsolete-variable-alias)
@@ -66,7 +66,7 @@
(unless (fboundp 'add-minor-mode)
(defun add-minor-mode (toggle name)
"Register a new minor mode."
- (pushnew (list toggle name)
+ (cl-pushnew (list toggle name)
minor-mode-alist
:test 'equal)))
--- gnuserv-3.12.8/gnuserv.el
+++ gnuserv-3.12.8/gnuserv.el
@@ -83,6 +83,8 @@
;;; Code:
+(require 'cl-macs)
+
(defgroup gnuserv nil
"The gnuserv suite of programs to talk to Emacs from outside."
:group 'environment
@@ -203,7 +205,7 @@
;;; Internal variables:
-(defstruct gnuclient
+(cl-defstruct gnuclient
"An object that encompasses several buffers in one.
Normally, a client connecting to Emacs will be assigned an id, and
will request editing of several files.
@@ -289,7 +291,7 @@
(defun gnuserv-sentinel (proc msg)
(let ((msgstring (concat "Gnuserv process %s; restart with `%s'"))
(keystring (substitute-command-keys "\\[gnuserv-start]")))
- (case (process-status proc)
+ (cl-case (process-status proc)
(exit
(message msgstring "exited" keystring)
(gnuserv-prepare-shutdown))
@@ -403,7 +405,7 @@
If a flag is `view', view the files read-only."
(let (quick view)
(mapc (lambda (flag)
- (case flag
+ (cl-case flag
(quick (setq quick t))
(view (setq view t))
(t (error "Invalid flag %s" flag))))
@@ -419,7 +421,7 @@
(device (cond ((frame-live-p dest-frame)
(frame-device dest-frame))
((null dest-frame)
- (case (car type)
+ (cl-case (car type)
(tty (apply 'make-tty-device (cdr type)))
(gtk (make-gtk-device))
(x (make-x-device-with-gtk-fallback (cadr type)))
@@ -456,7 +458,7 @@
(goto-line line)
;; Don't memorize the quick and view buffers.
(unless (or quick view)
- (pushnew (current-buffer) (gnuclient-buffers client))
+ (cl-pushnew (current-buffer) (gnuclient-buffers client))
(setq gnuserv-minor-mode t)
;; Add the "Done" button to the menubar, only in this buffer.
(if (and (featurep 'menubar) current-menubar)
@@ -510,9 +512,9 @@
;; Like `gnuserv-buffer-clients', but returns a boolean; doesn't
;; collect a list.
(defun gnuserv-buffer-p (buffer)
- (member* buffer gnuserv-clients
- :test 'memq
- :key 'gnuclient-buffers))
+ (cl-member buffer gnuserv-clients
+ :test 'memq
+ :key 'gnuclient-buffers))
;; This function makes sure that a killed buffer is deleted off the
;; list for the particular client.
@@ -525,7 +527,7 @@
editing has ended."
(let* ((buf (current-buffer)))
(dolist (client (gnuserv-buffer-clients buf))
- (callf2 delq buf (gnuclient-buffers client))
+ (cl-callf2 delq buf (gnuclient-buffers client))
;; If no more buffers, kill the client.
(when (null (gnuclient-buffers client))
(gnuserv-kill-client client)))))
@@ -546,7 +548,7 @@
(defun gnuserv-kill-emacs-query-function ()
(or gnuserv-kill-quietly
- (not (some 'gnuclient-buffers gnuserv-clients))
+ (not (cl-some 'gnuclient-buffers gnuserv-clients))
(yes-or-no-p "Gnuserv buffers still have clients; exit anyway? ")))
(add-hook 'kill-emacs-query-functions
@@ -562,7 +564,7 @@
;; killing the device, because it would cause a device-dead
;; error when `delete-device' tries to do the job later.
(gnuserv-kill-client client t))))
- (callf2 delq device gnuserv-devices))
+ (cl-callf2 delq device gnuserv-devices))
(add-hook 'delete-device-hook 'gnuserv-check-device)
@@ -582,7 +584,7 @@
the function will not remove the frames associated with the client."
;; Order is important: first delete client from gnuserv-clients, to
;; prevent gnuserv-buffer-done-1 calling us recursively.
- (callf2 delq client gnuserv-clients)
+ (cl-callf2 delq client gnuserv-clients)
;; Process the buffers.
(mapc 'gnuserv-buffer-done-1 (gnuclient-buffers client))
(unless leave-frame
@@ -593,15 +595,15 @@
;; note: last frame on a device will not be deleted here.
(when (and (gnuclient-frame client)
(frame-live-p (gnuclient-frame client))
- (second (device-frame-list device)))
+ (cl-second (device-frame-list device)))
(delete-frame (gnuclient-frame client)))
;; If the device is live, created by a client, and no longer used
;; by any client, delete it.
(when (and (device-live-p device)
(memq device gnuserv-devices)
- (second (device-list))
- (not (member* device gnuserv-clients
- :key 'gnuclient-device)))
+ (cl-second (device-list))
+ (not (cl-member device gnuserv-clients
+ :key 'gnuclient-device)))
;; `gnuserv-check-device' will remove it from `gnuserv-devices'.
(delete-device device))))
;; Notify the client.
@@ -610,7 +612,7 @@
;; Do away with the buffer.
(defun gnuserv-buffer-done-1 (buffer)
(dolist (client (gnuserv-buffer-clients buffer))
- (callf2 delq buffer (gnuclient-buffers client))
+ (cl-callf2 delq buffer (gnuclient-buffers client))
(when (null (gnuclient-buffers client))
(gnuserv-kill-client client)))
;; Get rid of the buffer.
@@ -639,19 +641,19 @@
;; If we have a client belonging to this frame, return
;; the first buffer from it.
((setq client
- (car (member* frame gnuserv-clients :key 'gnuclient-frame)))
+ (car (cl-member frame gnuserv-clients :key 'gnuclient-frame)))
(car (gnuclient-buffers client)))
;; Else, look for a device.
((and
(memq (selected-device) gnuserv-devices)
(setq client
- (car (member* device gnuserv-clients :key 'gnuclient-device))))
+ (car (cl-member device gnuserv-clients :key 'gnuclient-device))))
(car (gnuclient-buffers client)))
;; Else, try to find any client with at least one buffer, and
;; return its first buffer.
((setq client
- (car (member-if-not #'null gnuserv-clients
- :key 'gnuclient-buffers)))
+ (car (cl-member-if-not #'null gnuserv-clients
+ :key 'gnuclient-buffers)))
(car (gnuclient-buffers client)))
;; Oh, give up.
(t nil))))
@@ -759,7 +761,7 @@
(when (null count)
(setq count 1))
(cond ((numberp count)
- (while (natnump (decf count))
+ (while (natnump (cl-decf count))
(let ((frame (selected-frame)))
(gnuserv-buffer-done (current-buffer))
(when (eq frame (selected-frame))

@ -0,0 +1,135 @@
Fix collision of function device-class in Emacs 29.
Fix some byte-compiler warnings.
--- gnuserv-3.12.8/devices.el
+++ gnuserv-3.12.8/devices.el
@@ -32,13 +32,7 @@
;; determine the connection to an X display, etc.
(require 'cl-macs)
-(eval-when-compile
- (if (string-match "XEmacs" (emacs-version))
- (set 'byte-optimize nil)))
-(if (string-match "XEmacs" (emacs-version))
- nil
-'()
(defalias 'selected-device 'ignore)
(defalias 'device-or-frame-p 'framep)
(defalias 'device-console 'ignore)
@@ -219,6 +213,10 @@
(delete-frame (car frames) force)
(setq frames (cdr frames)))))
+;; Apparently none of the functions below are used, and device-class
+;; collides with a function of the same name in frame.el of Emacs 29.
+'(
+
(defun device-color-cells (&optional device)
(cl-case window-system
((x win32 w32 pm) (x-display-color-cells device))
@@ -333,10 +331,6 @@
"Given a TYPE, return t if it is valid."
(memq type (device-type-list)))
-) ; This closes the conditional on whether we are in XEmacs or not
+)
(provide 'devices)
-
-(eval-when-compile
- (if (string-match "XEmacs" (emacs-version))
- (set 'byte-optimize t)))
--- gnuserv-3.12.8/gnuserv-compat.el
+++ gnuserv-3.12.8/gnuserv-compat.el
@@ -100,8 +100,8 @@
;; `delete-frame' and `filtered-frame-list' to handle some device
;; stuff.
-(if (string-match "XEmacs" (emacs-version))
- nil
+;;(if (string-match "XEmacs" (emacs-version))
+;; nil
;; XEmacs `make-frame' takes an optional device to create the frame
;; on. Since `make-device' just calls 'make-frame', we don't want
@@ -143,15 +143,16 @@
first
(predicate &optional device)
activate)
- ad-do-it))
+ ad-do-it)
+;; )
;; Emulate XEmacs devices. A device is just a frame. For the most
;; part we use devices.el from the Emacs-W3 distribution. In some
;; places the implementation seems wrong, so we "fix" it!
-(if (string-match "XEmacs" (emacs-version))
- nil
+;;(if (string-match "XEmacs" (emacs-version))
+;; nil
(require 'devices)
(defalias 'device-list 'frame-list)
@@ -160,7 +161,8 @@
(list
(if device
device
- (selected-frame)))))
+ (selected-frame))))
+;; )
--- gnuserv-3.12.8/gnuserv.el
+++ gnuserv-3.12.8/gnuserv.el
@@ -455,13 +455,14 @@
gnuserv-view-file-function
gnuserv-find-file-function)
path)
- (goto-line line)
+ (goto-char (point-min))
+ (forward-line (1- line))
;; Don't memorize the quick and view buffers.
(unless (or quick view)
(cl-pushnew (current-buffer) (gnuclient-buffers client))
(setq gnuserv-minor-mode t)
;; Add the "Done" button to the menubar, only in this buffer.
- (if (and (featurep 'menubar) current-menubar)
+ (if (and (eval-when-compile (featurep 'menubar)) current-menubar)
(progn (set-buffer-menubar current-menubar)
(add-menu-button nil ["Done" gnuserv-edit]))
))
@@ -616,12 +617,11 @@
(when (null (gnuclient-buffers client))
(gnuserv-kill-client client)))
;; Get rid of the buffer.
- (save-excursion
- (set-buffer buffer)
+ (with-current-buffer buffer
(run-hooks 'gnuserv-done-hook)
(setq gnuserv-minor-mode nil)
;; Delete the menu button.
- (if (and (featurep 'menubar) current-menubar)
+ (if (and (eval-when-compile (featurep 'menubar)) current-menubar)
(delete-menu-item '("Done")))
(funcall (if (gnuserv-temp-file-p buffer)
gnuserv-done-temp-file-function
@@ -685,7 +685,6 @@
;; This serves to run the hook and reset
;; `allow-deletion-of-last-visible-frame'.
(defun gnuserv-prepare-shutdown ()
- (setq allow-deletion-of-last-visible-frame nil)
(run-hooks 'gnuserv-shutdown-hook))
;; This is a user-callable function, too.
@@ -716,7 +715,6 @@
(set-process-sentinel gnuserv-process 'gnuserv-sentinel)
(set-process-filter gnuserv-process 'gnuserv-process-filter)
(set-process-query-on-exit-flag gnuserv-process nil)
- (setq allow-deletion-of-last-visible-frame t)
(run-hooks 'gnuserv-init-hook)))

@ -0,0 +1,73 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp desktop xdg-utils
DESCRIPTION="Attach to an already running Emacs"
HOMEPAGE="https://web.archive.org/web/20160508134736/http://martin.meltin.net/hacks/emacs/
https://www.emacswiki.org/emacs/GnuClient"
SRC_URI="https://web.archive.org/web/20150908031821/http://martin.meltin.net/sites/martin.meltin.net/files/hacks/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-linux ~ppc-macos"
IUSE="gui"
RDEPEND=">=app-eselect/eselect-emacs-1.15
gui? ( x11-libs/libXau )"
DEPEND="${RDEPEND}
gui? ( x11-base/xorg-proto )"
PATCHES=(
"${FILESDIR}"/${P}-backquotes.patch
"${FILESDIR}"/${P}-process-query.patch
"${FILESDIR}"/${P}-gnudoit.patch
"${FILESDIR}"/${P}-emacs-28.patch
"${FILESDIR}"/${P}-cl.patch
"${FILESDIR}"/${P}-emacs-29.patch
"${FILESDIR}"/${P}-advice.patch
)
SITEFILE="50${PN}-gentoo.el"
src_configure() {
econf $(use_enable gui xauth) \
--x-includes="${EPREFIX}"/usr/include \
--x-libraries="${EPREFIX}"/usr/$(get_libdir)
}
src_compile() {
emake gnuserv gnuclient
elisp-compile *.el
}
src_install() {
exeinto /usr/libexec/emacs
doexe gnuserv
newbin gnuclient gnuclient-emacs
newbin gnudoit gnudoit-emacs
# Don't install gnuattach, it is not functional with FSF GNU Emacs
newman gnuserv.1 gnuserv-emacs.1
echo ".so man1/gnuserv-emacs.1" | newman - gnuclient-emacs.1
echo ".so man1/gnuserv-emacs.1" | newman - gnudoit-emacs.1
elisp-install ${PN} *.el *.elc
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc ChangeLog README README.orig
use gui && domenu "${FILESDIR}"/gnuclient.desktop
}
pkg_postinst() {
elisp-site-regen
use gui && xdg_desktop_database_update
eselect gnuclient update ifunset
}
pkg_postrm() {
elisp-site-regen
use gui && xdg_desktop_database_update
eselect gnuclient update ifunset
}

@ -1 +1,2 @@
DIST mastodon-1.0.0.tar.gz 91448 BLAKE2B 093599c4e80113fcb91e0419f3fd050dc793965ce5b69ac94aaabefa5c51cf1b02bb9d8b9bb60a6b5cab377780958b30254f0d91c0f3f8309c1b04342415b17d SHA512 206b180e1cbb345ef35182f753e05b57d5ef1649c68aa3a8ff8eee3c4e3157a22457398a04219f4fd052e8af9d94f6978a6c95c399e284eb27449cd9a4c53e8c
DIST mastodon-1.0.6.tar.gz 151149 BLAKE2B a8ee84902acb1b84e80d4273a978e6e6d636a13ab64fdb896d3c3fa8894e2f80a8b164de9e45b1e6ef022c898a8297d5b37b6975f44ccfa3135b254d7a366410 SHA512 0225461d234a12cd17ecfdd208a5854d16b1d466362f6953e1e0defb5f1f59c09c1fbd0b94061d3103d1728c0b16ed3666a993e6d99b2057fc28715b4b56806e

@ -0,0 +1,28 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=27.1
inherit elisp
DESCRIPTION="Emacs client for Mastodon, federated microblogging social network"
HOMEPAGE="https://codeberg.org/martianh/mastodon.el/"
SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}/${PN}.el/lisp"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86"
SLOT="0"
RDEPEND="
app-emacs/persist
app-emacs/request
"
BDEPEND="${RDEPEND}"
DOCS=( ../README.org )
ELISP_TEXINFO="../${PN}.texi"
SITEFILE="50${PN}-gentoo.el"

@ -9,5 +9,6 @@
<upstream>
<changelog>https://codeberg.org/martianh/mastodon.el/releases/</changelog>
<bugs-to>https://codeberg.org/martianh/mastodon.el/issues/</bugs-to>
<remote-id type="codeberg">martianh/mastodon.el</remote-id>
</upstream>
</pkgmetadata>

@ -1,2 +1 @@
DIST nxml-gentoo-schemas-20230227.tar.xz 8812 BLAKE2B 517857a3cd3306daf2570019376eee315abab2f2734283dbfeaf72148471d08e8d2cfbe92b5ad19d3b67104c26da5d02aa2a01ca23b97230aa93d3ab45ec7ec6 SHA512 a92bba645e6122968cdcc0eada9a1a3e5d80f1cb560e95fddcd1cfe60b46699fdf16bad85b86e2d4111d5a10be5124f0d6f8a104038cfa13fd4fff2494f8235b
DIST nxml-gentoo-schemas-20230914.tar.xz 8812 BLAKE2B fa039f3cf1556ef97684d7c485be5efa0cddae3dfa5a98a0bddd924a0e6f736b519a3a841712b8221dde2ee8351c8680c4b1bfb391151cf0a1ef3f073373e58d SHA512 e4cda867fb635a0b7f17a692b38a1f65966f439c585a130319ba8f53f571dedc3ca9d61a34c61ffd3ba09b04ef9aae61578bea9bb9f0562b542296c8a98d64c9

@ -1,24 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
HOMEPAGE="https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/"
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="MIT GPL-2+"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
SITEFILE="60${PN}-gentoo.el"
src_compile() { :; }
src_install() {
insinto "${SITEETC}/${PN}"
doins schemas.xml *.rnc
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
}

@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
LICENSE="MIT GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~x64-macos"
SITEFILE="60${PN}-gentoo.el"

@ -1,3 +1,4 @@
DIST org-9.4.6.tar.gz 4729335 BLAKE2B b88edaf8098124b2048ce57d6005d2af0de34e9b8fa94c24eb041a42a6fca1fd6da7f242be89e6b0ca5e7b80d879096f9114dca0ba86b20a5d26d2a185baa537 SHA512 7e50d7e9e2073bc0f06d2c861f59d4c9b8af4cf63c98f730c810a3a8721e65829fe9ef7ba0ac99f49bf9da427a4d5ad1d028e05c1a8ab6a3bea2ff2020c0e61d
DIST org-mode-release_9.5.5.tar.gz 2049730 BLAKE2B 382e6585f693fd30def29da740d1329a52b4565382df90a37e3646324ee44106f1a99c2ea0c0862d77721cc9bfbec0736cb03065b59b2fdea0a68d8f8ea37c9a SHA512 ce06bab17ae7944c1623f935bbad0379d06390c72c43633ba0de2bc04ad362e18d9aaae96103eeaa23f7ea9e4e00976a97a914da87fb7941a13746b1fa77f591
DIST org-mode-release_9.6.10.tar.gz 2211113 BLAKE2B 6cbbcb13842fa25e47fe2fdb2ab3c486ce3fd75d138dfe88a788e9fe3d0779bce8b5ee0339adb55f348e0bef84490004cd20d51235001d0f59ce3829cee06079 SHA512 4ca1585e85474c8ab05c2c5a5caaefffe3c947e71abe7e28b226b0d7f0eb1a84fe8e68bf787c955223e8c0bc79dccd9687d4b8a3c0d7e60bebb4654014bce7d2
DIST org-mode-release_9.6.9.tar.gz 2211112 BLAKE2B 33a22d8017a86d027e12413d8ff17c6fb972c2c20921e8061690e85d3d6829a3b45512998c0b50429566fdace05184963eff97cc219cf7850f29b19e38ec1a05 SHA512 458060c220fc934ac14355bd72a1b95498c416e7b56054f4b179fde7cee128848a1f466d0f69cbc5b51f30955eeaaf86408f928358fc206ad8e8d9966d6f69d8

@ -0,0 +1,50 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp readme.gentoo-r1
MY_P="${PN}-release_${PV}"
DESCRIPTION="An Emacs mode for notes and project planning"
HOMEPAGE="https://www.orgmode.org/"
SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
S="${WORKDIR}"/${MY_P}
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc odt-schema"
RESTRICT="test"
BDEPEND="doc? ( virtual/texi2dvi )"
SITEFILE="50${PN}-gentoo.el"
src_compile() {
emake -j1 \
ORGVERSION=${PV} \
datadir="${EPREFIX}${SITEETC}/${PN}"
use doc && emake -j1 pdf card
}
src_install() {
emake \
ORGVERSION=${PV} \
DESTDIR="${D}" \
ETCDIRS="styles csl $(use odt-schema && echo schema)" \
lispdir="${EPREFIX}${SITELISP}/${PN}" \
datadir="${EPREFIX}${SITEETC}/${PN}" \
infodir="${EPREFIX}/usr/share/info" \
install
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
so you may have to install one or more additional packages.
A non-exhaustive list of these dependencies may be found at
<http://orgmode.org/worg/org-dependencies.html>."
readme.gentoo_create_doc
}

@ -0,0 +1 @@
DIST persist-0.5.tar.xz 5140 BLAKE2B efc8af5102e4661507784aa54fdc0f890b916b37bc2bfc08e51173c1bbc7e7602bf01c0fa14d06d85f15371336531f4211c2802065497aae1a0e4f40b6051eb2 SHA512 560560a18b252f0bd6c15fd530e77a9501427f9b66fbdbfab4b83dde24c2d9070d75e78038f307ccc5db70d48f539b0472c6a644e8f3255e3817cdc077006989

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>gnu-emacs@gentoo.org</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1,17 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Persist variables between Emacs sessions"
HOMEPAGE="https://elpa.gnu.org/packages/persist.html"
SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# ELISP_TEXINFO="${PN}.texi" # Broken.
SITEFILE="50${PN}-gentoo.el"

@ -19,7 +19,7 @@ else
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 ~x86"
fi
LICENSE="GPL-3+"

Binary file not shown.

@ -1,2 +1 @@
DIST guestfs-tools-1.48.0.tar.gz 12682919 BLAKE2B 27b4e5c47af222691b067c19e997112acaf0360cc9c089dedb0327959ff8d80ff929e2fea369f9895ed6e1fc80a339ca89db3b9eb32cf23328fc71972447a13e SHA512 8576ef0e283a02a112f785e8f1656b41c93be29e12617ee8c83033b90758736ea3c2d4ecfb446a86c7913e2c0b39a7c5666e8ad22682419cc877543a3825c489
DIST guestfs-tools-1.48.2.tar.gz 12691067 BLAKE2B 305f281c19975f160c435b995d71ef2e18d09fc95f31e92efe8f79d811fc0a7efab27d14f766d5f6ee477fd43977167a3aabe5cc40498f125f925507fd2574d5 SHA512 e11cd5a38a1681e8b2fd56419d38ca0aaab659cb59d409b3572cadcd04fd4da3078fa33e7f21c99d11854ad08797ae24a8d71c041b1b7769fc36c1391b6eb162

@ -1,153 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# Bump with app-emulation/libguestfs and app-emulation/libguestfs-appliance (if any new release there)
inherit flag-o-matic linux-info perl-functions strip-linguas toolchain-funcs
MY_PV_1="$(ver_cut 1-2)"
MY_PV_2="$(ver_cut 2)"
[[ $(( ${MY_PV_2} % 2 )) -eq 0 ]] && SD="stable" || SD="development"
DESCRIPTION="Tools for accessing, inspecting, and modifying virtual machine (VM) disk images"
HOMEPAGE="https://libguestfs.org/"
SRC_URI="https://download.libguestfs.org/${PN}/${MY_PV_1}-${SD}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0/${MY_PV_1}"
KEYWORDS="~amd64"
IUSE="doc +ocaml +perl test"
RESTRICT="!test? ( test )"
# Failures - doc
COMMON_DEPEND="
!<app-emulation/libguestfs-1.46.0-r1
app-arch/cpio
app-arch/lzma
app-arch/unzip[natspec]
app-arch/xz-utils
app-crypt/gnupg
>=app-emulation/libguestfs-${MY_PV_1}:=[ocaml?,perl?]
app-emulation/libvirt:=
>=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,filecaps]
dev-lang/perl:=
dev-libs/libpcre2:=
dev-libs/libxml2:2
dev-libs/jansson:=
>=sys-apps/fakechroot-2.8
sys-fs/squashfs-tools:*
sys-libs/ncurses:=
sys-libs/libxcrypt:=
virtual/libcrypt:=
ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
perl? (
virtual/perl-Data-Dumper
virtual/perl-Getopt-Long
dev-perl/Module-Build
dev-perl/libintl-perl
virtual/perl-ExtUtils-MakeMaker
>=dev-perl/Sys-Virt-0.2.4
dev-perl/String-ShellQuote
test? ( virtual/perl-Test-Simple )
)
"
# Some OCaml is always required
# bug #729674
DEPEND="${COMMON_DEPEND}
>=dev-lang/ocaml-4.03:=[ocamlopt]
dev-ml/findlib[ocamlopt]
doc? ( app-text/po4a )
ocaml? (
dev-ml/ounit2[ocamlopt]
|| (
<dev-ml/ocaml-gettext-0.4.2
dev-ml/ocaml-gettext-stub[ocamlopt]
)
)
"
BDEPEND="virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}
app-emulation/libguestfs-appliance
"
DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
#PATCHES=(
# "${FILESDIR}"/${MY_PV_1}/
#)
pkg_setup() {
CONFIG_CHECK="~KVM ~VIRTIO"
[[ -n "${CONFIG_CHECK}" ]] && check_extra_config
}
src_configure() {
# bug #794877
tc-export AR
if use test ; then
# Skip Bash test
# (See 13-test-suite.log in linked bug)
# bug #794874
export SKIP_TEST_COMPLETE_IN_SCRIPT_SH=1
# This test requires libvirt support in libguestfs and it makes
# no difference at runtime. Just gracefully skip it to make life
# easier for e.g. arch testing.
if ! has_version 'app-emulation/libguestfs[libvirt]' ; then
export SKIP_TEST_VIRT_ALIGNMENT_SCAN_GUESTS_SH=1
fi
# Needed for the inspector tests. Provided by libguestfs-appliance.
#export LIBGUESTFS_PATH="${BROOT}"/usr/share/guestfs/appliance/
# But the inspector tests seem fragile anyway...
export SKIP_TEST_VIRT_INSPECTOR_LUKS_SH=1
export SKIP_TEST_VIRT_INSPECTOR_SH=1
fi
# Disable feature test for kvm for more reason
# i.e: not loaded module in __build__ time,
# build server not supported kvm, etc. ...
#
# In fact, this feature is virtio support and requires
# configured kernel.
export vmchannel_test=no
# Give a nudge to help find libxcrypt[-system]
# We have a := dep on virtual/libcrypt to ensure this
# doesn't become stale.
# bug #703118, bug #789354
if ! has_version 'sys-libs/libxcrypt[system]' ; then
append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)/xcrypt"
append-ldflags "-Wl,-R${ESYSROOT}/usr/$(get_libdir)/xcrypt"
fi
econf \
$(usex doc '' PO4A=no) \
$(use_enable ocaml) \
$(use_enable perl)
}
src_install() {
strip-linguas -i po
emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
find "${ED}" -name '*.la' -delete || die
if use perl ; then
perl_delete_localpod
fi
}
pkg_postinst() {
if ! use ocaml ; then
einfo "OCaml based tools and bindings (virt-resize, virt-sparsify, virt-sysprep, ...) NOT installed"
fi
if ! use perl ; then
einfo "Perl based tools NOT built"
fi
}

@ -55,7 +55,8 @@ COMMON_DEPEND="
"
# Some OCaml is always required
# bug #729674
DEPEND="${COMMON_DEPEND}
DEPEND="
${COMMON_DEPEND}
>=dev-lang/ocaml-4.03:=[ocamlopt]
dev-ml/findlib[ocamlopt]
doc? ( app-text/po4a )
@ -67,8 +68,13 @@ DEPEND="${COMMON_DEPEND}
)
)
"
BDEPEND="virtual/pkgconfig"
RDEPEND="${COMMON_DEPEND}
BDEPEND="
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
"
RDEPEND="
${COMMON_DEPEND}
app-emulation/libguestfs-appliance
"
@ -87,6 +93,9 @@ src_configure() {
# bug #794877
tc-export AR
# Needs both bison+flex (bug #915339, see configure too)
unset YACC LEX
if use test ; then
# Skip Bash test
# (See 13-test-suite.log in linked bug)

@ -1,2 +1 @@
DIST libguestfs-1.48.4.tar.gz 19189712 BLAKE2B 50a11254c21903caa62b40b43e3ab3cc9e740dd0c690055c245391d0a980279a897e727f0ff5b063b197b91a1e6fdadc08e257d5cd4ce3df254e5c42abc32ee3 SHA512 76b942de88fa6fb48db667054a2c4fc23dd17b0a6083cddd51f1a77fdac24c0c7acd6be5234ada955b4afa94b0d8023aab50aa152465a6bc65f0e21d4195d50c
DIST libguestfs-1.48.6.tar.gz 19179600 BLAKE2B 22359ed4b55e29f985dbbbc4f0337eaec32f21a1413bd778656c3f0270891bec520a0b9590e104836eaf9367aeb9ac681b0bf85852fb7a2059da3f7062bc5111 SHA512 7d929db183fbb1d4d1c9159f28871ab4f1bd0be5b3d9fbc5137271666f50c067fd0906674cb1a52c1e070c11a18da4d2aa11bc64ddabda5cac54e72252c6abf2

@ -1,244 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# Bump with app-emulation/guestfs-tools and app-emulation/libguestfs-appliance (if any new release there)
LUA_COMPAT=( lua5-1 )
PYTHON_COMPAT=( python3_{9..11} )
inherit autotools flag-o-matic linux-info lua-single perl-functions python-single-r1 strip-linguas toolchain-funcs
MY_PV_1="$(ver_cut 1-2)"
MY_PV_2="$(ver_cut 2)"
[[ $(( ${MY_PV_2} % 2 )) -eq 0 ]] && SD="stable" || SD="development"
DESCRIPTION="Tools for accessing, inspecting, and modifying virtual machine (VM) disk images"
HOMEPAGE="https://libguestfs.org/"
SRC_URI="https://download.libguestfs.org/${MY_PV_1}-${SD}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0/${MY_PV_1}"
KEYWORDS="~amd64 ~x86"
IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua +ocaml +perl python ruby selinux static-libs systemtap test"
RESTRICT="!test? ( test )"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )"
# Failures - doc
COMMON_DEPEND="
>=app-admin/augeas-1.8.0
app-arch/cpio
app-arch/lzma
app-arch/rpm
app-arch/unzip[natspec]
app-arch/xz-utils
app-forensics/yara
app-cdr/cdrtools
app-crypt/gnupg
>=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps]
>=app-misc/hivex-1.3.1
dev-lang/perl:=
dev-libs/libconfig:=
dev-libs/libpcre2
dev-libs/libxml2:2=
dev-libs/jansson:=
>=dev-libs/yajl-2.0.4
net-libs/libtirpc:=
sys-libs/ncurses:0=
>=sys-apps/fakechroot-2.8
sys-apps/fakeroot
sys-apps/file
sys-devel/gettext
sys-fs/squashfs-tools:*
sys-libs/libcap
sys-libs/readline:=
virtual/acl
virtual/libcrypt:=
erlang? ( dev-lang/erlang )
perl? (
virtual/perl-ExtUtils-MakeMaker
>=dev-perl/Sys-Virt-0.2.4
virtual/perl-Getopt-Long
virtual/perl-Data-Dumper
dev-perl/libintl-perl
>=app-misc/hivex-1.3.1[perl?]
dev-perl/String-ShellQuote
)
python? ( ${PYTHON_DEPS} )
fuse? ( sys-fs/fuse:= )
gtk? (
sys-apps/dbus
x11-libs/gtk+:3
)
introspection? (
>=dev-libs/glib-2.26:2
>=dev-libs/gobject-introspection-1.30.0:=
)
inspect-icons? (
media-libs/netpbm
media-gfx/icoutils
)
libvirt? ( app-emulation/libvirt )
lua? ( ${LUA_DEPS} )
ocaml? ( >=dev-lang/ocaml-4.03:=[ocamlopt] )
selinux? (
sys-libs/libselinux:=
sys-libs/libsemanage
)
systemtap? ( dev-util/systemtap )
"
# Some OCaml is always required
# bug #729674
DEPEND="${COMMON_DEPEND}
>=dev-lang/ocaml-4.03:=[ocamlopt]
dev-util/gperf
dev-ml/findlib[ocamlopt]
doc? ( app-text/po4a )
ocaml? (
dev-ml/ounit2[ocamlopt]
|| (
<dev-ml/ocaml-gettext-0.4.2
dev-ml/ocaml-gettext-stub[ocamlopt]
)
)
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
test? ( introspection? ( dev-libs/gjs ) )
"
RDEPEND="${COMMON_DEPEND}
app-emulation/libguestfs-appliance
acct-group/kvm
"
# Upstream build scripts compile and install Lua bindings for the ABI version
# obtained by running 'lua' on the build host
BDEPEND="
virtual/pkgconfig
lua? ( ${LUA_DEPS} )
"
DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
PATCHES=(
#"${FILESDIR}"/${MY_PV_1}/
#"${FILESDIR}"/1.44/
)
pkg_setup() {
CONFIG_CHECK="~KVM ~VIRTIO"
[[ -n "${CONFIG_CHECK}" ]] && check_extra_config
use lua && lua-single_pkg_setup
use python && python-single-r1_pkg_setup
}
src_prepare() {
default
eautoreconf
}
src_configure() {
# bug #794877
tc-export AR
# Skip Bash test
# (See 13-test-suite.log in linked bug)
# bug #794874
export SKIP_TEST_COMPLETE_IN_SCRIPT_SH=1
# Need to investigate (fails w/ 1.48.4)
export SKIP_TEST_QEMU_DRIVE_SH=1
export SKIP_TEST_BIG_HEAP=1
export SKIP_TEST_NOEXEC_STACK_PL=1
# Need to be in KVM group
export SKIP_TEST_MOUNTABLE_INSPECT_SH=1
# Missing test data (Fedora image)
export SKIP_TEST_JOURNAL_PL=1
# Disable feature test for kvm for more reason
# i.e: not loaded module in __build__ time,
# build server not supported kvm, etc. ...
#
# In fact, this feature is virtio support and requires
# configured kernel.
export vmchannel_test=no
# Give a nudge to help find libxcrypt[-system]
# We have a := dep on virtual/libcrypt to ensure this doesn't become stale.
# bug #703118, bug #789354
if ! has_version 'sys-libs/libxcrypt[system]' ; then
append-ldflags "-L${ESYSROOT}/usr/$(get_libdir)/xcrypt"
append-ldflags "-Wl,-R${ESYSROOT}/usr/$(get_libdir)/xcrypt"
fi
# Avoid automagic SELinux dependency
export ac_cv_header_selinux_selinux_h=$(usex selinux)
# Test suite at least has a bunch of bashisms
SHELL="${BROOT}"/bin/bash CONFIG_SHELL="${BROOT}"/bin/bash econf \
--disable-appliance \
--disable-daemon \
--disable-haskell \
--disable-golang \
--disable-rust \
--disable-php \
--without-java \
--with-extra="-gentoo" \
--with-readline \
$(usex doc '' PO4A=no) \
$(use_enable ocaml) \
$(use_enable erlang) \
$(use_enable fuse) \
$(use_enable introspection gobject) \
$(use_enable introspection) \
$(use_with libvirt) \
$(use_enable lua) \
$(use_enable python) \
$(use_enable perl) \
$(use_enable ruby) \
$(use_enable static-libs static) \
$(use_enable systemtap probes)
}
src_test() {
local -x LIBGUESTFS_DEBUG=1
local -x LIBGUESTFS_TRACE=1
local -x LIBVIRT_DEBUG=1
# Try this?
#emake quickcheck
default
}
src_install() {
strip-linguas -i po
emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
find "${ED}" -name '*.la' -delete || die
if use perl ; then
perl_delete_localpod
# Workaround Build.PL for now
doman "${ED}"/usr/man/man3/Sys::Guestfs.3pm
rm -rf "${ED}"/usr/man || die
fi
use python && python_optimize
}
pkg_postinst() {
einfo "Please ensure you are in the 'kvm' group for decent performance!"
if ! use gtk ; then
einfo "virt-p2v NOT installed"
fi
einfo "Note that common tools like virt-resize are now part of app-emulation/guestfs-tools"
}

@ -6,7 +6,7 @@ EAPI=8
# Bump with app-emulation/guestfs-tools and app-emulation/libguestfs-appliance (if any new release there)
LUA_COMPAT=( lua5-1 )
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..11} )
inherit autotools flag-o-matic linux-info lua-single perl-functions python-single-r1 strip-linguas toolchain-funcs
@ -24,8 +24,10 @@ KEYWORDS="amd64 ~x86"
IUSE="doc erlang +fuse gtk inspect-icons introspection libvirt lua +ocaml +perl python ruby selinux static-libs systemtap test"
RESTRICT="!test? ( test )"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )"
REQUIRED_USE="
lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )
"
# Failures - doc
COMMON_DEPEND="
@ -92,7 +94,8 @@ COMMON_DEPEND="
"
# Some OCaml is always required
# bug #729674
DEPEND="${COMMON_DEPEND}
DEPEND="
${COMMON_DEPEND}
>=dev-lang/ocaml-4.03:=[ocamlopt]
dev-util/gperf
dev-ml/findlib[ocamlopt]
@ -107,14 +110,16 @@ DEPEND="${COMMON_DEPEND}
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
test? ( introspection? ( dev-libs/gjs ) )
"
RDEPEND="${COMMON_DEPEND}
RDEPEND="
${COMMON_DEPEND}
app-emulation/libguestfs-appliance
acct-group/kvm
"
# Upstream build scripts compile and install Lua bindings for the ABI version
# obtained by running 'lua' on the build host
BDEPEND="
app-alternatives/yacc
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
lua? ( ${LUA_DEPS} )
"
@ -144,6 +149,9 @@ src_configure() {
# bug #794877
tc-export AR
# Needs both bison+flex (bug #915339, see configure too)
unset LEX YACC
# Skip Bash test
# (See 13-test-suite.log in linked bug)
# bug #794874

Binary file not shown.

@ -1,23 +1,20 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
DESCRIPTION="Manages the /usr/bin/chuck symlink"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/chuck.eselect-${PVR}.bz2"
SRC_URI="mirror://gentoo/chuck.eselect-${PV}.bz2"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=app-admin/eselect-1.2.3"
DEPEND="!<=media-sound/chuck-1.2.1.2"
S=${WORKDIR}
RDEPEND="app-admin/eselect"
src_install() {
insinto /usr/share/eselect/modules
newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect
newins "${WORKDIR}"/chuck.eselect-${PV} chuck.eselect
}

@ -9,7 +9,7 @@ SRC_URI="https://gitlab.gentoo.org/dotnet/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64"
KEYWORDS="amd64 ~arm ~arm64"
RDEPEND="app-admin/eselect"

@ -1 +1,2 @@
DIST eselect-rails-0.26.tar.xz 1580 BLAKE2B 2440c57c853ed9cb99d1dd4cb5d6b72adcc5cd5e5c66f7b2b34b298152e8349c4e178645eb185ab771f5459e379465efa03ca4f42eb5ce50ff0305a4610b8270 SHA512 e7b064d00ca9d32e7fa2a837be0d247c2a109dfc7f8458e6ad96d3d685d1f7972fe64e34cf0c0b16c1ee20e91005f92bee46c98f3418c28c02ed0df234d954c9
DIST eselect-rails-0.27.tar.xz 1584 BLAKE2B 88e14963cf0afe7c708bd9f7a812fbe398e7fe06a5a964a50a2f9337c6ccea396ec55b139395e22ee093993be490bcb65bcde5d98c282ff3eca8eb0837e4a06d SHA512 11a4401a708ef069c4d280106c11e43bc0fd5460df6fadff12dc2e266ca0c0ef04587fd97d6feeb822636edcc2db0bb94b981a5fac15e96bb8ef5abcf8bd6ee6

@ -0,0 +1,29 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Manages Ruby on Rails symlinks"
HOMEPAGE="https://gitweb.gentoo.org/proj/ruby-scripts.git/tree/eselect-rails"
SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE=""
RDEPEND=">=app-admin/eselect-1.2.0"
S=${WORKDIR}
src_prepare() {
default
# Fix/Add Prefix support
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
}
src_install() {
insinto /usr/share/eselect/modules
doins *.eselect
}

@ -1,3 +1,2 @@
DIST ruby.eselect-20220313.xz 2008 BLAKE2B aeeb70228ccaf163359cff4ba09e9417df7896f63748821b447b08f6fc57cfc760963ee231c82a03b33f24e01492d9305a68f29d00cd45d29d37e8ee4fb92afe SHA512 542ddb796b93e4b954f5fcfbc49e06b41218e1def73078b14c4d6505227bf08dc7fec20b11042058149af4939fd341c20bfc0c9dd13900a33d12f02ff761412f
DIST ruby.eselect-20221225.xz 2012 BLAKE2B 6f4f3543f98d72a1cc3890bf3fe25d4a50935ff6dc050fdcd7e4d53d9b3d04ab619b61c103f2200919e4405adaffca7d7004aed4c0f1be7136ef2535dcbd881d SHA512 e064d215b0cfd5ee60d0b4d5bbb16cce12a070d734277fbd760e4da287120f285951a7140e378970b90204f872827ab115b683f9fbba2ba6819f08694b848d55
DIST ruby.eselect-20230616.xz 1976 BLAKE2B 6f31e517a23672300032e9e5bd9edb3d6601b2b23c4a8997d436815d39d91218791b0d4ce172bcc45bf1ef3b4155580939823f7d061e804928a307320323a6ef SHA512 e2b5d30932914282749ddf31d85c8776240ead3a49f93d39c9833a4bc31beb6b53867bf0b86e575d4b88b7adf5aea709d9adb60b4436e3839ebd1c3a6c384111
DIST ruby.eselect-20231008.xz 1972 BLAKE2B 94676df0817b77944907b399c27cdca4fea494a478f00ef646f5fb52fa023115e683a88fd27c68129a635740957a2e77a5de9ee5059310458864e8712c6be627 SHA512 28d0a99648191822203e94522d8bcca287f45ad839db2d1574e8a2d7ffd76f00308e87c21ddd54140679f00657e64746e5c0d0e69c8772383e0aec948c2a022f

@ -1,22 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Manages multiple Ruby versions"
HOMEPAGE="https://wiki.gentoo.org/wiki/Ruby"
SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE=""
RDEPEND=">=app-admin/eselect-1.0.2"
S=${WORKDIR}
src_install() {
insinto /usr/share/eselect/modules
newins "${WORKDIR}/ruby.eselect-${PVR}" ruby.eselect
}

@ -9,7 +9,7 @@ SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/ruby.eselect-${PVR}.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE=""
RDEPEND=">=app-admin/eselect-1.0.2"

Binary file not shown.

@ -1,33 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit autotools
DESCRIPTION="Digital Forensics XML"
HOMEPAGE="https://github.com/simsong/dfxml"
SRC_URI="https://api.github.com/repos/simsong/${PN}/tarball/7d11eaa7da8d31f588ce8aecb4b4f5e7e8169ba6 -> ${P}.tar.gz"
S="${WORKDIR}/${P}/src"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-libs/expat
"
RDEPEND="
${DEPEND}
"
S=${WORKDIR}/${P}/src
DEPEND="dev-libs/expat:="
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
default
mv simsong-dfxml-* ${P} || die
}
src_prepare() {
default
eautoreconf
}

@ -1,28 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools git-r3
DESCRIPTION="Digital Forensics XML"
HOMEPAGE="https://github.com/simsong/dfxml"
EGIT_REPO_URI="https://github.com/simsong/dfxml"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
DEPEND="
dev-libs/expat
"
RDEPEND="
${DEPEND}
"
S=${WORKDIR}/${P}/src
src_prepare() {
default
eautoreconf
}

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>netmon@gentoo.org</email>
</maintainer>
<maintainer type="project">
<email>netmon@gentoo.org</email>
</maintainer>
</pkgmetadata>

@ -0,0 +1,19 @@
--- a/mac-robber.c
+++ b/mac-robber.c
@@ -45,6 +45,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -238,7 +239,7 @@
/* Make a buffer for the full path
* the 2 is for 1 NULL and 1 '/' for recursive directories
*/
- path_len = dir_len + MAXNAMLEN + 2;
+ path_len = dir_len + NAME_MAX + 2;
if (!(curpath = (char *) malloc(path_len))) {
printf("error allocating space for curpath\n");
exit(1);

@ -1,7 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
@ -12,18 +12,24 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
PATCHES=( "${FILESDIR}"/${P}-posix.patch )
src_prepare() {
default
sed -i -e 's:$(GCC_CFLAGS):\0 $(LDFLAGS):' Makefile || die
# just rely on implicit rules
rm Makefile || die
}
src_configure() {
tc-export CC
}
src_compile() {
emake CC="$(tc-getCC)" GCC_OPT="${CFLAGS}"
emake mac-robber
}
src_install() {
dobin mac-robber
dodoc CHANGES README
einstalldocs
}

Binary file not shown.

@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=8
inherit toolchain-funcs
@ -14,25 +14,30 @@ SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
src_prepare() {
eapply "${FILESDIR}"/${PV}-ldflags.patch
default
# just rely on implicit rules
rm Makefile || die
}
src_configure() {
tc-export CC
}
src_compile() {
emake color
}
src_install() {
dobin color
dodoc CHANGELOG README
# symlink for british users.
dosym color /usr/bin/colour
einstalldocs
}
pkg_postinst() {
elog "For information on using colour in your shell scripts,"
elog "run \`color\` without any arguments."
elog "run 'color' without any arguments."
elog
elog "To see all the colours available, use this command"
elog " $ color --list"
elog
elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}."
elog "More examples are available in ${EROOT}/usr/share/doc/${PF}."
}

@ -1,23 +0,0 @@
diff --git a/Makefile b/Makefile
index 79c5b33..452e091 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC = cc
+CC ?= cc
#CFLAGS = -W -Wall -O2 -g
INCLUDE = $(wildcard *.h)
OBJS = color.o
@@ -6,8 +6,11 @@ EXE = color
all: $(EXE)
+OBJS: color.c
+ $(CC) $(CFLAGS) -c $^ $@
+
$(EXE): $(OBJS)
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(LDFLAGS) -o $@ $^
install: all
cp $(EXE) /usr/local/bin

@ -1,2 +1,2 @@
DIST gnote-44.1.tar.xz 3330072 BLAKE2B ff86fa34bdfff61eceb25abef1c73377f888082e70e539172849bf9425eada1c11000c1a75f69eb74fdbc2fc6d45ad3c58c843bf769279a026dd5298a07abc68 SHA512 89364d161d6ecc11822b89dec0353d0e20bc08d883573f324e4980ff2420361ddeb326213eb668fba4ce8de7d5d9668a1a058666ad2b81658ef94f8a65b87363
DIST gnote-45.rc.tar.xz 3273864 BLAKE2B 8ab5340e0659c4119c279dd1130fd1a591dd496c8eb96cbfe8171f02192a86a5a3cf6b8c075fd195373885271585c1e6ece1af8fdeb0b75442ddc911b29a7b6f SHA512 cb7b8b47ee724f206258b2dd72fb79c5da45c1f3bd1eca754adc57e8f6f9620a98c56d96867ed455511b78d6dac0d6ecac6968bb29e1964aeac233ff191c6072
DIST gnote-45.0.tar.xz 3247716 BLAKE2B d3a31be5d9e84aaee4af5d22733e4bc14aaf844e31d488cbe9fb8d0b516815a3db5af00052a2a44c9cc07e2397a73b23cb036933c9b795caf54d1a156e0d16b9 SHA512 d06c128238d4f29d5bc0fb3bf3b1473000df5a4d860406ad0680b159cfacae259dd6dfbf6984e8772c3bcf485776e5ca423436f964c260594862949dcda2ea88

@ -17,7 +17,9 @@ fi
LICENSE="MIT"
SLOT="0"
DEPEND="dev-libs/libjodycode"
# Please keep a careful eye on the minimum libjoycode version! (Just pick
# latest released at the time if necessary.)
DEPEND=">=dev-libs/libjodycode-3.0"
RDEPEND="${DEPEND}"
IUSE="+dedupe hardened"

@ -17,7 +17,9 @@ fi
LICENSE="MIT"
SLOT="0"
DEPEND="dev-libs/libjodycode"
# Please keep a careful eye on the minimum libjoycode version! (Just pick
# latest released at the time if necessary.)
DEPEND=">=dev-libs/libjodycode-3.0"
RDEPEND="${DEPEND}"
IUSE="+dedupe lowmem hardened"

@ -1 +1,2 @@
DIST nnn-4.8.tar.gz 253547 BLAKE2B 36e6e1dc39bfbce7fa72fd322339395fa78a410c93043860be845ff3d5be3178fd37966f57da17f115cab8a6973462d44243052a6c736665ef9a180cd9fd6978 SHA512 932e27ec1d7cd3db6ccba33edb3d1ad2620109cde3c4114b734eef3e04d6c6c22ddaa1c4727908dba2a107dd4cfe1f5193aec450f680a390671f48e63d0133bd
DIST nnn-4.9.tar.gz 255144 BLAKE2B 3ad257f931dee7803c44f9f4db478a8de0c898a2d8e818457aeb00dcc7936a0a1f51ce3c199a1421a014d197c7f9d2f17bccccbc985b93d78e5994b9cc707c94 SHA512 3c16ed1cbc5466b05306e38c6f5d8eb7ade9cf5ad766f9ff3bf7d20d5bfb9bdf1564527e27191e2cd85542c25245f338e1236630de3d1c8e5fbd10d54d628a14

@ -0,0 +1,29 @@
diff --git a/patches/colemak/mainline.diff b/patches/colemak/mainline.diff
index 09cdfe61..387fde0c 100644
--- a/patches/colemak/mainline.diff
+++ b/patches/colemak/mainline.diff
@@ -3,10 +3,10 @@
#
# Author: github.com/jacmoe
diff --git a/src/nnn.c b/src/nnn.c
-index ecedee43..fdf5a80e 100644
+index 21a7370b..2ddb4053 100644
--- a/src/nnn.c
+++ b/src/nnn.c
-@@ -5098,32 +5098,32 @@ static void show_help(const char *path)
+@@ -5109,12 +5109,12 @@ static void show_help(const char *path)
"2(___n))\n"
"0\n"
"1NAVIGATION\n"
@@ -23,8 +23,9 @@ index ecedee43..fdf5a80e 100644
+ "9G ^N End%20^J Toggle auto-advance on open\n"
"8B (,) Book(mark)%11b ^/ Select bookmark\n"
"a1-4 Context%11(Sh)Tab Cycle/new context\n"
- "62Esc ^Q Quit%20q Quit context\n"
- "b^G QuitCD%18Q Pick/err, quit\n"
+ "62Esc ^Q Quit%19^y Next young\n"
+@@ -5122,20 +5122,20 @@ static void show_help(const char *path)
+ "cq Quit context\n"
"0\n"
"1FILTER & PROMPT\n"
- "c/ Filter%17^N Toggle type-to-nav\n"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save