[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#896124: uninstallable in sid, please use new clisp-memfile-hash virtual dependency



Package: xindy
Version: 2.5.1.20160104-4
Severity: serious
Tags: patch

Dear Maintainer,

Following the discussion in #886986, clisp now provides a virtual dependency
(clisp-memfile-hash-XXXXX) corresponding to the supported lisp memory file
format.

Since xindy embeds a lisp memory file (and not FASL files), it should move to
the new scheme.

I attach a patch that implements this.

Note that in the future, the memory file format may change in some or all
architectures, depending on internal changes in clisp. You will then have to
schedule binNMUs to make xindy installable again. I will try to avoid that as
much as possible however.

Best,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org
diff -Nru xindy-2.5.1.20160104/debian/changelog xindy-2.5.1.20160104/debian/changelog
--- xindy-2.5.1.20160104/debian/changelog	2017-10-23 01:00:47.000000000 +0200
+++ xindy-2.5.1.20160104/debian/changelog	2018-04-19 21:10:49.000000000 +0200
@@ -1,3 +1,10 @@
+xindy (2.5.1.20160104-5) UNRELEASED; urgency=medium
+
+  * Use clisp-memfile-hash instead of clisp-fasl-loader virtual dependency. See
+    the discussion in #886986 for more details. (Closes: #XXXXXX)
+
+ -- Sébastien Villemot <sebastien@debian.org>  Thu, 19 Apr 2018 21:10:49 +0200
+
 xindy (2.5.1.20160104-4) unstable; urgency=medium
 
   * rebuild for new clisp-fasl-loader
diff -Nru xindy-2.5.1.20160104/debian/control xindy-2.5.1.20160104/debian/control
--- xindy-2.5.1.20160104/debian/control	2017-10-23 01:00:47.000000000 +0200
+++ xindy-2.5.1.20160104/debian/control	2018-04-19 21:06:29.000000000 +0200
@@ -6,7 +6,7 @@
 Build-Depends-Indep: texlive-latex-base,
  texlive-lang-cyrillic, texlive-lang-greek,
  texlive-latex-recommended, texlive-fonts-recommended, cm-super
-Build-Depends: debhelper (>= 7), autotools-dev, flex, clisp (>= 2.49.20170913), dh-autoreconf
+Build-Depends: debhelper (>= 7), autotools-dev, flex, clisp (>= 1:2.49.20180212), dh-autoreconf
 Standards-Version: 4.1.1
 Homepage: http://www.xindy.org/
 Vcs-Git: git://anonscm.debian.org/debian-tex/xindy.git
@@ -15,7 +15,7 @@
 Package: xindy
 Architecture: any
 Depends: xindy-rules, ${clisp:Depends}, ${shlibs:Depends}, ${perl:Depends},
-  ${misc:Depends}, clisp (>= 2.49.20170913)
+  ${misc:Depends}, clisp (>= 1:2.49.20180212)
 Description: index generator for structured documents like LaTeX or SGML
  xindy is an index processor that can be used to generate book-like
  indexes for arbitrary document-preparation systems. This includes
diff -Nru xindy-2.5.1.20160104/debian/rules xindy-2.5.1.20160104/debian/rules
--- xindy-2.5.1.20160104/debian/rules	2017-10-23 01:00:47.000000000 +0200
+++ xindy-2.5.1.20160104/debian/rules	2018-04-19 21:10:49.000000000 +0200
@@ -108,7 +108,7 @@
 	dh_installdeb -a
 	dh_shlibdeps -a
 	dh_gencontrol -a \
-	  -- -Vclisp:Depends="clisp-fasl-loader-$(shell clisp -x --quiet "(car (system::version))")"
+	  -- -Vclisp:Depends="clisp-memfile-hash-$$(clisp -memfile-hash-of $(xindy_dir)/usr/lib/xindy/xindy.mem)"
 	dh_md5sums -a
 	dh_builddeb -a
 

Attachment: signature.asc
Description: PGP signature


Reply to: