Page 1 of 1

libwebp

Posted: Tue Dec 04, 2012 4:00 pm UTC
by JOURNEYMAN

Is there any way libwebp can be included in with the distribution so that the game can be compiled and run independent of which version the system has?


Re: libwebp

Posted: Tue Dec 04, 2012 8:43 pm UTC
by kharnov

I've been wondering this exact same thing.


Re: libwebp

Posted: Wed Dec 05, 2012 4:27 am UTC
by danmal

Should be trivial to add (for *NIX systems anyway). Will chat with Ishq when I get the time about this.


Re: libwebp

Posted: Thu Dec 06, 2012 12:45 am UTC
by Anomalous

Debian users have it ready-built in our repository. Users of Debian derivatives can build and install it easily enough:

$ sudo apt-get install devscripts build-essential debhelper autotools-dev libtool autoconf automake libjpeg-dev libpng12-dev
$ dget http://tartarus.org/ds/unvanquished/pkg ... an.sid.dsc
$ cd libwebp-0.2.1
$ debuild binary
$ sudo dpkg -i ../webp_0.2.1-0ds1*deb

Alternatively, follow these instructions (except use ‘deb-src’ instead of ‘deb’ in the extra line in your sources.list, and you can ignore the ‘apt-get install’ line), then (assuming that you've chosen ‘sid’):

$ apt-get source libwebp=0.2.1-0ds1debian.sid
$ apt-get build-dep libwebp=0.2.1-0ds1debian.sid
$ cd libwebp-0.2.1
$ debuild binary
$ sudo dpkg -i ../webp_0.2.1-0ds1*deb


Re: libwebp

Posted: Thu Dec 06, 2012 12:53 am UTC
by kharnov

That isn't the issue. The issue is that PlayDeb dropped us because they don't include higher versions of libraries than what the Ubuntu repositories already have. We need to statically link it if we want to get back in.


Re: libwebp

Posted: Mon Dec 24, 2012 3:02 am UTC
by DGMurdockIII

isnt webp an image format?


Re: libwebp

Posted: Mon Dec 24, 2012 3:36 am UTC
by danmal

yes. we use it for map textures


Re: libwebp

Posted: Mon Dec 24, 2012 8:49 pm UTC
by DGMurdockIII

ok at least someone is using it


Re: libwebp

Posted: Fri Dec 28, 2012 5:26 am UTC
by danmal

WebP is now included with Unvanquished (has been for a while but I forgot about this thread). USE_INTERNAL_WEBP is the flag.