package: postfix - Is the current package compiled with SASL TLS mySQL ?

2009-07-13 Thread Simon Loewen

Dear Ports list,

I would like to find out what options the postfix package was compiled
with - I am looking for mysql TLS sasl.  Is this included in the
packages and if so then would a pkg_add postfix get me the correct
compilation?

If not, then where?

Best regards, S.



Re: package: postfix - Is the current package compiled with SASL TLS mySQL ?

2009-07-13 Thread Stuart Henderson
On 2009/07/13 10:36, Simon Loewen wrote:
> 
> Dear Ports list,
> 
>   I would like to find out what options the postfix package was compiled
> with - I am looking for mysql TLS sasl.  Is this included in the
> packages and if so then would a pkg_add postfix get me the correct
> compilation?
> 
> If not, then where?

there aren't packages with both sasl2 and mysql together, but you can
build your own package and install like this:

cd /usr/ports/mail/postfix/(snapshot|stable)
FLAVOR="sasl2 mysql" make install



Viagem aos A�ores 3 Ilhas - www.3ilhas.golink.pt MERGULHOS INCLUIDOS

2009-07-13 Thread Nadar com Golfinhos
www.3ilhas.golink.pt

PACOTES TURÍSTICOS   MERGULHOS INCLUIDOS

FAMÍLIA/AMIGOS

Caso deseje adaptar o pack nao hesite em nos contactar.

Venha descobrir este Paraíso, descobrirá paisagens Paradisíacas. Desfrutar do 
nascer e/ou pôr-do-sol, no topo do ponto mais alto de Portugal, com 2.351m de 
altitude, visitar os vários museus, refrescar-se nas inúmeras piscinas 
naturais, deliciar-se com a vasta gastronomia picoense, observar Cetáceos, 
dançar com os golfinhos no seu habitat natural, mergulhar no mundo subaquático 
e onde poderá fazer grandiosas caçadas



Total para 4/pessoas e 7/noites = 1994,30€

Total para 5/pessoas e 7/noites = 2101€

Total para 6/pessoas e 7/noites = 2438,70€

Total para 7/pessoas e 7/noites = 2831,40€

Total para 8/pessoas e 7/noites = 3086,60€

Total para 9/pessoas e 7/noites = 3448,50€

Total para 10/pessoas e 7/noites = 3654,20€


Transfer do aeroporto da Horta para a doca da Horta e vice-versa

Transfer da doca da Horta para a Ilha do Pico e vice-versa (carreira normal)

Adega 5/noites (c/kitchnette) (pequeno-almoço em snack-bar)

Volta à Ilha do Faial, inclui: transfer (carreira normal) e viatura c/condutor

Mergulho na Ilha de São Jorge (2 mergulhos, um de manhã e um à tarde)

–inclui: barco, guia/skiper e água

Mergulho na Ilha do Faial (2 mergulhos, um de manhã e um à tarde)

– inclui: barco, guia/skiper e água

Mergulho na Ilha do Pico (2 mergulhos, um de manhã e um à tarde)

– inclui: barco, guia/skiper e água

Mergulhos estes com escafandro autónomo, ou quem preferir a prática de

caça submarina em locais apropriados para o encontro com excelentes exemplares.


Total para 4/pessoas e 7/noites = 1994,30€

Total para 5/pessoas e 7/noites = 2101€

Total para 6/pessoas e 7/noites = 2438,70€

Total para 7/pessoas e 7/noites = 2831,40€

Total para 8/pessoas e 7/noites = 3086,60€

Total para 9/pessoas e 7/noites = 3448,50€

Total para 10/pessoas e 7/noites = 3654,20€

NOTA

* Adega Formosinha > dois quartos, com duas camas de casal e sofá (pode 
albergar 6 pessoas).
* Adega Cais Mourato 1 > dois quartos, com duas camas de casal e sofá (pode 
albergar 5 pessoas)
* Adega Cais do Mourato 2 > um quarto com cama de casal, um quarto com duas 
camas single e um quarto/camarata com seis camas singles) pode albergar 10 
pessoas).
* Adega da Barca > um quarto com cama de casal, um quarto com duas camas 
single e sofá (pode albergar 6 pessoas).

As Adegas ficam situadas junto à costa da Ilha do Pico, sensivelmente a 50 
metros do Oceano Atlântico.

Ofereço/empresto viatura (necessário apresentar carta de condução e assinar 
declaração de empréstimo) para todos os dias que permanecerem cá, poderão 
usá-la para qualquer situação (menos rally), somente terão de deixar o 
combustível, no mesmo nível do início.

