I discussed the licensing of this file with Tom Marble, and he agreed in
IRC that LGPLv2.1-or-later is the proper license.
<bkuhn> tmarble: in 2013-01 you sent me some scripts for ods2xls
<bkuhn> you mention they're based on ssconv
<bkuhn> but they don't have license info
<bkuhn> I was putting it into a public repository and then figured I should
ask you first. [11:45]
<tmarble> oh my.. I will look [11:46]
<bkuhn> tmarble: if you figure it out, I can commit the files and you can add
a license. [11:47]
<bkuhn> the lib is lgpl'd, that's marked
<bkuhn> (although you didn't mark your copyright notice if you canged it)
<tmarble>
http://www.linuxjournal.com/content/convert-spreadsheets-csv-files-python-and-pyuno
[11:57]
<tmarble> bkuhn: sorry this was sort of a small, hacky script and didn't get
the "full treatment" [11:58]
<tmarble> clearly it should be LGPLv2+
<bkuhn> tmarble: do you recall if you modified the library as well as the
script? [12:07]
<bkuhn> I see you put this in the lib:
<bkuhn> # PyODConverter (Python OpenDocument Converter) v1.0.0 - 2008-05-05
<bkuhn> # Copyright (C) 2008 Mirko Nasato <mirko@artofsolving.com>
<bkuhn> # Licensed under the GNU LGPL v2.1 - or any later version.
<bkuhn> # http://www.gnu.org/licenses/lgpl-2.1.html
<bkuhn> and no copyright notices in the main program file
<bkuhn> can you tell me what it should be?
<tmarble> bkuhn: IIRC I did not modify ooutils [12:09]
<tmarble> bkuhn: yeah, sorry about that.. it's not even in VCS [12:10]
<bkuhn> It's ok.
<bkuhn> I'm putting it public in my small hacks directory.
<tmarble> bkuhn: as I mentioned before let's stick with LGPLv2.1+
<bkuhn> As I use it all the time.
<bkuhn> and someone else might find it useful
<bkuhn> I believe one has a moral duty to share all software. :)
<tmarble> please feel free to adjust the headers!
<bkuhn> tmarble: may I quote this conversation in the Git log?
<tmarble> bkuhn: I loved karen's citing your quote "You may say I'm a dreamer,
but I'm not the only one." [12:11]
<tmarble> bkuhn: yes
This was emailed to bkuhn by tmarble in the email identified below:
Date: Fri, 04 Jan 2013 14:38:49 -0600
From: Tom Marble <tmarble@info9.net>
To: "Bradley M. Kuhn" <bkuhn@sfconservancy.org>
Subject: w/debug ods2xls.py
Message-ID: <50E73DD9.4010602@info9.net>
Date: Thu, 03 Jan 2013 18:57:19 -0600
From: Tom Marble <tmarble@info9.net>
To: "Bradley M. Kuhn" <bkuhn@sfconservancy.org>
Subject: ods2xlsx.py
Tom did not indicate the license of this file or ssconv.py, so I'm
waiting for him to clarify.
Tom mentioned this usage information in the email:
You will need:
These examples are adapted from:
http://www.linuxjournal.com/node/1007788http://www.linuxjournal.com/node/1007797
^ I saved as ssconv.py and can share with you if you like
NOTE: you MUST save and exit LibreOffice first!
NOTE: you must save both *.py in the same directory.
I could not figure out the filter for XLSX as for XLS:
http://wiki.openoffice.org/wiki/Documentation/DevGuide/Spreadsheets/Filter_Options
Usage:
$ ./ods2xlsx.py ~/Documents/sample.ods ~/Documents/sample2.ods
/home/tmarble/Documents/sample.ods => /home/tmarble/Documents/sample.xls
Warning: -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager is deprecated. Use --accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager instead.
Warning: -norestore is deprecated. Use --norestore instead.
Warning: -nofirststartwizard is deprecated. Use --nofirststartwizard instead.
Warning: -nologo is deprecated. Use --nologo instead.
Warning: -headless is deprecated. Use --headless instead.
/home/tmarble/Documents/sample2.ods => /home/tmarble/Documents/sample2.xls
$
Date: Thu, 03 Jan 2013 18:57:19 -0600
From: Tom Marble <tmarble@info9.net>
To: "Bradley M. Kuhn" <bkuhn@sfconservancy.org>
Subject: ods2xlsx.py
Message-ID: <50E628EF.7080207@info9.net>
Tom indicates it was adapted from Mirko Nasato's code. I don't know if
Tom adapted it himself. The license therefore is clearly
LGPLv2.1-or-later, but Tom may also have copyrights here. I've asked
him to add his copyright notice if he does.
It's possible this cleanup code is causing serious problems during failures,
because it's leaving us no ics files when the export fails. Probably it
would be better if we move aside the ics files and restore them later.
Instead, give a message in the conky output, which is the better thing to do,
since the config file (at least for me) may be on a partition that hasn't
been mounted.