bugzilla | 9 Sep 2010 13:19
Favicon

[Bug 23] New: We should have in the bugzilla an item "zimdump"

http://bugs.openzim.org/show_bug.cgi?id=23

           Summary: We should have in the bugzilla an item "zimdump"
           Product: openZIM
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: zimlib
        AssignedTo: tommi@...
        ReportedBy: emmanuel@...
                CC: dev-l@...
   Estimated Hours: 0.0

... it's not possible to fill a zimdump specific bug. zimlib seems not to be
the right place for that IMO... although currently the zimdump code is
delivered with the zimlib code.

--

-- 
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
bugzilla | 9 Sep 2010 13:22
Favicon

[Bug 24] New: Zimdump -d DIRECTORY should be able to create the DIRECTORY if necessary

http://bugs.openzim.org/show_bug.cgi?id=24

           Summary: Zimdump -d DIRECTORY should be able to create the
                    DIRECTORY if necessary
           Product: openZIM
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: zimlib
        AssignedTo: tommi@...
        ReportedBy: emmanuel@...
                CC: dev-l@...
   Estimated Hours: 0.0

zimdump -D test file.zim
error writing file test/A/#ubuntu-fr-meeting

If I create the test directory it works.

IMO this should not trigger an error and simply create it (the directory) if
necessary.

--

-- 
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
(Continue reading)

bugzilla | 9 Sep 2010 15:23
Favicon

[Bug 23] We should have in the bugzilla an item "zimdump"

http://bugs.openzim.org/show_bug.cgi?id=23

Manuel Schneider <manuel.schneider@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |manuel.schneider <at> wikimedia.
                   |                            |ch
          Component|zimlib                      |zimdump
         Resolution|                            |FIXED

--

-- 
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
bugzilla | 9 Sep 2010 15:24
Favicon

[Bug 24] Zimdump -d DIRECTORY should be able to create the DIRECTORY if necessary

http://bugs.openzim.org/show_bug.cgi?id=24

Manuel Schneider <manuel.schneider@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|zimlib                      |zimdump

--

-- 
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Manuel Schneider | 13 Sep 2010 15:32
Picon

openZIM Meeting tonight

Dear all,

I may welcome Heiko from Pediapress in the team. We were in touch with 
him during Wikimedia Conference in April this year when we started to 
think about adding openZIM into the Collections Extension of MediaWiki. 
One of the drivers was Asaf whereas the Collections Extension itself is 
developed and maintained by Pediapress.

Currently Pediapress is looking seriously into the actual implementation 
of openZIM. For the start there are now some question on how to do it 
the best way etc., as far as I understood a test environment is already 
available.

So if you have time please meet tonight with Heiko in our IRC channel on 
Freenode, #openzim.

Thanks for your support,

/Manuel
--

-- 
Regards
Manuel Schneider

Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch
Pascal Martin | 13 Sep 2010 15:49
Picon

Zim for Android

Hello all,
 