O pacote possui quatro dias das nossas actividades, podendo ainda fazer vários 
mergulhos, em outros dias a partir da costa e em locais que sugerirei. Também 
têm tempo para conhecer as lindas paisagens da Ilha do Pico. Todas as moradias 
possuem sala, quarto de jantar, cozinha (totalmente equipada), pequena 
churrasqueira e cada uma possui uma casa de banho. Poderão trazer familiares e 
enquanto mergulham, os mesmos poderão efectuar outras actividades que temos 
disponíveis, é só pedir cotação.


Viagem (ida e volta) custo aproximado por adulto, saída de Lisboa :

Entre 200 a 300 euros Máximo em www.sata.pt

Crianças bastante mais barato.

Venha descobrir este Paraíso, descobrirá paisagens Paradisíacas. Desfrutar do 
nascer e/ou pôr-do-sol, no topo do ponto mais alto de Portugal, com 2.351m de 
altitude, visitar os vários museus, refrescar-se nas inúmeras piscinas 
naturais, deliciar-se com a vasta gastronomia picoense, observar Cetáceos, 
dançar com os golfinhos no seu habitat natural, mergulhar no mundo subaquático 
e onde poderá fazer grandiosas caçadas

Marcações e Reservas através do email :  3il...@gmail.com

Para mais informaçoes contactar por favor o email acima.

Obrigado







XFCE Left Corner Docking Problem

2009-07-13 Thread Glenn Gombert
Hi,

 I just installed XFCE from the current packages (snapshots) directory for
4.6. I have a problem with the application(s), terminals always opening in
the upper left corner and nothing I am able to do seems to allow me to
undock the apps and move them around the desktop. I have run XFCE on 4.4 and
not had this problem. I found this thread below but the functionally to fix
the problem does not seem to work. Any suggestions to resolve this would be
appreciated (I have searched the XFCE wiki without much success).

Thanks,

Glenn



http://www.computing.net/answers/linux/xfce-window-docking-problem/15009.html


Re: Video tools

2009-07-13 Thread Thomas Pfaff
On Sat, 11 Jul 2009 13:33:12 +
Jacob Meuser  wrote:
> On Sat, Jul 11, 2009 at 03:09:17PM +0200, jean-francois wrote:
> > Do we have a port of some applications for video edition, equivalent for
> > example to cinelerra or kdenlive available of some platforms ?
> 
> there's avidemux.  mjpegtools has some limited video editing capabilities.
> and you can do some stuff with transcode and/or mencoder.  but afaik, there
> is nothing quite like cinelerra or kdenlive in portspackages.
> 
Has anyone done any work on porting Kino or Kdenlive?  If so, perhaps
you could post it here so others can pick it up and maybe complete it.



audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Christian Weisgerber
Jolan Luff  wrote:

> Log message:
> libdca-0.0.5, free library for decoding DTS Coherent Acoustics streams

There is a divergent version of this in graphics/ffmpeg (and again
a private version of that in x11/mplayer).  My best guess is that
the standalone version is orphaned and development is happing in
ffmpeg.  That said, *puts in a DVD*, "mplayer -ac ffdca" doesn't
work properly, but "-ac dts" (i.e., using the standalone libdca)
does.

Oh, and x11/mplayer now picks up libdca if installed.  It links
with -ldts, though, so it only finds the libdts.a symlink and links
statically.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Jolan Luff
On Mon, Jul 13, 2009 at 03:35:21PM +, Christian Weisgerber wrote:
> There is a divergent version of this in graphics/ffmpeg (and again
> a private version of that in x11/mplayer).  My best guess is that
> the standalone version is orphaned and development is happing in
> ffmpeg.

AFAICT, the videolan people are the ones developing it and
the mplayer/ffmpeg guys just copied a snapshot of the code over.

>  That said, *puts in a DVD*, "mplayer -ac ffdca" doesn't
> work properly, but "-ac dts" (i.e., using the standalone libdca)
> does.

I imported it because I have a file that only plays with mplayer and I
usually only install videolan.

So I was planning on either fixing our in-tree (out-of-date) videolan
that looks for libdts and can't use it due to the missing/renamed
headers or wait for the videolan 1.0.0 update to go in-tree
and enable its libdca support.

> Oh, and x11/mplayer now picks up libdca if installed.  It links
> with -ldts, though, so it only finds the libdts.a symlink and links
> statically.

Ah sorry I didn't notice that.  I had checked that it didn't affect
the LIB_DEPENDS of mplayer but I didn't notice it finding the static
libdts symlink.  I guess I'll just disable the libdts "support" in
libdca unless someone comes up with a better suggestion.



