kiwix

If there's software you need and you can't find, make a request for it.

kiwix

Postby portaro » 5. Sep 2011, 17:39

Kiwix is a reader of wikipedia on offline mode.

http://www.kiwix.org/index.php/Main_Page
Last edited by portaro on 7. Sep 2011, 00:35, edited 1 time in total.
User avatar
portaro
 
Posts: 17
Joined: 5. Sep 2011, 17:33
Location: Portugal

Re: kiwix

Postby portaro » 7. Sep 2011, 00:32

If the team can be kiwix work in salix please post here the notice i can use salix with this software i need.

And after i comunicate to developer and edit wiki to spread the notice for other users, and in slackware im not notices of this soft works or no.
User avatar
portaro
 
Posts: 17
Joined: 5. Sep 2011, 17:33
Location: Portugal

Re: kiwix

Postby gapan » 12. Sep 2011, 11:29

Well, I wanted to try it too and I've gotten it to work, but there's a problem. For some weird reason, the whole application is in arabic. I'm guessing this is because it's still in beta state, so I won't deal with it any more. I will post a bug report with the project but they will have to fix that.

If you want to try it too, you'll need to install clucene with slapt-get/gslapt if you don't have it yet and then use slapt-src/sourcery to install libmicrohttpd, xapian-core and xulrunner. Then you can use this SLKBUILD to create a package for kiwix:
Code: Select all
#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=kiwix
pkgver=0.9beta2
pkgrel=1gv
source=("http://downloads.sourceforge.net/project/kiwix/kiwix-0.9-beta2-src.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.kiwix.org

doinst() {
if [ -x usr/bin/update-mime-database ]; then
        usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -x /usr/bin/update-desktop-database ]; then
        usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
}


slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"kiwix (an offline reader for web content)"
"Kiwix is an offline reader for Web content. It's especially intended"
"to make Wikipedia available offline. This is done by reading the"
"content of the project stored in a file format ZIM, a high compressed"
"open format with additional meta-data."
)


build() {
        cd $startdir/src/$pkgname-0.9
       
        # clucene puts include files in /usr/lib$(LIBDIRSUFFIX} for some
        # weird reason and the configure script looks only in /usr/lib,
        # so configure fails by default in 64-bit platforms.
        sed -i "s|-I/usr/lib|-I/usr/lib${LIBDIRSUFFIX}|" configure

        ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --build=$arch-slackware-linux
        make -j $numjobs || return 1
        make install DESTDIR=$startdir/pkg

        # icons...
        for SIZE in 256 48 32 24 22 16; do
                mkdir -p $startdir/pkg/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
                cp $startdir/pkg/usr/share/pixmaps/kiwix_${SIZE}x${SIZE}.png $startdir/pkg/usr/share/icons/hicolor/${SIZE}x${SIZE}/apps/kiwix.png
        done
}

Save this in a file named SLKBUILD and then in the same directory as this file run:
Code: Select all
fakeroot slkbuild -X
Image
User avatar
gapan
Salix Wizard
 
Posts: 3509
Joined: 6. Jun 2009, 17:40

Re: kiwix

Postby gapan » 12. Sep 2011, 16:48

OK, so if you get kiwix in arabic too, you can just navigate to the 3rd menu from the right, then 5th menu entry down and you can select one of the supported languages. I have it in english now.
Image
User avatar
gapan
Salix Wizard
 
Posts: 3509
Joined: 6. Jun 2009, 17:40

Re: kiwix

Postby portaro » 16. Sep 2011, 01:21

and it works or no?

im not any idea about compiing and package sources in slackware.
BUT im interesting in learn how to package in slack, i need this software and because this i dont any slack in this moment in my pc.

if i can use this soft i say thanks to the salix, and of corse i comunicate to kelson the new for he spread the notice in channels of kiwix.

Answer me this , the kiwix in this moment works very well in salix or no? with indexing?

Many thanks gapan, for help and answer my questions. Thanks.
User avatar
portaro
 
Posts: 17
Joined: 5. Sep 2011, 17:33
Location: Portugal

Re: kiwix

Postby gapan » 16. Sep 2011, 09:44

It works. I have added it to our slkbuild repository, so you can now install it with slapt-src/sourcery, provided you install it's dependencies first of course (aria2, clucene, libmicrohttpd, xapian-core, xulrunner).
Image
User avatar
gapan
Salix Wizard
 
Posts: 3509
Joined: 6. Jun 2009, 17:40

Re: kiwix

Postby portaro » 16. Sep 2011, 11:27

many thanks in a few moments i send email to kelson to infor he to the new.

Thanks.
User avatar
portaro
 
Posts: 17
Joined: 5. Sep 2011, 17:33
Location: Portugal

Re: kiwix

Postby portaro » 16. Sep 2011, 13:35

good news kelson is informed about our steps, he give to me a link to gapan can view the dependences list of kiwix to work properly.

http://kiwix.svn.sourceforge.net/viewvc/kiwix/moulinkiwix/debian/control?revision=2418&view=markup if something go bad with program with any dependence, in this moment i down a iso of salix in this night i install salix to test kiwix.
Many thanks.
User avatar
portaro
 
Posts: 17
Joined: 5. Sep 2011, 17:33
Location: Portugal

Re: kiwix

Postby portaro » 19. Sep 2011, 21:38

User avatar
portaro
 
Posts: 17
Joined: 5. Sep 2011, 17:33
Location: Portugal


Return to Package requests