Re: [dev] [surf] surf-0.3 released

From: Jorge Vargas <jorge.vargas_AT_gmail.com>
Date: Fri, 13 Nov 2009 13:41:21 -0600

On Fri, Nov 13, 2009 at 3:38 AM, Moritz Wilhelmy <crap_AT_wzff.de> wrote:
> On Fri, Nov 13, 2009 at 02:59:31AM -0600, Jorge Vargas wrote:
>> On Fri, Oct 30, 2009 at 7:05 AM, Enno Boland (Gottox) <gottox_AT_gmail.com> wrote:
>> > surf-0.3 is out. There are still some bugs left, but I think it's time
>> > to roll out a new release because there changed a plenty of things:
>> > - changed cookiefile to cookies.txt
>> > - removed urlbar and searchbar using XProps instead
>> > - downloads are working
>> > - zooms website out, if the window is small enough
>> > - fixing surf to make it work with tabbed more smoothly.
>> >
>> > Mercurial
>> > * http://hg.suckless.org/surf
>> > Tarball:
>> > * http://dl.suckless.org/surf/surf-0.3.tar.gz
>> >
>> > please be patient as there are still some bugs, but feel free to give feedback.
>> >
>> Hello,
>>
>> I just tried this for the first time (and sorry for the horrible noob
>> question) but I can't seem to get it to build.
>>
>> I'm running ubuntu 9.04
>>
>> and I got the libwebkit-dev package
>> (https://launchpad.net/ubuntu/jaunty/+package/libwebkit-dev)
>> This is supposed to depend on libwebkit and libgtk2.0-dev isn't that enough?
>>
>> this are my options and it's running hg tip from some minutes ago. f1085a2335af
>>
>> $ make options
>> surf build options:
>> CFLAGS   = -std=c99 -pedantic -Wall -Os -I. -I/usr/include
>> -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
>> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
>> -I/usr/include/pixman-1 -I/usr/include/freetype2
>> -I/usr/include/directfb -I/usr/include/libpng12
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
>> -I/usr/include/webkit-1.0   -DVERSION="0.4"
>> LDFLAGS  = -s -L/usr/lib -lc -lwebkit-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
>> -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
>> -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
>> -lgmodule-2.0 -lglib-2.0   -lgthread-2.0
>> CC       = cc
>
> And where's the problem now? I don't see any error message...
>
ups sorry Kai Hendry, seems to have replied directly to me. I get a
full dump which seems like a missing dep.

surf.c:36: error: expected specifier-qualifier-list before ‘WebKitDownload’
surf.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
surf.c:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
surf.c:70: error: expected ‘)’ before ‘*’ token
surf.c:76: error: expected declaration specifiers or ‘...’ before
‘WebKitWebPolicyDecision’
surf.c:77: error: expected declaration specifiers or ‘...’ before
‘WebKitWebNavigationAction’
surf.c:77: error: expected declaration specifiers or ‘...’ before
‘WebKitWebPolicyDecision’
surf.c:87: error: expected declaration specifiers or ‘...’ before
‘WebKitDownload’
surf.c:113: error: expected ‘)’ before ‘*’ token
....

He suggested (also in private email) my webkit is too old. I have
1.0.1, full package version is 1.0.1-4ubuntu0.1 aynone can confirm or
deny that before I embark myself into an upgrade? apparently latest is
1.1.x, so I'll prefer to upgrade to ubuntu current rather than
building it from source.

>
Received on Fri Nov 13 2009 - 19:41:21 UTC

This archive was generated by hypermail 2.2.0 : Fri Nov 13 2009 - 19:48:02 UTC