WIP:print/min12xxw

2009-07-13 Thread Predrag Punosevac
Hi Ports,

I attached the WIP port of the printer driver min12xxw for the 
Konica/Minolta PagePro 1[234]xxW printers. To my knowledge this is 
the only open-source printer driver not currently ported to OpenBSD.
I do not own the hardware so I have no means of really testing the 
port. I did this as an exercise as I am learning more about ports 
infrastructure. I hope somebody actually find a use of it.

Best,
Predrag




min12xxw.tgz
Description: Binary data


mupdf+firefox

2009-07-13 Thread Pawlowski Marcin Piotr
Hi all,
I've written two patches to use mupdf with firefox.
First one adds WM_CLASS property to mupdf which is required by
mozpluger. Second one simply adds mupdf to mozplugger.

patches:
http://student.if.uj.edu.pl/Marcin.Pawlowski/openbsd/patches/patch-apps_unix_x11pdf_c
http://student.if.uj.edu.pl/Marcin.Pawlowski/openbsd/patches/patch-patch-mozpluggerrc

Cheers.

--- apps/unix/x11pdf.c.orig Mon Jun 22 13:45:03 2009
+++ apps/unix/x11pdf.c  Mon Jul 13 18:50:34 2009
@@ -69,6 +69,8 @@
 static char copylatin1[1024 * 16] = "";
 static char copyutf8[1024 * 48] = "";
 static Time copytime;
+static char MyXName[6] = "mupdf";
+static char MyXClass[6] = "Mupdf";
 
 static pdfapp_t gapp;
 
@@ -101,6 +103,7 @@
 void winopen(void)
 {
XWMHints *hints;
+   XClassHint *classHint;
 
xdpy = XOpenDisplay(nil);
if (!xdpy)
@@ -159,6 +162,16 @@
XSetWMHints(xdpy, xwin, hints);
}
XFree(hints);
+   }
+   
+   classHint = XAllocClassHint();
+
+   if (classHint)
+   {
+   classHint->res_name = MyXName;
+   classHint->res_class = MyXClass;
+   XSetClassHint(xdpy, xwin, classHint);
+   XFree(classHint);
}
 
x11fd = ConnectionNumber(xdpy);


--- patch-mozpluggerrc.orig Mon Jul 13 20:11:55 2009
+++ patch-mozpluggerrc  Mon Jul 13 21:09:26 2009
@@ -78,7 +78,7 @@
  video/x-theora:ogg:OGG stream with video
  video/theora:ogg:OGG stream with video
  video/ogg:ogg:OGG stream with video
-@@ -148,138 +153,137 @@ video/x-anim:iff,anim5,anim3,anim7:IFF
animation +@@ -148,138 +153,138 @@
video/x-anim:iff,anim5,anim3,anim7:IFF animation ### Audio  ###
  ##
  
@@ -322,6 +322,7 @@
 +  repeat noisy swallow(evince) fill: evince "$file"
 +  repeat swallow(acroread) fill: acroread -openInNewWindow
"$file" repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
++  repeat noisy swallow(mupdf) fill: mupdf "$file"
GV()
  
 @@ -289,78 +293,79 @@ application/x-dvi:dvi:DVI file



Re: audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Jacob Meuser
On Mon, Jul 13, 2009 at 11:48:45AM -0500, Jolan Luff wrote:
> On Mon, Jul 13, 2009 at 03:35:21PM +, Christian Weisgerber wrote:
> > There is a divergent version of this in graphics/ffmpeg (and again
> > a private version of that in x11/mplayer).  My best guess is that
> > the standalone version is orphaned and development is happing in
> > ffmpeg.
> 
> AFAICT, the videolan people are the ones developing it and
> the mplayer/ffmpeg guys just copied a snapshot of the code over.

what's in ffmpeg/mplayer is not libdca.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: xpdf core dump

2009-07-13 Thread Matthias Kilian
On Sun, Jul 12, 2009 at 01:31:29PM -0400, Predrag Punosevac wrote:
> I think, I am just saying goodbye to xpdf after probably 20 years. I can
> not even recall when I started using xpdf. I am now mupdf guy thanks
> to Stuart and the gang!!!

mupdf is promising, but it still lacks some features (like copy&waste,
text search, zoom to width).

> I have tested the latest xpdf on 4.5 stable. I can reproduce the same
> crash with the newest version. I am installing current at this very 
> moment on a machine which will be used for testing purposes. I would
> be surprised that if xpdf behaves differently on current. 

