Sync with portage [Tue Mar 21 08:28:10 MSK 2023].

master 2407
root 1 year ago
parent 452b19df05
commit 2ae70fe7a4

Binary file not shown.

Binary file not shown.

@ -64,6 +64,10 @@ RDEPEND="${COMMON_DEPEND}
upower? ( sys-power/upower )
"
PATCHES=(
"${FILESDIR}/${P}-ldflags.patch"
)
src_prepare() {
ecm_src_prepare
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \

@ -0,0 +1,118 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_TEST="true"
PYTHON_COMPAT=( python3_{9..11} )
inherit ecm python-single-r1
DESCRIPTION="Distribution-independent installer framework"
HOMEPAGE="https://calamares.io"
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="5"
KEYWORDS="~amd64"
IUSE="+networkmanager +upower"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
BDEPEND="
dev-qt/linguist-tools:5
"
COMMON_DEPEND="${PYTHON_DEPS}
dev-cpp/yaml-cpp:=
$(python_gen_cond_dep '
dev-libs/boost:=[python,${PYTHON_USEDEP}]
dev-libs/libpwquality[${PYTHON_USEDEP}]
')
dev-qt/qtconcurrent:5
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtsvg:5
dev-qt/qtwebengine:5[widgets]
dev-qt/qtwidgets:5
dev-qt/qtxml:5
kde-frameworks/kconfig:5
kde-frameworks/kcoreaddons:5
kde-frameworks/kcrash:5
kde-frameworks/kpackage:5
kde-frameworks/kparts:5
kde-frameworks/kservice:5
sys-apps/dbus
sys-apps/dmidecode
sys-auth/polkit-qt
>=sys-libs/kpmcore-4.0.0:5=
virtual/libcrypt:=
"
DEPEND="${COMMON_DEPEND}
test? ( dev-qt/qttest:5 )
"
RDEPEND="${COMMON_DEPEND}
app-admin/sudo
dev-libs/libatasmart
net-misc/rsync
|| ( sys-boot/grub:2 sys-boot/systemd-boot )
sys-boot/os-prober
sys-fs/squashfs-tools
sys-libs/timezone-data
virtual/udev
networkmanager? ( net-misc/networkmanager )
upower? ( sys-power/upower )
"
PATCHES=(
"${FILESDIR}/${P}-ldflags.patch"
)
src_prepare() {
ecm_src_prepare
export PYTHON_INCLUDE_DIRS="$(python_get_includedir)" \
PYTHON_INCLUDE_PATH="$(python_get_library_path)"\
PYTHON_CFLAGS="$(python_get_CFLAGS)"\
PYTHON_LIBS="$(python_get_LIBS)"
sed -i -e 's:pkexec /usr/bin/calamares:calamares-pkexec:' \
calamares.desktop || die
sed -i -e 's:Icon=calamares:Icon=drive-harddisk:' \
calamares.desktop || die
}
src_configure() {
local mycmakeargs=(
-DINSTALL_CONFIG=ON
-DWEBVIEW_FORCE_WEBKIT=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_LIBPARTED=ON
-DWITH_PYTHONQT=OFF
)
ecm_src_configure
}
src_test() {
local myctestargs=(
# Skipped tests:
# load-dracut: tries and fails to find Dracut config
# libcalamaresnetworktest: needs network
# libcalamaresutilstest: inspects /tmp (expects namespace?)
#
# Need investigation:
# test_libcalamaresuipaste
# validate-netinstall
# validate-services-systemd
# localetest
# machineidtest
# packagechoosertest
-E "(load-dracut|libcalamaresnetworktest|libcalamaresutilstest|test_libcalamaresuipaste|validate-netinstall|validate-services-systemd|localetest|machineidtest|packagechoosertest)"
)
cmake_src_test
}
src_install() {
ecm_src_install
dobin "${FILESDIR}"/calamares-pkexec
}

@ -0,0 +1,14 @@
From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Bug: https://bugs.gentoo.org/865281
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -203,7 +203,7 @@ set( CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG" )
set( CMAKE_C_FLAGS_RELEASE "-O4 -DNDEBUG" )
set( CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g" )
-set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -Wl,--fatal-warnings" )
+set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined -Wl,--fatal-warnings ${CMAKE_SHARED_LINKER_FLAGS}" )
if( CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
message( STATUS "Found Clang ${CMAKE_CXX_COMPILER_VERSION}, setting up Clang-specific compiler flags." )

@ -1,3 +1,4 @@
DIST conky-1.13.1.tar.gz 2443276 BLAKE2B e51610172e830d0368e8c9a48ea056285efe48275364c4d0c973da6467ea044303d75f94cc0b963c3b423a7ec61d8eff26da30c102c557ccd5a4e8cf984db4f6 SHA512 3ee0e14f6ff2bac39404c272790055ac1106f47a00e8298da909a0febf6de0661486e8ce23f34e8c5050e364168b2efcefd0b28736cbd0bc135e1362f0dc5516
DIST conky-1.17.0.tar.gz 1699311 BLAKE2B 9aead9e1e9bf4bf61c1b3e09c6e319135ccce19c43740c1bb3c6142c936c2a045820078f4684ea037fc26a8b02343e11b5372f74258fdf2c5386459410498cc9 SHA512 4da55ba3835e8ff42747f2bc01c34a94b2819e08eb74ddb913fd34bf4b682d75331119745ee006d842d3d2142fc53eeada16afdf698a60f37b566f55896aa2db
DIST conky-1.18.1.tar.gz 1703018 BLAKE2B ba3c0f9624bfcf229de4376a9446ad05285db4241d1caf4a7a8ac92971f57d022192504c9831a786e3c02db140d70f10cf34d7e146c8647cb2a2b923e6acc2cc SHA512 e390d2aa8a3f3b570b2e3dc43ef71ff0001e36f3b42ce5a9c01b8dca656a23b1af80ee2ee138f38b12b4581dd03711562445fb53e23ca0f26e8b8af878aa2ba1
DIST conky-1.18.3.tar.gz 1710600 BLAKE2B 5664c504bab8ddda14e4442fce3c4bda70033b8b1efb0642901f154306adee300673756a776e304a151214fc9a3d7dd8277336ffd13305ff1d86c4d65819cfb4 SHA512 702932bad88265619cb6de60b2fe86e834e7828343f31e966df1838c6742d5da2998aab71704bb22e4b0bdc3d05e3c082c9ab6231124b310e8c14c89bd80ad52

@ -38,7 +38,6 @@ COMMON_DEPEND="
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
wayland? (
dev-libs/wayland
dev-libs/wayland-protocols
x11-libs/pango
)
wifi? ( net-wireless/wireless-tools )
@ -66,6 +65,9 @@ RDEPEND="
"
DEPEND="
${COMMON_DEPEND}
wayland? (
dev-libs/wayland-protocols
)
"
BDEPEND="
doc? (

@ -0,0 +1,224 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-4 )
PYTHON_COMPAT=( python{3_9,3_10,3_11} )
inherit cmake linux-info lua-single python-any-r1 readme.gentoo-r1 xdg
DESCRIPTION="An advanced, highly configurable system monitor for X"
HOMEPAGE="https://github.com/brndnmtthws/conky"
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="apcupsd bundled-toluapp cmus curl doc extras hddtemp ical iconv imlib
intel-backlight iostats irc lua-cairo lua-imlib lua-rsvg math moc mpd
mysql ncurses nvidia +portmon pulseaudio rss systemd thinkpad truetype
wayland webserver wifi X xinerama xmms2"
COMMON_DEPEND="
curl? ( net-misc/curl )
ical? ( dev-libs/libical:= )
iconv? ( virtual/libiconv )
imlib? ( media-libs/imlib2[X] )
irc? ( net-libs/libircclient )
lua-cairo? ( x11-libs/cairo[X] )
lua-imlib? ( media-libs/imlib2[X] )
lua-rsvg? ( gnome-base/librsvg )
mysql? ( dev-db/mysql-connector-c )
ncurses? ( sys-libs/ncurses:= )
nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
pulseaudio? ( media-libs/libpulse )
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 )
systemd? ( sys-apps/systemd )
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
wayland? (
dev-libs/wayland
x11-libs/pango
)
wifi? ( net-wireless/wireless-tools )
webserver? ( net-libs/libmicrohttpd )
X? (
x11-libs/libX11
x11-libs/libXdamage
x11-libs/libXfixes
x11-libs/libXext
)
xinerama? ( x11-libs/libXinerama )
xmms2? ( media-sound/xmms2 )
${LUA_DEPS}
"
RDEPEND="
${COMMON_DEPEND}
apcupsd? ( sys-power/apcupsd )
cmus? ( media-sound/cmus )
hddtemp? ( app-admin/hddtemp )
moc? ( media-sound/moc )
extras? (
app-editors/nano
|| ( app-editors/vim app-editors/gvim )
)
"
DEPEND="
${COMMON_DEPEND}
wayland? (
dev-libs/wayland-protocols
)
"
BDEPEND="
doc? (
virtual/pandoc
$(python_gen_any_dep '
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
')
)
extras? (
$(python_gen_any_dep '
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/jinja[${PYTHON_USEDEP}]
')
)
wayland? ( dev-util/wayland-scanner )
"
python_check_deps() {
use doc || use extras || return 0
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/jinja[${PYTHON_USEDEP}]"
}
REQUIRED_USE="
imlib? ( X )
lua-cairo? ( X bundled-toluapp )
lua-imlib? ( X bundled-toluapp )
lua-rsvg? ( X bundled-toluapp )
nvidia? ( X )
truetype? ( X )
xinerama? ( X )
"
CONFIG_CHECK="~IPV6"
DOCS=( README.md AUTHORS )
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You can find sample configurations at ${ROOT}/usr/share/doc/${PF}.
To customize, copy to \${XDG_CONFIG_HOME}/conky/conky.conf and edit it to your liking.
There are pretty html docs available at https://conky.cc/.
Also see https://github.com/brndnmtthws/conky/wiki or https://wiki.gentoo.org/wiki/Conky"
pkg_setup() {
linux-info_pkg_setup
lua-single_pkg_setup
if use doc || use extras; then
python-any-r1_pkg_setup
fi
}
src_prepare() {
# pin lua 5.4
sed -i -e 's|Lua "5.3" REQUIRED|Lua "5.4" EXACT|g' \
cmake/ConkyPlatformChecks.cmake || die "ConkyPlatformChecks.cmake"
cmake_src_prepare
xdg_environment_reset
}
src_configure() {
local mycmakeargs=()
if use X; then
mycmakeargs+=(
-DBUILD_ARGB=yes
-DBUILD_X11=yes
-DBUILD_XDAMAGE=yes
-DBUILD_XDBE=yes
-DBUILD_XSHAPE=yes
-DBUILD_MOUSE_EVENTS=yes
-DOWN_WINDOW=yes
)
else
mycmakeargs+=(
-DBUILD_X11=no
)
fi
mycmakeargs+=(
-DBUILD_APCUPSD=$(usex apcupsd)
-DBUILD_AUDACIOUS=no
-DBUILD_BUILTIN_CONFIG=yes
-DBUILD_CMUS=$(usex cmus)
-DBUILD_CURL=$(usex curl)
-DBUILD_DOCS=$(usex doc)
-DBUILD_EXTRAS=$(usex extras)
-DBUILD_HDDTEMP=$(usex hddtemp)
-DBUILD_HTTP=$(usex webserver)
-DBUILD_I18N=yes
-DBUILD_IBM=$(usex thinkpad)
-DBUILD_ICAL=$(usex ical)
-DBUILD_ICONV=$(usex iconv)
-DBUILD_IMLIB2=$(usex imlib)
-DBUILD_INTEL_BACKLIGHT=$(usex intel-backlight)
-DBUILD_IOSTATS=$(usex iostats)
-DBUILD_IPV6=yes
-DBUILD_IRC=$(usex irc)
-DBUILD_JOURNAL=$(usex systemd)
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
-DBUILD_MATH=$(usex math)
-DBUILD_MOC=$(usex moc)
-DBUILD_MPD=$(usex mpd)
-DBUILD_MYSQL=$(usex mysql)
-DBUILD_NCURSES=$(usex ncurses)
-DBUILD_NVIDIA=$(usex nvidia)
-DBUILD_OLD_CONFIG=yes
-DBUILD_PORT_MONITORS=$(usex portmon)
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
-DBUILD_RSS=$(usex rss)
-DBUILD_WAYLAND=$(usex wayland)
-DBUILD_WLAN=$(usex wifi)
-DBUILD_XFT=$(usex truetype)
-DBUILD_XINERAMA=$(usex xinerama)
-DBUILD_XMMS2=$(usex xmms2)
-DDOC_PATH=/usr/share/doc/${PF}
-DMAINTAINER_MODE=no
-DRELEASE=yes
)
if use doc || use extras; then
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
fi
cmake_src_configure
}
src_install() {
cmake_src_install
if use extras; then
insinto /usr/share/vim/vimfiles/ftdetect
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
insinto /usr/share/vim/vimfiles/syntax
doins "${BUILD_DIR}"/extras/vim/syntax/conkyrc.vim
insinto /usr/share/nano/
doins "${BUILD_DIR}"/extras/nano/conky.nanorc
fi
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
xdg_pkg_postinst
}

@ -1,2 +1,3 @@
DIST eselect-1.4.20.tar.xz 180272 BLAKE2B 424653d00eda45335c3aaae50f6fbf2e89486da4529f657596516352f3b7fcb9859ceb2dc5b9762a34c44fb64e645fa27c46b86453bf50be6e8ae820664a4289 SHA512 9589ed89c4d5d31f71d535886eb50da67b84dec8a13a5df081e7569efee861dede4eaa43a0bfb9930c5b95d4f334e19245cb8820a73f7361527da262da1d1fb2
DIST eselect-1.4.21.tar.xz 182780 BLAKE2B 64db8ec3655bc78ad0e40be3c83625f46c49b1cd88e881dba843f05cdc56aba4e746b5fd27ab5c6663947dacc93211a98b224d48aeccc0154e203d3929d49116 SHA512 0dfb771401af3ce5f4002ac6717b37351b3a37b0421cf292b7b5a432f4ee2cff1705a44a45f8e5b3dee73440c7b49b2b76a69fb1cfa727874dd64285d1097eb7
DIST eselect-1.4.22.tar.xz 183480 BLAKE2B 8f86bdddaf98bc075694bdf7283cbd366e0ef93635472b3bbac11fdd9765984cd82e493b16836bae66e4b2c42a9cb33ad0d2aacaaf8529b59e4898e11f172d26 SHA512 73a10278d604f462aefa099df398eec2b08aee33da69419351ff2faf1cf4c0f3de0f301d92015e52da63046fe7e2c1c388e11ac84b7deb3def505a59fa291dac

@ -0,0 +1,58 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit bash-completion-r1
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect"
SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-4.0 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc emacs vim-syntax"
DEPEND="sys-apps/sed
|| (
sys-apps/coreutils
app-misc/realpath
)"
RDEPEND="${DEPEND}
sys-apps/file
sys-libs/ncurses:0"
BDEPEND="doc? ( dev-python/docutils )"
PDEPEND="emacs? ( app-emacs/eselect-mode )
vim-syntax? ( app-vim/eselect-syntax )"
src_compile() {
emake
use doc && emake html
}
src_install() {
emake DESTDIR="${D}" install
newbashcomp misc/${PN}.bashcomp ${PN}
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
if use doc; then
docinto html
dodoc *.html doc/*.html doc/*.css
fi
# needed by news module
keepdir /var/lib/gentoo/news
if ! use prefix; then
fowners root:portage /var/lib/gentoo/news
fperms g+w /var/lib/gentoo/news
fi
}
pkg_postinst() {
# fowners in src_install doesn't work for the portage group:
# merging changes the group back to root
if ! use prefix; then
chgrp portage "${EROOT}/var/lib/gentoo/news" \
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
fi
}

Binary file not shown.

@ -13,7 +13,7 @@ SRC_URI+=" verify-sig? ( https://download.savannah.gnu.org/releases/lzip/${PN}/$
LICENSE="libstdc++" # fancy form of GPL-2+ with library exception
SLOT="0"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-antoniodiazdiaz )"

@ -1 +1,2 @@
DIST makeself-2.4.5.tar.gz 39012 BLAKE2B f79cf1c087e89c4fd09f328fb795a3f8a78ee38060dbbd1590e3dcdf22a346b0c12bf6837d1636efadb2a66f6a762308de7ee9dd2fc62a7c88d417d257c5f0f6 SHA512 1dae74586f6bd5afb526801b7ffa7fc7962ff74b0f190cdd51da93c21421864b72f5fe18090cb2ff6ad27f0907fbf3aeb5545f3f70e33dbc9e505a78505f5f90
DIST makeself-2.5.0.tar.gz 43996 BLAKE2B 60e5b7a55bd03e45d25753600ddb4e0e15f05eabc95db18f1a9da10308d018bb913ba1e8bc264c3bd828c3d229aca34fae4ab1682bf6cf59c591a6fdef186061 SHA512 cd0ce98579f00a02f9559848b39e0a6efea9df1866073d419f0b6560034cc186ed8315f8b4589e03f626b040727d9ae646bc2abaebe4f4da556b87617bdd770f

@ -0,0 +1,41 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit optfeature
DESCRIPTION="Shell script that generates a self-extractible tar.gz"
HOMEPAGE="https://makeself.io/"
SRC_URI="https://github.com/megastep/makeself/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux"
# NB: The test framework requires bashunit (which isn't a big deal), but the
# tests themselves are not of great quality. You should avoid running them
# yourself as they like to run commands like gpg against your own ~/ settings.
RESTRICT="test"
S="${WORKDIR}/${PN}-release-${PV}"
src_compile() { :; }
src_install() {
dobin makeself-header.sh makeself.sh
dosym makeself.sh /usr/bin/makeself
doman makeself.1
dodoc README.md
}
pkg_postinst() {
optfeature "bzip3 support" app-arch/bzip3
optfeature "lz4 support" app-arch/lz4
optfeature "lzop support" app-arch/lzop
optfeature "pbzip2 support" app-arch/pbzip2
optfeature "pigz support" app-arch/pigz
optfeature "zstd support" app-arch/zstd
# Also bzip2 and xz are supported but they are in @system.
}

@ -1 +1,2 @@
DIST snappy-1.1.10.tar.gz 1105312 BLAKE2B 5195335fb1883974d290e7dca2b6d928bde2b183f3f61bca9da28855b39fd9a4ee1c24014322d238d2ec94f3a3a55fd43110c88283e85865272226e11cbb4834 SHA512 3578597f1d4ec09104ce0296b825b013590351230dfe56c635081fd282ce7a13a34caf2c283ac77bd24065e2d27af6db068d1f84b98cec2fd39a0e37a0d77070
DIST snappy-1.1.9.tar.gz 1102382 BLAKE2B 926d03156168e3d4800dc17144db3de2c182c6eb9970d87a00b94fb09b67e403479a64cbed75833b83fd03173c1bb8caaf248a55627e89fe2a34456f12ff3b42 SHA512 f1f8a90f5f7f23310423574b1d8c9acb84c66ea620f3999d1060395205e5760883476837aba02f0aa913af60819e34c625d8308c18a5d7a9c4e190f35968b024

@ -14,6 +14,7 @@
other compression library; instead, it aims for very high speeds and
reasonable compression.</longdescription>
<upstream>
<remote-id type="cpe">cpe:/a:google:snappy</remote-id>
<remote-id type="github">google/snappy</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,49 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake-multilib
DESCRIPTION="A high-speed compression/decompression library by Google"
HOMEPAGE="https://github.com/google/snappy"
SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
# ${PV%%.*}.FUDGE where FUDGE is incremented if ABI is broken without a new SONAME
# Please use abidiff on bumps.
SLOT="0/${PV%%.*}.1"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 test"
RESTRICT="!test? ( test )"
DEPEND="test? ( dev-cpp/gtest )"
DOCS=( format_description.txt framing_format.txt NEWS README.md )
PATCHES=(
"${FILESDIR}/${PN}-1.1.9_external_gtest.patch"
"${FILESDIR}/${PN}-1.1.9-clang-werror.patch"
"${FILESDIR}/${PN}-1.1.9_remove-no-rtti.patch"
)
multilib_src_configure() {
local mycmakeargs=(
-DCMAKE_CXX_STANDARD=14 # Latest gtest needs -std=c++14 or newer
-DSNAPPY_BUILD_TESTS=$(usex test)
-DSNAPPY_REQUIRE_AVX=$(usex cpu_flags_x86_avx)
-DSNAPPY_REQUIRE_AVX2=$(usex cpu_flags_x86_avx2)
-DSNAPPY_BUILD_BENCHMARKS=OFF
# Options below are related to benchmarking, that we disable.
-DHAVE_LIBZ=NO
-DHAVE_LIBLZO2=NO
-DHAVE_LIBLZ4=NO
)
cmake_src_configure
}
multilib_src_test() {
# run tests directly to get verbose output
cd "${S}" || die
"${BUILD_DIR}"/snappy_unittest || die
}

@ -1,4 +1,8 @@
DIST xz-5.2.10.tar.gz 2123206 BLAKE2B fdd9e77e21ee65482401e0e43e0b291093a227d452991a9182562989b7a4388ceed30d5d54cd7f86320dcc073eb792032a49741880338a29043a8380507c4215 SHA512 c3814680fcad421efa71cf977217a62c34e3223900302a6fd7d505f310a7b338815feee2c8225b1232bd22b9e29c7dda3664e54dae2d80f816daec6adf560ca1
DIST xz-5.2.10.tar.gz.sig 566 BLAKE2B ce72730816d03084dc0d1559d6f2890b3ebe25a5e6b0720d4775ba2364762b5d1934a3a53f2255f6e68a1cdf42778d85d8b02ab30396b2addab619e95855f733 SHA512 48a0864abee6639116678afab6e8319eb2de903b381362c611fb77f9b6fc21df5f7d9783a250810f7ecc08380fb371a3a791ab55f5a343b68b9d4f9e414da403
DIST xz-5.2.11.tar.gz 2130684 BLAKE2B e513f99b2e28fa79f32747e21138cc13ab9340e95a302ac742bc6bda088465488173ea212704c4612f4059bbbc6c6a5b041332d84b999dc7df5b3fab1b1ac4e9 SHA512 8f75450380563229465420f4518fa7a60bbe6f0c9a3b580c2a9a7bf9bf380ad69209f792764115c346d89c49711478e8db42325ef9a46ccd3a6ec72292890ac8
DIST xz-5.2.11.tar.gz.sig 566 BLAKE2B 34186ea22960f508dd796736107b99e1e3884ffae683f26671f455e46e4debf87400f2d7bb64b446fb142370a8bcebc6c05dce34dcc2678a761b9401b1e23860 SHA512 036ed0f663e179057a805a41052d3e437fbfb9dbbe173c5180fbb255f5a01ac4fa2561424228f4e568e63b22802b3a4ffd88dec2ba7c41a454998ebea30bea7c
DIST xz-5.4.1.tar.gz 2528617 BLAKE2B f4dc8698fb97002aa0548107b448ab0dd8659cce506a83775930f95fd775601f7de1df44866310ac617853410a1915cd4e90ad4088b2fd56418e67b6f0fc4e98 SHA512 5cff8383a68fb88ecbb3770ec48af0ad5582e08de9dccd339e0b685aaa53447e59d6425caa3f63b54a674e5d78c20520876db547d156e6658ad4841660cba85b
DIST xz-5.4.1.tar.gz.sig 566 BLAKE2B f384bcf7ea6bd7d3af65b6b17b379b48826257f403bca0bed1b42697f88edbc38f38eaac03c5564fc466df670f40e2e7ee49974232da4eb849718e89234c224b SHA512 2e6c3bf04ceb29c1bac8fdde7aa09c4d0f96442515d797e06ea860f365fd94777630b0034b98006cf844083efea8642a0bf87b1ff56de6a58446a644b1fd3c1c
DIST xz-5.4.2.tar.gz 2799022 BLAKE2B 3c622b0823f0cbb5fbc5eaa0372fc2f0fefe0950d131417f831bce47b6d9747d145429f0649de106819331f9ae6a289c497182c7b6d1e211513308dd083a9b72 SHA512 149f980338bea3d66de1ff5994b2b236ae1773135eda68b62b009df0c9dcdf5467f8cb2c06da95a71b6556d60bd3d21f475feced34d5dfdb80ee95416a2f9737
DIST xz-5.4.2.tar.gz.sig 566 BLAKE2B 95c9c70fdd25b92095dd9691e4d9d4306a3f982becfe7bd42ca6132a76f29be2c2bc66f4fc2bda547058c18e227292f4185799eb905084fc3ab415ae867b4b1b SHA512 30e965c228ed3a8ecb804db8eb11703a765b7ee934030ea69bb3940b630811eb71bf74fd20371ef7759761904ece4f0144a0b00be4d843cf98299fd016f161aa

@ -0,0 +1,23 @@
https://github.com/tukaani-project/xz/commit/0673c9ec98b6bae12b33dc295564514aaa26e2fc
From 0673c9ec98b6bae12b33dc295564514aaa26e2fc Mon Sep 17 00:00:00 2001
From: Lasse Collin <lasse.collin@tukaani.org>
Date: Sun, 19 Mar 2023 22:45:59 +0200
Subject: [PATCH] liblzma: Silence -Wsign-conversion in SSE2 code in
memcmplen.h.
Thanks to Christian Hesse for reporting the issue.
Fixes: https://github.com/tukaani-project/xz/issues/44
--- a/src/liblzma/common/memcmplen.h
+++ b/src/liblzma/common/memcmplen.h
@@ -89,7 +89,8 @@ lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2,
// version isn't used on x86-64.
# define LZMA_MEMCMPLEN_EXTRA 16
while (len < limit) {
- const uint32_t x = 0xFFFF ^ _mm_movemask_epi8(_mm_cmpeq_epi8(
+ const uint32_t x = 0xFFFF ^ (uint32_t)_mm_movemask_epi8(
+ _mm_cmpeq_epi8(
_mm_loadu_si128((const __m128i *)(buf1 + len)),
_mm_loadu_si128((const __m128i *)(buf2 + len))));

@ -0,0 +1,118 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
EAPI=7
inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.tukaani.org/xz.git"
inherit git-r3 autotools
# bug #272880 and bug #286068
BDEPEND="sys-devel/gettext >=sys-devel/libtool-2"
else
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/lassecollin.asc
inherit verify-sig
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
https://tukaani.org/xz/${MY_P}.tar.gz
verify-sig? (
https://tukaani.org/xz/${MY_P}.tar.gz.sig
)
"
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
S="${WORKDIR}/${MY_P}"
fi
DESCRIPTION="Utils for managing LZMA compressed files"
HOMEPAGE="https://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="+extra-filters nls static-libs"
if [[ ${PV} != 9999 ]] ; then
BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-lassecollin-20230213 )"
fi
# Tests currently do not account for smaller feature set
RESTRICT="!extra-filters? ( test )"
src_prepare() {
default
if [[ ${PV} == 9999 ]] ; then
eautopoint
eautoreconf
else
# Allow building shared libs on Solaris/x64
elibtoolize
fi
}
multilib_src_configure() {
local myconf=(
--enable-threads
$(use_enable nls)
$(use_enable static-libs static)
)
if ! multilib_is_native_abi ; then
myconf+=(
--disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
)
fi
if ! use extra-filters ; then
myconf+=(
# LZMA1 + LZMA2 for standard .lzma & .xz files
--enable-encoders=lzma1,lzma2
--enable-decoders=lzma1,lzma2
# those are used by default, depending on preset
--enable-match-finders=hc3,hc4,bt4
# CRC64 is used by default, though some (old?) files use CRC32
--enable-checks=crc32,crc64
)
fi
if [[ ${CHOST} == *-solaris* ]] ; then
export gl_cv_posix_shell="${EPREFIX}"/bin/sh
# Undo Solaris-based defaults pointing to /usr/xpg5/bin
myconf+=( --disable-path-for-script )
fi
ECONF_SOURCE="${S}" econf "${myconf[@]}"
}
multilib_src_install() {
default
gen_usr_ldscript -a lzma
}
multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
}

@ -0,0 +1,130 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
EAPI=7
inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
if [[ ${PV} == 9999 ]] ; then
# Per tukaani.org, git.tukaani.org is a mirror of github and
# may be behind.
EGIT_REPO_URI="
https://github.com/tukaani-project/xz
https://git.tukaani.org/xz.git
"
inherit git-r3 autotools
# bug #272880 and bug #286068
BDEPEND="sys-devel/gettext >=sys-devel/libtool-2"
else
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/lassecollin.asc
inherit verify-sig
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="
https://github.com/tukaani-project/xz/releases/download/v${PV}/${MY_P}.tar.gz
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
https://tukaani.org/xz/${MY_P}.tar.gz
verify-sig? (
https://github.com/tukaani-project/xz/releases/download/v${PV}/${MY_P}.tar.gz.sig
https://tukaani.org/xz/${MY_P}.tar.gz.sig
)
"
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
S="${WORKDIR}/${MY_P}"
fi
DESCRIPTION="Utils for managing LZMA compressed files"
HOMEPAGE="https://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="doc +extra-filters nls static-libs"
if [[ ${PV} != 9999 ]] ; then
BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-lassecollin-20230213 )"
fi
PATCHES=(
"${FILESDIR}"/${P}-Wsign-conversion.patch
)
src_prepare() {
default
if [[ ${PV} == 9999 ]] ; then
eautopoint
eautoreconf
else
# Allow building shared libs on Solaris/x64
elibtoolize
fi
}
multilib_src_configure() {
local myconf=(
--enable-threads
$(multilib_native_use_enable doc)
$(use_enable nls)
$(use_enable static-libs static)
)
if ! multilib_is_native_abi ; then
myconf+=(
--disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
)
fi
if ! use extra-filters ; then
myconf+=(
# LZMA1 + LZMA2 for standard .lzma & .xz files
--enable-encoders=lzma1,lzma2
--enable-decoders=lzma1,lzma2
# those are used by default, depending on preset
--enable-match-finders=hc3,hc4,bt4
# CRC64 is used by default, though some (old?) files use CRC32
--enable-checks=crc32,crc64
)
fi
if [[ ${CHOST} == *-solaris* ]] ; then
export gl_cv_posix_shell="${EPREFIX}"/bin/sh
# Undo Solaris-based defaults pointing to /usr/xpg5/bin
myconf+=( --disable-path-for-script )
fi
ECONF_SOURCE="${S}" econf "${myconf[@]}"
}
multilib_src_install() {
default
gen_usr_ldscript -a lzma
}
multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
if use doc ; then
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
fi
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
}

@ -47,7 +47,7 @@ HOMEPAGE="https://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="+extra-filters nls static-libs"
IUSE="doc +extra-filters nls static-libs"
if [[ ${PV} != 9999 ]] ; then
BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-lassecollin-20230213 )"
@ -68,6 +68,7 @@ src_prepare() {
multilib_src_configure() {
local myconf=(
--enable-threads
$(multilib_native_use_enable doc)
$(use_enable nls)
$(use_enable static-libs static)
)
@ -110,7 +111,10 @@ multilib_src_install() {
multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
if use doc ; then
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
fi
}
pkg_preinst() {

Binary file not shown.

@ -1 +1 @@
DIST stress-ng-0.15.05.tar.gz 3811699 BLAKE2B e156251163a9d1788a09cb957dd75c05770cd69fb2674b54fb8fe10ea94eb7d62dc4bfd38a8628b201bc5d260fd140bee78cd5ad7220a1e35dc51334ec2fca1e SHA512 654fff49ade6bc44c1f855cf5869255ef626180ca9b9d83374cd18c000a1b3f2e9c8b3b653592d2896d66d4cbb7dc0d60e67233af73fdc8039c2ba530d45fad4
DIST stress-ng-0.15.06.tar.gz 3813785 BLAKE2B ebed2b6b087afc615e3a94ae239df32a7847f1ddc5db83a733ce8415d76818000bb742604643ebdd06d13e584a66c6814feb660752738f3fe7e714670e4ad396 SHA512 a999ecb813504cdcd56cb3f9ac6633c91ee3df2c203866d29fb04b61c41ee5e7738ca84cdbdb2cb8c6fe969f29a64d21a8df17419901266efc7f1170eb18013a

Binary file not shown.

@ -1,7 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
inherit autotools
DESCRIPTION="Encryption and decryption"
HOMEPAGE="https://sourceforge.net/projects/ccrypt/"
@ -13,8 +15,21 @@ KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="emacs"
RDEPEND="virtual/libcrypt:="
DEPEND="${RDEPEND}
emacs? ( >=app-editors/emacs-23.1:* )"
DEPEND="
${RDEPEND}
emacs? ( >=app-editors/emacs-23.1:* )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.11-refresh-macro-clang16.patch
)
src_prepare() {
default
# Clang 16 patch
eautoreconf
}
src_configure() {
econf \

@ -0,0 +1,64 @@
https://bugs.gentoo.org/900130
Refresh macro from gettext.
--- a/m4/intdiv0.m4
+++ b/m4/intdiv0.m4
@@ -1,5 +1,5 @@
-# intdiv0.m4 serial 6 (gettext-0.18.2)
-dnl Copyright (C) 2002, 2007-2008, 2010-2016 Free Software Foundation, Inc.
+# intdiv0.m4 serial 9 (gettext-0.21.1)
+dnl Copyright (C) 2002, 2007-2008, 2010-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -12,7 +12,7 @@ AC_DEFUN([gt_INTDIV0],
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
- gt_cv_int_divbyzero_sigfpe,
+ [gt_cv_int_divbyzero_sigfpe],
[
gt_cv_int_divbyzero_sigfpe=
changequote(,)dnl
@@ -31,8 +31,11 @@ changequote([,])dnl
if test -z "$gt_cv_int_divbyzero_sigfpe"; then
AC_RUN_IFELSE(
[AC_LANG_SOURCE([[
-#include <stdlib.h>
+#include <stdlib.h> /* for exit() */
#include <signal.h>
+#if !(defined _WIN32 && !defined __CYGWIN__)
+#include <unistd.h> /* for _exit() */
+#endif
static void
sigfpe_handler (int sig)
@@ -44,7 +47,7 @@ sigfpe_handler (int sig)
int x = 1;
int y = 0;
int z;
-int nan;
+int inan;
int main ()
{
@@ -59,7 +62,7 @@ int main ()
#endif
z = x / y;
- nan = y / y;
+ inan = y / y;
exit (2);
}
]])],
@@ -79,8 +82,8 @@ changequote([,])dnl
fi
])
case "$gt_cv_int_divbyzero_sigfpe" in
- *yes) value=1;;
- *) value=0;;
+ *yes) value=1 ;;
+ *) value=0 ;;
esac
AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value],
[Define if integer division by zero raises signal SIGFPE.])

