net-mail/mu: drop 1.12.6-r1, 1.12.11

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-09-10 09:11:40 +01:00
parent 263ff6b63d
commit 0c4900bf9c
4 changed files with 0 additions and 235 deletions

View File

@@ -1,4 +1,2 @@
DIST mu-1.12.11.tar.xz 736032 BLAKE2B e770b756e80310935cda2fde864775fc7bf76a959b83fe3af22402b4d3fe42f0f88b6fabf7821d0fa2d78606ec6eab5379087c63c332f3d8ee21ddacabf75400 SHA512 93cf4af501c785010c2864237e3e6ef6b9285b9e724c94c33c5027e52494b63ccd03f8a9840f6c08532fdb1631db5e0d995e04da00d238297b707ae536f95c18
DIST mu-1.12.12.tar.xz 757272 BLAKE2B 3a73a41fdaa490b478b05d86493e42b4cb5c2059dd3c11b7f08201b48ff90a1df07a8f5d86a4ff31a62bbce9affc9a672581227782de5f3ed80cb9db28750443 SHA512 be6db3f713e5d69e08ddc91084e6ceb230a9da56f8b67b5d66bbe2d3f428ef74cbffb0fe89af43fa16bda86c46fa5d8a58989a0d4e195d349b8070083052dd20
DIST mu-1.12.6.tar.xz 719392 BLAKE2B 75afdfa95f6711fb94e40757c23dd404e888610d36c7d6cbf29727770dbe8fcd1a207b7eae7e1cd06dcab2f088eb38cf7d045a59efbfa3e700d85a0e5f95164b SHA512 c3ba7b4c90d2749364f8c414d2eadcc4e6021237416d92cefd4542688b2fdafb1215a7b75b22fcafa68d349a22b69556d707e2c1e2752941e469a9231bb64ced
DIST mu-1.12.9.tar.xz 734240 BLAKE2B e536e832872406d865565ec1ae3775042b4fc9d2f50e2581f3d247007b8aeb68507e59d08168cbd16870dc907314c522bedead73a99ca2d5e8a42b8a67898e7b SHA512 27cd28a44dc6c8146891337be2c478aa7bf9e1dc458c30f3895b7bbcbafabd6b290e01e3f8c5db97f09b6cd68aebb3a0a0d3e7d53e25b4cba30613e7b8123d19

View File

@@ -1,34 +0,0 @@
From 075394b35f33bcf684eb0b0023a8640a3ce9c8f5 Mon Sep 17 00:00:00 2001
From: Matthew Smith <matthew@gentoo.org>
Date: Mon, 26 Aug 2024 14:46:54 +0000
Subject: [PATCH] lib: use time_t_max for empty datetime
In Mu::parse_date_time, when provided with an empty string, return
time_t_max instead of G_MAXINT64. For systems with a 64-bit time_t, there
is no difference. With a 32-bit time_t it caused a test to fail:
not ok /utils/date-basic - ERROR:../mu-1.12.4/lib/utils/tests/test-utils.cc:92
void test_date_basic(): assertion failed
(parse_date_time(std::get<0>(test), std::get<1>(test)).value_or(-1)
== std::get<2>(test)): (18446744073709551615 == 2147483647)
This edge case probably only affected the test, as when other parts of
the application call parse_date_time (e.g. mu-server.cc and
mu-query-processor.cc), they check if the input string is empty first.
Upstream: https://github.com/djcb/mu/pull/2749
Bug: https://bugs.gentoo.org/933093
--- a/lib/utils/mu-utils.cc
+++ b/lib/utils/mu-utils.cc
@@ -493,7 +493,7 @@ Mu::parse_date_time(const std::string& dstr, bool is_first, bool utc)
/* one-sided dates */
if (dstr.empty())
- return is_first ? 0 : G_MAXINT64;
+ return is_first ? time_t_min : time_t_max;
else if (dstr == "today" || dstr == "now")
return special_date_time(dstr, is_first);
else if (dstr.find_first_of("ymdwhMs") != std::string::npos)
--
2.46.0

View File