Did you check wether the pdf file you're using is the same that
sthen@ mentioned and that doesn't cause crashes for him and for me?
I just want to be sure that we're testing the same file.

$ md5 bpu02659.pdf
MD5 (bpu02659.pdf) = b68c0a47869ab4147c35460d88366c96

> > http://openbsd.dead-parrot.de/print_texlive_base.diff
> > http://openbsd.dead-parrot.de/x11_kde_graphics3.diff
[...]
> Point taken. I will be testing TeXLive with your patches. I use TeXLive
> no less than 3-4 hours every day. 

good.

> [...] Do you remember last month
> your conversation with Matt when he was complaining about the crash
> on the similar document? I just could not reproduce it on 4.4/amd64
> stable running bsd.mp kernel.

I didn't have the time to debug it, but the second document he
mentioned still causes crashes here.

Ciao,
Kili



Re: audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Christian Weisgerber
Jolan Luff  wrote:

> > My best guess is that the standalone version is orphaned and
> > development is happing in ffmpeg.
> 
> AFAICT, the videolan people are the ones developing it and
> the mplayer/ffmpeg guys just copied a snapshot of the code over.

libdca:
 * Copyright (C) 2004 Gildas Bazin 

ffmpeg:
 * Copyright (C) 2004 Gildas Bazin
 * Copyright (C) 2004 Benjamin Zores
 * Copyright (C) 2006 Benjamin Larsson
 * Copyright (C) 2007 Konstantin Shishkov

Also, I diffed libdca 0.0.5 and the previous release 0.0.2 from
2004 and the only changes to the code were a renaming from "dts"
to "dca".

> > Oh, and x11/mplayer now picks up libdca if installed.
> 
> I guess I'll just disable the libdts "support" in
> libdca unless someone comes up with a better suggestion.

For the moment, I've added --disable-libdca to mplayer.  The best
course is probably to update mplayer and check if newer versions
include a fixed copy of ffdca.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Christian Weisgerber
Jacob Meuser  wrote:

> > AFAICT, the videolan people are the ones developing it and
> > the mplayer/ffmpeg guys just copied a snapshot of the code over.
> 
> what's in ffmpeg/mplayer is not libdca.

Yes, it is.  Well, a derived version.  If you don't believe me,
look at the code.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Christian Weisgerber
Christian Weisgerber  wrote:

> For the moment, I've added --disable-libdca to mplayer.  The best
> course is probably to update mplayer and check if newer versions
> include a fixed copy of ffdca.

Apparently it still doesn't work:
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-June/061804.html

I'll make it link against libdca.

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



Re: audio/libdca (was: Re: CVS: cvs.openbsd.org: ports)

2009-07-13 Thread Jacob Meuser
On Mon, Jul 13, 2009 at 08:39:48PM +, Christian Weisgerber wrote:
> Jacob Meuser  wrote:
> 
> > > AFAICT, the videolan people are the ones developing it and
> > > the mplayer/ffmpeg guys just copied a snapshot of the code over.
> > 
> > what's in ffmpeg/mplayer is not libdca.
> 
> Yes, it is.  Well, a derived version.  If you don't believe me,
> look at the code.

I checked the code in ffmpeg and ffmpeg svn commit messages, neither of
which mention libtds/libdca.  but yes, what's in ffmpeg is likely
derived from libdts, although it is a bit different.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



update: x11/pekwm 0.1.11

2009-07-13 Thread Nicholas Marriott
Hi

pekwm update to 0.1.11.

Tested on amd64, i386.

All the patches go away (yay) and it now installs the conf stuff into etc
itself so only a mv is necessary.

Comments/ok?


Index: Makefile
===
RCS file: /cvs/ports/x11/pekwm/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile29 Apr 2009 20:11:25 -  1.14
+++ Makefile13 Jul 2009 12:18:24 -
@@ -2,7 +2,7 @@
 
 COMMENT=   aewm++ based pretty themable window manager
 
-DISTNAME=  pekwm-0.1.10
+DISTNAME=  pekwm-0.1.11
 CATEGORIES=x11
 
 HOMEPAGE=  http://pekwm.org/
@@ -36,14 +36,6 @@ CONFIGURE_ENV=   CPPFLAGS="-I${LOCALBASE}/
 CONFIGURE_ARGS=--enable-xinerama
 
 post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pekwm
