On 2023-07-16, at 13:59:43 -0300, David Bremner wrote: > Package: maildir-utils > Version: 1.8.14-2 > Severity: serious > Justification: violates policy 8.1 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > I think that libguile-mu.* need to be either moved to a private > directory or to their own packages. I don't know enough about guile to > say which is better.
I think it probably wants to go into Guile's extensions directory:
/usr/lib/${DEB_HOST_MULTIARCH}/guile-3.0/extensions.
For 1.8, I believe that will require something along the lines of:
diff --git a/configure.ac b/configure.ac
index 5e44d5d168f9..f99a5cf5c169 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,6 +211,7 @@ AS_IF([test "x$enable_guile" != "xno"],[
GUILE_PKG([3.0 2.2])
GUILE_PROGS
GUILE_FLAGS
+ GUILE_SITE_DIR
AC_DEFINE_UNQUOTED([GUILE_BINARY],"$GUILE",[guile binary])
vsnarf=guile-snarf${GUILE_EFFECTIVE_VERSION}
AC_CHECK_PROGS(GUILE_SNARF,[${vsnarf} guile-snarf], [no])
diff --git a/guile/Makefile.am b/guile/Makefile.am
index dd911087ded7..992e929c1fdc 100644
--- a/guile/Makefile.am
+++ b/guile/Makefile.am
@@ -42,7 +42,8 @@ AM_CXXFLAGS= \
-Wno-missing-declarations \
-Wno-suggest-attribute=noreturn
-lib_LTLIBRARIES= \
+guile_extensionsdir = $(GUILE_EXTENSION)
+guile_extensions_LTLIBRARIES = \
libguile-mu.la
libguile_mu_la_SOURCES= \
I'll create another MR once I've tested it.
J.
signature.asc
Description: PGP signature