@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86"
IUSE="afs +berkdb caps gdbm hdb-ldap +lmdb otp selinux ssl static-libs test X"
RESTRICT="!test? ( test )"

@ -0,0 +1,4 @@
Libs:-lmhash
Name: mhash
Version: @VERSION@
Description: provides a uniform interface to several hash algorithms

@ -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=7
EAPI=8
inherit autotools
@ -39,6 +39,10 @@ src_prepare() {
-e 's/--netscape//' \
"${S}"/doc/Makefile.in || die
sed \
-e "s:@VERSION@:${PV}:" \
"${FILESDIR}"/${PN}.pc > ${PN}.pc || die
# Refresh bundled libtool (ltmain.sh)
# (elibtoolize is not sufficient)
# bug #668666
@ -57,5 +61,7 @@ src_compile() {
src_install() {
default
insinto /usr/$(get_libdir)/pkgconfig
doins ${PN}.pc
find "${ED}" -name '*.la' -delete || die
}

@ -0,0 +1,223 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -35,7 +35,7 @@
config \
config.h.in \
configure \
- configure.in \
+ configure.ac \
COPYING \
INSTALL \
install-sh \
@@ -82,13 +82,13 @@
tar cfj $(distdir).tar.bz2 $(distdir)
rm -rf $(distdir)
-# automatic re-running of configure if the configure.in file has changed
-configure: configure.in aclocal.m4
+# automatic re-running of configure if the configure.ac file has changed
+configure: configure.ac aclocal.m4
autoconf
# autoheader might not change config.h.in, so touch a stamp file
config.h.in: stamp-h.in
-stamp-h.in: configure.in aclocal.m4
+stamp-h.in: configure.ac aclocal.m4
autoheader
echo timestamp > stamp-h.in
--- a/configure.in
+++ b/configure.in
@@ -68,7 +68,7 @@
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
-AC_PROG_RANLIB
+AC_CHECK_TOOL([AR], [ar])
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS -Wall -std=gnu9x -pedantic -I.."
@@ -167,55 +167,8 @@
AC_CHECK_LIB([pthread], [pthread_mutex_init], [], [AC_MSG_ERROR([ophcrack requires libpthread.])])
fi
-
-AC_MSG_CHECKING(for libssl)
-with_ssl=no
-AC_ARG_WITH(libssl, AC_HELP_STRING(--with-libssl=DIR,use libssl in DIR),
-[ case "$withval" in
- no)
- AC_MSG_RESULT(no)
- ;;
- *)
- AC_MSG_RESULT(yes)
- with_ssl=$withval
- CFLAGS="$CFLAGS -I$with_ssl/include"
- CXXFLAGS="$CXXFLAGS -I$with_ssl/include"
- LIBS="$LIBS -L$with_ssl/lib -lssl -lcrypto"
- ;;
- esac ]
-)
-
-if test "x$with_ssl" = "xno"; then
- CHECK_SSL
-fi
-
-with_expat=no
-AC_ARG_WITH(libexpat, AC_HELP_STRING(--with-libexpat=DIR,use libexpat in DIR),
-[ AC_MSG_CHECKING(for libexpat)
- case "$withval" in
- no)
- AC_MSG_RESULT(no)
- ;;
- *)
- AC_MSG_RESULT(yes)
- with_expat=$withval
- if test "x$enable_win32" = "xyes"; then
- CFLAGS="$CFLAGS -I$with_expat/lib"
- CXXFLAGS="$CXXFLAGS -I$with_expat/lib"
- LIBS="$LIBS -L$with_expat"
- LIBS_END="$LIBS_END -lexpat"
- else
- CFLAGS="$CFLAGS -I$with_expat/include"
- CXXFLAGS="$CXXFLAGS -I$with_expat/include"
- LIBS="$LIBS -L$with_expat/lib -lexpat"
- fi
- ;;
- esac ]
-)
-
-if test "x$with_expat" = "xno"; then
- AC_CHECK_LIB([expat], [XML_ParserCreate], [], [AC_MSG_ERROR([ophcrack requires libexpat.])])
-fi
+PKG_CHECK_MODULES([EXPAT], [expat])
+PKG_CHECK_MODULES([CRYPTO], [libcrypto])
AC_CHECK_LIB([m], [sqrt], [], [AC_MSG_ERROR([ophcrack requires libmath.])])
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -20,9 +20,16 @@
CC = @CC@
-CPPFLAGS = @CPPFLAGS@
-CFLAGS = @CFLAGS@ -Icore -Intproba
-LDFLAGS = @LDFLAGS@ @LIBS@
+CPPFLAGS = @CPPFLAGS@ -Icore -Intproba
+CFLAGS = @CFLAGS@
+LIBS = @LIBS@
+LDFLAGS = @LDFLAGS@
+
+EXPAT_CFLAGS = @EXPAT_CFLAGS@
+EXPAT_LIBS = @EXPAT_LIBS@
+
+CRYPTO_CFLAGS = @CRYPTO_CFLAGS@
+CRYPTO_LIBS = @CRYPTO_LIBS@
SUBDIRS = core ntproba samdump2 test
@HAVE_GUI_TRUE@SUBDIRS += gui
@@ -48,7 +55,7 @@
ophcrack: gui/main.cpp core ntproba samdump2
cp $< main.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c main.c -o main.o
- $(CC) main.o $(ARCHIVES) -o $@ $(LDFLAGS)
+ $(CC) $(CFLAGS) $(LDFLAGS) main.o $(ARCHIVES) -o $@ $(EXPAT_LIBS) $(CRYPTO_LIBS) $(LIBS)
rm main.c main.o
gui: core ntproba samdump2
--- a/src/common.mk.in
+++ b/src/common.mk.in
@@ -23,7 +23,14 @@
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@ @LIBS@
+LDFLAGS = @LDFLAGS@
+LIBS = @LIBS@
+
+EXPAT_CFLAGS = @EXPAT_CFLAGS@
+EXPAT_LIBS = @EXPAT_LIBS@
+
+CRYPTO_CFLAGS = @CRYPTO_CFLAGS@
+CRYPTO_LIBS = @CRYPTO_LIBS@
HEADERS = $(wildcard *.h)
SOURCES = $(wildcard *.c)
@@ -32,11 +39,7 @@
all:
%.a:
- ar r $@ $^
- $(RANLIB) $@
-
-%.o: %.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+ $(AR) rcs $@ $^
clean_:
rm -f *.o *~
--- a/src/core/Makefile.in
+++ b/src/core/Makefile.in
@@ -17,7 +17,7 @@
include ../common.mk
-CFLAGS += -I../.. -I../samdump2 -I../ntproba
+CPPFLAGS += -I../.. -I../samdump2 -I../ntproba $(CRYPTO_CFLAGS)
all: libophcrack.a
--- a/src/gui/gui.pro.in
+++ b/src/gui/gui.pro.in
@@ -30,7 +30,7 @@
../ntproba/libntproba.a
PRE_TARGETDEPS += $$ARCHIVES
-LIBS += $$ARCHIVES @LDFLAGS@ @LIBS@
+LIBS += $$ARCHIVES @LDFLAGS@ @EXPAT_LIBS@ @CRYPTO_LIBS@ @LIBS@
QMAKE_CC = @CC@
QMAKE_CXX = @CXX@
--- a/src/ntproba/Makefile.in
+++ b/src/ntproba/Makefile.in
@@ -17,6 +17,8 @@
include ../common.mk
+CPPFLAGS += $(EXPAT_CFLAGS) $(CRYPTO_CFLAGS)
+
all: libntproba.a
libntproba.a: $(OBJECTS)
--- a/src/samdump2/Makefile.in
+++ b/src/samdump2/Makefile.in
@@ -17,7 +17,7 @@
include ../common.mk
-CFLAGS += -I../core
+CPPFLAGS += -I../core $(CRYPTO_CFLAGS)
all: libsamdump2.a
--- a/src/test/Makefile.in
+++ b/src/test/Makefile.in
@@ -17,7 +17,7 @@
include ../common.mk
-CFLAGS += -I../.. -I../core -I../ntproba
+CPPFLAGS += -I../.. -I../core -I../ntproba
ARCHIVES = \
../core/libophcrack.a \
@@ -32,7 +32,7 @@
%.a:
test_%: test_%.o $(ARCHIVES)
- $(CC) $^ -o $@ $(LDFLAGS)
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(EXPAT_LIBS) $(CRYPTO_LIBS) $(LIBS)
clean: clean_
rm -f $(TARGETS)