-   ${INSTALL_DATA} ${WRKSRC}/data/autoproperties \
-   ${WRKSRC}/data/config \
-   ${WRKSRC}/data/keys \
-   ${WRKSRC}/data/menu \
-   ${WRKSRC}/data/mouse \
-   ${WRKSRC}/data/start \
-   ${WRKSRC}/data/vars \
-${PREFIX}/share/examples/pekwm
+   @mv ${WRKINST}/etc/pekwm ${PREFIX}/share/examples
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/x11/pekwm/distinfo,v
retrieving revision 1.7
diff -u -p -r1.7 distinfo
--- distinfo29 Apr 2009 20:11:25 -  1.7
+++ distinfo13 Jul 2009 12:18:24 -
@@ -1,5 +1,5 @@
-MD5 (pekwm-0.1.10.tar.bz2) = BDLyCR4a/IvgTb9fCsIq0A==
-RMD160 (pekwm-0.1.10.tar.bz2) = jo8Wj4SIl9gH+/uS9n7MuhBgkAE=
-SHA1 (pekwm-0.1.10.tar.bz2) = WpL7P2RGJwkA/k3s1JGuhBqS3jg=
-SHA256 (pekwm-0.1.10.tar.bz2) = J8BUu7wZLZuPEhK/4ncvX+yJZtQfG1WX/lTQ/s+tP90=
-SIZE (pekwm-0.1.10.tar.bz2) = 372622
+MD5 (pekwm-0.1.11.tar.bz2) = ed9tAcSObrGQfc06gkZBDA==
+RMD160 (pekwm-0.1.11.tar.bz2) = aborrfdVFEEOZ91IsN8fw1T5qJY=
+SHA1 (pekwm-0.1.11.tar.bz2) = KM+jDPwEZED25ZJCFJWfhke8Cp0=
+SHA256 (pekwm-0.1.11.tar.bz2) = pkbl8JphrE5xlf+KzxANutygNehN1nf77coAphCKdB8=
+SIZE (pekwm-0.1.11.tar.bz2) = 385262
Index: patches/patch-data_Makefile_in
===
RCS file: patches/patch-data_Makefile_in
diff -N patches/patch-data_Makefile_in
--- patches/patch-data_Makefile_in  29 Apr 2009 20:11:25 -  1.2
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,25 +0,0 @@
-$OpenBSD: patch-data_Makefile_in,v 1.2 2009/04/29 20:11:25 sthen Exp $
 data/Makefile.in.orig  Mon Jan 26 17:59:45 2009
-+++ data/Makefile.in   Sat Apr  4 20:32:32 2009
-@@ -461,7 +461,7 @@ info: info-recursive
- 
- info-am:
- 
--install-data-am: install-cfgdataDATA
-+install-data-am:
- 
- install-exec-am:
- 
-@@ -507,8 +507,10 @@ uninstall-info: uninstall-info-recursive
- 
- all-local: config menu
- 
--%: $(srcdir)/%.in
--  @SED@ -e 's::$(pkgdatadir):g' -e "s::@THEME@:g" $< > $@
-+config:
-+  @SED@ -e 's::$(pkgdatadir):g' -e "s::@THEME@:g" $...@.in 
> $@
-+menu:
-+  @SED@ -e 's::$(pkgdatadir):g' -e "s::@THEME@:g" $...@.in 
> $@
- 
- distclean-local:
-   rm -f *\~ .\#*
Index: patches/patch-data_scripts_Makefile_in
===
RCS file: patches/patch-data_scripts_Makefile_in
diff -N patches/patch-data_scripts_Makefile_in
--- patches/patch-data_scripts_Makefile_in  29 Apr 2009 20:11:25 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,17 +0,0 @@
-$OpenBSD: patch-data_scripts_Makefile_in,v 1.1 2009/04/29 20:11:25 sthen Exp $
 data/scripts/Makefile.in.orig  Mon Jan 26 17:59:45 2009
-+++ data/scripts/Makefile.in   Sat Apr  4 20:18:57 2009
-@@ -345,8 +345,11 @@ uninstall-am: uninstall-info-am uninstall-scriptsSCRIP
- 
- all-local: $(scripts_SCRIPTS)
- 
--%.sh: $(srcdir)/%.sh.in
--  @SED@ -e 's::$(SH):g' -e 's::$(SED):g' $< > $@
-+
-+pekwm_ws_menu.sh:
-+  @SED@ -e 's::$(SH):g' -e 's::$(SED):g' $...@.in > $@
-+pekwm_themeset.sh:
-+  @SED@ -e 's::$(SH):g' -e 's::$(SED):g' $...@.in > $@
- 
- distclean-local:
-   rm -f *\~ .\#*
Index: patches/patch-src_ManagerWindows_cc
===
RCS file: patches/patch-src_ManagerWindows_cc
diff -N patches/patch-src_ManagerWindows_cc
--- patches/patch-src_ManagerWindows_cc 29 Apr 2009 20:11:25 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_ManagerWindows_cc,v 1.1 2009/04/29 20:11:25 sthen Exp $
 src/ManagerWindows.cc.orig Sat Apr  4 19:52:11 2009
