Re: mplayer disappears with fullscreen

2013-12-15 Thread Jan Stary
On Dec 15 11:08:44, o...@demirmen.com wrote:
> If cwm is your window manager, the mplayer fullscreen window gets
> re-mapped to IconicState - you want a cwm past Dec 02.

Indeed, upgrading to the latest snapshot fixed it. Thanks!



Re: SDL sndio backend

2013-12-15 Thread Alexandre Ratchov
On Sat, Dec 14, 2013 at 08:59:38PM -0500, Brad Smith wrote:
> Ok, I renamed the files. Apply any diffs you have now against that
> and send them out :)
> 

I've mostly simplifications and tweaks that don't change the
bahavior.

 - use SIO_DEVANY instead of NULL
 - simplify SNDIO_WaitAudio (do as others do)
 - remove the rate negotiation, which predates sndiod

OK?

-- Alexandre

Index: Makefile
===
RCS file: /cvs/ports/devel/sdl/Makefile,v
retrieving revision 1.94
diff -u -p -r1.94 Makefile
--- Makefile15 Dec 2013 01:57:55 -  1.94
+++ Makefile15 Dec 2013 18:40:37 -
@@ -5,7 +5,7 @@ COMMENT=cross-platform multimedia libra
 VERSION=   1.2.15
 DISTNAME=  SDL-${VERSION}
 PKGNAME=   ${DISTNAME:L}
-REVISION=  4
+REVISION=  5
 CATEGORIES=devel
 MASTER_SITES=  ${HOMEPAGE}release/
 
Index: files/SDL_sndioaudio.c
===
RCS file: /cvs/ports/devel/sdl/files/SDL_sndioaudio.c,v
retrieving revision 1.1
diff -u -p -r1.1 SDL_sndioaudio.c
--- files/SDL_sndioaudio.c  15 Dec 2013 01:57:55 -  1.1
+++ files/SDL_sndioaudio.c  15 Dec 2013 18:40:37 -
@@ -47,7 +47,7 @@ static int Audio_Available(void)
struct sio_hdl *this_hdl;
int available = 0;
 
