Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-10-23 10:33:29 +00:00
19 changed files with 257 additions and 74 deletions

1
dev-lua/cqueues/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST cqueues-rel-20200726.tar.gz 511659 BLAKE2B 2e8da34d4818e96d6872d0e544ff39465f4b55527146dd0003a80a4f11be34601fc34a123a8bd7535f3437afb4825ab9995d63141991c0b4c520c365decbaf37 SHA512 f2198a2a887bca445fe480949e05ecc94c3112827dbd65d2de0258316beee12f6052fa2670560daab708421e669dde0ac581b365af6bb94a3fc6f322c8bc7547

View File

@@ -0,0 +1,96 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-{1..4} luajit )
MY_P="${PN}-rel-${PV}"
inherit lua toolchain-funcs
DESCRIPTION="Stackable Continuation Queues"
HOMEPAGE="http://25thandclement.com/~william/projects/cqueues.html https://github.com/wahern/cqueues"
SRC_URI="https://github.com/wahern/${PN}/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples"
REQUIRED_USE="${LUA_REQUIRED_USE}"
DEPEND="
${LUA_DEPS}
dev-libs/openssl:0=
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( "doc/." )
# Thanks to dev-lua/luaossl for workarounds
src_prepare() {
default
sed \
-e '/LUAPATH :=/d' \
-e '/LUAPATH_FN =/d' \
-e '/ALL_LIBS +=/d' \
-i GNUmakefile || die
lua_copy_sources
}
lua_src_compile() {
pushd "${BUILD_DIR}" || die
if [[ ${ELUA} != luajit ]]; then
LUA_VERSION="$(ver_cut 1-2 $(lua_get_version))"
else
# This is a workaround for luajit, as it confirms to lua5.1
# and the 'GNUmakefile' doesn't understand LuaJITs version.
LUA_VERSION="5.1"
fi
emake CC="$(tc-getCC)" \
ALL_CFLAGS="${CFLAGS} $(lua_get_CFLAGS)" \
ALL_CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" \
ALL_SOFLAGS="${SOFLAGS} -shared" \
ALL_LDFLAGS="${LDFLAGS}" \
all${LUA_VERSION}
popd
}
src_compile() {
lua_foreach_impl lua_src_compile
}
lua_src_install() {
pushd "${BUILD_DIR}" || die
if [[ ${ELUA} != luajit ]]; then
LUA_VERSION="$(ver_cut 1-2 $(lua_get_version))"
else
# This is a workaround for luajit, as it confirms to lua5.1
# and the 'GNUmakefile' doesn't understand LuaJITs version.
LUA_VERSION="5.1"
fi
emake "DESTDIR=${D}" \
"lua${LUA_VERSION/./}cpath=$(lua_get_cmod_dir)" \
"lua${LUA_VERSION/./}path=$(lua_get_lmod_dir)" \
"prefix=${EPREFIX}/usr" \
install${LUA_VERSION}
popd
}
src_install() {
lua_foreach_impl lua_src_install
use examples && dodoc -r "examples/."
einstalldocs
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ppn@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<upstream>
<remote-id type="github">wahern/cqueues</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -27,7 +27,6 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-makefile.patch
"${FILESDIR}"/${P}-makeopts.patch
"${FILESDIR}"/${P}-savedir.patch
"${FILESDIR}"/${P}-backported-ltofix.patch #For ver. 2.50 Remove for next ver.
)

View File