-+++ src/ManagerWindows.cc  Sat Apr  4 19:52:12 2009
-@@ -18,6 +18,8 @@
- 
- #include 
- 
-+#include 
-+
- using std::cerr;
- using std::endl;
- using std::string;



Re: xpdf core dump

2009-07-13 Thread Stuart Henderson
On 2009/07/13 22:23, Matthias Kilian wrote:
> On Sun, Jul 12, 2009 at 01:31:29PM -0400, Predrag Punosevac wrote:
> > I think, I am just saying goodbye to xpdf after probably 20 years. I can
> > not even recall when I started using xpdf. I am now mupdf guy thanks
> > to Stuart and the gang!!!
> 
> mupdf is promising, but it still lacks some features (like copy&waste,

it should work with right-click to select, but doesn't at the moment,
a function needs rewriting first.

#if 0 /* pdf_loadtextfromtree needs rewriting, so removing this temporarily */

> text search, zoom to width).

I don't miss zoom-to-width much, but I do miss search, it's the main
reason I have for switching back to xpdf temporarily.

also, aes is not implemented yet, only arc4encrypt, but I've only bumped
into that once so far.

> > I have tested the latest xpdf on 4.5 stable. I can reproduce the same
> > crash with the newest version. I am installing current at this very 
> > moment on a machine which will be used for testing purposes. I would
> > be surprised that if xpdf behaves differently on current. 
> 
> Did you check wether the pdf file you're using is the same that
> sthen@ mentioned and that doesn't cause crashes for him and for me?
> I just want to be sure that we're testing the same file.
> 
> $ md5 bpu02659.pdf
> MD5 (bpu02659.pdf) = b68c0a47869ab4147c35460d88366c96

that's the one I have too.



Re: mupdf+firefox

2009-07-13 Thread Stuart Henderson
On 2009/07/13 21:34, Pawlowski Marcin Piotr wrote:
> Hi all,
> I've written two patches to use mupdf with firefox.
> First one adds WM_CLASS property to mupdf which is required by
> mozpluger. Second one simply adds mupdf to mozplugger.

please would you send the mupdf diff upstream?
thanks.




> 
> patches:
> http://student.if.uj.edu.pl/Marcin.Pawlowski/openbsd/patches/patch-apps_unix_x11pdf_c
> http://student.if.uj.edu.pl/Marcin.Pawlowski/openbsd/patches/patch-patch-mozpluggerrc
> 
> Cheers.
> 
> --- apps/unix/x11pdf.c.orig   Mon Jun 22 13:45:03 2009
> +++ apps/unix/x11pdf.cMon Jul 13 18:50:34 2009
> @@ -69,6 +69,8 @@
>  static char copylatin1[1024 * 16] = "";
>  static char copyutf8[1024 * 48] = "";
>  static Time copytime;
> +static char MyXName[6] = "mupdf";
> +static char MyXClass[6] = "Mupdf";
>  
>  static pdfapp_t gapp;
>  
> @@ -101,6 +103,7 @@
>  void winopen(void)
>  {
>   XWMHints *hints;
> + XClassHint *classHint;
>  
>   xdpy = XOpenDisplay(nil);
>   if (!xdpy)
> @@ -159,6 +162,16 @@
>   XSetWMHints(xdpy, xwin, hints);
>   }
>   XFree(hints);
> + }
> + 
> + classHint = XAllocClassHint();
> +
> + if (classHint)
> + {
> + classHint->res_name = MyXName;
> + classHint->res_class = MyXClass;
> + XSetClassHint(xdpy, xwin, classHint);
> + XFree(classHint);
>   }
>  
>   x11fd = ConnectionNumber(xdpy);
> 
> 
> --- patch-mozpluggerrc.orig   Mon Jul 13 20:11:55 2009
> +++ patch-mozpluggerrcMon Jul 13 21:09:26 2009
> @@ -78,7 +78,7 @@
>   video/x-theora:ogg:OGG stream with video
>   video/theora:ogg:OGG stream with video
>   video/ogg:ogg:OGG stream with video
> -@@ -148,138 +153,137 @@ video/x-anim:iff,anim5,anim3,anim7:IFF
> animation +@@ -148,138 +153,138 @@
> video/x-anim:iff,anim5,anim3,anim7:IFF animation ### Audio  ###
>   ##
>   
> @@ -322,6 +322,7 @@
>  +repeat noisy swallow(evince) fill: evince "$file"
>  +repeat swallow(acroread) fill: acroread -openInNewWindow
> "$file" repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
> ++repeat noisy swallow(mupdf) fill: mupdf "$file"
>   GV()
>   
>  @@ -289,78 +293,79 @@ application/x-dvi:dvi:DVI file
> 



