Re: default init on non-Linux platforms

2014-02-18 Thread Christoph Egger
Hi! Ondřej Surý ond...@sury.org writes: I don't really want to open another can of worms, but what's the opinion of non-Linux ports maintainers on default init? Hm so why was none of the ports list Cc-ed on this mail? There is active discussion [0] between hurd and bsd people were we want to

[PATCH 2/4] modules/audio_output/oss.c: ifdef some ioctls. Fix build on GNU/Hurd.

2014-02-18 Thread Gabriele Giacone
--- modules/audio_output/oss.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c index 97d7c73..16b461c 100644 --- a/modules/audio_output/oss.c +++ b/modules/audio_output/oss.c @@ -35,6 +35,8 @@ #include sys/ioctl.h #ifdef

[PATCH 3/4] Enable cdda on GNU/Hurd.

2014-02-18 Thread Gabriele Giacone
--- configure.ac | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 872abce..80b1567 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,9 @@ case ${host_os} in CPPFLAGS=${CPPFLAGS} -I/usr/local/include LDFLAGS=${LDFLAGS}

[PATCH 4/4] modules/access/vcd/cdrom.c: ifdef some ioctls. Fix cdda enable on GNU/Hurd.

2014-02-18 Thread Gabriele Giacone
--- modules/access/vcd/cdrom.c | 9 + 1 file changed, 9 insertions(+) diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c index e536315..81336b1 100644 --- a/modules/access/vcd/cdrom.c +++ b/modules/access/vcd/cdrom.c @@ -77,6 +77,9 @@ #elif defined (__linux__) #

Re: [PATCH 0/4] [RFC] Patches for vlc

2014-02-18 Thread Gabriele Giacone
On Mon, Feb 17, 2014 at 5:02 PM, Gabriele Giacone 1o5g4...@gmail.com wrote: Please review following patches. They fix vlc build on Hurd. Is it acceptable simply ifdef'ing ioctls? Well explained at https://bugs.debian.org/413734 Don't consider patches ifdef'ing ioctls (2/4 and 4/4), I plan to

Should _POSIX_TIMERS be set to 200809L instead of 0?

2014-02-18 Thread Svante Signell
Hi, Gabriele G. has some problems with the vlc development people, especially regarding the value of _POSIX_TIMERS, see also Gabrieles first patch to debian-hurd. From /usr/include/i386-gnu/bits/posix_opt.h (in eglibc-2.17-98~1) /* We do not have POSIX timers, but could in future without ABI

Re: Should _POSIX_TIMERS be set to 200809L instead of 0?

2014-02-18 Thread Richard Braun
On Tue, Feb 18, 2014 at 11:55:07PM +0100, Svante Signell wrote: Quoting: This is a completely illegal and non-sensical combination. POSIX requires timers if clock selection is supported, since clock selection instrinsically depends on timers. Furthermore POSIX.2008 requires timers and

Re: default init on non-Linux platforms

2014-02-18 Thread Steven Chamberlain
Apparently sysvinit scripts must be retained anyway for a smooth migration to jessie; also for easy backporting of jessie packages to wheezy, and maybe other reasons. Non-Linux ports are likely to use those SysV init scripts, though we might invoke them from something other than sysvinit. I

Re: Should _POSIX_TIMERS be set to 200809L instead of 0?

2014-02-18 Thread Samuel Thibault
Svante Signell, le Tue 18 Feb 2014 23:55:07 +0100, a écrit : From /usr/include/i386-gnu/bits/posix_opt.h (in eglibc-2.17-98~1) /* We do not have POSIX timers, but could in future without ABI change. */ #define _POSIX_TIMERS 0 IIRC, the reason why we keep it 0 is because we haven't

Re: [PATCH 1/4] Also check _POSIX_TIMERS 0. Fix build on GNU/Hurd.

2014-02-18 Thread Samuel Thibault
Gabriele Giacone, le Tue 18 Feb 2014 00:54:12 +0100, a écrit : diff --git a/src/posix/thread.c b/src/posix/thread.c index 07fa71e..d49e94c 100644 --- a/src/posix/thread.c +++ b/src/posix/thread.c @@ -300,7 +300,7 @@ void vlc_cond_init (vlc_cond_t *p_condvar) if

Re: [PATCH 3/4] Enable cdda on GNU/Hurd.

2014-02-18 Thread Samuel Thibault
Gabriele Giacone, le Tue 18 Feb 2014 21:09:06 +0100, a écrit : --- configure.ac | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) That should be fine. diff --git a/configure.ac b/configure.ac index 872abce..80b1567 100644 --- a/configure.ac +++ b/configure.ac @@ -126,6 +126,9

Re: [PATCH 2/4] modules/audio_output/oss.c: ifdef some ioctls. Fix build on GNU/Hurd.

2014-02-18 Thread Samuel Thibault
Gabriele Giacone, le Tue 18 Feb 2014 21:06:14 +0100, a écrit : +#ifndef __GNU__ if (ioctl (fd, SNDCTL_SYSINFO, si) 0) { msg_Err (aout, cannot get system infos: %s, vlc_strerror(errno)); goto out; } +#endif That's obviously deemed to get horrible results at

Re: [PATCH 4/4] modules/access/vcd/cdrom.c: ifdef some ioctls. Fix cdda enable on GNU/Hurd.

2014-02-18 Thread Samuel Thibault
Gabriele Giacone, le Tue 18 Feb 2014 23:06:51 +0100, a écrit : --- modules/access/vcd/cdrom.c | 9 + 1 file changed, 9 insertions(+) Again, that's deemed to produce horrible results. Just try to think at the consequence of not doing these ioctls... diff --git

Re: [PATCH 0/4] [RFC] Patches for vlc

2014-02-18 Thread Samuel Thibault
Gabriele Giacone, le Tue 18 Feb 2014 23:49:14 +0100, a écrit : [1] http://anonscm.debian.org/viewvc/pkg-glibc/glibc-package/branches/eglibc-2.17/debian/patches/hurd-i386/local-clock_gettime_MONOTONIC.diff?revision=5436view=markup How should it be fixed? Ideally, implementing timer_create