@ -1,13 +0,0 @@
diff --git a/src/common.mk.in b/src/common.mk.in
index 0f090a8..9c133e0 100644
--- a/src/common.mk.in
+++ b/src/common.mk.in
@@ -32,7 +32,7 @@ OBJECTS = $(SOURCES:%.c=%.o)
all:
%.a:
- ar r $@ $^
+ $(AR) r $@ $^
$(RANLIB) $@
%.o: %.c

@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit desktop toolchain-funcs qmake-utils
inherit autotools desktop qmake-utils xdg
DESCRIPTION="A time-memory-trade-off-cracker"
HOMEPAGE="https://ophcrack.sourceforge.io/"
@ -12,15 +12,17 @@ SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${P}.tar.bz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug qt5 +tables"
IUSE="gui +tables"
DEPEND="
dev-libs/openssl:0=
dev-libs/openssl:=
dev-libs/expat
net-libs/netwib
qt5? (
gui? (
dev-qt/qtcharts:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)"
RDEPEND="
${DEPEND}
@ -29,22 +31,25 @@ BDEPEND="
app-arch/unzip
virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/ophcrack-ar.patch )
PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch )
src_configure() {
tc-export AR
src_prepare() {
default
eautoreconf
}
src_configure() {
# bug #765229
export PATH="$(qt5_get_bindir):${PATH}"
use gui && export PATH="$(qt5_get_bindir):${PATH}"
econf \
$(use_enable debug) \
$(use_enable qt5 gui)
econf $(use_enable gui)
}
src_install() {
default
newicon src/gui/pixmaps/os.xpm ophcrack.xpm
make_desktop_entry "${PN}" OphCrack ophcrack
if use gui; then
newicon src/gui/pixmaps/os.xpm ophcrack.xpm
make_desktop_entry "${PN}" OphCrack ophcrack
fi
}

Binary file not shown.

@ -1,2 +1,3 @@
DIST dict-en-20230101_lo.oxt 6099782 BLAKE2B 5103d0bdf9558184deb8d5d3d9ce00d7b597d4bdf4bfa2fefe3caa68d6e0fa68e2f9295d87c7a8315ba244ccbf007c198cad017aee6faf6590914f63c161cf61 SHA512 d34948b012245c0ad07819d625cd417a85b9edc13b842ad7d3974ed1428af4d2e02020ff0b89cde64a1b844ca8c2a54a7e77f37076e8cc1b38d6a2473da01d7d
DIST dict-en-20230201_lo.oxt 6100214 BLAKE2B c75e6ce32020c10291909191eba888535a56cc4126f2d30c18516a967ca9ca88d7da6d26fa9026c7de75246ee42cc5977fe9db8494e224df3ca484667626d3c0 SHA512 9b9d893ed5061c32c808c91d2078e6f45716dfd3f5590edd02945e50cdb349b23bd35ff0d30aab352b0ddd318993091dcf180d5725016e238e209060eb7180dc
DIST dict-en-20230301_lo.oxt 6099726 BLAKE2B 3db7fc83af03a42f5f06fb13ff4f78415e0a806d86794b2e76e42f892a76281b9cf178e2c3ccddcc5a42a8d4d804657de5972905a58d817382bc970363763713 SHA512 b64c71ab00e5792411b56212b178a36b72fe10b83fa89db37cbbf3c1f9ce96f8d2c46a58d1773aabbb37a05c1812b59c45cc93fe5a1dd9fc19e0129c764aa251

@ -0,0 +1,57 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit myspell-r2
DESCRIPTION="English dictionaries for myspell/hunspell"
HOMEPAGE="
https://extensions.libreoffice.org/extensions/english-dictionaries
https://proofingtoolgui.org
https://github.com/marcoagpinto/aoo-mozilla-en-dict
"
SRC_URI="https://extensions.libreoffice.org/assets/downloads/41/1677661772/dict-en-20230301_lo.oxt"
LICENSE="BSD MIT LGPL-3+"
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 ~sparc-solaris ~x86-solaris"
PLOCALES=( "en-AU" "en-CA" "en-GB" "en-US" "en-ZA" )
IUSE+="+l10n_en ${PLOCALES[@]/#/l10n_}"
REQUIRED_USE="|| ( l10n_en ${PLOCALES[@]/#/l10n_} )"
src_prepare() {
if use l10n_en-GB || use l10n_en; then
MYSPELL_HYPH+=( "hyph_en_GB.dic" )
fi
if use l10n_en-US || use l10n_en; then
MYSPELL_THES+=(
"th_en_US_v2.dat"
"th_en_US_v2.idx"
)
MYSPELL_HYPH+=( "hyph_en_US.dic" )
fi
MYSPELL_DICT=( )
for lang in "${PLOCALES[@]}"; do
if [[ "${lang}" == "en" ]]; then
continue
fi
local mylinguas="${lang//-/_}"
if use "l10n_${lang}" || use l10n_en; then
MYSPELL_DICT+=( "${mylinguas}.aff" "${mylinguas}.dic" )
else
rm "README_${mylinguas}.txt" || die
if [[ ${lang} == "en-US" ]]; then
rm "README_hyph_en_US.txt" || die
fi
if [[ ${lang} == "en-GB" ]]; then
rm "README_hyph_en_GB.txt" || die
rm "README_en_GB_thes.txt" || die
fi
fi
done
default
}

Binary file not shown.

@ -13,7 +13,7 @@ if [[ ${PV} = *9999* ]]; then
else
SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz"
SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
DESCRIPTION="Documentation system for most programming languages"

Binary file not shown.

@ -0,0 +1,29 @@
https://bugs.gentoo.org/895264
https://github.com/mawww/kakoune/issues/4854
diff --git a/src/keys.hh b/src/keys.hh
index 0af1a5a8..ccafe336 100644
--- a/src/keys.hh
+++ b/src/keys.hh
@@ -9,6 +9,8 @@
#include "unicode.hh"
#include "vector.hh"
+#include <cstdint>
+
namespace Kakoune
{
diff --git a/src/ranked_match.hh b/src/ranked_match.hh
index ec7fe626..62d6b8f0 100644
--- a/src/ranked_match.hh
+++ b/src/ranked_match.hh
@@ -4,6 +4,8 @@
#include "string.hh"
#include "meta.hh"
+#include <cstdint>
+
namespace Kakoune
{

@ -1,4 +1,4 @@
# Copyright 2020-2022 Gentoo Authors
# Copyright 2020-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -15,6 +15,10 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-gcc13.patch
)
src_prepare() {
sed -i '/CXXFLAGS += -O3/d' src/Makefile || die
default

Binary file not shown.

@ -1,2 +1,3 @@
DIST all-the-icons-ivy-rich-1.7.1.tar.gz 23806 BLAKE2B 28d85c0a4d486900b444e2aab25c6cb257d91ddb4839ab3e71dced02c7ad85e822f465d0d29404c55421c05a1e14002480f977c898a8374e4c51c66631413413 SHA512 526632f74a674bfcd6c2019649be6e305c0d817a1b29d8e5883b239cd97f8b40a63c34bc39e4f4e8ca2ff71ee3cd15e43e40827f40aa2f6579ec4c96eced40e5
DIST all-the-icons-ivy-rich-1.8.0.tar.gz 26090 BLAKE2B ec0ccd4192007938d38dacf83c34bdae13df55400405dd0d25ba647c8ff0d50f6675fcccf80eb8cf76827111cd73cb189a70f1e8197b04c4d1985dc1600697f0 SHA512 3bc77353890d67b09016260cc47674ca0a1a73199eb50ca52f9a7f97039f99135151cd9e551919a0d4eade01dfd65dac14694e6226f1f7934cc2e213f35a512e
DIST all-the-icons-ivy-rich-1.9.0.tar.gz 26428 BLAKE2B f2d23fd537921fd48ce26caac35a5ac9516ad2bffdb99c37d507ba2640179aed8c5f88361c5e9e34c2945bdb9619d2416d8c5fea55c0dd25d0fe0fe42cd5c353 SHA512 ac0c3f18d3842eb4b9c6f098e00814f421277b44c4253f9efb28c6d02e94fbb159db40cd9ade877ce218154c30210bb39dc93bfd95a7a61a71b09cbed1af5d70

@ -0,0 +1,26 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=25.1
inherit elisp
DESCRIPTION="Display icons for ivy buffers in Emacs"
HOMEPAGE="https://github.com/seagle0128/all-the-icons-ivy-rich/"
SRC_URI="https://github.com/seagle0128/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
app-emacs/all-the-icons
app-emacs/ivy-rich
"
BDEPEND="${RDEPEND}"
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"

@ -1,2 +1,3 @@
DIST citar-1.0.tar.gz 1339812 BLAKE2B 2093cc820199219ec70f99a746c630f2b8e6b4d464b1457d7b7db1c5c953138e7dd5ac55e21b13e7417dd0a764b6f1caaf400af353ecce9fb7e1bc578f570b0d SHA512 7f02a4e41a927c2c7c625189fa38caea8f0fc5616dd3487a93f71a373d1e4a124dd1cc520778a1ff2fa6dd7c3b619b539e3b0e47cb9caf7edd16e27e9d739585
DIST citar-1.1.tar.gz 1340039 BLAKE2B b2090a35a582918300f5e4bb2188d463630988830305aa4bb5e1e27f45ff8c96ca35458e610e13658b2120af497f9b877054a6fbebda48e0a4d87824ef48e9c8 SHA512 2b1924ef1a05a170eea31f844055b914410cd35613eda6604f08164818a8fc5480fc5a6d6f055ba95331b517305e51a6e671214cc88fccbda2430ae9b06dda49
DIST citar-1.2.0.tar.gz 1417090 BLAKE2B 40673ee0f2ee5b4f86928e140714a517958d261c632ea1e7bcb3dcd3dde3a0bb9baaaa1107f50447f1d8e87485570033afbf0c652fa6b3f1fbffeda7b7df04c3 SHA512 31f817de77bc8fe9e2fdf96ac7df521ebe5685cf49a2a78cd2b1cd51e538165bde36fc8515c2fd7c20d4c6160372fdf37c1b870b12167f946c0f3934edd5fb7c

@ -0,0 +1,43 @@
# 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 package to quickly find and act on bibliographic references"
HOMEPAGE="https://github.com/emacs-citar/citar/"
SRC_URI="https://github.com/emacs-citar/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
app-emacs/citeproc-el
app-emacs/parsebib
"
BDEPEND="${RDEPEND}"
# Embark integration has it's own package on MELPA, and it is probably better
# to split them. https://melpa.org/#/citar-embark
ELISP_REMOVE="citar-embark.el"
DOCS=( CHANGELOG.org CONTRIBUTING.org README.org images )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}
src_test() {
${EMACS} ${EMACSFLAGS} -L . -L test \
-l test/citar-file-test.el \
-l test/citar-format-test.el \
-l test/citar-test.el \
-f ert-run-tests-batch-and-exit || die
}

@ -3,14 +3,14 @@
EAPI=8
COMMIT=382db93374380e5db56f02934ee32bbe39159019
[[ ${PV} == *_p20210708 ]] && COMMIT=382db93374380e5db56f02934ee32bbe39159019
inherit elisp
DESCRIPTION="Collection of extensions for Proof General's Coq mode"
HOMEPAGE="https://github.com/cpitclaudel/company-coq/"
SRC_URI="https://github.com/cpitclaudel/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"

@ -3,14 +3,14 @@
EAPI=8
COMMIT=a6e349e0131f676a885bd14c908fd26054b2df42
[[ ${PV} == *_p20220314 ]] && COMMIT=a6e349e0131f676a885bd14c908fd26054b2df42
inherit elisp
DESCRIPTION="Collection of extensions for Proof General's Coq mode"
HOMEPAGE="https://github.com/cpitclaudel/company-coq/"
SRC_URI="https://github.com/cpitclaudel/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"

@ -1,21 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=26
inherit elisp
DESCRIPTION="Consult integration for Flycheck"
HOMEPAGE="https://github.com/minad/consult-flycheck"
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
SITEFILE="50${PN}-gentoo.el"
RDEPEND="
app-emacs/consult
app-emacs/flycheck
"
BDEPEND="${RDEPEND}"
DEPEND="app-emacs/consult
app-emacs/flycheck"
RDEPEND="${DEPEND}"
SITEFILE="50${PN}-gentoo.el"

@ -1,21 +1,25 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=26
inherit elisp
DESCRIPTION="Consult integration for Flycheck"
HOMEPAGE="https://github.com/minad/consult-flycheck"
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
SITEFILE="50${PN}-gentoo.el"
RDEPEND="
app-emacs/consult
app-emacs/flycheck
"
BDEPEND="${RDEPEND}"
DEPEND="app-emacs/consult
app-emacs/flycheck"
RDEPEND="${DEPEND}"
SITEFILE="50${PN}-gentoo.el"

@ -1,4 +1,3 @@
DIST eglot-1.11.tar.xz 36900 BLAKE2B 20496e37944127c0e209762d2455fad01e6578fd1fa8350cc1a6782ed3e5dc11b09f8b737cd97d5439ab7ef67caa5cdf725d53d2e9e91bbca10223106a9073ad SHA512 c258c89d8c81b1c1df8ea9798c120a7534c174ce435a4551f503c7477520619ac08bd627372033ed1740dfc67bf7e8004751259769844d6be9adc9411d8ae5ac
DIST eglot-1.6.tar.gz 288078 BLAKE2B a2214d216d0eeaca32d974c6686696dfcf141b3384741bc8cce0d02abb508eb5713933bc227d12a07f4b87fc34601431845b1b8e519538ae04ecc74b24db4004 SHA512 51227c8e2b0a1dd9a63ededbea592f01616ff728c34c330400c078212fef3f3e747e6dd30ba312523cbe60c7ea663a7af9d83300210cf331ea6162d2db5c7e41
DIST eglot-1.8.tar.gz 302450 BLAKE2B 7247b11adaf9a65a2e071ca17b55038fe85f5842fb4155b44dbfa82bae5774e4cd2f7a5557d40cb1a7ab7f554233f15abe297e10568a1630b464ab6a600d978f SHA512 0295eff6dfbbf9d7a82349b8e5ed9e7dad700f2f0bfcab879d906e30bfbb4d28b8779fd9076108ac9b1594a60ca5e30c5035e2f8ceae44add99c28a843027609
DIST eglot-1.9.tar.gz 316541 BLAKE2B 5b9f188ae3f2b26fd7bb95aeb3095fbf5a78f6a15eeccaceaf947f5f91e78253622d2c81d5e57f11762c0370baf9d6c856a4f770c2652840d750f98ee780b418 SHA512 961399e0877a09bd292424715c3fac86e7750e144ba302e61262925b6ded1d30c6ebf3e63067b27b56fa2062461a947425951ac5538e25312d179fa20bd68b79

@ -1,28 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS="26.1"
inherit elisp
DESCRIPTION="A minimal Emacs LSP client"
HOMEPAGE="https://github.com/joaotavora/eglot"
SRC_URI="https://github.com/joaotavora/eglot/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# test requires internet connection to install several language servers, one of which
# is not packaged
RESTRICT="test"
SITEFILE="50${PN}-gentoo.el"
ELISP_REMOVE="eglot-tests.el"
DOCS=( README.md NEWS.md )
src_install() {
elisp-make-autoload-file "${S}"/${PN}-autoload.el "${S}"/
elisp_src_install
}

@ -3,7 +3,7 @@
EAPI=8
COMMIT=ab75cff
[[ ${PV} == 3.3.3 ]] && COMMIT=ab75cff
NEED_EMACS=27.1
inherit elisp
@ -11,7 +11,7 @@ inherit elisp
DESCRIPTION="Practical and friendly Gopher and Gemini client for GNU Emacs"
HOMEPAGE="https://thelambdalab.xyz/elpher/"
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
-> ${P}.tar.gz"
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"

@ -3,7 +3,7 @@
EAPI=8
COMMIT=bf0dd36
[[ ${PV} == 3.4.1 ]] && COMMIT=bf0dd36
NEED_EMACS=27.1
inherit elisp
@ -11,7 +11,7 @@ inherit elisp
DESCRIPTION="Practical and friendly Gopher and Gemini client for GNU Emacs"
HOMEPAGE="https://thelambdalab.xyz/elpher/"
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
-> ${P}.tar.gz"
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"

@ -3,7 +3,7 @@
EAPI=8
COMMIT=f117f2f
[[ ${PV} == 3.4.2 ]] && COMMIT=f117f2f
NEED_EMACS=27.1
inherit elisp
@ -11,7 +11,7 @@ inherit elisp
DESCRIPTION="Practical and friendly Gopher and Gemini client for GNU Emacs"
HOMEPAGE="https://thelambdalab.xyz/elpher/"
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
-> ${P}.tar.gz"
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="GPL-3+"

@ -3,7 +3,7 @@
EAPI=8
COMMIT=1b726412f19896abf5e4857d4c32220e33400b55
[[ ${PV} == *_p20210309 ]] && COMMIT=1b726412f19896abf5e4857d4c32220e33400b55
NEED_EMACS=24.3
inherit elisp
@ -11,7 +11,7 @@ inherit elisp
DESCRIPTION="Display emojis in Emacs, like :smile: or plain ASCII ones like :)"
HOMEPAGE="https://github.com/iqbalansari/emacs-emojify/"
SRC_URI="https://github.com/iqbalansari/emacs-${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
-> ${P}.tar.gz"
S="${WORKDIR}"/emacs-${PN}-${COMMIT}
LICENSE="GPL-3+"

@ -1,2 +1 @@
DIST f-0.19.0.tar.gz 19477 BLAKE2B 47cfb8c876e11cae7eca61815085c4290f65f9d72a7c5d397d8b53f6d57421f46997786556074027de5405acbf38ddb42ecbb767c809763e84d880286e6942dc SHA512 694eca1872cb0a0da7f75f610e4101993a79a5e7601c3f72fd2c642b1a44f5eada24777313b5166d901d9d983c18b4d412b4c6f01c382ace7530bacaa3b67c56
DIST f-0.20.0.tar.gz 19907 BLAKE2B 20b82a19b227d2e0863e540e75bc5094c0cf267eae00d699ff5b00fa574213d303135c246c454c92785080feae63ba6c529b115aeb1368774dd548852d94fb48 SHA512 0c44e63cd527a37bd5582d5a2a4cb2269d179930d7f41b378b9100ad5bb4518291b02197b1d55e1bf603bb5b1c12181b982d9b9a3f8fbd48860f6e86ea36c03e

@ -1,22 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Modern API for working with files and directories in Emacs"
HOMEPAGE="https://github.com/rejeep/f.el"
SRC_URI="https://github.com/rejeep/f.el/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
RESTRICT="test"
RDEPEND="app-emacs/dash app-emacs/s"
DEPEND="${RDEPEND}"
S="${WORKDIR}/f.el-${PV}"
SITEFILE="50${PN}-gentoo.el"
DOCS="README.md"

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -6,17 +6,21 @@ EAPI=8
inherit elisp
DESCRIPTION="Modern API for working with files and directories in Emacs"
HOMEPAGE="https://github.com/rejeep/f.el"
SRC_URI="https://github.com/rejeep/f.el/archive/v${PV}.tar.gz -> ${P}.tar.gz"
HOMEPAGE="https://github.com/rejeep/f.el/"
SRC_URI="https://github.com/rejeep/f.el/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/f.el-${PV}
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 ~riscv x86"
RESTRICT="test"
RDEPEND="app-emacs/dash app-emacs/s"
DEPEND="${RDEPEND}"
RDEPEND="
app-emacs/dash
app-emacs/s
"
BDEPEND="${RDEPEND}"
S="${WORKDIR}/f.el-${PV}"
DOCS=( README.md )
SITEFILE="50${PN}-gentoo.el"
DOCS="README.md"

@ -1 +1,2 @@
DIST package-lint-0.16.tar.gz 224744 BLAKE2B a1d26ae28727e305416498b66da188cbadababc9f415c199eff380dbce4888ee3137b6f13a26147d427142a9d244c784e192d21df3173d0a0c2dde4acb1e8630 SHA512 f5d79b69d37671233614a622cd5fd6c28c230adb0d5b7934ccd6bedc12228adb7bdef6739fdd32be383cefceb65b9538a00f763b49be6499e4b6e3f8b1a34616
DIST package-lint-0.17.tar.gz 284965 BLAKE2B 752adde42a820f54adef63cbe9f0cebef5af1d4d51dfefe9bf1c18929e739137081b722632f1fae8e171f4e25c0b9b15b47d9b3fb2c0f0542b214054c46ea190 SHA512 3f2240e03f67d6575b93643d26abd768bfe71fa1223c38b5b889c0f11784d22d3ad1849fa8f1424dccafc3befafdb49b1d796f175867490db96534c0e4b5f25e

@ -0,0 +1,35 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=26.1
inherit elisp
DESCRIPTION="Linting library for Emacs Lisp package metadata"
HOMEPAGE="https://github.com/purcell/package-lint/"
SRC_URI="https://github.com/purcell/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
KEYWORDS="~amd64 ~x86"
SLOT="0"
PATCHES=( "${FILESDIR}"/${PN}-symbol-info-data-directory.patch )
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
elisp_src_prepare
sed "s|@SITEETC@|${EPREFIX}${SITEETC}/${PN}|" -i ${PN}.el || die
}
src_install() {
elisp-install ${PN} ${PN}{,-flymake}.el{,c}
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
insinto ${SITEETC}/${PN}
doins -r data
einstalldocs
}

@ -1,3 +1,4 @@
DIST paredit-23.html.xz 1920 BLAKE2B 029c09848bb162c135c882ca17e6d5da9c3c17ba3937a809dcd03edb4b1841a0069a72dbd6676003cdf1a9de60a1f88eefa1de050210a37b52a005d28892ab14 SHA512 0ef584787b6094f1d0720aeb4d3a8c106605be62ffaa240d27a190ed9a6dd83d6d1ce68c2d184e84539a0e0658dcbed068335b69f4b1905ae9bf3d9968d5fb9b
DIST paredit-24.el.xz 24332 BLAKE2B 5243810cfcc40ebfd62ce3f833afa214defe9b91affbeb142ddad308e1fcff3f54a0ed19029a5ebd31f374868abc34f160d2efac65a609e783483ba2c92194d2 SHA512 76d9d2694473aeaab573964d79418fba20bfecef7f3771682f769ef05fb9385f9ef6dda1a5c7edec5d0a6f919d2eca5e75d595bd8cd5220c5179bfcac5f20f94
DIST paredit-25.tar.xz 33552 BLAKE2B 7fd36e796c754a6bca28d3bbdf59c37bba326870a6ba94380b4c6130a5f0be103ef8ced0071059faa785fbad7cdcfecd0eb491a2b07200cc6e3208b61b0a2af2 SHA512 46ae5eee7007d7ddc2c03955f521dac950b88ee3274faf071983380d83b30b553da7d21fbe791a2c760f0f56b7fd177714085c18a8dbc5c50bc0a240bf7e77aa
DIST paredit-26.tar.gz 63322 BLAKE2B 6259b17655d0c1ebaa30fad2e46639f1e84e5aaee18980131d9e2cad9711ab469efc75a3ed264213bf3fbe18cddc9c69c0bb3907a3acfcc896aa2070cf00f44a SHA512 1f0a712d6b99740e559208451a3292e52b110a5f40224fdd30e390c4eb63f3b01790d8cc0a3fb0f0681a7739ca26763df6afbb4c2e00b6560dccb29950f70a70

@ -1,9 +1,13 @@
<?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>
<stabilize-allarches/>
<maintainer type="project">
<email>gnu-emacs@gentoo.org</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
<stabilize-allarches />
<upstream>
<remote-id type="github">emacsmirror/paredit</remote-id>
</upstream>
</pkgmetadata>

@ -0,0 +1,36 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Minor mode for performing structured editing of S-expressions"
HOMEPAGE="https://paredit.org/
https://www.emacswiki.org/emacs/ParEdit/
https://github.com/emacsmirror/paredit/"
SRC_URI="https://github.com/emacsmirror/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
DOCS=( CREDITS NEWS ${PN}.html )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
elisp_src_compile
sh ./genhtml.sh || die "the script genhtml.sh failed"
}
src_test() {
${EMACS} ${EMACSFLAGS} -l ${PN}.el -l test.el || die "tests failed"
}
src_install() {
rm test.el* || die
elisp_src_install
}

@ -1,4 +1,4 @@
DIST php-mode-1.23.0.tar.gz 94451 BLAKE2B 324eda995ba8d93ca9bec691c88b05caac3d6786b2d1caac39dc34f513e8a026b3803ad3712729b147a8ee839fe337bf11ebaa1b718cb4c741997a9e1c9279a3 SHA512 051adf317ac1dc4ae14b3aaad9aa15ef650a74c7c1ff134ff9a26664cc7494b522957d9cbed981ec398e9bdc6ccae4437c628b2fe3535e8f2a95da34363ec88a
DIST php-mode-1.24.0.tar.gz 94715 BLAKE2B 226dfe72153f541d8a7ee396dc3cb49c2b0a26c084a3ea36f812f4e923cf364d3ddca0192b87b5a068a9a19a9cfa1227a91f0793374e513b957764b0c867df3f SHA512 fd26f1f022d20bf3dffb772f3735b244cf7e2b4fe51ed35c6ead4f7a7b21686cecd2db54f882a6622a34e3265b4af68d71b589d5adc79b15be3c5e4019ea026a
DIST php-mode-1.24.1.tar.gz 98595 BLAKE2B f9f6e6812e7239eb9ec9dfdbb932dc74b85df46d0d4001a745a6ff297d060a5bcb835200b02e0bfb09f2d35b20d0c72e273d84e16ed3e7d95d235a369a0c54cc SHA512 e6459637874aef457b856c8730d6b761de38e251b49a44a51cecbb08ae092d383a59adc77997f2ebe27066cb050db588f0037cf9554a071d4834089e14acd9ac
DIST php-mode-1.24.2.tar.gz 133018 BLAKE2B d6d5da323f10ffd133b34e672576a1ac7c2c2284aba6bab6c628d5fb335327a9e7c73035f47a709046591e57ff4bd53d386e516f4004d000c4276cb341ac4783 SHA512 52c9770baea00a05a468e91d9af765cb1665980c7acb32220829e7920ae092996b017c396836b171f2affa61bdb6329e7460acde88dd788004750ca21f280a7a
DIST php-mode-1.24.3.tar.gz 139037 BLAKE2B 07cd54f10f89a937481c523f1f6e4bbe0f006da80dabaf6ce245f9da89d8fc19a7703a6f05ac721eeec46c13e7ac2c6a7a754c731d4a4b7411030b7725c3b36c SHA512 50568799e894c6aafd07416680a3011406a0ef6e906cd5780684c327a696f13411bd01dc71919f12663a8dd7b000435dd8259248e4db56d0a6a7807d8387be29

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8