Re: xpdf core dump

2009-07-13 Thread Predrag Punosevac
Matthias Kilian  wrote:

> Did you check wether the pdf file you're using is the same that
> sthen@ mentioned and that doesn't cause crashes for him and for me?
> I just want to be sure that we're testing the same file.
>
> $ md5 bpu02659.pdf
> MD5 (bpu02659.pdf) = b68c0a47869ab4147c35460d88366c96
>

Yes, Kili it is that particular file. You have the right file. I
checked again including md5 sum. It crashes the latest xpdf on 4.5
stable i386 running bsd.mp kernel. 

$ pkg_info xpdf
Information for inst:xpdf-3.02.3

Best,
Predrag





TIRITA con los bajos precios invernales en BIP!!

2009-07-13 Thread Bip Computers
si no puede ver correctamente este email, ingrese aquí



*Disponibilidad y precio de los productos públicados en este email pueden
variar sin previo aviso.
*Especificaciones Técnicas pueden estar sujetas a cambio sin previo
aviso.
EL PRECIO OFERTA ES VALIDO SOLAMENTE POR PAGO A TRAVES DE TRANSFERENCIA
BANCARIA.



www.bip.cl › ven...@bip.cl

Casa Matriz Avda. Francisco Bilbao 2296, Providencia - Santiago
Fono: 56-2-5707000 Fax: 56-2-8332606
Sucursal / Concepcion 41-2226265
Sucursal / Temuco 45-738200
Sucursal / Puerto Montt 65-285600



Si no desea seguir recibiendo noticias nuestras, por favor responda este
email a la dirección: elimi...@setech.cl indicando "borrar de lista" en
el Asunto o Referencia del mensaje y automáticamente será removido de
nuestra base de datos. Si solicito ser removido pero aún sigue recibiendo
esta información, por favor indíquenos la dirección de correo electrónico
a la cual le esta llegando esta información para darla de baja
inmediatamente.




update: libdvdnav-4.1.3

2009-07-13 Thread Jacob Meuser
here's an update for multimedia/libdvdnav to the latest version
the mplayer project as released.

main difference is that libdvdnav no longer has it's own copy of
libdvdread and, according to the changelog, many bug fixes.  there
are supposed to be no API changes, but patches are needed in
multimedia/dvdback and multimedia/xine-lib due to header location
changes.  those patches are included here as well.

tested with dvdbackup, xine-lib and vlc on i386.  all seem to be
working fine.

ok?

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: multimedia/libdvdnav/Makefile
===
RCS file: /cvs/ports/multimedia/libdvdnav/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- multimedia/libdvdnav/Makefile   16 Sep 2007 03:24:28 -  1.8
+++ multimedia/libdvdnav/Makefile   14 Jul 2009 01:18:03 -
@@ -1,33 +1,37 @@
 # $OpenBSD: Makefile,v 1.8 2007/09/16 03:24:28 merdely Exp $
 
 COMMENT=   DVD read/navigation library
-DISTNAME=  libdvdnav-20051102
-PKGNAME=   ${DISTNAME}p2
+DISTNAME=  libdvdnav-4.1.3
+PKGNAME=   ${DISTNAME}v0
 CATEGORIES=multimedia
 
-SHARED_LIBS=   dvdnav  5.0
-MODGNU_SHARED_LIBS=dvdnav  '-export-symbols-regex 
"(^dvdnav.*|^nav.*|^ifo.*|^DVD.*)"'
+SHARED_LIBS=   dvdnav  6.0 \
+   dvdnavmini  6.0
 
-MASTER_SITES=  http://mirrors.protection.cx/~jolan/
+MASTER_SITES=  http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/
 
-HOMEPAGE=  http://dvd.sourceforge.net/
-
-# GPL
+# GPLv2
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=Yes
 
+EXTRACT_SUFX=  .tar.bz2
+
 AUTOMAKE_VERSION=1.9
 AUTOCONF_VERSION=2.59
 USE_LIBTOOL=   Yes
 
 BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} ${MODGNU_AUTOMAKE_DEPENDS}
 
+LIB_DEPENDS=   dvdread::devel/libdvdread
+
 CONFIGURE_STYLE=gnu
