File: xmlbeans-versioned.patch

package info (click to toggle)
octave-io 2.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,812 kB
  • sloc: objc: 2,092; cpp: 546; python: 438; makefile: 204; xml: 23; sh: 20
file content (30 lines) | stat: -rw-r--r-- 1,516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Require version 3 of xmlbeans for POI+OOXML interface
 As of 2023-03-01, Debian unstable includes the combination of apache-poi
 version 4 and xmlbeans version 4. This breaks the POI+OOXML interface (see
 #1012016).
 .
 By requiring version 3 of xmlbeans, we ensure that the broken combination will
 not happen, because it is hard for a user to understand what is going wrong.
 .
 In practice this means that POI+OOXML will be disabled (and the OCT interface
 will be the only available one for reading .xlsx files), unless the user
 manually installs xmlbeans 3.
 .
 As a consequence, the xlsx-poi autopkgtest has been disabled.
Author: Sébastien Villemot <sebastien@debian.org>
Bug-Debian: https://bugs.debian.org/1012016
Forwarded: not-needed
Last-Update: 2023-03-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/inst/private/__POI_chk_sprt__.m
+++ b/inst/private/__POI_chk_sprt__.m
@@ -66,7 +66,7 @@ function [chk, missing1, missing2] = __P
     printf ("\nPOI OOXML (.xlsx) <xbean/xmlbean> <poi-ooxml-schemas/lite> <dom4j>/< commons...>:\n");
   endif
   ## Each next POI version needs more jars, so order below is vital
-  entries2 = {{"xbean", "xmlbean"}, {"apache-poi-ooxml-schemas", ...
+  entries2 = {{"xbean", "xmlbeans-3"}, {"apache-poi-ooxml-schemas", ...
               "poi-ooxml-schemas", "poi-ooxml-lite"}, "commons-collections", ...
               "commons-compress", "commons-io", "log4j"};
   [jpchk2, missing] = chk_jar_entries (jcp, entries2, dbug);