@ -1,7 +1,8 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=24
inherit readme.gentoo-r1 elisp
@ -15,9 +16,9 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="app-emacs/queue"
BDEPEND="${RDEPEND}"
SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="To enable undo trees globally, place '(global-undo-tree-mode)'
in your .emacs file."
DEPEND="app-emacs/queue"
RDEPEND="${DEPEND}"

@ -15,9 +15,9 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-emacs/queue"
RDEPEND="${DEPEND}"
RDEPEND="app-emacs/queue"
BDEPEND="${RDEPEND}"
SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="To enable undo trees globally, place '(global-undo-tree-mode)'
in your .emacs file."
SITEFILE="50${PN}-gentoo.el"

@ -1,3 +1,2 @@
DIST vertico-0.29.tar.gz 43682 BLAKE2B fef1ae786c823d7180f1c2d312a5961309d934145029933cc05e09839120bb2f4fcd1dbfad2194bb8613badb49966d1f69eb658397e4e2346ccc46fb228136ff SHA512 6af726ee916090247d003f552470dea6a2348c3ca382e030fe4c3de777c3414ed00a50aa5cdec17de7e59ebd44f5d88d842a284b38be7f9edca9220a1b240da0
DIST vertico-1.0.tar.gz 43930 BLAKE2B 7418566d03c86c95aeb1969db19359628f04930413b17aaa2113836ee90368bb6df26c6af16a530a2977f3834b56565bbcd304ce362b6387baf9cc812c8b2982 SHA512 ad4e92b1edc5897f37b5ecc0c2f3291cf775afca14a33f1db17878f0560a4a1230513b833b1222f97b92f8711d2178bc30c6ccb55c8d22593f29b01717fd8968
DIST vertico-1.1.tar.gz 44320 BLAKE2B ca423d0a745cb0ed9c7f857f07595614264c8cf60056b696c31e26f85578278b1993c803556609fd444a1729f5380e314b39bd586073a6145b6b3e7f46462999 SHA512 e8df93ad4bd97d6313eefc3c2d88652841858a22db9be17b07e68095c158daf228f717524a6ba912541ce405afdfe5f696a3e5adf5d08c5e9e8b44694eb62294
DIST vertico-1.2.tar.gz 44501 BLAKE2B 46ff938c13b6dbdf3f952a887b5fe4d091dfe68da067620e3ca2c567c783af748ab921502b7f5f66cfd6ffa7457b10563e95ae5d7add32565a15643531f83da4 SHA512 f7deeeaeb4b78a857e354dab8d61b5062147be4fb7b87083b0fd16d88bf26ec7354df462d17f756f538b32fbcbbda0878ee48540d1e45c592a5f7c2533c10eb0