-   if ( (this_hdl = sio_open(NULL, SIO_PLAY, 0)) != NULL ) {
+   if ( (this_hdl = sio_open(SIO_DEVANY, SIO_PLAY, 0)) != NULL ) {
sio_close(this_hdl);
available = 1;
}
@@ -105,17 +105,7 @@ AudioBootStrap SNDIO_bootstrap = {
 /* This function waits until it is possible to write a full sound buffer */
 static void SNDIO_WaitAudio(_THIS)
 {
-   /* Check to see if the thread-parent process is still alive */
-   { static int cnt = 0;
-   /* Note that this only works with thread implementations 
-  that use a different process id for each thread.
-   */
-   if (parent && (((++cnt)%10) == 0)) { /* Check every 10 loops */
-   if ( kill(parent, 0) < 0 ) {
-   this->enabled = 0;
-   }
-   }
-   }
+   /* nothing, we're using the blocking api */
 }
 
 static void SNDIO_PlayAudio(_THIS)
@@ -153,8 +143,7 @@ static void SNDIO_CloseAudio(_THIS)
 
 static int SNDIO_OpenAudio(_THIS, SDL_AudioSpec *spec)
 {
-   struct sio_par par, reqpar;
-   int newrate;
+   struct sio_par par;
 
mixbuf = NULL;
 
@@ -204,8 +193,6 @@ static int SNDIO_OpenAudio(_THIS, SDL_Au
par.round = spec->samples;
par.appbufsz = par.round * 2;
 
-   reqpar = par;
-
if (sio_setpar(hdl, &par) == 0) {
SDL_SetError("sio_setpar() failed");
return(-1);
@@ -216,33 +203,6 @@ static int SNDIO_OpenAudio(_THIS, SDL_Au
return(-1);
}
 
-   /* if wanted rate not found, find a multiple/factor */
-   if (par.rate != spec->freq) {
-   newrate = par.rate;
-   if ((newrate > spec->freq && newrate % spec->freq != 0) ||
-(newrate < spec->freq && spec->freq % newrate != 0)) {
-   if ((spec->freq < 44100 && 44100 % spec->freq == 0) ||
-(spec->freq > 44100 && spec->freq % 44100 == 0)) {
-   newrate = 44100;
-   }
-   }
-   /* only change sample rate */
-   par = reqpar;
-   par.rate = newrate;
-   /* keep same latency */
-   par.round = spec->samples * par.rate / reqpar.rate;
-   par.appbufsz = par.round * 2;
-   if (sio_setpar(hdl, &par) == 0) {
-   SDL_SetError("sio_setpar() failed");
-   return(-1);
-   }
-   }
-
-   if (sio_getpar(hdl, &par) == 0) {
-   SDL_SetError("sio_getpar() failed");
-   return(-1);
-   }
-
if (par.bits == 16) {
if (par.sig && par.le) {
spec->format = AUDIO_S16LSB;
@@ -272,9 +232,6 @@ static int SNDIO_OpenAudio(_THIS, SDL_Au
return(-1);
}
SDL_memset(mixbuf, spec->silence, spec->size);
-
-   /* Get the parent process id (we're the parent of the audio thread) */
-   parent = getpid();
 
if ( sio_start(hdl) == 0 ) {
SDL_SetError("sio_start() failed");



Re: mplayer disappears with fullscreen

2013-12-15 Thread Okan Demirmen
If cwm is your window manager, the mplayer fullscreen window gets
re-mapped to IconicState - you want a cwm past Dec 02.

On Sun, Dec 15, 2013 at 6:36 AM, Jan Stary  wrote:
> This is mplayer-20130819p0 on a reasonably current i386 on a Lenovo R61
> (see full dmesg below). This is the newest package available.
>
> When playing any video with 'fs', the mplayer window appears,
> almost instantly disappears, and only the sound gets played.
> Perhaps the video too, but without me seeing it.
>
> It's not that the mplayer window is obsciured by some other window.
> This also happens when there are no other windows beside the xterm
> that I launched player from.
>
> Without 'fs', it plays just fine.
>
> This is happening after my last or pre-last update (Nov 30, Nov 04).
> Could this be the relatively new video stuff? Mind you:
>
> vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0429 rev 0xa1
>
>  $ mplayer  -dvd-device /mnt/ dvd://1
>  MPlayer SVN-r36426 (C) 2000-2013 MPlayer Team
>
>  Playing dvd://1.
>  libdvdread: Using libdvdcss version 1.2.13 for DVD access
>  libdvdread: Couldn't find device name.
>  There are 13 titles on this DVD.
>  There are 1 angles in this DVD title.
>  audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
>  number of audio channels on disk: 1.
>  subtitle ( sid ): 0 language: unknown
>  number of subtitles on disk: 1
>
>  MPEG-PS file format detected.
>  VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  3000.0 kbps (375.0
>  kbyte/s)
>  [VO_XV] It seems there is no Xvideo support for your video card
>  available.
>  [VO_XV] Run 'xvinfo' to verify its Xv support and read
>  [VO_XV] DOCS/HTML/en/video.html#xv!
>  [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
>  [VO_XV] Try -vo x11.
>  ==
>  Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
>  libavcodec version 54.92.100 (external)
>  Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
>  ==
>  ==
>  Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>  AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
>  Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
>  ==
>  AO: [sndio] 48000Hz 2ch s16le (2 bytes per sample)
>  Starting playback...
>  [VD_FFMPEG] Trying pixfmt=0.
>  [VD_FFMPEG] XVMC-accelerated MPEG-2.
>  The selected video_out device is incompatible with this codec.
>  Try appending the scale filter to your filter list,
>  e.g. -vf spp,scale instead of -vf spp.
>  [VD_FFMPEG] Trying pixfmt=1.
>  [VD_FFMPEG] XVMC-accelerated MPEG-2.
>  The selected video_out device is incompatible with this codec.
>  Try appending the scale filter to your filter list,
>  e.g. -vf spp,scale instead of -vf spp.
>  Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
>  VO: [x11] 720x576 => 768x576 Planar YV12  [fs]
>  [swscaler @ 0x29a6aca0]using unscaled yuv420p -> bgra special converter
>  [mpeg2video @ 0x270ca800]ac-tex damaged at 9 4
>  [mpeg2video @ 0x270ca800]Warning MVs not available
>  [mpeg2video @ 0x270ca800]concealing 1440 DC, 1440 AC, 1440 MV errors in
>  I frame
>  A:   2.3 V:   2.3 A-V:  0.012 ct:  0.047  53/ 53 18% 30%  1.0% 5 0
>
>
> The above is playing a DVD, but the same happens with anything else.
>
> Here is my .mplayer/config (unchanged for a long time):
>
> framedrop=yes
> nocache=yes
> fs=yes
> ontop=yes
> vo=xv,x11
>
> Without specifying the -vo
> (either in config, or on cmdline),
> mplayer doesn't start playing at all:
>
>   $ mplayer  -dvd-device /mnt/ dvd://1
>   MPlayer SVN-r36426 (C) 2000-2013 MPlayer Team
>
>   Playing dvd://1.
>   libdvdread: Using libdvdcss version 1.2.13 for DVD access
>   libdvdread: Couldn't find device name.
>   There are 13 titles on this DVD.
>   There are 1 angles in this DVD title.
>   audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
>   number of audio channels on disk: 1.
>   subtitle ( sid ): 0 language: unknown
>   number of subtitles on disk: 1
>
>   MPEG-PS file format detected.
>   VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  3000.0 kbps (375.0
>   kbyte/s)
>   [VO_XV] It seems there is no Xvideo support for your video card
>   available.
>   [VO_XV] Run 'xvinfo' to verify its Xv support and read
>   [VO_XV] DOCS/HTML/en/video.html#xv!
>   [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
>   [VO_XV] Try -vo x11.
>
> and nothing else happens, as Hatfield would say.
>
> At the same time, FFplay works just fine in full screen.
>
> Am I missing something?
>
> Jan
>
>
>
> OpenBSD 5.4-current (GENERIC.MP) #152: Sat Nov 30 00:50:11 MST 2013
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/G

mencoder doesn't read audio stream

2013-12-15 Thread Jan Stary
Trying to rip a DVD with mencoder that comes with mplayer-20130819p0
on a reasonably current i386 (Lenovo R61).

Mencoder says

number of audio channels on disk: 1.

but later says

MPEG: No audio stream found -> no sound.

and indeed, the resulting file has no audio.
Am I missing something obvious?

Jan



$ mencoder -o /tmp/file.avi -ovc lavc -oac mp3lame dvd://7

MEncoder SVN-r36426 (C) 2000-2013 MPlayer Team
There are 13 titles on this DVD.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (stereo) language: cs aid: 128.
number of audio channels on disk: 1.
subtitle ( sid ): 0 language: cs
subtitle ( sid ): 1 language: cs
number of subtitles on disk: 2

success: format: 2  data: 0x0 - 0x168cd000
MPEG-PS file format detected.
MPEG: No audio stream found -> no sound.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8500.0 kbps (1062.5 kbyte/s)
[V] filefmt:2  fourcc:0x1002  size:720x576  fps:25.000  ftime:=0.0400
libavcodec version 54.92.100 (external)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==
[VD_FFMPEG] Trying pixfmt=0.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
[VD_FFMPEG] Trying pixfmt=1.
[VD_FFMPEG] XVMC-accelerated MPEG-2.
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
[mpeg2video @ 0x23ad5800]concealing 1305 DC, 1305 AC, 1305 MV errors in I frame
Pos:   0.0s  1f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.000 [0:0]
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
[...]



Re: new: let xmms play mpa/mp4/aac audio

2013-12-15 Thread Christian Weisgerber
Ian Darwin  wrote:

> > > Port tarball at http://darwinsys.com/tmp/audio_xmms-mp4-port.tgz
> > 
> > How does this compare with faad-xmms? ;-)
> 
> Meh
> (does an rm -r and crawls back under rock)

To be fair, I didn't remember that we had faad-xmms right away
either.

Ian has suggested to me that we tweak the COMMENT and I'm inclined
to also rename faad-xmms to xmms-faad, in line with other XMMS
plugin packages.

Unfortunately the diff below still seems to be missing something,
because pkg_add -u fails to pick up the change.  Any ideas?

Index: audio/faad/Makefile
===
RCS file: /cvs/ports/audio/faad/Makefile,v
retrieving revision 1.53
diff -u -p -r1.53 Makefile
--- audio/faad/Makefile 21 Mar 2013 08:45:12 -  1.53
+++ audio/faad/Makefile 15 Dec 2013 15:22:50 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.53 2013/03/21 08:45:12 ajacoutot Exp $
 
 COMMENT-main=  MPEG-2 and MPEG-4 AAC decoder
-COMMENT-xmms=  XMMS input plugin for AAC files
+COMMENT-xmms=  XMMS input plugin for MP4/M4A/AAC files
 
 V= 2.7
 DISTNAME=  faad2-${V}
 PKGNAME-main=  faad-${V}
-PKGNAME-xmms=  faad-xmms-${V}
-REVISION-xmms= 0
+PKGNAME-xmms=  xmms-faad-${V}
 CATEGORIES=audio
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=faac/}
 EXTRACT_SUFX=  .tar.bz2
Index: audio/faad/pkg/PFRAG.shared-xmms
===
RCS file: audio/faad/pkg/PFRAG.shared-xmms
diff -N audio/faad/pkg/PFRAG.shared-xmms
--- audio/faad/pkg/PFRAG.shared-xmms9 Dec 2004 04:57:56 -   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,2 +0,0 @@
-@comment $OpenBSD: PFRAG.shared-xmms,v 1.1 2004/12/09 04:57:56 jcs Exp $
-lib/xmms/Input/libmp4.so
Index: audio/faad/pkg/PLIST-xmms
===
RCS file: /cvs/ports/audio/faad/pkg/PLIST-xmms,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-xmms
--- audio/faad/pkg/PLIST-xmms   30 Dec 2005 16:41:06 -  1.3
+++ audio/faad/pkg/PLIST-xmms   15 Dec 2013 15:22:50 -
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST-xmms,v 1.3 2005/12/30 16:41:06 naddy Exp $
-%%SHARED%%
+@conflict faad-xmms-*
 @comment lib/xmms/
 @comment lib/xmms/Input/
 @comment lib/xmms/Input/libmp4.a
 @comment lib/xmms/Input/libmp4.la
+lib/xmms/Input/libmp4.so
Index: devel/quirks/Makefile
===
RCS file: /cvs/ports/devel/quirks/Makefile,v
retrieving revision 1.106
diff -u -p -r1.106 Makefile
--- devel/quirks/Makefile   15 Dec 2013 10:43:29 -  1.106
+++ devel/quirks/Makefile   15 Dec 2013 15:22:50 -
@@ -5,7 +5,7 @@ CATEGORIES =devel databases
 DISTFILES =
 
 # API.rev
-PKGNAME =  quirks-1.103
+PKGNAME =  quirks-1.104
 PKG_ARCH = *
 MAINTAINER =   Marc Espie 
 
Index: devel/quirks/files/Quirks.pm
===
RCS file: /cvs/ports/devel/quirks/files/Quirks.pm,v
retrieving revision 1.113
diff -u -p -r1.113 Quirks.pm
--- devel/quirks/files/Quirks.pm15 Dec 2013 10:43:29 -  1.113
+++ devel/quirks/files/Quirks.pm15 Dec 2013 15:22:52 -
@@ -329,6 +329,7 @@ my $stem_extensions = {
'mentry' =>'tklib',
'wcb' =>'tklib',
'foomatic-filters' =>'cups-filters',
+   'faad-xmms' => 'xmms-faad',
 };
 
 # reasons for obsolete packages
-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



3CB6-9C9D-7443

2013-12-15 Thread Ivan Nudzik



[no subject]

2013-12-15 Thread Ivan Nudzik
unsubscripbe


UPDATE www/sope www/sogo to 2.1.1b

2013-12-15 Thread Sebastian Reitenbach
Hi,

attached update of SOPE and SOGo from 2.0.7 to 2.1.1.b, jumping over a few 
releases.

For SOGo, I had to re-add the patch to the patch-UI_MailPartViewers_GNUmakefile.
in order to prevent the unknown symbols problem on startup :(

Further, the default changed where the SOGo daemon listens on: now on 
127.0.0.1:2
If needed, to get back the old behaviour listening on *:2 follow 
instructions in the
pkg README.

OK?




Index: Makefile
===
RCS file: /cvs/ports/www/sogo/Makefile,v
retrieving revision 1.34
diff -u -p -u -r1.34 Makefile
--- Makefile	19 Oct 2013 13:26:21 -	1.34
+++ Makefile	15 Dec 2013 12:04:31 -
@@ -2,15 +2,14 @@
 
 COMMENT = 	web based groupware server
 
-VERSION =	2.0.7
-REVISION =	1
-DISTNAME =	SOGo-${VERSION}
-PKGNAME =	sogo-${VERSION}
+VERSION =	2.1.1
+DISTNAME =	SOGo-${VERSION}b
+PKGNAME =	sogo-${VERSION}.1
 
 SHARED_LIBS +=	GDLContentStore 2.0
 SHARED_LIBS +=	NGCards		2.0
 SHARED_LIBS +=	OGoContentStore	2.0
-SHARED_LIBS +=	SOGo		2.0
+SHARED_LIBS +=	SOGo		2.1
 SHARED_LIBS +=	SOGoUI		2.0
 
 CATEGORIES =	www
Index: distinfo
===
RCS file: /cvs/ports/www/sogo/distinfo,v
retrieving revision 1.18
diff -u -p -u -r1.18 distinfo
--- distinfo	24 Aug 2013 11:16:04 -	1.18
+++ distinfo	15 Dec 2013 12:04:31 -
@@ -1,2 +1,2 @@
-SHA256 (SOGo-2.0.7.tar.gz) = EZe72hblp+lMcO/iFCizShgwvgC/YF2mM6jugq30vl8=
-SIZE (SOGo-2.0.7.tar.gz) = 5694507
+SHA256 (SOGo-2.1.1b.tar.gz) = 7JCs4kogu8K6BJ/fsiT6ntSeRhVZuHA1YJMFqUUbs94=
+SIZE (SOGo-2.1.1b.tar.gz) = 5846822
Index: patches/patch-SOPE_GDLContentStore_EOQualifier+GCS_m
===
RCS file: patches/patch-SOPE_GDLContentStore_EOQualifier+GCS_m
diff -N patches/patch-SOPE_GDLContentStore_EOQualifier+GCS_m
--- patches/patch-SOPE_GDLContentStore_EOQualifier+GCS_m	19 Oct 2013 09:49:16 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-SOPE_GDLContentStore_EOQualifier+GCS_m,v 1.1 2013/10/19 09:49:16 sebastia Exp $
 SOPE/GDLContentStore/EOQualifier+GCS.m.orig	Sun Oct 13 18:35:24 2013
-+++ SOPE/GDLContentStore/EOQualifier+GCS.m	Sun Oct 13 18:35:46 2013
-@@ -27,7 +27,7 @@
- 
- #import "EOQualifier+GCS.h"
- 
--#if __GNU_LIBOBJC__ >= 20100911
-+#if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(APPLE_RUNTIME) || defined(__GNUSTEP_RUNTIME__)
- #  define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
- #endif
- 
Index: patches/patch-SOPE_GDLContentStore_GCSFolder_m
===
RCS file: patches/patch-SOPE_GDLContentStore_GCSFolder_m
diff -N patches/patch-SOPE_GDLContentStore_GCSFolder_m
--- patches/patch-SOPE_GDLContentStore_GCSFolder_m	19 Oct 2013 09:49:16 -	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-SOPE_GDLContentStore_GCSFolder_m,v 1.1 2013/10/19 09:49:16 sebastia Exp $
 SOPE/GDLContentStore/GCSFolder.m.orig	Sun Oct 13 18:35:05 2013
-+++ SOPE/GDLContentStore/GCSFolder.m	Sun Oct 13 18:35:16 2013
-@@ -44,7 +44,7 @@
- #import "EOQualifier+GCS.h"
- #import "GCSStringFormatter.h"
- 
--#if __GNU_LIBOBJC__ >= 20100911
-+#if (defined(__GNU_LIBOBJC__) && (__GNU_LIBOBJC__ >= 20100911)) || defined(APPLE_RUNTIME) || defined(__GNUSTEP_RUNTIME__)
- #  define sel_eq(__A__,__B__) sel_isEqual(__A__,__B__)
- #endif
- 
Index: patches/patch-UI_MailPartViewers_GNUmakefile
===
RCS file: patches/patch-UI_MailPartViewers_GNUmakefile
diff -N patches/patch-UI_MailPartViewers_GNUmakefile
--- /dev/null	1 Jan 1970 00:00:00 -
+++ patches/patch-UI_MailPartViewers_GNUmakefile	15 Dec 2013 12:04:31 -
@@ -0,0 +1,33 @@
+$OpenBSD$
+
+prevent unknown symbols on startup errors
+
+--- UI/MailPartViewers/GNUmakefile.orig	Wed Dec  4 17:53:43 2013
 UI/MailPartViewers/GNUmakefile	Sun Dec 15 12:47:14 2013
+@@ -25,7 +25,25 @@ MailPartViewers_OBJC_FILES += \
+ 	UIxMailPartMessageViewer.m	\
+ 	UIxMailPartICalViewer.m		\
+ 	\
+-	UIxMailPartICalActions.m
++	UIxMailPartICalActions.m	\
++	../../SoObjects/Mailer/SOGoMailBodyPart.m \
++	../../SoObjects/Mailer/SOGoHTMLMailBodyPart.m \
++	../../SoObjects/Mailer/SOGoCalendarMailBodyPart.m \
++	../../SoObjects/Mailer/SOGoMailAccounts.m \
++	../../SoObjects/Mailer/SOGoMailBaseObject.m \
++	../../SoObjects/Mailer/SOGoMailAccount.m \
++	../../SoObjects/Mailer/SOGoMailNamespace.m \
++	../../SoObjects/Mailer/SOGoDraftsFolder.m \
++	../../SoObjects/Mailer/SOGoSentFolder.m \
++	../../SoObjects/Mailer/SOGoTrashFolder.m \
++	../../SoObjects/Mailer/SOGoMailFolder.m \
++	../../SoObjects/Mailer/SOGoDraftObject.m \
++	../../SoObjects/Mailer/SOGoMailObject.m \
++	../../SoObjects/Appointments/SOGoEMailAlarmsManager.m \
++	../../SoObjects/Appointments/SOGoAppointmentObject.m \
++	../../SoObjects/Appointments/SOGoComponentOccurence.m \
++	../../SoObjects/Appointme

mplayer disappears with fullscreen

2013-12-15 Thread Jan Stary
This is mplayer-20130819p0 on a reasonably current i386 on a Lenovo R61
(see full dmesg below). This is the newest package available.

When playing any video with 'fs', the mplayer window appears,
almost instantly disappears, and only the sound gets played.
Perhaps the video too, but without me seeing it.

It's not that the mplayer window is obsciured by some other window.
This also happens when there are no other windows beside the xterm
that I launched player from.

Without 'fs', it plays just fine.

This is happening after my last or pre-last update (Nov 30, Nov 04).
Could this be the relatively new video stuff? Mind you:

vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0429 rev 0xa1

 $ mplayer  -dvd-device /mnt/ dvd://1 
 MPlayer SVN-r36426 (C) 2000-2013 MPlayer Team

 Playing dvd://1.
 libdvdread: Using libdvdcss version 1.2.13 for DVD access
 libdvdread: Couldn't find device name.
 There are 13 titles on this DVD.
 There are 1 angles in this DVD title.
 audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
 number of audio channels on disk: 1.
 subtitle ( sid ): 0 language: unknown
 number of subtitles on disk: 1

 MPEG-PS file format detected.
 VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  3000.0 kbps (375.0
 kbyte/s)
 [VO_XV] It seems there is no Xvideo support for your video card
 available.
 [VO_XV] Run 'xvinfo' to verify its Xv support and read
 [VO_XV] DOCS/HTML/en/video.html#xv!
 [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
 [VO_XV] Try -vo x11.
 ==
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 libavcodec version 54.92.100 (external)
 Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
 ==
 ==
 Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
 AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
 Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
 ==
 AO: [sndio] 48000Hz 2ch s16le (2 bytes per sample)
 Starting playback...
 [VD_FFMPEG] Trying pixfmt=0.
 [VD_FFMPEG] XVMC-accelerated MPEG-2.
 The selected video_out device is incompatible with this codec.
 Try appending the scale filter to your filter list,
 e.g. -vf spp,scale instead of -vf spp.
 [VD_FFMPEG] Trying pixfmt=1.
 [VD_FFMPEG] XVMC-accelerated MPEG-2.
 The selected video_out device is incompatible with this codec.
 Try appending the scale filter to your filter list,
 e.g. -vf spp,scale instead of -vf spp.
 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
 VO: [x11] 720x576 => 768x576 Planar YV12  [fs]
 [swscaler @ 0x29a6aca0]using unscaled yuv420p -> bgra special converter
 [mpeg2video @ 0x270ca800]ac-tex damaged at 9 4
 [mpeg2video @ 0x270ca800]Warning MVs not available
 [mpeg2video @ 0x270ca800]concealing 1440 DC, 1440 AC, 1440 MV errors in
 I frame
 A:   2.3 V:   2.3 A-V:  0.012 ct:  0.047  53/ 53 18% 30%  1.0% 5 0 


The above is playing a DVD, but the same happens with anything else.

Here is my .mplayer/config (unchanged for a long time):

framedrop=yes
nocache=yes
fs=yes
ontop=yes
vo=xv,x11

Without specifying the -vo
(either in config, or on cmdline),
mplayer doesn't start playing at all:

  $ mplayer  -dvd-device /mnt/ dvd://1 
  MPlayer SVN-r36426 (C) 2000-2013 MPlayer Team

  Playing dvd://1.
  libdvdread: Using libdvdcss version 1.2.13 for DVD access
  libdvdread: Couldn't find device name.
  There are 13 titles on this DVD.
  There are 1 angles in this DVD title.
  audio stream: 0 format: ac3 (stereo) language: unknown aid: 128.
  number of audio channels on disk: 1.
  subtitle ( sid ): 0 language: unknown
  number of subtitles on disk: 1

  MPEG-PS file format detected.
  VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  3000.0 kbps (375.0
  kbyte/s)
  [VO_XV] It seems there is no Xvideo support for your video card
  available.
  [VO_XV] Run 'xvinfo' to verify its Xv support and read
  [VO_XV] DOCS/HTML/en/video.html#xv!
  [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
  [VO_XV] Try -vo x11.

and nothing else happens, as Hatfield would say.

At the same time, FFplay works just fine in full screen.

Am I missing something?

Jan



OpenBSD 5.4-current (GENERIC.MP) #152: Sat Nov 30 00:50:11 MST 2013
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz ("GenuineIntel" 686-class) 
2.20 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF
real mem  = 1071894528 (1022MB)
avail mem = 1042530304 (994MB)
mainbus0 at root
bios0 at m

Re: UPDATE: mail/sieve-connect 0.87

2013-12-15 Thread LEVAI Daniel
On szo, dec 14, 2013 at 15:10:30 +0100, LEVAI Daniel wrote:
> Hi!
> 
> Here is an update to sieve-connect.
> The development transitioned to github.
> Patch is not needed anymore, upstream fixed SSL CA detection.
> 
> I've tested this on an amd64.

New diff, using the newer github nomenclature.


Index: Makefile
===
RCS file: /cvs/ports/mail/sieve-connect/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile16 Apr 2013 10:22:11 -  1.6
+++ Makefile15 Dec 2013 11:31:04 -
@@ -2,14 +2,17 @@
 
 COMMENT =  perl sieveshell-compatible ManageSieve client
 
-DISTNAME = sieve-connect-0.85
+GH_VER =   v0.87
+V =${GH_VER:S/v//}
+PROJECT =  sieve-connect
+DISTNAME = ${PROJECT}-${V}
 CATEGORIES =   mail
 PKG_ARCH = *
 
 MAINTAINER =   LEVAI Daniel 
 
-HOMEPAGE = http://people.spodhuis.org/phil.pennock/software/
-MASTER_SITES = ${HOMEPAGE}
+HOMEPAGE = http://github.com/philpennock/${PROJECT}
+MASTER_SITES = 
http://github.com/philpennock/${PROJECT}/releases/download/${GH_VER}/
 
 EXTRACT_SUFX = .tar.bz2
 
Index: distinfo
===
RCS file: /cvs/ports/mail/sieve-connect/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo16 Apr 2013 10:22:11 -  1.5
+++ distinfo15 Dec 2013 11:31:04 -
@@ -1,2 +1,2 @@
-SHA256 (sieve-connect-0.85.tar.bz2) = 
TU4+7IgatF9SsiddrekEeNemtHlCaV77KSJ9FTiknn8=
-SIZE (sieve-connect-0.85.tar.bz2) = 34323
+SHA256 (sieve-connect-0.87.tar.bz2) = 
496AqzSZTeAnf8e/U7fAjoLbGh8nYt2sQxHYGRzqbEk=
+SIZE (sieve-connect-0.87.tar.bz2) = 40023
Index: patches/patch-sieve-connect_pl
===
RCS file: patches/patch-sieve-connect_pl
diff -N patches/patch-sieve-connect_pl
--- patches/patch-sieve-connect_pl  16 Apr 2013 10:22:11 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-sieve-connect_pl,v 1.2 2013/04/16 10:22:11 sthen Exp $
 sieve-connect.pl.orig  Tue Apr 16 10:07:35 2013
-+++ sieve-connect.pl   Tue Apr 16 10:07:38 2013
-@@ -47,7 +47,7 @@ my %ssl_options = (
-   SSL_version => 'SSLv23:!SSLv2:!SSLv3',
-   SSL_cipher_list => 'ALL:!aNULL:!NULL:!LOW:!EXP:!ADH:@STRENGTH',
-   SSL_verify_mode => 0x03,
--  SSL_ca_path => '/etc/ssl/certs',
-+  SSL_ca_file => '/etc/ssl/cert.pem',
- );
- # These defaults can be overriden on the cmdline:
- my ($forbid_clearauth, $forbid_clearchan) = (0, 0);




-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: UPDATE: security/kc 2.3.2

2013-12-15 Thread LEVAI Daniel
On szo, dec 14, 2013 at 15:25:47 +0100, LEVAI Daniel wrote:
> Hi!
> 
> Here is an update to kc.
> The development transitioned to github.
> Also, do not install pwsafe...pl, and remove its dependencies. The
> utility is still available in the source and on the project website, but
> it is ridiculous how many stuff is needed for p5-HTML-Parser, and none
> of them are justified to be installed with kc itself.

New diff. Remove the pkg-readme also from the PLIST, and use the newer
style for github distfiles.


Index: Makefile
===
RCS file: /cvs/ports/security/kc/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile21 Mar 2013 09:48:45 -  1.6
+++ Makefile15 Dec 2013 10:20:30 -
@@ -2,11 +2,15 @@
 
 COMMENT =  console based password storing application
 
-DISTNAME = kc-2.3.0
-CATEGORIES =security
+GH_VER =   2.3.2
+PROJECT =  kc
+DISTNAME = ${PROJECT}-${GH_VER}
+CATEGORIES =   security
 
-HOMEPAGE = http://code.google.com/p/keychain
-MASTER_SITES = http://keychain.googlecode.com/files/
+HOMEPAGE = http://github.com/levaidaniel/${PROJECT}
+MASTER_SITES = https://github.com/levaidaniel/${PROJECT}/archive/
+
+DISTFILES =${DISTNAME}{${GH_VER}}${EXTRACT_SUFX}
 
 MAINTAINER =   LEVAI Daniel 
 
@@ -18,16 +22,8 @@ WANTLIB =c crypto edit ncursesw xml2 pc
 LIB_DEPENDS =  textproc/libxml \
devel/pcre
 
-# only required for the pwsafe_to_kc.pl utility,
-# and not for kc itself.
-RUN_DEPENDS =  www/p5-HTML-Parser
-
 MAKE_ENV +=HAVE_PCRE=yes
 
 TEST_TARGET =test
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/kc
-   ${INSTALL} ${WRKBUILD}/pwsafe_to_kc.pl ${PREFIX}/share/kc/
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/security/kc/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo21 Mar 2013 09:48:45 -  1.4
+++ distinfo15 Dec 2013 10:20:30 -
@@ -1,2 +1,2 @@
-SHA256 (kc-2.3.0.tar.gz) = SNp9q8TaMX7ACQLN2BGwsEAIkjoYsvKiGUjAQQNWsq4=
-SIZE (kc-2.3.0.tar.gz) = 43625
+SHA256 (kc-2.3.2.tar.gz) = 1Ap74wB55M/EI+GqK127Dm8LNInx0OCQzWZyi8Mo/Ng=
+SIZE (kc-2.3.2.tar.gz) = 44779
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/kc/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   21 Mar 2013 09:48:45 -  1.3
+++ pkg/PLIST   15 Dec 2013 10:20:30 -
@@ -1,6 +1,3 @@
-@comment $OpenBSD: PLIST,v 1.3 2013/03/21 09:48:45 jasper Exp $
+@comment $OpenBSD$
 @bin bin/kc
 @man man/man1/kc.1
-share/doc/pkg-readmes/${FULLPKGNAME}
-share/kc/
-share/kc/pwsafe_to_kc.pl
Index: pkg/README
===
RCS file: pkg/README
diff -N pkg/README
--- pkg/README  25 Jan 2013 11:09:20 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,9 +0,0 @@
-$OpenBSD: README,v 1.1 2013/01/25 11:09:20 jasper Exp $
-
-+---
-| Running ${FULLPKGNAME} on OpenBSD
-+---
-
-kc comes with a tiny and simple utility which can convert an exported pwsafe
-database to a kc compatible XML database (that can be imported to it later).
-It is installed under ${PREFIX}/share/kc/




Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F



Re: NEW: libscrypt - shared library using scrypt()

2013-12-15 Thread LEVAI Daniel
On szo, dec 14, 2013 at 22:41:21 +, Stuart Henderson wrote:
> On 2013/12/14 18:35, LEVAI Daniel wrote:
[...]
> 
> | MASTER_SITES =  
> http://github.com/technion/${PROJECT}/archive/v${V}.tar.gz?dummy=/
> 
> Rather than this url query hack, please use the newer style of github
> handling you'll see in other ports e.g. www/tt-rss.

Oh blimey! I would have sweared that I saw this in devel/libgit2 (that
pkg was even your example in [1] :) ).

> 
> | SHARED_LIBS +=  scrypt  1.0 # 1.0
> 
> Library versioning for OpenBSD ports should start at 0.0.

Right.

> | @bin lib/libscrypt.so.0
> | lib/libscrypt.so
> 
> Library generation is wrong, there should be
> libscrypt.so. and also either a
> static library, or make the port SHARED_ONLY.. I haven't built but
> I guess one of these files is a symlink and one is an incorrectly
> built library.

Okay, I tried to do a better job this time. The source builds a
libscrypt.so.0 file, and I couldn't get pkg_create(1) to recognize the
lib mentioned in SHARED_LIBS, so I had to mv libscrypt.so.0 -> libscrypt.so.0.0
I've also @comment-ed the symlink to ...so.0 in PLIST. Now the library
is correctly prefixed with @lib in the PLIST.


[1] http://marc.info/?l=openbsd-ports&m=138588950307176&w=2

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F


libscrypt.tar.gz
Description: application/tar-gz