+CONFIGURE_ENV= DVDREAD_CFLAGS="-I${LOCALBASE}/include" \
+   DVDREAD_LIBS="-L${LOCALBASE}/lib -ldvdread"
 
 post-patch:
cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
-   AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh
+   AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh noconfig
 
 .include 
Index: multimedia/libdvdnav/distinfo
===
RCS file: /cvs/ports/multimedia/libdvdnav/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- multimedia/libdvdnav/distinfo   5 Apr 2007 16:20:07 -   1.5
+++ multimedia/libdvdnav/distinfo   14 Jul 2009 01:18:03 -
@@ -1,5 +1,5 @@
-MD5 (libdvdnav-20051102.tar.gz) = 7gEsX4cNElPL75nAdsteiw==
-RMD160 (libdvdnav-20051102.tar.gz) = HV4rFN/59syDXV9s45vpEDv9FmQ=
-SHA1 (libdvdnav-20051102.tar.gz) = NHxu+xbQlYcQ8NuV0uBcvNSdOV8=
-SHA256 (libdvdnav-20051102.tar.gz) = 
CTPpQV4v3gv42otgNsPQzWCcQobnv83GdZJU/vKNJ8g=
-SIZE (libdvdnav-20051102.tar.gz) = 191454
+MD5 (libdvdnav-4.1.3.tar.bz2) = 1iODxFsogWdx4oNRXywn+g==
+RMD160 (libdvdnav-4.1.3.tar.bz2) = fGQ3Iwr2mfaxwtc/BfME8Dq6nc4=
+SHA1 (libdvdnav-4.1.3.tar.bz2) = 0bleuKfK7h+nWAoauthNbLPK0EY=
+SHA256 (libdvdnav-4.1.3.tar.bz2) = 6Co9ezw0KolaMy/A+yKB9A/5l4y4y7i/E0P8rQBjdZ0=
+SIZE (libdvdnav-4.1.3.tar.bz2) = 110843
Index: multimedia/libdvdnav/patches/patch-autogen_sh
===
RCS file: multimedia/libdvdnav/patches/patch-autogen_sh
diff -N multimedia/libdvdnav/patches/patch-autogen_sh
--- multimedia/libdvdnav/patches/patch-autogen_sh   3 Nov 2005 04:25:08 
-   1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,151 +0,0 @@
-$OpenBSD: patch-autogen_sh,v 1.1 2005/11/03 04:25:08 jolan Exp $
 autogen.sh.origTue May  3 15:11:34 2005
-+++ autogen.sh Wed Nov  2 14:04:40 2005
-@@ -39,19 +39,13 @@ detect_configure_ac() {
- # AUTOCONF
- #---
- detect_autoconf() {
--  set -- `type autoconf 2>/dev/null`
--  RETVAL=$?
--  NUM_RESULT=$#
--  RESULT_FILE=$3
--  if [ $RETVAL -eq 0 -a $NUM_RESULT -eq 3 -a -f "$RESULT_FILE" ]; then
--AC="`autoconf --version | sed -n 1p | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`"
--AUTOCONF_MIN="`echo $AUTOCONF_MIN | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`"
--if test $AC -lt 100 ; then
--  AC=`expr $AC \* 10`
--fi
--if [ `expr $AC` -ge $AUTOCONF_MIN ]; then
--  autoconf_ok=yes
--fi
-+  AC="`autoconf --version | sed 1q | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`"
-+  AUTOCONF_MIN="`echo $AUTOCONF_MIN | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`"
-+  if test $AC -lt 100 ; then
-+AC=`expr $AC \* 10`
-+  fi
-+  if [ `expr $AC` -ge $AUTOCONF_MIN ]; then
-+autoconf_ok=yes
-   else
- echo
- echo "**Error**: You must have \`autoconf' >= $AUTOCONF_MIN installed to" 
-@@ -91,35 +85,24 @@ run_autoconf () {
- # LIBTOOL
- #---
- try_libtool_executable() {
--  libtool=$1
--  set -- `type $libtool 2>/dev/null`
--  RETVAL=$?
--  NUM_RESULT=$#
--  RESULT_FILE=$3
-- 

Re: Video tools

2009-07-13 Thread James Wright
jean-francois wrote:
> All,
>
> Do we have a port of some applications for video edition, equivalent for
> example to cinelerra or kdenlive available of some platforms ?
>
> Thank you
>
>   
I was working on a port of an older version of LiVeS, I gave up on that
and was able to just install it for the time I needed it.  Its mostly a
vlc|mplayer frontend, so not too complicated if you want to build a port
for it.