@ -1,29 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=27
inherit elisp
DESCRIPTION="Vertical interactive completion"
HOMEPAGE="https://github.com/minad/vertico"
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( README.org )
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
default
mv extensions/*.el . || die
}
src_compile() {
elisp_src_compile
elisp-make-autoload-file
}

@ -1,26 +1,30 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
NEED_EMACS=27
NEED_EMACS=27.1
inherit elisp
DESCRIPTION="Vertical interactive completion"
HOMEPAGE="https://github.com/minad/vertico"
SRC_URI="https://github.com/minad/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( README.org )
RDEPEND=">=app-emacs/compat-29.1.4.0"
BDEPEND="${RDEPEND}"
DOCS=( CHANGELOG.org README.org )
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
default
mv extensions/*.el . || die
mv extensions/*.el ./ || die
}
src_compile() {

Binary file not shown.

@ -41,6 +41,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.1.0-libcwrap.patch
"${FILESDIR}"/${PN}-1.1.0-ar.patch
"${FILESDIR}"/${PN}-1.1.0-clang-16-register.patch
"${FILESDIR}"/${PN}-1.1.0-configure-clang16.patch
"${FILESDIR}"/${PN}-1.1.0-configure-bashisms.patch
)
ECONF_SOURCE="${S}"

@ -0,0 +1,37 @@
https://github.com/aranym/aranym/pull/102
From 1a45b77ee2eaabc53fef0794c0e3a64a7c41683e Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sun, 19 Mar 2023 02:05:09 +0000
Subject: [PATCH] configure.ac: fix bashisms
configure scripts need to be runnable with a POSIX-compliant /bin/sh.
On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.
This retains compatibility with bash.
--- a/configure.ac
+++ b/configure.ac
@@ -1714,7 +1714,7 @@ SDL_CFLAGS=
SDL_LIBS=
no_sdl=yes
no_sdl2=yes
-if test "$OS_TYPE" == darwin -a "$WITH_FINK" = no; then
+if test "$OS_TYPE" = darwin -a "$WITH_FINK" = no; then
ARANYM_CHECK_FRAMEWORK(SDL, [])
if test "$have_framework_SDL" = yes ; then
ARANYM_CHECK_FRAMEWORK_LOCATION(SDL)
@@ -1781,7 +1781,7 @@ SDL_LIBS="$SDL_LIBS -lpthread"
AM_CONDITIONAL([ENABLE_SDL2], test "$enable_sdl2" = yes)
#
# SDL2 on macOS needs 10.6 or above
-if test "$enable_sdl2" = yes -a "$OS_TYPE" == darwin; then
+if test "$enable_sdl2" = yes -a "$OS_TYPE" = darwin; then
export MACOSX_DEPLOYMENT_TARGET=10.6
fi
--
2.40.0

@ -0,0 +1,30 @@
https://github.com/aranym/aranym/pull/102
From ef9ba74fcbf868aeb1b0e0b02e53775a14cda0f7 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sun, 19 Mar 2023 01:56:56 +0000
Subject: [PATCH] configure.ac: fix -Wimplicit-function-declaration in TUN/TAP
test
Clang 16 makes -Wimplicit-function-declaration an error by default.
Unfortunately, this can lead to misconfiguration or miscompilation of software as configure
tests may then return the wrong result.
For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].
[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.
--- a/configure.ac
+++ b/configure.ac
@@ -539,6 +539,7 @@ AC_CACHE_CHECK([whether TUN/TAP is supported],
#include <net/if.h>
#include <net/if_tun.h>
#endif
+ #include <string.h>
], [
struct ifreq ifr;
memset(&ifr, 0, sizeof(ifr));

@ -2,7 +2,9 @@ DIST wine-8.0.tar.xz 29054044 BLAKE2B baf8f96b665119c9f38a148a2472dbe8f6ca8d4641
DIST wine-8.1.tar.xz 29083080 BLAKE2B 6eed2128627f15159ad80588ebe839de76cb9a536797d7da136b61f56033ece60c60208702b7928cdb297c1d8730baae0d6bb0ac7a0473c34ed44b5c5edaaec5 SHA512 3f0477c26f293cf928acbdae2ffb98740ac227a605ec90f3ab3d35c0dbca2037529ff4e4de0b69cc975579ad14dc2fb8b52e050cfd99cffcc627418cf8cb4346
DIST wine-8.2.tar.xz 29129032 BLAKE2B 831a5d1c8228050db9257ed60dc77ed0a391f16ee16d2e5563eabbf8f7d988655477327e1081baf947b173e8eb716b15fb72d1daa70d5ade52508c7f1cc2c231 SHA512 d0b8bb8c6d75034519bdf48d52b89f9d44ba4f7306a0b8f860cbb2c4c39d8fae3c2d9c12be37427b9a9cbdb7dd8701844d0a74c245dd7a9e8a423cb56962b254
DIST wine-8.3.tar.xz 28983532 BLAKE2B b811a13aaa87f186c744254059d40fdf0740da42cf788acb2375c04cf3ecc281c92afc7bb7830d5797624d96f803edcb2d2778c5da378d89938fe0b68e72a287 SHA512 9c0c86f1d523cc65fe6bcb2f98e73f8909282eda1c04516ff35a32833e469421e099fe1351c3078ac96aa7884fc194a77fcf2ba8863e2a227316fd84562f1f5a
DIST wine-8.4.tar.xz 29031312 BLAKE2B 0b91267a68e4e332544d273646bb1e9389c3af3f48069ab7942096af5512e86a61d39788d91c221b4ae96e81858cfdff1e43a658ba407ff1450b6d752b8a3235 SHA512 8de144a65c0a3a2984fabc1294b647b8581da5fa8bd28a9ff756ab59256ee2b453d898453fc902bbc372a4e017a8e29b1eeef917f137ec1134ac08b671eccc7d
DIST wine-staging-8.0.tar.gz 9529620 BLAKE2B c9540195ea885d9f1e980232b0af471e92c61eb079cae35fdb3af5c13d4660b3466f751772440e38f15874082db296d16d1f1d68827a505b2dd949617eda0203 SHA512 76a729d7ced1ff634ddb455ddfaa66ca103b652f43cd152b57ada7431bb5fbb74f5e92bf2f4f329b6df6f5908130afad84e609cbce6df645d6cf8131e9b949f9
DIST wine-staging-8.1.tar.gz 9527176 BLAKE2B 363243a4a04bc767099b74f3b7613463d99da82996c176e68b9233cbf51c87ecd143840f7729a3edc31ac004b771b89ec3d57a0276b26e30d475feb273d09257 SHA512 c5c3111b27de7d3bf1d7a3a53f33e8d78c5006f22ff0361f77392455fa69b0afd7c58406515ace04b2df7e1dfb20e3adf9d874e5e8be09c9032c1c1aa31fe696
DIST wine-staging-8.2.tar.gz 9528476 BLAKE2B e6fb4d15e9b94c9196c1f472ac50fbd3eabe34ef4a54493ca11b702448c4039c5a4f13fb1119a88477924e204c6e1972b1b25efe742118beec01f71a9d879aa2 SHA512 24bbfb6d03ca8282de058019cbbee57b36f8fdcf3e485f2ca94dbcf50614cf6c80e31103196d11fe48c77953d59a741ae2baf6987e56a88bea038ed16b692ad9
DIST wine-staging-8.3.tar.gz 9523336 BLAKE2B 3fdb6343ab3735e9235ea3d99e3da4d392de9620d93e85e2bd3b13ae2e0eca2654b2b48230a3bfd7c66ead1fb751ddb092b361943f7a95eb3df5a240c2b9e32b SHA512 e2b1dc107088f716f1c7e80bc25b152ff5c2c4c4a6f29a60e42eabdea0e8b5df84eaeaf8b978f5aefc3f9ad5962eb74784d5a98b95fa3694485d00f3fa628ce6
DIST wine-staging-8.4.tar.gz 9522340 BLAKE2B b9fb08f529c9c24d9d6b09adbb359b265e246b8f4651eef0983d10b9c84afbdc9c58e04180e802cd3a7d0951f12ff46495b1ec0508e02f5b76ae7d0d987dc22c SHA512 96a6a870020e59f8437c65604536fec4b80d7d9e5a937e5d0a6cb0b2b4e544e6153fa0cdf2a8fd2c32d090001334e68124c2855c6a2a1454fdcdb6ea23d75fd7

@ -0,0 +1,369 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MULTILIB_COMPAT=( abi_x86_{32,64} )
PYTHON_COMPAT=( python3_{9..11} )
inherit autotools edo flag-o-matic multilib multilib-build
inherit python-any-r1 toolchain-funcs wrapper
WINE_GECKO=2.47.3
WINE_MONO=7.4.0
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/wine-staging/wine-staging.git"
WINE_EGIT_REPO_URI="https://gitlab.winehq.org/wine/wine.git"
else
(( $(ver_cut 2) )) && WINE_SDIR=$(ver_cut 1).x || WINE_SDIR=$(ver_cut 1).0
SRC_URI="
https://dl.winehq.org/wine/source/${WINE_SDIR}/wine-${PV}.tar.xz
https://github.com/wine-staging/wine-staging/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="-* ~amd64 ~x86"
fi
S="${WORKDIR}/wine-${PV}"
DESCRIPTION="Free implementation of Windows(tm) on Unix, with Wine-Staging patchset"
HOMEPAGE="https://wiki.winehq.org/Wine-Staging"
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
SLOT="${PV}"
IUSE="
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
llvm-libunwind debug custom-cflags +fontconfig +gecko gphoto2
+gstreamer kerberos +mingw +mono netapi nls opencl +opengl osmesa
pcap perl pulseaudio samba scanner +sdl selinux smartcard +ssl
+truetype udev udisks +unwind usb v4l +vulkan wayland +xcomposite
xinerama"
REQUIRED_USE="
X? ( truetype )
crossdev-mingw? ( mingw )" # bug #551124 for truetype
# tests are non-trivial to run, can hang easily, don't play well with
# sandbox, and several need real opengl/vulkan or network access
RESTRICT="test"
# `grep WINE_CHECK_SONAME configure.ac` + if not directly linked
WINE_DLOPEN_DEPEND="
X? (
x11-libs/libXcursor[${MULTILIB_USEDEP}]
x11-libs/libXfixes[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXrandr[${MULTILIB_USEDEP}]
x11-libs/libXrender[${MULTILIB_USEDEP}]
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
opengl? (
media-libs/libglvnd[X,${MULTILIB_USEDEP}]
osmesa? ( media-libs/mesa[osmesa,${MULTILIB_USEDEP}] )
)
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
)
cups? ( net-print/cups[${MULTILIB_USEDEP}] )
fontconfig? ( media-libs/fontconfig[${MULTILIB_USEDEP}] )
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
netapi? ( net-fs/samba[${MULTILIB_USEDEP}] )
sdl? ( media-libs/libsdl2[haptic,joystick,${MULTILIB_USEDEP}] )
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
truetype? ( media-libs/freetype[${MULTILIB_USEDEP}] )
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
vulkan? ( media-libs/vulkan-loader[${MULTILIB_USEDEP}] )"
WINE_COMMON_DEPEND="
${WINE_DLOPEN_DEPEND}
X? (
x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXext[${MULTILIB_USEDEP}]
)
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
capi? ( net-libs/libcapi:=[${MULTILIB_USEDEP}] )
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
gstreamer? (
dev-libs/glib:2[${MULTILIB_USEDEP}]
media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
)
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
scanner? ( media-gfx/sane-backends[${MULTILIB_USEDEP}] )
smartcard? ( sys-apps/pcsc-lite[${MULTILIB_USEDEP}] )
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
unwind? (
llvm-libunwind? ( sys-libs/llvm-libunwind[${MULTILIB_USEDEP}] )
!llvm-libunwind? ( sys-libs/libunwind:=[${MULTILIB_USEDEP}] )
)
usb? ( dev-libs/libusb:1[${MULTILIB_USEDEP}] )
wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )"
RDEPEND="
${WINE_COMMON_DEPEND}
app-emulation/wine-desktop-common
dos? ( games-emulation/dosbox )
gecko? ( app-emulation/wine-gecko:${WINE_GECKO}[${MULTILIB_USEDEP}] )
gstreamer? ( media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}] )
mono? ( app-emulation/wine-mono:${WINE_MONO} )
perl? (
dev-lang/perl
dev-perl/XML-LibXML
)
samba? ( net-fs/samba[winbind] )
selinux? ( sec-policy/selinux-wine )
udisks? ( sys-fs/udisks:2 )"
DEPEND="
${WINE_COMMON_DEPEND}
sys-kernel/linux-headers
X? ( x11-base/xorg-proto )"
# gitapply.sh prefers git but can fallback to patch+extras
BDEPEND="
${PYTHON_DEPS}
|| (
dev-vcs/git
(
sys-apps/gawk
sys-apps/util-linux
)
)
dev-lang/perl
sys-devel/binutils
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
mingw? ( !crossdev-mingw? (
>=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}]
) )
nls? ( sys-devel/gettext )"
IDEPEND=">=app-eselect/eselect-wine-2"
QA_CONFIG_IMPL_DECL_SKIP=(
__clear_cache # unused on amd64+x86 (bug #900334)
res_getservers # false positive
)
QA_FLAGS_IGNORED="usr/lib/.*/wine/.*-unix/odbc32.so" # has no compiled objects
QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext
PATCHES=(
"${FILESDIR}"/${PN}-7.17-noexecstack.patch
"${FILESDIR}"/${PN}-7.20-unwind.patch
)
pkg_pretend() {
[[ ${MERGE_TYPE} == binary ]] && return
if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
local mingw=-w64-mingw32
for mingw in $(usev abi_x86_64 x86_64${mingw}) $(usev abi_x86_32 i686${mingw}); do
if ! type -P ${mingw}-gcc >/dev/null; then
eerror "With USE=crossdev-mingw, you must prepare the MinGW toolchain"
eerror "yourself by installing sys-devel/crossdev then running:"
eerror
eerror " crossdev --target ${mingw}"
eerror
eerror "For more information, please see: https://wiki.gentoo.org/wiki/Mingw"
die "USE=crossdev-mingw is enabled, but ${mingw}-gcc was not found"
fi
done
fi
}
src_unpack() {
if [[ ${PV} == *9999 ]]; then
EGIT_CHECKOUT_DIR=${WORKDIR}/${P}
git-r3_src_unpack
EGIT_COMMIT=$(<"${EGIT_CHECKOUT_DIR}"/staging/upstream-commit) || die
EGIT_REPO_URI=${WINE_EGIT_REPO_URI}
EGIT_CHECKOUT_DIR=${S}
einfo "Fetching Wine commit matching the current patchset by default (${EGIT_COMMIT})"
git-r3_src_unpack
else
default
fi
}
src_prepare() {
local patchinstallargs=(
--all
--no-autoconf
-W winemenubuilder-Desktop_Icon_Path #652176
${MY_WINE_STAGING_CONF}
)
edo "${PYTHON}" ../${P}/staging/patchinstall.py "${patchinstallargs[@]}"
# sanity check, bumping these has a history of oversights
local geckomono=$(sed -En '/^#define (GECKO|MONO)_VER/{s/[^0-9.]//gp}' \
dlls/appwiz.cpl/addons.c || die)
if [[ ${WINE_GECKO}$'\n'${WINE_MONO} != "${geckomono}" ]]; then
local gmfatal=
[[ ${PV} == *9999 ]] && gmfatal=nonfatal
${gmfatal} die -n "gecko/mono mismatch in ebuild, has: " ${geckomono} " (please file a bug)"
fi
default
# ensure .desktop calls this variant + slot
sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
# always update for patches (including user's wrt #432348)
eautoreconf
tools/make_requests || die # perl
}
src_configure() {
WINE_PREFIX=/usr/lib/${P}
WINE_DATADIR=/usr/share/${P}
local conf=(
--prefix="${EPREFIX}"${WINE_PREFIX}
--datadir="${EPREFIX}"${WINE_DATADIR}
--includedir="${EPREFIX}"/usr/include/${P}
--libdir="${EPREFIX}"${WINE_PREFIX}
--mandir="${EPREFIX}"${WINE_DATADIR}/man
$(use_enable gecko mshtml)
$(use_enable mono mscoree)
--disable-tests
$(use_with X x)
$(use_with alsa)
$(use_with capi)
$(use_with cups)
$(use_with fontconfig)
$(use_with gphoto2 gphoto)
$(use_with gstreamer)
$(use_with kerberos gssapi)
$(use_with kerberos krb5)
$(use_with mingw)
$(use_with netapi)
$(use_with nls gettext)
$(use_with opencl)
$(use_with opengl)
$(use_with osmesa)
--without-oss # media-sound/oss is not packaged (OSSv4)
$(use_with pcap)
$(use_with pulseaudio pulse)
$(use_with scanner sane)
$(use_with sdl)
$(use_with smartcard pcsclite)
$(use_with ssl gnutls)
$(use_with truetype freetype)
$(use_with udev)
$(use_with udisks dbus) # dbus is only used for udisks
$(use_with unwind)
$(use_with usb)
$(use_with v4l v4l2)
$(use_with vulkan)
$(use_with wayland)
$(use_with xcomposite)
$(use_with xinerama)
)
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
filter-lto # build failure
use mingw || filter-flags -fno-plt # build failure
use custom-cflags || strip-flags # can break in obscure ways at runtime
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
# temporary workaround for tc-ld-force-bfd not yet enforcing with mold
# https://github.com/gentoo/gentoo/pull/28355
[[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] &&
append-ldflags -fuse-ld=bfd
# build using upstream's way (--with-wine64)
# order matters: configure+compile 64->32, install 32->64
local -i bits
for bits in $(usev abi_x86_64 64) $(usev abi_x86_32 32); do
(
einfo "Configuring ${PN} for ${bits}bits in ${WORKDIR}/build${bits} ..."
mkdir ../build${bits} || die
cd ../build${bits} || die
pe_arch=i386
if (( bits == 64 )); then
pe_arch=x86_64
: "${CROSSCC:=${CROSSCC_amd64:-x86_64-w64-mingw32-gcc}}"
conf+=( --enable-win64 )
elif use amd64; then
conf+=(
$(usev abi_x86_64 --with-wine64=../build64)
TARGETFLAGS=-m32 # for widl
)
# _setup is optional, but use over Wine's auto-detect (+#472038)
multilib_toolchain_setup x86
fi
: "${CROSSCC:=${CROSSCC_x86:-i686-w64-mingw32-gcc}}"
if use mingw; then
# CROSSCC is no longer recognized by Wine, but still use for now
# (future handling for CROSS* variables is subject to changes)
conf+=( ac_cv_prog_${pe_arch}_CC="${CROSSCC}" )
# use *FLAGS for mingw, but strip unsupported
: "${CROSSCFLAGS:=$(
# >=wine-7.21 configure.ac no longer adds -fno-strict by mistake
append-cflags '-fno-strict-aliasing'
filter-flags '-fstack-clash-protection' #758914
filter-flags '-fstack-protector*' #870136
filter-flags '-mfunction-return=thunk*' #878849
CC=${CROSSCC} test-flags-CC ${CFLAGS:--O2})}"
: "${CROSSLDFLAGS:=$(
filter-flags '-fuse-ld=*'
CC=${CROSSCC} test-flags-CCLD ${LDFLAGS})}"
export CROSS{C,LD}FLAGS
fi
ECONF_SOURCE=${S} econf "${conf[@]}"
)
done
}
src_compile() {
use abi_x86_64 && emake -C ../build64 # do first
use abi_x86_32 && emake -C ../build32
}
src_install() {
use abi_x86_32 && emake DESTDIR="${D}" -C ../build32 install
use abi_x86_64 && emake DESTDIR="${D}" -C ../build64 install # do last
# symlink for plain 'wine' and install its man pages if 64bit-only #404331
if use abi_x86_64 && use !abi_x86_32; then
dosym wine64 ${WINE_PREFIX}/bin/wine
dosym wine64-preloader ${WINE_PREFIX}/bin/wine-preloader
local man
for man in ../build64/loader/wine.*man; do
: "${man##*/wine}"
: "${_%.*}"
insinto ${WINE_DATADIR}/man/${_:+${_#.}/}man1
newins ${man} wine.1
done
fi
use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
"${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} || die
# create variant wrappers for eselect-wine
local bin
for bin in "${ED}"${WINE_PREFIX}/bin/*; do
make_wrapper "${bin##*/}-${P#wine-}" "${bin#"${ED}"}"
done
# don't let portage try to strip PE files with the wrong
# strip executable and instead handle it here (saves ~120MB)
if use mingw; then
dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows
use debug ||
find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \
-exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die
fi
dodoc ANNOUNCE AUTHORS README* documentation/README*
}
pkg_postinst() {
eselect wine update --if-unset || die
}
pkg_postrm() {
eselect wine update --if-unset || die
}

Binary file not shown.

@ -0,0 +1,28 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="BLAS/CBLAS module for eselect"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE=""
# Need skel.bash lib
RDEPEND=( ">=app-admin/eselect-1.0.5"
"!app-eselect/eselect-cblas" )
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_install() {
local MODULEDIR="/usr/share/eselect/modules"
local MODULE="blas"
insinto ${MODULEDIR}
newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect
doman "${FILESDIR}"/blas.eselect.5
}

@ -0,0 +1,168 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU GPL version 2 or later
inherit config tests multilib skel
MODULE="BLAS/CBLAS"
IFACE="blas"
DESCRIPTION="Manage installed alternatives of $MODULE shared objects"
MAINTAINER="lumin@debian.org"
VERSION="0.3"
### helper utility to find all available BLAS/CBLAS implementations
find_targets_in() {
[[ $# -eq 1 ]] || die -q "in which libdir?"
local cand
for cand in "${EROOT}/etc/env.d/blas/$1"/*; do
[[ "config" = $(basename ${cand}) ]] && continue
[[ -r ${cand} ]] && basename ${cand}
done
}
### helper utility to validate a BLAS/CBLAS library directory
validate_blaslibdir() {
[[ -d $1 ]] || return 2 # dir doesn't exist
[[ -r "${1}/libblas.so.3" ]] && [[ -r "${1}/libblas.so" ]] \
&& [[ -r "${1}/libcblas.so.3" ]] && [[ -r "${1}/libcblas.so" ]] \
|| return 1
}
### show action
do_show() {
# do_show -- show both lib64 and lib32 selection
# do_show libxx -- show libxx selection
local libdir cur libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] && continue
[[ ! -r ${EROOT}/etc/env.d/blas/${libdir}/config ]] && continue
cur=$(load_config "${EROOT}"/etc/env.d/blas/${libdir}/config CURRENT)
echo ${libdir}: $cur
done
}
### list action
do_list() {
local i cur targets
local libdir libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
cur=$(load_config "${EROOT}"/etc/env.d/blas/${libdir}/config CURRENT)
write_list_start "Available BLAS/CBLAS ($libdir) candidates:"
for (( i = 0; i < ${#targets[@]}; i++ )); do
[[ ${targets[i]} = $cur ]] \
&& targets[i]=$(highlight_marker "${targets[i]}")
done
write_numbered_list -m "(none found)" "${targets[@]}"
done
}
### validate action
describe_validate() {
echo "validate candidates and remove invalid ones"
}
do_validate() {
local i ldpath targets target candidate
local libdir libdirs=( $(list_libdirs) )
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
for target in ${targets[@]}; do
candidate=${EROOT}/etc/env.d/blas/${libdir}/${target}
ldpath=$(load_config "$candidate" LDPATH)
if ! validate_blaslibdir "${ROOT}/$ldpath"; then
echo "Removing invalid BLAS/CBLAS candidate ($candidate) ..."
rm -v "$candidate"
fi
done
done
}
### set action
describe_set() {
echo "Activate one of the installed $MODULE implementations"
}
describe_set_parameters() {
echo "[<libdir>] <implementation>"
}
describe_set_options() {
echo "libdir: lib64 or lib32. Will use the native one when omitted."
echo "implementation : implementation name or number (from 'list' action)"
}
do_set() {
local libdirs=( $(list_libdirs) )
local targets libdir ldconf libpath impl
# check argument existence
[[ $# -eq 1 ]] || [[ $# -eq 2 ]] || \
die -q "Please specify [<libdir>] <impl> to activate!"
# read argumenets
if [[ $# -eq 2 ]]; then libdir="$1"; else libdir="$(get_libdir)"; fi
if [[ $# -eq 2 ]]; then impl="$2"; else impl="$1"; fi
# validate arguments
has "$libdir" "${libdirs[@]}" || die -q "Invalid libdir ($libdir) !"
targets=( $(find_targets_in $libdir) )
if ! has "$impl" "${targets[@]}"; then
if [[ ${impl} -gt 0 ]] && [[ ${impl} -le ${#targets[@]} ]]; then
impl=${targets[(${impl} - 1)]}
else
die -q "Invalid impl ($impl) !"
fi
fi
# store the configuration to env.d
store_config "${EROOT}"/etc/env.d/blas/${libdir}/config CURRENT "${impl}"
# generate ld.so.conf file
ldconf="${EROOT}/etc/ld.so.conf.d/81-blas-${libdir}.conf"
libpath=$(load_config ${EROOT}/etc/env.d/blas/${libdir}/${impl} LDPATH)
truncate -s0 "$ldconf"
echo "# Auto-generated by eselect::blas. DON'T EDIT." >> "$ldconf"
echo "$libpath" >> "$ldconf"
# refresh cache. env-update will call ldconfig (see
# portage::env_update.py) so we don't need to call it explicitly.
env-update
}
### add action
describe_add_parameters() {
echo "<libdir> <dir> <impl>"
}
describe_add_options() {
echo "libdir : library directory where $MODULE implementation is installed (lib, lib64, etc.)"
echo "dir : directory containing lib{,c}blas.so{.3}"
echo "impl : name of the $MODULE implementation"
}
do_add() {
[[ $# -eq 3 ]] \
|| die -q "Please specify <libdir> <dir> <impl> to activate!"
validate_blaslibdir "${ROOT}/$2" || die -q "invalid blas libdir!"
store_config "${EROOT}/etc/env.d/blas/$1/$3" LDPATH "$2"
}

@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="LAPACK module for eselect"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
IUSE=""
# Need skel.bash lib
RDEPEND=( ">=app-admin/eselect-1.0.5" )
DEPEND="${RDEPEND}"
S="${WORKDIR}"
src_install() {
local MODULEDIR="/usr/share/eselect/modules"
local MODULE="lapack"
insinto ${MODULEDIR}
newins "${FILESDIR}"/${MODULE}.eselect-${PVR} ${MODULE}.eselect
doman "${FILESDIR}"/lapack.eselect.5
}

@ -0,0 +1,167 @@
# -*-eselect-*- vim: ft=eselect
# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU GPL version 2 or later
inherit config tests multilib skel
MODULE="LAPACK"
IFACE="lapack"
DESCRIPTION="Manage installed alternatives of $MODULE shared objects"
MAINTAINER="lumin@debian.org"
VERSION="0.3"
### helper utility to find all available LAPACK implementations
find_targets_in() {
[[ $# -eq 1 ]] || die -q "in which libdir?"
local cand
for cand in "${EROOT}/etc/env.d/lapack/$1"/*; do
[[ "config" = $(basename ${cand}) ]] && continue
[[ -r ${cand} ]] && basename ${cand}
done
}
### helper utility to validate a LAPACK library directory
validate_lapacklibdir() {
[[ -d $1 ]] || return 2 # dir doesn't exist
[[ -r "${1}/liblapack.so.3" ]] && [[ -r "${1}/liblapack.so" ]] \
|| return 1
}
### show action
do_show() {
# do_show -- show both lib64 and lib32 selection
# do_show libxx -- show libxx selection
local libdir cur libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] && continue
[[ ! -r ${EROOT}/etc/env.d/lapack/${libdir}/config ]] && continue
cur=$(load_config "${EROOT}"/etc/env.d/lapack/${libdir}/config CURRENT)
echo ${libdir}: $cur
done
}
### list action
do_list() {
local i cur targets
local libdir libdirs=( $(list_libdirs) )
# if manually specified libdirs
if [[ ! $# -eq 0 ]]; then
for libdir in $@; do
has $libdir ${libdirs[@]} || die -q "invalid libdir '$libdir'!"
done
libdirs=( $@ )
fi
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
cur=$(load_config "${EROOT}"/etc/env.d/lapack/${libdir}/config CURRENT)
write_list_start "Available LAPACK ($libdir) candidates:"
for (( i = 0; i < ${#targets[@]}; i++ )); do
[[ ${targets[i]} = $cur ]] \
&& targets[i]=$(highlight_marker "${targets[i]}")
done
write_numbered_list -m "(none found)" "${targets[@]}"
done
}
### validate action
describe_validate() {
echo "validate candidates and remove invalid ones"
}
do_validate() {
local i ldpath targets target candidate
local libdir libdirs=( $(list_libdirs) )
for libdir in ${libdirs[@]}; do
[[ ! -d ${EROOT}/usr/$libdir ]] || [[ -L ${EROOT}/usr/$libdir ]] && continue
targets=( $(find_targets_in $libdir) )
for target in ${targets[@]}; do
candidate=${EROOT}/etc/env.d/lapack/${libdir}/${target}
ldpath=$(load_config "$candidate" LDPATH)
if ! validate_lapacklibdir "${ROOT}/$ldpath"; then
echo "Removing invalid LAPACK candidate ($candidate) ..."
rm -v "$candidate"
fi
done
done
}
### set action
describe_set() {
echo "Activate one of the installed $MODULE implementations"
}
describe_set_parameters() {
echo "[<libdir>] <implementation>"
}
describe_set_options() {
echo "libdir: lib64 or lib32. Will use the native one when omitted."
echo "implementation : implementation name or number (from 'list' action)"
}
do_set() {
local libdirs=( $(list_libdirs) )
local targets libdir ldconf libpath impl
# check argument existence
[[ $# -eq 1 ]] || [[ $# -eq 2 ]] || \
die -q "Please specify [<libdir>] <impl> to activate!"
# read argumenets
if [[ $# -eq 2 ]]; then libdir="$1"; else libdir="$(get_libdir)"; fi
if [[ $# -eq 2 ]]; then impl="$2"; else impl="$1"; fi
# validate arguments
has "$libdir" "${libdirs[@]}" || die -q "Invalid libdir ($libdir) !"
targets=( $(find_targets_in $libdir) )
if ! has "$impl" "${targets[@]}"; then
if [[ ${impl} -gt 0 ]] && [[ ${impl} -le ${#targets[@]} ]]; then
impl=${targets[(${impl} - 1)]}
else
die -q "Invalid impl ($impl) !"
fi
fi
# store the configuration to env.d
store_config "${EROOT}"/etc/env.d/lapack/${libdir}/config CURRENT "${impl}"
# generate ld.so.conf file
ldconf="${EROOT}/etc/ld.so.conf.d/82-lapack-${libdir}.conf"
libpath=$(load_config ${EROOT}/etc/env.d/lapack/${libdir}/${impl} LDPATH)
truncate -s0 "$ldconf"
echo "# Auto-generated by eselect::lapack. DON'T EDIT." >> "$ldconf"
echo "$libpath" >> "$ldconf"
# refresh cache. env-update will call ldconfig (see
# portage::env_update.py) so we don't need to call it explicitly.
env-update
}
### add action
describe_add_parameters() {
echo "<libdir> <dir> <impl>"
}
describe_add_options() {
echo "libdir : library directory where $MODULE implementation is installed (lib, lib64, etc.)"
echo "dir : directory containing liblapack.so{.3}"
echo "impl : name of the $MODULE implementation"
}
do_add() {
[[ $# -eq 3 ]] \
|| die -q "Please specify <libdir> <dir> <impl> to activate!"
validate_lapacklibdir "${ROOT}/$2" || die -q "invalid lapack libdir!"
store_config "${EROOT}/etc/env.d/lapack/$1/$3" LDPATH "$2"
}

Binary file not shown.

@ -1,3 +1,2 @@
DIST dateutils-0.4.7.tar.xz 649932 BLAKE2B 710c22d63fe3c8f77c69c97c405d3d4aa5c51de3d5768076ca24f8b2be0d6033ae652825e528d99c36f382e25c4e0a60eaa7cb9eec58f6b814d60d513b37ce7e SHA512 480943c32585efd8f42958d6e7d3304a37568f2134c9561d6e0b38f4719fd149ec7e55c559a5e73e97e1c9d217f3d53fe76a7e6a9d3114c040915ebf48db4666
DIST dateutils-0.4.8.tar.xz 642316 BLAKE2B 483ae60829c3b77bd7c2ce72347bc99fda6f63018c2e2335322175f962f904c97ba07c4e39bcdf6e549e2e09043d56bcc00863a1299225964cd15921a22bfc05 SHA512 964204e2a04a5aa7fa73cbddd98e1a953d498a4b5e0447daa5f912845fb74825d1791b6bea3ebca47784a8edd2e549dfee1e48e3050632efed7f11f109b74be8
DIST dateutils-0.4.10.tar.xz 652548 BLAKE2B b1fe3b07edfd223c9265df99888bf2edc37458b487b0f3b913f4c19e23b86d4a7f8cb3f0610bf140e6ce0233a9008ccd26cbe0b1462c5f85b2424cd39ffcbdb7 SHA512 04a9fff177596bb9bc47d3b221865bbeafeafbc708385610845a1cdcb2a7fa379e8d9363cce578836ae121dab7ee64e19f61d82e8f222250e52d23c5f43cf521
DIST dateutils-0.4.9.tar.xz 651024 BLAKE2B 9b9bab5f990689a367fa574c20113c01f4847cdcced47275b992655cb91cd14076c22e2d550a969c20ef979b63156c72a485c42105022e522dce4d1376aa0393 SHA512 b5cda838f8fa01e4208e11842f835503357c02b4a21b003db08ef88763a65f26ad2cd6f5d71c80b499d4e5ee5c0b4e552469ef91aa6cd02ebe5c5d2ad6e3105e

@ -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=7
EAPI=8
DESCRIPTION="Command line date and time utilities"
HOMEPAGE="https://www.fresse.org/dateutils/ https://github.com/hroptatyr/dateutils"
@ -13,7 +13,7 @@ case "${PV}" in
;;
*)
SRC_URI="https://github.com/hroptatyr/dateutils/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="amd64 x86"
KEYWORDS="~amd64 ~x86"
esac
LICENSE="BSD"

@ -1,40 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="command line date and time utilities"
HOMEPAGE="https://www.fresse.org/dateutils/ https://github.com/hroptatyr/dateutils"
case "${PV}" in
9999)
inherit autotools git-r3
EGIT_REPO_URI="https://github.com/hroptatyr/dateutils.git"
;;
*)
SRC_URI="https://github.com/hroptatyr/dateutils/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="amd64 x86"
esac
LICENSE="BSD"
SLOT="0"
BDEPEND="app-arch/xz-utils"
DEPEND="sys-libs/timezone-data"
# bug 429810
RDEPEND="${DEPEND}
!sys-fabric/dapl"
PATCHES=(
"${FILESDIR}/${PN}-0.4.6-unportable-sys-sysctl_h.patch"
)
src_prepare() {
default
[[ "${PV}" = 9999 ]] && eautoreconf
}
src_configure() {
econf CFLAGS="${CFLAGS}"
}

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7

@ -1,10 +0,0 @@
--- a/build-aux/yuck.c
+++ b/build-aux/yuck.c
@@ -65,7 +65,6 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/sysctl.h>
#include <time.h>
#if defined WITH_SCMVER
# include <yuck-scmver.h>

@ -1,2 +1 @@
DIST fhem-6.1.tar.gz 32437246 BLAKE2B 0c7afce70d7fa4afe01b4dd46847cfb406a267c30ba6490b4ded75c365e745c0e84aa4872e6ca9c59f11b3082655e23295c59d69c5f91b272cc576df2e9e4978 SHA512 93767f6e8fa2b35b24192c1dd5de29bc9ac09f8690982870d1479350acc0954d6a635fcb2abfdac96f2f9b4f8217288486b35fa385f3388efd1407b4f14ebe8f
DIST fhem-6.2.tar.gz 32526944 BLAKE2B 00ec9cb1518ab002e0565150a30ec7191c1f0a8ae0fccb7a3a745837f7794e4f61a8e7fa4707416e841f86803d69c27f7158c36f765733e76f461dcbb15e306e SHA512 8bb4cf277ab3f008b353c3fa7f67a50f502299e79f2b96d13e88150766e39498888a05a44b6509a51f90d82dcd0aefa6642deea585c72d65e3849b6aa0322143

@ -1,107 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd tmpfiles
DESCRIPTION="A GPL'd perl server for house automation"
HOMEPAGE="https://www.fhem.de/"
SRC_URI="https://www.fhem.de/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
RDEPEND="
acct-group/fhem
acct-user/fhem
dev-perl/Crypt-CBC
dev-perl/Device-SerialPort
dev-perl/Digest-CRC
dev-perl/JSON
"
DEPEND="media-gfx/pngcrush"
src_prepare() {
default
# Allow install path to be set by DESTDIR in Makefile
sed -i -e 's,^\(BINDIR=\),\1'\$\(DESTDIR\)',' Makefile || die
# Remove docs in Makefile, as they will be installed manually
sed -i -e 's/docs//g' Makefile || die
sed -i -e '/README_DEMO.txt/d' Makefile || die
# Remove manpage in Makefile, as it will be installed manually
sed -i -e '/fhem.pl.1/d' Makefile || die
# Remove lcd4linux binaries, as they are provied by app-misc/lcd4linux
rm -r contrib/lcd4linux || die
# Remove log dir, as it will be replaced with a symlink
rm -r log || die
# Fix fhemicon_darksmall.png, as it reports "broken IDAT window length"
# Reported to Upstream: https://forum.fhem.de/index.php/topic,86238.0.html
pngcrush -fix -force -ow www/images/default/fhemicon_darksmall.png || die
cp "${FILESDIR}"/fhem.cfg fhem.cfg || die
}
src_compile() {
:
}
src_install() {
local DOCS=(
"CHANGED"
"HISTORY"
"MAINTAINER.txt"
"README.SVN"
"README_DEMO.txt"
"docs"/*.txt
"docs"/*.patch
"docs"/*.pdf
"docs/changelog"
"docs/copyright"
"docs/dotconfig"
"docs/fhem.odg.readme"
"docs/LIESMICH.update-thirdparty"
"docs"/README*
"docs/X10"
)
if use doc; then
local DOCS+=( "docs/X10" )
local HTML_DOCS=( "docs/"*.eps "docs/"*.html "docs"/*.jpg "docs"/*.js "docs"/*.odg "docs/"*.png "docs/km271" )
fi
diropts -o fhem -g fhem
keepdir "/var/lib/fhem"
keepdir "/var/log/fhem"
diropts
dosym ../../var/lib/fhem /opt/fhem/data
dosym ../../var/log/fhem /opt/fhem/log
default
newinitd "${FILESDIR}"/fhem.initd fhem
systemd_newunit "${FILESDIR}"/fhem.service-r1 fhem.service
newtmpfiles "${FILESDIR}"/fhem.tmpfiles fhem.conf
newman docs/fhem.man fhem.pl.1
echo 'CONFIG_PROTECT="/opt/fhem /var/lib/fhem"' > "${T}"/99fhem || die
doenvd "${T}"/99fhem
fowners fhem:fhem /opt/fhem/fhem.cfg
}
pkg_postinst() {
tmpfiles_process fhem.conf
}

@ -11,7 +11,7 @@ SRC_URI="https://www.fhem.de/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="doc"
RDEPEND="

@ -1,2 +1,3 @@
DIST gnote-43.0.tar.xz 3325232 BLAKE2B 9e56aa164262b710aab872be48fded2a6c70a062ddfe7c95ae633c38269390a6b3c3143c788f0ee43fb37d0229443a600d71e5edfbab1aa387a20e135210a0dc SHA512 34133ba1cef12c02a6518017f6b5b07b6781f05af787034ceb3dd8bc4d59fff2a7cdc17615511e7008c39bebf52e6b78a973840bdd5b6b1e5199226fdd12d91c
DIST gnote-43.1.tar.xz 3329384 BLAKE2B 0e871797160a45d07ec17d9fbfeaaf159b755bdf373480ac47ac03b966b87510d0d721fdc581da76c0f7e3b1098964d926122f0aeb36c4a44597b137fe41ccf2 SHA512 7b007e325634371deee99e09230f4f2427a072e203d6086a91888ed3be69b54b22bfc9e49010a43a09c134f0d4de9d510fd1a370e2432f9542241d9f37e05921
DIST gnote-44.0.tar.xz 3330052 BLAKE2B 5b8a45de08419cdc8b22596fc4019ddd18edf7103dda5d51fe87153e624a3623a3b5af1e65ee15bc0afbefc13400ceddebc740fc34ff3675f4e0fa3a68ae87d5 SHA512 95299d811372f9c011e2966cd0fcb770830d691a85e390fbeb0500ff2db394301d0aeb478c622af1a8caf54d07cb15243c65e73809e02ae36407ef5006e636bb

@ -0,0 +1,66 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2 meson readme.gentoo-r1
DESCRIPTION="Desktop note-taking application"
HOMEPAGE="https://wiki.gnome.org/Apps/Gnote"
LICENSE="GPL-3+ FDL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/glib-2.62:2[dbus]
>=dev-cpp/glibmm-2.62.0:2
>=dev-cpp/gtkmm-3.22.20:3.0
>=app-crypt/libsecret-0.8
>=dev-libs/libxml2-2:2
dev-libs/libxslt
>=sys-apps/util-linux-2.16
>=app-text/gspell-1.6.0:=
test? ( dev-libs/unittest++ )
"
RDEPEND="${DEPEND}
gnome-base/gsettings-desktop-schemas
"
BDEPEND="
app-text/docbook-xml-dtd:4.1.2
>=dev-util/intltool-0.35.0
dev-util/itstool
virtual/pkgconfig
"
src_prepare() {
default
# Build system requires UnitTest++ >=1.5.1, but the .pc file doesn't
# specify a version
sed -i -e "/UnitTest++/ s/version: [^,]*,//" meson.build || die
if ! use test; then
sed -i -e "/unit_test_pp/ s/ = .*/ = disabler()/" meson.build || die
fi
if has_version net-fs/wdfs; then
DOC_CONTENTS="You have net-fs/wdfs installed. app-misc/gnote will use it to
synchronize notes."
else
DOC_CONTENTS="Gnote can use net-fs/wdfs to synchronize notes.
If you want to use that functionality just emerge net-fs/wdfs.
Gnote will automatically detect that you did and let you use it."
fi
}
src_install() {
meson_src_install
readme.gentoo_create_doc
}
pkg_postinst() {
gnome2_pkg_postinst
readme.gentoo_print_elog
}

@ -1,2 +1,3 @@
DIST resolve-march-native-1.0.0.tar.gz 9341 BLAKE2B 5b56084816a88a462c889e2409c2bd1a9fc6297f239716f1d61c84f2417755dc92f31e677283f818b9c0ca28f38eb57d7145d60587cea004a001b22098e1fa4d SHA512 fdd0fdbb0980e86bae793f37fe0de3d3886dfe360c2ce52b37d92f881e14b1eaa0ba9c8d52a1bc6774b1389154300c0753eba5701c3c2ddc98f0696a8351f895
DIST resolve-march-native-2.1.0.tar.gz 14940 BLAKE2B 2f8b16a04ce531c54bdd63632fb5bb2c82c1c22ef5fa4dc1f9fc5cafc4f59511f457ead95236d61b62cd4633bca35b0d2c5383e2d4b2bc7bf73ae44deb27029c SHA512 26fdb2871d93ba118f1433f2e303ed128bacada2a7fb6e813a8caddda05f7cff18de7339e02349a3b40f0b431f69ee1d877a8f082150c7222fa47dcf4fcf1544
DIST resolve-march-native-2.2.0.tar.gz 15110 BLAKE2B bd0fc09f35bcc46727a9d105d09625c1e1e38528febd315f1e79427ec516326773c3832be15146fcb9bea99ba3435a1a9ee28684b963919c1c7eb185ed5716ca SHA512 85ddba5646168cb1644c99504b4be673c52cec0cae7deb028d9cb923fa0b09817a3f5c08f6e0e546bba89f78cc574193b0bb26d1c3bae86f31ed8808cb17bdda

@ -0,0 +1,23 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Resolve GCC flag -march=native"
HOMEPAGE="https://github.com/hartwork/resolve-march-native"
SRC_URI="https://github.com/hartwork/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=">=sys-devel/gcc-4.2"
distutils_enable_tests pytest

@ -1,8 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A text filtering pipe that marks each line with a timestamp"
HOMEPAGE="http://math.smsu.edu/~erik/software.php?id=95"
SRC_URI="http://math.smsu.edu/~erik/files/${P}.tar.gz"
@ -12,3 +14,10 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
RDEPEND="!sys-apps/moreutils"
src_prepare() {
default
# Clang 16, bug #900481
eautoreconf
}

@ -10,7 +10,7 @@ HOMEPAGE="https://tmate.io/"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~riscv ~x86"
KEYWORDS="amd64 ~riscv ~x86"
IUSE="debug"
SRC_URI="https://github.com/tmate-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

@ -1,2 +1,3 @@
DIST tracker-miners-3.4.3.tar.xz 7244744 BLAKE2B e018e8e80c5b87eda7ef50b00fe87b4d555806a1d630c147dd4c5a11bdf7140c28f68ef0724ec281f11acd5b63d9857eae8d23e51ed5607136c90d783c7a205b SHA512 b7287bd14be9c14be582109b660166b38c515199b809503a7b06e411f4cc1e0c1f59ce95ab70e1b404d7440b7f23312f1150a4e033e38cabfc0f396e3c1edc3c
DIST tracker-miners-3.5.0.rc.tar.xz 7503452 BLAKE2B 769c7a28deeb1e8698bde22918b0b24c68c11aca2d690297ec55d891b6fcb978640fa50c5558b8f0a38e437ca9d5b893fb49f50d30c12acea207d2bdf6393ca6 SHA512 43285cdd0d43c19934995dcd1479dc7cd596eaa2e3e6be010c8789acac9f0bdec2930bec60d78ee551024f4cdb3789233e9e275eaec9157aa922f3f5d272db54
DIST tracker-miners-3.5.0.tar.xz 7503332 BLAKE2B 9e5e3464d2c738ce1fc7570239d995d6deb4aeae73bdf71920759c760e3c2a2dd1c04363929fbb3d98369778522517453bd340efa3efe519d1e4ad7d8e99304e SHA512 db9bc92aa8e33adde2135dbc7e381c553dbd18517e856d149084dbcfc99af8d0df16909547263ef61a80dd8c06c326a7a0b31142ca3eb01c488a3172fbd2761d

@ -0,0 +1,177 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 systemd xdg
DESCRIPTION="Collection of data extractors for Tracker/Nepomuk"
HOMEPAGE="https://wiki.gnome.org/Projects/Tracker"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="3"
IUSE="cue exif ffmpeg gif gsf +gstreamer iptc +iso +jpeg networkmanager +pdf +playlist raw +rss seccomp test +tiff upower +xml xmp xps"
REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreamer, not ffmpeg
RESTRICT="!test? ( test )"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
# tracker-2.1.7 currently always depends on ICU (theoretically could be libunistring instead); so choose ICU over enca always here for the time being (ICU is preferred)
RDEPEND="
>=dev-libs/glib-2.70:2
>=app-misc/tracker-3.4.0:3
>=sys-apps/dbus-1.3.1
xmp? ( >=media-libs/exempi-2.1.0:= )
raw? ( media-libs/gexiv2 )
cue? ( media-libs/libcue:= )
exif? ( >=media-libs/libexif-0.6 )
gsf? ( >=gnome-extra/libgsf-1.14.24:= )
xps? ( app-text/libgxps )
iptc? ( media-libs/libiptcdata )
jpeg? ( media-libs/libjpeg-turbo:0= )
iso? ( >=sys-libs/libosinfo-1.10.0-r1 )
>=media-libs/libpng-1.2:0=
seccomp? ( >=sys-libs/libseccomp-2.0 )
tiff? ( media-libs/tiff:= )
xml? ( >=dev-libs/libxml2-2.6 )
pdf? ( >=app-text/poppler-0.16.0:=[cairo] )
playlist? ( >=dev-libs/totem-pl-parser-3:= )
sys-apps/util-linux
gif? ( media-libs/giflib:= )
networkmanager? ( net-misc/networkmanager )
rss? ( >=net-libs/libgrss-0.7:0 )
app-arch/gzip
upower? ( >=sys-power/upower-0.9.0:= )
>=dev-libs/icu-4.8.1.1:=
gstreamer? (
>=media-libs/gstreamer-1.20:1.0
>=media-libs/gst-plugins-base-1.20:1.0
>=media-plugins/gst-plugins-meta-1.20:1.0 )
!gstreamer? (
ffmpeg? ( media-video/ffmpeg:0= ) )
"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/asciidoc
dev-libs/libxslt
dev-util/glib-utils
dev-util/gdbus-codegen
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
test? (
${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
$(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
gstreamer? (
media-libs/gstreamer:1.0[introspection]
|| (
media-plugins/gst-plugins-libav:1.0
media-plugins/gst-plugins-openh264:1.0
)
)
)
"
PATCHES=(
"${FILESDIR}"/3.4.2-functional-tests-Run-png-region-of-interest-only-if-.patch
)
python_check_deps() {
python_has_version -b \
"dev-python/pygobject[${PYTHON_USEDEP}]" \
"dev-python/tappy[${PYTHON_USEDEP}]"
}
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_prepare() {
default
# Avoid gst-inspect calls that may trigger sandbox; instead assume the detection will succeed and add the needed test deps for that
if use gstreamer; then
sed -i -e 's:detect-h264-codec.sh:/bin/true:' tests/functional-tests/meson.build || die
else
sed -i -e 's:detect-h264-codec.sh:/bin/false:' tests/functional-tests/meson.build || die
fi
gnome2_environment_reset # sets gstreamer safety variables
}
src_configure() {
append-cflags -DTRACKER_DEBUG -DG_DISABLE_CAST_CHECKS
local media_extractor="none"
if use gstreamer ; then
media_extractor="gstreamer"
elif use ffmpeg ; then
media_extractor="libav"
fi
local emesonargs=(
-Dtracker_core=system
-Dman=true
-Dextract=true
$(meson_use test functional_tests)
$(meson_use test tests_tap_protocol)
-Dminer_fs=true
$(meson_use rss miner_rss)
-Dwriteback=true
-Dabiword=true
-Dicon=true
-Dmp3=true
-Dps=true
-Dtext=true
-Dunzip_ps_gz_files=true # spawns gunzip
$(meson_feature networkmanager network_manager)
$(meson_feature cue)
$(meson_feature exif)
$(meson_feature gif)
$(meson_feature gsf)
$(meson_feature iptc)
$(meson_feature iso)
$(meson_feature jpeg)
$(meson_feature pdf)
$(meson_feature playlist)
-Dpng=enabled
$(meson_feature raw)
$(meson_feature tiff)
$(meson_feature xml)
$(meson_feature xmp)
$(meson_feature xps)
-Dbattery_detection=$(usex upower upower none)
-Dcharset_detection=icu # enca is a possibility, but right now we have tracker core always dep on icu and icu is preferred over enca
-Dgeneric_media_extractor=${media_extractor}
# gupnp gstreamer_backend is in bad state, upstream suggests to use discoverer, which is the default
-Dsystemd_user_services_dir="$(systemd_get_userunitdir)"
)
meson_src_configure
}
src_test() {
export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

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

Loading…
Cancel
Save