@@ -1,99 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp-common meson readme.gentoo-r1
DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu"
SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz"
# mu: GPL-3+
# + cli11: BSD
# + fmt: MIT
# + tl: CC0-1.0
# + variant-lite: Boost-1.0
LICENSE="BSD Boost-1.0 CC0-1.0 GPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~x64-macos"
IUSE="emacs readline test"
RESTRICT="!test? ( test )"
DEPEND="
dev-libs/glib:2
dev-libs/gmime:3.0
>=dev-libs/xapian-1.4:=
emacs? ( >=app-editors/emacs-25.3:* )
readline? ( sys-libs/readline:= )"
RDEPEND="${DEPEND}"
BDEPEND="
sys-apps/texinfo
virtual/pkgconfig
"
PATCHES=(
# https://bugs.gentoo.org/925503
"${FILESDIR}"/${PN}-1.12.0-no-python.patch
)
DOC_CONTENTS="
To use mu4e you need to configure it in your .emacs file.
See the manual for more information:
https://www.djcbsoftware.nl/code/mu/mu4e/
"
SITEFILE="70mu-gentoo-autoload.el"
src_prepare() {
default
# Don't install NEWS.org into /usr/share/doc.
sed -i '/NEWS.org/,+1 d' meson.build || die
sed -i '/mu4e-about.org/d' mu4e/meson.build || die
# Don't compress the info file.
sed -i '/gzip/d' build-aux/meson-install-info.sh || die
# Instead, put it in /usr/share/doc/${PF}.
sed -i "/MU_DOC_DIR/s/mu/${PF}/" mu4e/meson.build || die
}
src_configure() {
local emesonargs=(
$(meson_feature readline)
$(meson_feature test tests)
-Dcld2=disabled
-Demacs="$(usex emacs "${EMACS}" emacs-not-enabled)"
# TODO: revisit this, it's not actually deprecated, just been reworked
-Dguile=disabled
)
meson_src_configure
}
src_install() {
meson_src_install
# Since meson no longer installs NEWS.org, install it with dodoc.
# Also, it must be uncompressed so that it can be viewed with
# mu4e-info.
docompress -x /usr/share/doc/${PF}/NEWS.org
dodoc NEWS.org
if use emacs; then
# Same as above.
docompress -x /usr/share/doc/${PF}/mu4e-about.org
dodoc mu4e/mu4e-about.org
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
readme.gentoo_create_doc
fi
}
pkg_postinst() {
use emacs && readme.gentoo_create_doc
}
pkg_postrm() {
use emacs && elisp-site-regen
}

View File

@@ -1,100 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp-common meson readme.gentoo-r1
DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu"
SRC_URI="https://github.com/djcb/mu/releases/download/v${PV}/${P}.tar.xz"
# mu: GPL-3+
# + cli11: BSD
# + fmt: MIT
# + tl: CC0-1.0
# + variant-lite: Boost-1.0
LICENSE="BSD Boost-1.0 CC0-1.0 GPL-3+ MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~riscv x86 ~x64-macos"
IUSE="emacs readline"
DEPEND="
dev-libs/glib:2
dev-libs/gmime:3.0
>=dev-libs/xapian-1.4:=
emacs? ( >=app-editors/emacs-25.3:* )
readline? ( sys-libs/readline:= )"
RDEPEND="${DEPEND}"
BDEPEND="
sys-apps/texinfo
virtual/pkgconfig
"
PATCHES=(
# https://bugs.gentoo.org/925503
"${FILESDIR}"/${PN}-1.12.0-no-python.patch
# https://bugs.gentoo.org/933093
"${FILESDIR}"/${PN}-1.12.4-timet.patch
)
DOC_CONTENTS="
To use mu4e you need to configure it in your .emacs file.
See the manual for more information:
https://www.djcbsoftware.nl/code/mu/mu4e/
"
SITEFILE="70mu-gentoo-autoload.el"
src_prepare() {
default
# Don't install NEWS.org into /usr/share/doc.
sed -i '/NEWS.org/,+1 d' meson.build || die
sed -i '/mu4e-about.org/d' mu4e/meson.build || die
# Don't compress the info file.
sed -i '/gzip/d' build-aux/meson-install-info.sh || die
# Instead, put it in /usr/share/doc/${PF}.
sed -i "/MU_DOC_DIR/s/mu/${PF}/" mu4e/meson.build || die
}
src_configure() {
local emesonargs=(
$(meson_feature readline)
-Dcld2=disabled
-Demacs="$(usex emacs "${EMACS}" emacs-not-enabled)"
# TODO: revisit this, it's not actually deprecated, just been reworked
-Dguile=disabled
)
meson_src_configure
}
src_install() {
meson_src_install
# Since meson no longer installs NEWS.org, install it with dodoc.
# Also, it must be uncompressed so that it can be viewed with
# mu4e-info.
docompress -x /usr/share/doc/${PF}/NEWS.org
dodoc NEWS.org
if use emacs; then
# Same as above.
docompress -x /usr/share/doc/${PF}/mu4e-about.org
dodoc mu4e/mu4e-about.org
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
readme.gentoo_create_doc
fi
}
pkg_postinst() {
use emacs && readme.gentoo_create_doc
}
pkg_postrm() {
use emacs && elisp-site-regen
}