@@ -1,40 +1,36 @@
diff --git a/Makefile b/Makefile
index 3e5933a..840d26a 100644
diff --git a/Makefile b/Makefile2
index 3e5933a..c8787d8 100644
--- a/Makefile
+++ b/Makefile
@@ -56,7 +56,7 @@ OBJ= $(SRC:src/%.cpp=obj/%.o)
ifeq ($(OS),Windows_NT)
CPU_BITS=32
CXXFLAGS+= -O3 -c -fmessage-length=0 -march=i686
- LDFLAGS+= -s -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib
+ LDFLAGS+= -Xlinker --large-address-aware -mwindows -L"src/sc_Squirrel3/lib" -lmingw32 -lSDLmain -lSDL -llibglew32 -lglu32 -lopengl32 -llibglut -lsquirrel -lsqstdlib
else
# Unix like operating systems
CPU_BITS= $(shell getconf LONG_BIT)
@@ -65,18 +65,18 @@ else
@@ -64,19 +64,19 @@
KERNELNAME =$(shell uname -s)
ifeq ($(KERNELNAME),Linux)
CXXFLAGS+= -O3 -c -fmessage-length=0
- CXXFLAGS+= -O3 -c -fmessage-length=0
- LDFLAGS+=-s -zrelro -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ CXXFLAGS+= -c
+ LDFLAGS+= -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
else ifeq ($(KERNELNAME), FreeBSD)
# To be done...
CXXFLAGS+= -O3 -c -fmessage-length=0
- CXXFLAGS+= -O3 -c -fmessage-length=0
- LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ CXXFLAGS+= -c
+ LDFLAGS+= -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
else ifeq ($(KERNELNAME), Darwin)
CXXFLAGS+= -O3 -c -fmessage-length=0
- CXXFLAGS+= -O3 -c -fmessage-length=0
- LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
+ LDFLAGS+=-L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
+ CXXFLAGS+= -c
+ LDFLAGS+= -L"src/sc_Squirrel3/lib" -L"/usr/local/Cellar/glew" -L"/usr/local/Cellar/sdl" -I"/usr/local/Cellar/glew" -I"/usr/local/Cellar/sdl" -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lGLEW -lsquirrel -lsqstdlib
else
# Unknow kernel... trying default flags
CXXFLAGS+= -O3 -c -fmessage-length=0
- CXXFLAGS+= -O3 -c -fmessage-length=0
- LDFLAGS+=-s -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ CXXFLAGS+= -c
+ LDFLAGS+= -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
endif
endif
@@ -94,11 +94,11 @@ installable: BV_DATA_LOCATION_DIR=$(BV_DATA_INSTALL_DIR)
@@ -94,11 +94,11 @@
installable: all
squirrel:

View File

@@ -1,15 +0,0 @@
--- a/Makefile 2024-10-21 17:33:29.782931946 -0400
+++ b/Makefile 2024-10-21 17:35:55.202026636 -0400
@@ -64,8 +64,10 @@
KERNELNAME =$(shell uname -s)
ifeq ($(KERNELNAME),Linux)
- CXXFLAGS+= -O3 -c -fmessage-length=0
- LDFLAGS+=-L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
+ UCXXFLAGS:= $(shell emerge --info | grep -w CXXFLAGS=".*" | cut -d '"' -f2)
+ CXXFLAGS+= $(UCXXFLAGS) -c -fmessage-length=0
+ ULDFLAGS:= $(shell emerge --info | grep -w LDFLAGS=".*" | cut -d '"' -f2)
+ LDFLAGS+= $(ULDFLAGS) -L"src/sc_Squirrel3/lib" -lGLU -lSDL -lGLEW -lGL -lsquirrel -lsqstdlib
else ifeq ($(KERNELNAME), FreeBSD)
# To be done...
CXXFLAGS+= -O3 -c -fmessage-length=0

View File

