Re: [dev] slconfigure

2017-05-29 Thread Josuah Demangeon
I am not disappointed when I see a simple ./configure script that generate a clean config.mk. Would something like this be acceptable to for a suckless project ? case "$(uname -a)" in *Linux* ) XXXINC=/... ;; *OpenBSD* ) XXXINC=/... ;; *FreeBSD* ) XXXINC=/... ;; esac te

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Quentin Rameau
> Thank you, that makes it clear. The git history shows that config.h > was managed by git in September 2009, hence my comment. I stand corrected indeed, *almost* always. :)

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Albert Cardona
2017-05-29 16:13 GMT-04:00 Quentin Rameau : >> The errors: >> >> surf.o: In function `main': >> surf.c:(.text+0x3292): undefined reference to >> `gdk_display_get_default_seat' surf.c:(.text+0x329e): undefined >> reference to `gdk_seat_get_keyboard' collect2: error: ld returned 1 >> exit status Make

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Albert Cardona
2017-05-29 16:08 GMT-04:00 Quentin Rameau : >> >> Hi all, > > Hi Albert, > >> >> Upon compiling the surf-webkit2 with either cc or clang, I am >> >> getting a number of errors. >> > >> > I wonder if your config.h is outdated and is supposed to declare >> > these. Not familiarvwith surf myself. >> >

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Quentin Rameau
> The errors: > > surf.o: In function `main': > surf.c:(.text+0x3292): undefined reference to > `gdk_display_get_default_seat' surf.c:(.text+0x329e): undefined > reference to `gdk_seat_get_keyboard' collect2: error: ld returned 1 > exit status Makefile:29: recipe for target 'surf' failed > make: *

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Quentin Rameau
> >> Hi all, Hi Albert, > >> Upon compiling the surf-webkit2 with either cc or clang, I am > >> getting a number of errors. > > > > I wonder if your config.h is outdated and is supposed to declare > > these. Not familiarvwith surf myself. > > > > Thanks. > > > Thank you David, I had failed

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Albert Cardona
2017-05-29 15:44 GMT-04:00 Albert Cardona : > 2017-05-29 15:35 GMT-04:00 David Phillips : >> On Mon, May 29, 2017 at 03:29:47PM -0400, Albert Cardona wrote: >>> Hi all, >>> >>> Upon compiling the surf-webkit2 with either cc or clang, I am getting >>> a number of errors. >> >> I wonder if your confi

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Albert Cardona
2017-05-29 15:35 GMT-04:00 David Phillips : > On Mon, May 29, 2017 at 03:29:47PM -0400, Albert Cardona wrote: >> Hi all, >> >> Upon compiling the surf-webkit2 with either cc or clang, I am getting >> a number of errors. > > I wonder if your config.h is outdated and is supposed to declare these. > N

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread David Phillips
On Mon, May 29, 2017 at 03:29:47PM -0400, Albert Cardona wrote: > Hi all, > > Upon compiling the surf-webkit2 with either cc or clang, I am getting > a number of errors. I wonder if your config.h is outdated and is supposed to declare these. Not familiarvwith surf myself. Thanks.

[dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread Albert Cardona
Hi all, Upon compiling the surf-webkit2 with either cc or clang, I am getting a number of errors. Error 1: In file included from surf.c:257:0: config.h:71:8: error: unknown type name ‘SiteStyle’ static SiteStyle styles[] = { ^ ... which was perhaps introduced with commit 5c5273398 whic

Re: [dev] slconfigure

2017-05-29 Thread Hiltjo Posthuma
On Mon, May 29, 2017 at 01:58:41PM +, ra...@openmailbox.org wrote: > one of the most widely reported sources of suck are the autotools that gives > you the (in)ability to compile programs from source. ./configure, automake, > autoconf, autoreconf, m4, intltool, libtoolize, etc. > > the best pr

Re: [dev] Surf update

2017-05-29 Thread sylvain . bertrand
On Sun, May 28, 2017 at 01:39:58PM +0200, Laslo Hunhold wrote: > On Sat, 27 May 2017 12:34:14 + > sylvain.bertr...@gmail.com wrote: > > On GPU shaders, no salvation, a SPIR-V compiler has to be written > > from scratch and some mistakes in the specifications made it far from > > trivial. But it

[dev] slconfigure

2017-05-29 Thread rain1
one of the most widely reported sources of suck are the autotools that gives you the (in)ability to compile programs from source. ./configure, automake, autoconf, autoreconf, m4, intltool, libtoolize, etc. the best practice used in suckless projects is generally to have a main makefile that im