Hi,

Axel Beckert wrote:
> I wanted to compare the contents of two LibreOffice/OpenOffice.org
> extensions which are distributed as ZIP archives with file suffix .oxt:
> 
> $ adiff canzeley-client-0.4.0.oxt ../upstream/canzeley_0.4.0.oxt
> adiff: ../upstream/canzeley_0.4.0.oxt: unsupported file format `empty 
> (Microsoft OOXML)'
> $ mv -vi canzeley-client-0.4.0.oxt canzeley-client-0.4.0.zip ; mv -vi 
> ../upstream/canzeley_0.4.0.oxt ../upstream/canzeley_0.4.0.zip
> `canzeley-client-0.4.0.oxt' -> `canzeley-client-0.4.0.zip'
> `../upstream/canzeley_0.4.0.oxt' -> `../upstream/canzeley_0.4.0.zip'
> $ adiff canzeley-client-0.4.0.zip ../upstream/canzeley_0.4.0.zip
> diff -ru Unpack-7904/description.xml Unpack-1109/description.xml
> --- Unpack-7904/description.xml 2014-05-18 21:31:12.000000000 +0200
> +++ Unpack-1109/description.xml 2014-04-20 15:57:10.000000000 +0200
> @@ -8,4 +8,9 @@
>         <!-- <dependencies>
>                 <OpenOffice.org-minimal-version value="2.1" 
> dep:name="OpenOffice.org 2.1"/>
>         </dependencies> -->
> +       <registration>
> +               <simple-license  accept-by="admin" default-license-id="ID0" 
> suppress-on-update="true" >
> +                       <license-text xlink:href="registration/gplv3.txt" 
> lang="en" license-id="ID0" />
> +               </simple-license>
> +       </registration>
>  </description>
> Only in Unpack-1109: Extension
> $ 
> 
> so the content was not an issue, just the file suffix. Please support
> the common LibreOffice/OpenOffice.org file suffixes (I know at least of
> odt, ods, odp, odb, odg, odf, and oxt) which are ZIP files or even
> better, generally all files which are ZIP archives, independent of the
> file name suffix.

Interestingly "als" worked fine:

$ als canzeley-client-0.4.0.oxt | fgrep rej
als: canzeley-client-0.4.0.oxt: format not known, identifying using file
als: canzeley-client-0.4.0.oxt: format is `zip'
      435  2014-05-19 01:07   description.xml.rej
$ 

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to