@@ -42,6 +42,10 @@ DOCS=(
"README.Strife.md"
)
PATCHES=(
${FILESDIR}/${P}-cflags.patch
)
src_prepare() {
default
@@ -50,10 +54,6 @@ src_prepare() {
eautoreconf
}
PATCHES=(
"${FILESDIR}"/${P}-makeopts.patch
)
src_configure() {
econf \
--enable-bash-completion \

View File

@@ -44,7 +44,7 @@ DOCS=(
)
PATCHES=(
"${FILESDIR}"/"${P}"-makeopts.patch
${FILESDIR}/${P}-cflags.patch
)
src_prepare() {

View File

@@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index e4614a1..5908e1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ OPT_LEVEL=2
if test "$GCC" = "yes"
then
WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
+ CFLAGS="$WARNINGS $orig_CFLAGS"
- CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS"
fi
PKG_CHECK_MODULES(SDL, [sdl2 >= 2.0.7])

View File

@@ -1,15 +0,0 @@
--- a/configure.ac 2024-10-21 18:54:07.483980753 -0400
+++ b/configure.ac 2024-10-21 18:54:52.224330577 -0400
@@ -166,8 +166,10 @@
# TODO: We currently link everything against libraries that don't need it.
# Use the specific library CFLAGS/LIBS variables instead of setting them here.
-CFLAGS="$CFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${LIBZ_CFLAGS:-}"
-LDFLAGS="$LDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${LIBZ_LIBS:-}"
+UCFLAGS:=$(shell emerge --info | grep CFLAGS=".*" | cut -d'"' -f2)
+ULDFLAGS:=$(shell emerge --info | grep LDFLAGS=".*" | cut -d'"' -f2)
+CFLAGS+="$UCFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${LIBZ_CFLAGS:-}"
+LDFLAGS+="$ULDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${LIBZ_LIBS:-}"
case "$host" in
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
LDFLAGS="$LDFLAGS -lwinmm"

View File

@@ -0,0 +1,11 @@
--- a/configure.ac 2024-10-22 14:32:01.009784223 -0400
+++ b/configure.ac 2024-10-22 14:38:40.706790279 -0400
@@ -28,7 +28,7 @@
if test "$GCC" = "yes"
then
WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
- CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS"
+ CFLAGS="$WARNINGS $orig_CFLAGS"
fi
PKG_CHECK_MODULES(SDL, [sdl2 >= 2.0.7])

View File

@@ -1,15 +0,0 @@
--- a/configure.ac 2023-03-31 16:42:24.000000000 -0400
+++ b/configure.ac 2024-10-21 19:11:20.577093421 -0400
@@ -184,8 +184,10 @@
# TODO: We currently link everything against libraries that don't need it.
# Use the specific library CFLAGS/LIBS variables instead of setting them here.
-CFLAGS="$CFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${FLUIDSYNTH_CFLAGS:-} ${LIBZ_CFLAGS:-}"
-LDFLAGS="$LDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${FLUIDSYNTH_LIBS:-} ${LIBZ_LIBS:-}"
+UCFLAGS:=$(shell emerge --info | grep CFLAGS=".*" | cut -d'"' -f2)
+ULDFLAGS:=$(shell emerge --info | grep LDFLAGS=".*" | cut -d'"' -f2)
+CFLAGS+="$UCFLAGS $SDL_CFLAGS ${SAMPLERATE_CFLAGS:-} ${PNG_CFLAGS:-} ${LIBZ_CFLAGS:-}"
+LDFLAGS+="$ULDFLAGS $SDL_LIBS ${SAMPLERATE_LIBS:-} ${PNG_LIBS:-} ${LIBZ_LIBS:-}"
case "$host" in
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
LDFLAGS="$LDFLAGS -lwinmm"

View File

@@ -0,0 +1 @@
DIST dovecot-fts-flatcurve-1.0.5.tar.gz 114989 BLAKE2B e97296ba66f7d7be261a6ae8875beab52acd5f4acd05571249d717e1f818f149bd33992a271379ed74213e2f58c491d5ae12eef28eba089deb53b02829fd1eda SHA512 3741fc8b67de21d3badc86ed02ae1bd88f1350a050cc568a17509e6bd6ff506af11fa1ded37d5446fd730e30aa521b77357e5de8e656c71c11a7da75ffe1d8a3

View File

@@ -0,0 +1,46 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Dovecot FTS plugin to enable message indexing using Xapian"
HOMEPAGE="https://github.com/slusarz/dovecot-fts-flatcurve"
SRC_URI="https://github.com/slusarz/dovecot-fts-flatcurve/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="textcat"
DEPEND="
<net-mail/dovecot-2.4.0:=[stemmer,textcat?]
>=dev-libs/xapian-1.4.0
"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --with-dovecot="${EPREFIX}/usr/$(get_libdir)/dovecot"
}
src_install() {
default
find "${D}" -name "*.la" -delete
dodoc "${FILESDIR}/90-fts.conf"
}
pkg_postinst() {
elog "For configuration, report to https://slusarz.github.io/dovecot-fts-flatcurve/configuration.html"
elog "The steps are as follows : "
elog "Insert 'mail_plugins = $mail_plugins fts fts_flatcurve' in /etc/dovecot/conf.d/10-mail.conf"
elog "Set configuration in /etc/dovecot/conf.d/90-fts.conf"
elog "See example : /usr/share/doc/${P}/90-fts.conf.bz2"
}

View File

@@ -0,0 +1,40 @@
plugin {
fts = flatcurve
# Fall back to built in search
fts_enforced = yes
# Proactively index mail as it is delivered or appended, not only when
# searching.
fts_autoindex = yes
# Detected languages. Languages that are not recognized, default to the
# first enumerated language, i.e. en.
fts_languages = en es de fr
# Path to the textcat/exttextcat configuration file, which lists the
# supported languages.
fts_language_config = /usr/share/libexttextcat/fpdb.conf
# This chain of filters first normalizes and lower cases the text, then
# stems the words and lastly removes stopwords.
fts_filters = normalizer-icu snowball stopwords
# This chain of filters will first lowercase all text, stem the words,
# remove possessive suffixes, and remove stopwords.
fts_filters_en = lowercase snowball english-possessive stopwords
# This chain of filters will first lowercase all text, stem the words,
# delete contractions with French, and remove stopwords.
fts_filters_fr = lowercase snowball contractions stopwords
# These tokenizers will preserve addresses as complete search tokens, but
# otherwise tokenize the text into "words".
fts_tokenizer_generic = algorithm=simple maxlen=30
fts_tokenizers = generic email-address
# Exclude mailboxes we do not wish to index automatically.
# These will be indexed on demand, if they are used in a search.
fts_autoindex_exclude = \Trash
fts_autoindex_exclude2 = \Junk
}

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ppn@parhuet.fr</email>
<name>Nicolas PARLANT</name>
</maintainer>
<use>
<flag name="textcat">Add libtextcat language guessing support for full text search (FTS)</flag>
</use>
<upstream>
<remote-id type="github">slusarz/dovecot-fts-flatcurve</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -415,7 +415,7 @@ IUSE="qrcode"
DEPEND="
>=dev-libs/glib-2.76:2
>=gui-libs/gtk-4.13:4[wayland]
>=gui-libs/gtk-4.13:4[wayland,X]
>=gui-libs/libadwaita-1.5:1
qrcode? (
media-libs/graphene

View File

@@ -1 +1 @@
DIST yandex-browser-24.7.3.1253_p1.deb 179090412 BLAKE2B e7715f6b04f0f2abaac08452a6c0598f856423a88eb790bbba89072be23f89e3408f63a61810c549175a40ee1d625c33823acecb02b22989ab42351b697e87c4 SHA512 9a9d14acc9ea17319ab68da0de244ca631987abc612f88f25d72e294a066d349eb9467383cac4cfe48a3ec0c9e29bab296e99cb2ae375db9f5e2a1ff2a26d681
DIST yandex-browser-24.7.6.1042_p1.deb 179067472 BLAKE2B 0dbf65b778e1d2504d0ad2cd63ee81020ec4e193578ce3a681b135e041c5627d0d6005101f70085f736f30bed2464b658102a4e29443efe3c7cd4a5c4b49c2e8 SHA512 d170f3471b93d6f6bd406330353d6ae18ae404c824d4c7a771a43d71d9f057e351b9bb9a571be9eaa4abd371afa4d9706d64e278dd6d29f981d0b1e9826695e8