We worked on porting Okawix ( http://okawix.com ) to the Android platform. So far we included Zeno files support with both gzip and bz2 compression formats.

Now, we wants to add Zim files support but we're stuck due to the compression format: Zim files are generated using the LZMA2 format which is not easily available on the Android / Java platform. On the other hand, the OpenZim website lists gzip and bz2 as possible compression format for Zim files. Would it be possible to generate a Zim file with of those compression formats? Or is the documentation on the website out of date?

We only have two weeks left to port Okawix to the Android platform and if we can't get Zim support working in this delay, we would have to release Okawix with Zeno files support only.

Thank you for your help to developp an opensource offline reader including ZIM for Java Android.

Sincerely
Pascal Martin


 
 
 
 
 
<div>
<div>Hello all,</div>
<div>&nbsp;</div>
<div>We worked on porting Okawix ( <a href="http://okawix.com">http://okawix.com</a> )&nbsp;to the Android platform. 
So far we included Zeno files support with both gzip and bz2 compression 
formats.<br><br>Now, we wants to add Zim files support but we're stuck due to 
the compression format: Zim files are generated using the LZMA2 format which is 
not easily available on the Android / Java platform. On the other hand, the 
OpenZim website lists gzip and bz2 as possible compression format for Zim files. 
Would it be possible to generate a Zim file with of those compression formats? 
Or is the documentation on the website out of date?<br><br>We only have two 
weeks left to port Okawix to the Android platform and if we can't get Zim 
support working in this delay, we would have to release Okawix with Zeno files 
support only.<br><br>Thank you for your help to developp an opensource offline 
reader including ZIM for Java Android.<br><br>Sincerely<br>Pascal Martin</div>
<div>
<br><br>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</div>
Emmanuel Engelhart | 13 Sep 2010 20:40

Re: Zim for Android


On 13/09/2010 15:49, Pascal Martin wrote:
> Now, we wants to add Zim files support but we're stuck due to the compression format: Zim files are
generated using the LZMA2 format which is not easily available on the Android / Java platform. On the other
hand, the OpenZim website lists gzip and bz2 as possible compression format for Zim files. Would it be
possible to generate a Zim file with of those compression formats? Or is the documentation on the website
out of date?

Documentation is not up to date :(

To simplify the dependences, the last version of the ZIM format only
recognizes one container/algorithm and this is xz/lzma2. This has been
decided at last dev. meeting. Please correct me Tommi if I'm wrong.

I think if we want to support another couple container/algorithm, this
newcomer has to bring really technical advantages. We should not switch
or add dependences only because one language/platform requires it...
Otherwise we will never find a sustainable solution.

So, my approach would be here to try to support the xz/lzma2 couple in java.

I see here two possibilities:
* Code the library directly in java
* Use libxz native code in java

What about these strategies?

Emmanuel
Pascal Martin | 13 Sep 2010 20:46
Picon

Re: Zim for Android

Thank you for your answer Emmanuel.

I send your answer to my team, to see it s possible to do this in 7 Work day 
.

----- Original Message ----- 
From: "Emmanuel Engelhart" <emmanuel@...>
To: <dev-l@...>
Cc: "Pascal Martin" <pmartin@...>
Sent: Monday, September 13, 2010 8:40 PM
Subject: Re: [openZIM dev-l] Zim for Android

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 13/09/2010 15:49, Pascal Martin wrote:
>> Now, we wants to add Zim files support but we're stuck due to the 
>> compression format: Zim files are generated using the LZMA2 format which 
>> is not easily available on the Android / Java platform. On the other 
>> hand, the OpenZim website lists gzip and bz2 as possible compression 
>> format for Zim files. Would it be possible to generate a Zim file with of 
>> those compression formats? Or is the documentation on the website out of 
>> date?
>
> Documentation is not up to date :(
>
> To simplify the dependences, the last version of the ZIM format only
> recognizes one container/algorithm and this is xz/lzma2. This has been
> decided at last dev. meeting. Please correct me Tommi if I'm wrong.
>
> I think if we want to support another couple container/algorithm, this
> newcomer has to bring really technical advantages. We should not switch
> or add dependences only because one language/platform requires it...
> Otherwise we will never find a sustainable solution.
>
> So, my approach would be here to try to support the xz/lzma2 couple in 
> java.
>
> I see here two possibilities:
> * Code the library directly in java
> * Use libxz native code in java
>
> What about these strategies?
>
> Emmanuel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkyOcB4ACgkQn3IpJRpNWtO0WACdHJUJD7I7Iv4H2z5SbhvqWhcN
> hiIAn16940KyZu9mfuScwnj0nDtOh7qV
> =L+D0
> -----END PGP SIGNATURE----- 

Tommi Mäkitalo | 13 Sep 2010 20:58

Re: Zim for Android

http://www.7-zip.org/sdk.html

There you get a lzma library for java with xz support. I think with that it 
should be possible to implement a reader for zim files with lzma.

Emmanuel is right - we dropped zlib and bzip2 support since lzma is widely 
available and it is better than zlib and bzip2. Dropping the support reduces 
dependencies.

Unfortunately the documentation about zim format is not yet up to date.

Tommi

Am Montag, September 13, 2010, 20:46:41 schrieb Pascal Martin:
> Thank you for your answer Emmanuel.
> 
> I send your answer to my team, to see it s possible to do this in 7 Work
> day .
> 
> 
> ----- Original Message -----
> From: "Emmanuel Engelhart" <emmanuel@...>
> To: <dev-l@...>
> Cc: "Pascal Martin" <pmartin@...>
> Sent: Monday, September 13, 2010 8:40 PM
> Subject: Re: [openZIM dev-l] Zim for Android
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On 13/09/2010 15:49, Pascal Martin wrote:
> >> Now, we wants to add Zim files support but we're stuck due to the
> >> compression format: Zim files are generated using the LZMA2 format which
> >> is not easily available on the Android / Java platform. On the other
> >> hand, the OpenZim website lists gzip and bz2 as possible compression
> >> format for Zim files. Would it be possible to generate a Zim file with
> >> of those compression formats? Or is the documentation on the website
> >> out of date?
> > 
> > Documentation is not up to date :(
> > 
> > To simplify the dependences, the last version of the ZIM format only
> > recognizes one container/algorithm and this is xz/lzma2. This has been
> > decided at last dev. meeting. Please correct me Tommi if I'm wrong.
> > 
> > I think if we want to support another couple container/algorithm, this
> > newcomer has to bring really technical advantages. We should not switch
> > or add dependences only because one language/platform requires it...
> > Otherwise we will never find a sustainable solution.
> > 
> > So, my approach would be here to try to support the xz/lzma2 couple in
> > java.
> > 
> > I see here two possibilities:
> > * Code the library directly in java
> > * Use libxz native code in java
> > 
> > What about these strategies?
> > 
> > Emmanuel
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> > 
> > iEYEARECAAYFAkyOcB4ACgkQn3IpJRpNWtO0WACdHJUJD7I7Iv4H2z5SbhvqWhcN
> > hiIAn16940KyZu9mfuScwnj0nDtOh7qV
> > =L+D0
> > -----END PGP SIGNATURE-----
> 
> _______________________________________________
> dev-l mailing list
> dev-l@...
> https://intern.openzim.org/mailman/listinfo/dev-l

Emmanuel Engelhart | 13 Sep 2010 21:25

[KIWIX] New ZIM files + Version 0.9 alpha6


Hi,

we were all agree that it started to be problematic not having more ZIM
files. This problem should be IMO slowly fixed. I have recently released
new full Wikipedia ZIM files (like always with the thumbnails) in
Spanish and Portuguese:
* http://tmp.kiwix.org/zim/0.9/wikipedia_es_all_09_2010_beta1.zim
* http://tmp.kiwix.org/zim/0.9/wikipedia_pt_all_10_2010_alpha1.zim

I have also released 10 days ago Kiwix 0.9 alpha6 fixing a few bugs and
introducing the tab navigation. Here is the CHANGELOG
http://kiwix.svn.sourceforge.net/viewvc/kiwix/moulinkiwix/CHANGELOG

This version, thanks to last libzim improvements, is also able to deal
with splitted ZIM files... which is "mandatory" to store big ZIM files
on USB key FAT32 FS. I can now automatically create from any ZIM file a
portable version of Kiwix for Windows. Simply unpack the ZIP file on
your USB and it works: all the necessary is there (autorun, ZIM, search
index, installer, source codes, packages,...)
http://tmp.kiwix.org/portable/

Be informed about the next steps:
http://identi.ca/group/kiwix

Emmanuel

Gmane