libwebp

Request new features or present your ideas.
Post Reply
User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

libwebp

Post 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?

Grab reality by the balls and squeeeeze!

Image

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: libwebp

Post by kharnov »

I've been wondering this exact same thing.

User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: libwebp

Post by danmal »

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

User avatar
Anomalous
Programmer
Posts: 318
Joined: Wed Mar 07, 2012 3:51 pm UTC

Re: libwebp

Post 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

Debian and Ubuntu packages (squeeze, wheezy, sid; 12.04, 12.10, 13.04) may work on derivatives

OFFEND! … no, that's not right… ATTACK!

User avatar
kharnov
Granger
Posts: 1851
Joined: Tue Mar 06, 2012 10:54 pm UTC
Clan: GT
Location: New York City

Re: libwebp

Post 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.

DGMurdockIII
Posts: 21
Joined: Sun Oct 21, 2012 10:35 am UTC

Re: libwebp

Post by DGMurdockIII »

isnt webp an image format?

User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: libwebp

Post by danmal »

yes. we use it for map textures

DGMurdockIII
Posts: 21
Joined: Sun Oct 21, 2012 10:35 am UTC

Re: libwebp

Post by DGMurdockIII »

ok at least someone is using it

User avatar
danmal
Posts: 193
Joined: Thu Mar 08, 2012 1:44 am UTC

Re: libwebp

Post 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.

Post Reply