Re: RESUBMIT: NEW: graphics/libdmtx graphics/dmtx-utils

2012-01-12 Thread Sebastian Reitenbach
Hi, 
On Friday, January 6, 2012 19:57 CET, "Sebastian Reitenbach" 
 wrote: 
 
>  
> On Wednesday, January 4, 2012 18:08 CET, "Sebastian Reitenbach" 
>  wrote: 
>  
> >  Hi,
> > 
> > On Saturday, December 24, 2011 10:37 CET, "Sebastian Reitenbach" 
> >  wrote: 
> >  
> > > Hi,
> > > 
> > > attached two new ports:
> > > 
> > > libdmtx/pkg/DESCR:
> > > libdmtx is open source software for reading and writing Data Matrix
> > > barcodes. At its core libdmtx is a native shared library, allowing C/C++
> > > programs to use its capabilities without extra restrictions or overhead.
> > > 
> > > dmtx-utils/pkg/DESCR:
> > > The dmtx utility programs, dmtxread and dmtxwrite, provide the
> > > official command line interface for libdmtx, and serve as a code
> > > reference for programmers wishing to use the libdmtx C API.
> > > 
> > > geo/qlandkartegt could make use of libdmtx, generating barcodes for 
> > > waypoints.
> > > 
> > > libdmtx compiles and regressions work on i386, macppc, sparc and vax.
> > > dmtx-utils only tested on macppc and i386, the other two platforms have 
> > > missing dependencies of ImageMagick.
> > > 
> > > comments or OK?
> > 
> > Didn't got any comment.
> 
> No one interested?
> 
> reattached again.

trying it again. 
As said before tested and works well with qlandkartegt on i386 and macppc.

Sebastian


> 
> cheers,
> Sebastian
> 
> 
>  
>  
 
 
 
 


dmtx-utils.tar.gz
Description: GNU Zip compressed data


libdmtx.tar.gz
Description: GNU Zip compressed data


Re: epdfview 0.1.8 color fix patch

2012-01-12 Thread Brynet
On Thu, Jan 12, 2012 at 10:14:31PM -0500, James Turner wrote:
> Attached is a update to epdfview to fix an issue where blues and reds
> are switched. Patch taken from [0]. Even though we are running a newer
> version of poppler the issue still seems to exist.

Yeah, the author of epdfview doesn't do releases often, so any bugs fixes from 
upstream should be fine.

> Index: patches/patch-src_PDFDocument_cxx
> ===
> RCS file: /cvs/ports/print/epdfview/patches/Attic/patch-src_PDFDocument_cxx,v
> diff -N -u -p patches/patch-src_PDFDocument_cxx
> --- /dev/null 12 Jan 2012 20:11:03 -
> +++ patches/patch-src_PDFDocument_cxx 13 Jan 2012 03:11:03 -
> @@ -0,0 +1,44 @@
> +$OpenBSD$
> ..

You should add a comment here with a link to the commit, like the others we had 
for 1.7 (..check the Attic).

I haven't tested, but assuming it doesn't break anything...

-Bryan.



epdfview 0.1.8 color fix patch

2012-01-12 Thread James Turner
Attached is a update to epdfview to fix an issue where blues and reds
are switched. Patch taken from [0]. Even though we are running a newer
version of poppler the issue still seems to exist.

Tested on i386. Thanks.

[0] http://trac.emma-soft.com/epdfview/changeset/367

-- 
James Turner
ja...@calminferno.net
Index: Makefile
===
RCS file: /cvs/ports/print/epdfview/Makefile,v
retrieving revision 1.25
diff -N -u -p Makefile
--- Makefile3 Dec 2011 23:04:37 -   1.25
+++ Makefile13 Jan 2012 03:11:03 -
@@ -3,7 +3,7 @@
 COMMENT=   lightweight PDF document viewer
 
 DISTNAME=  epdfview-0.1.8
-REVISION=  1
+REVISION=  2
 CATEGORIES=print
 HOMEPAGE=  http://trac.emma-soft.com/epdfview/
 
Index: patches/patch-src_PDFDocument_cxx
===
RCS file: /cvs/ports/print/epdfview/patches/Attic/patch-src_PDFDocument_cxx,v
diff -N -u -p patches/patch-src_PDFDocument_cxx
--- /dev/null   12 Jan 2012 20:11:03 -
+++ patches/patch-src_PDFDocument_cxx   13 Jan 2012 03:11:03 -
@@ -0,0 +1,44 @@
+$OpenBSD$
+--- src/PDFDocument.cxx.orig   Sat May 28 06:25:01 2011
 src/PDFDocument.cxxThu Jan 12 22:08:15 2012
+@@ -20,6 +20,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include "epdfview.h"
+ 
+ using namespace ePDFView;
+@@ -33,6 +34,24 @@ static PageLayout convertPageLayout (gint pageLayout);
+ static PageMode convertPageMode (gint pageMode);
+ static gchar *getAbsoluteFileName (const gchar *fileName);
+ 
++namespace
++{
++  void
++  convert_bgra_to_rgba (guint8 *data, int width, int height)
++  {
++  using std::swap;
++
++  for (int y = 0; y < height; y++)
++  {
++  for (int x = 0; x < width; x++)
++  {
++  swap(data[0], data[2]);
++  data += 4;
++  }
++  }
++  }
++}
++
+ ///
+ /// @brief Constructs a new PDFDocument object.
+ ///
+@@ -650,6 +669,7 @@ PDFDocument::renderPage (gint pageNum)
+ poppler_page_render (page, context);
+ cairo_destroy(context);
+ cairo_surface_destroy (surface);
++  convert_bgra_to_rgba(renderedPage->getData (), width, height);
+ #else // !HAVE_POPPLER_0_17_0
+ // Create the pixbuf from the data and render to it.
+ GdkPixbuf *pixbuf = gdk_pixbuf_new_from_data (renderedPage->getData 
(),


Re: UPDATE: net/rabbitmq (from maintainer)

2012-01-12 Thread Piotr Sikora

Hey,


can you send me a plaintext copy of this, or put it online and send a url,
rather than quoted-unreadable format please?


DAMN, I always use mutt for sending patches inline to avoid exactly those 
kind of issues with bad encoding, but it seems that I was sending this mess 
all the time, sorry about that!


http://labs.frickle.com/tmp/rabbitmq-2.7.1-v2.patch


I definitely agree with using fstat rather than lsof where possible.


FYI: it's already merged upstream, along with rest of the patches.

Best regards,
Piotr Sikora < piotr.sik...@frickle.com >



Re: [UPDATE] Scrotwm-0.10.0

2012-01-12 Thread Ingo Schwarze
Hi,

Kristaps Dzonsons wrote on Thu, Jan 12, 2012 at 02:55:42PM +0100:
> Stuart Henderson wrote:

>> The non-english manpages are broken, all the non-ascii characters get
>> stripped when you view them. These should either be fixed or disabled.
>> Check output in e.g. "man -m /usr/local/man/es scrotwm".
>>
>> You probably want to build them with nroff for now, as was done with
>> the (commented-out) Russian manpage. Use -c on the nroff command line
>> to avoid the nasty ESC sequences for coloured output which mess up
>> the display in less(1).
>>
>> mandoc will warn you about manpage problems if you build with
>> 'make WARNINGS=yes' (or add WARNINGS=yes to mk.conf). I would suggest
>> that porters set this, it gives a good early indication when manpages
>> need further investigation.

Sure; however, most problems shown by 'WARNINGS=yes', which actually
runs 'mandoc -Tlint', should be fixed upstream, and only a small
fraction needs porter action.

> Note that mandoc(1) actually can render Unicode escapes (\u[N]) with
> -Tutf8 or -Tlocale (assuming you have a UTF-8 shell and the
> appropriate LC stuff set):
> 
> % cat >foo.1 < .TH FOO 1
> .SH NAME
> \[u041F]\[u0440]\[u0438]\[u0432]\[u0435]\[u0442]!
> !
> % mandoc -Tlocale foo.1
> 
> However, scrotwm's manuals would need to be preprocessed to convert
> UTF-8 (or whatever) into the Unicode escape form.  There's an
> upstream utility to do just that,
> .  groff has a similarly-named
> utility.  mandoc's isn't in OpenBSD, however.
> 
> In theory the functionality can be pulled directly into mandoc, but
> I haven't do so to avoid bloat.

Eventually, i think that should be included.

> Plus, to date, nobody has complained to me about mandoc's locale
> stuff, so it's not a priority to me.

Well, it does come up now and then.
I think right after unlock would be a good time to work on this.

Yours,
  Ingo



update graphics/dcmtk

2012-01-12 Thread Amit Kulkarni
Please take a look at
https://github.com/jasperla/openbsd-wip/tree/master/graphics/dcmtk

Vadim has noted that this improved port installs header & libraries
files needed by calligra.

(I was investigating why KDE's calligra beta5 is causing problems).

This extended port has regress tests enabled. Please improve and commit!

thanks



Re: UPDATE: net/rabbitmq (from maintainer)

2012-01-12 Thread Stuart Henderson
On 2011-12-21, Piotr Sikora  wrote:
> on the second thought, attached version with patch for the management
> plugin to use "fstat" instead of "lsof" to get number of open file
> descriptors.

can you send me a plaintext copy of this, or put it online and send a url,
rather than quoted-unreadable format please?

I definitely agree with using fstat rather than lsof where possible.

> Index: Makefile
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> RCS file: /cvs/ports/net/rabbitmq/Makefile,v
> retrieving revision 1.13
> diff -u -r1.13 Makefile
>=2D-- Makefile 17 Dec 2011 22:01:13 -  1.13
> +++ Makefile  20 Dec 2011 23:48:36 -
> @@ -2,8 +2,7 @@
>=20
>  COMMENT =3D  highly reliable Enterprise Messaging System
>=20
> -V =3D2.6.1
> -REVISION =3D 0
> +V =3D2.7.1





Re: [www/minitube] small diff

2012-01-12 Thread Paul Irofti
On Fri, Dec 30, 2011 at 12:48:30PM +0100, David Coppa wrote:
> On Fri, Dec 30, 2011 at 12:44 PM, Sebastian Reitenbach
>  wrote:
> >
> > On Friday, December 30, 2011 12:21 CET, David Coppa  
> > wrote:
> >
> >> Do not look under /usr/share, since OpenBSD doesn't have /usr/share/icons.
> >> While here, regen patches.
> >>
> >> I don't think this needs a bump: am I wrong?
> > I'd say you need a bump, otherwise, people won't get the change when 
> > updating.
> > otherwise it looks OK to me.
> 
> thanks.
> Paul?

Go ahead, if it's not too late by now :-)



new: libee

2012-01-12 Thread David Hill
libee is an event expression library inspired by CEE
It is required by the latest rsyslog, and also requires libestr from my
previous email.

OK?



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


new: libestr

2012-01-12 Thread David Hill
libestr is a library for some string essentials.
The newest rsyslog requires this library.

OK?



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


Re: update: xmobar-0.14

2012-01-12 Thread Matthias Kilian
On Thu, Jan 12, 2012 at 11:56:30AM +0100, David Coppa wrote:
> > > Couldn't this be patched to use /usr/bin/ftp -o - instead?
> > > 
> > Is lynx(1) acceptable?

Sure.

> > Here's the new diff, it works for me...
> 
> I'm sorry, sent the wrong diff :P
> 
> Here's the right one.

ok, if it works for you ;-)

> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/xmobar/Makefile,v
> retrieving revision 1.11
> diff -u -p -r1.11 Makefile
> --- Makefile  30 Jun 2011 21:37:53 -  1.11
> +++ Makefile  12 Jan 2012 10:55:53 -
> @@ -2,8 +2,7 @@
>  
>  COMMENT =minimalistic text based status bar
>  
> -DISTNAME =   xmobar-0.13
> -REVISION =   0
> +DISTNAME =   xmobar-0.14
>  CATEGORIES = x11
>  HOMEPAGE =   http://projects.haskell.org/xmobar
>  
> @@ -16,7 +15,7 @@ PERMIT_DISTFILES_CDROM =Yes
>  PERMIT_DISTFILES_FTP =   Yes
>  
>  WANTLIB =c expat fontconfig freetype gmp m pthread pthread-stubs util \
> - X11 Xau xcb Xdmcp Xext Xft Xinerama Xrender z
> + X11 Xau xcb Xdmcp Xext Xft Xinerama Xrandr Xrender z
>  
>  MODULES =lang/ghc converters/libiconv
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/x11/xmobar/distinfo,v
> retrieving revision 1.4
> diff -u -p -r1.4 distinfo
> --- distinfo  13 Jun 2011 21:23:04 -  1.4
> +++ distinfo  12 Jan 2012 10:55:53 -
> @@ -1,5 +1,5 @@
> -MD5 (ghc/xmobar-0.13.tar.gz) = 95RiNsBoseeUTxa3wHMoVw==
> -RMD160 (ghc/xmobar-0.13.tar.gz) = yK9pIR1l8LHvZv8lb523G32ABe4=
> -SHA1 (ghc/xmobar-0.13.tar.gz) = oekxIxmjeLLWD8k4jT6BWOh7g18=
> -SHA256 (ghc/xmobar-0.13.tar.gz) = 
> x8FRwSSR4jAxCnriJ5bP4/edhzHdxFO2YbUJu4HaSkY=
> -SIZE (ghc/xmobar-0.13.tar.gz) = 55874
> +MD5 (ghc/xmobar-0.14.tar.gz) = uWXi2wVVx0HblpRSEJlXdw==
> +RMD160 (ghc/xmobar-0.14.tar.gz) = z2mHDfVnyxRI4tOgxjv1yxn1zx8=
> +SHA1 (ghc/xmobar-0.14.tar.gz) = 6kBkEYSiMBHSndE0b6kcu7VXD3I=
> +SHA256 (ghc/xmobar-0.14.tar.gz) = 
> cMObC9mKlfs2KngwXMmxDU+cJKpkMVl/2B2mXZRYRvg=
> +SIZE (ghc/xmobar-0.14.tar.gz) = 64977
> Index: files/Batt.hs
> ===
> RCS file: /cvs/ports/x11/xmobar/files/Batt.hs,v
> retrieving revision 1.1
> diff -u -p -r1.1 Batt.hs
> --- files/Batt.hs 17 Jul 2010 14:55:21 -  1.1
> +++ files/Batt.hs 12 Jan 2012 10:55:53 -
> @@ -8,7 +8,7 @@ import Plugins.Monitors.Batt.Binding
>  battConfig :: IO MConfig
>  battConfig = mkMConfig
> "Batt: " -- default template
> -   ["left", "leftbar", "minleft", "status"] -- progress bar, percent 
> left, minutes left, status
> +   ["left", "leftbar", "minleft", "status"] -- percent left, progress 
> bar, minutes left, status
>  
>  runBatt :: [String] -> Monitor String
>  runBatt _ = do
> Index: patches/patch-src_Plugins_Monitors_MPD_hs
> ===
> RCS file: patches/patch-src_Plugins_Monitors_MPD_hs
> diff -N patches/patch-src_Plugins_Monitors_MPD_hs
> --- patches/patch-src_Plugins_Monitors_MPD_hs 13 Jun 2011 21:23:04 -  
> 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,12 +0,0 @@
> -$OpenBSD: patch-src_Plugins_Monitors_MPD_hs,v 1.1 2011/06/13 21:23:04 kili 
> Exp $
>  src/Plugins/Monitors/MPD.hs.orig Mon May  2 20:48:52 2011
> -+++ src/Plugins/Monitors/MPD.hs  Mon May  2 20:49:06 2011
> -@@ -91,7 +91,7 @@ parseSong (Right Nothing) = return $ repeat ""
> - parseSong (Right (Just s)) =
> -   let join [] = ""
> -   join (x:xs) = foldl (\a o -> a ++ ", " ++ o) x xs
> --  str sel = maybe "" join (M.sgGet sel s)
> -+  str sel = maybe "" join (M.sgGetTag sel s)
> -   sels = [ M.Name, M.Artist, M.Composer, M.Performer
> -  , M.Album, M.Title, M.Track, M.Genre ]
> -   fields = M.sgFilePath s : map str sels
> Index: patches/patch-src_Plugins_Monitors_Weather_hs
> ===
> RCS file: patches/patch-src_Plugins_Monitors_Weather_hs
> diff -N patches/patch-src_Plugins_Monitors_Weather_hs
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_Plugins_Monitors_Weather_hs 12 Jan 2012 10:55:53 
> -
> @@ -0,0 +1,15 @@
> +$OpenBSD$
> +
> +use lynx(1) from base
> +
> +--- src/Plugins/Monitors/Weather.hs.orig Thu Jan 12 11:26:16 2012
>  src/Plugins/Monitors/Weather.hs  Thu Jan 12 11:27:20 2012
> +@@ -114,7 +114,7 @@ defUrl = "http://weather.noaa.gov/pub/data/observation
> + 
> + getData :: String -> IO String
> + getData url=
> +-do (i,o,e,p) <- runInteractiveCommand ("curl " ++ defUrl ++ url ++ 
> ".TXT")
> ++do (i,o,e,p) <- runInteractiveCommand ("lynx -source " ++ defUrl ++ 
> url ++ ".TXT")
> +exit <- waitForProcess p
> +let closeHandles = do hClose o
> +  hClose i
> Index: patches/patch-src_Plugins_Monitors

Re: miniupnp

2012-01-12 Thread Kirill Bychkov
On Sun, January 8, 2012 12:50, Antoine Jacoutot wrote:
> On Sun, Jan 08, 2012 at 09:55:54AM +0100, Antoine Jacoutot wrote:
>> Yeah, the generated rule is bogus here.
>> I'll have a look at it. Thanks for testing.
>
> Please try this new port (have a look at the README as well, some stuffs
> changed).
> Thanks.
>
> --
> Antoine
>

Hellp. Sorry for timeout. miniupnpd from your latest tarball with subdirs
works fine with the new hints from pkg-readme. Thanks!



Re: miniupnp

2012-01-12 Thread Antoine Jacoutot
On Mon, Jan 09, 2012 at 10:39:23AM +0100, Antoine Jacoutot wrote:
> On Sat, Jan 07, 2012 at 01:11:20PM +0100, Antoine Jacoutot wrote:
> > Hi.
> > 
> > Attached are 2 ports:
> 
> Updated ports and added minisspd.

Anyone?


-- 
Antoine



Compra Coletiva em Campo Grande - Ofertas de até 90% OFF ainda Hoje Confira - Estética / Progressiva / Cueca Box / Dep =?utf-8?B?aWxhw6fDo28gRWfDrXBjaWEgLyBSZ

2012-01-12 Thread Incriveis Ofertas - Campo Grande
www.incriveisofertas.com

[IMAGE] Est�tica com 75% OFF - Drenagem Linf�tica Manual + Massagem
Anti-Stress com Bambu + Ultrassom ( De R$ 120,00 Por R$ 30,00 )

de R$ 120,00 por R$ R$ 30,00


[IMAGE] ROSA PRATA MODA �NTIMA - SHOPPING 26 DE AGOSTO COM 50% OFF! 01
CUECA BOX, DE R$12,00 POR R$6,00.

de R$ 12,00 por R$ R$ 6,00


[IMAGE] Super! 80% OFF em 2 Cristaliza��es + 2 Escovas + 2 Hidrata��es (
De R$ 360 Por R$ 39,90 )

de R$ 360,00 por R$ R$ 39,90


[IMAGE] Nesse ver�o d� vida nova aos seus Cabelos! Voc� que escolhe: 1
Cristaliza��o ou 1 Cauteriza��o Capilar de R$ 80,00 por R$ 39,90 no
Bella'S Cabelo e Est�tica. (50% OFF).

de R$ 80,00 por R$ R$ 39,90


[IMAGE] Fonte da Beleza traz para voc� 60% OFF em Depila��o Eg�pcia do
Rosto com Linha! De R$ 35,00 Por R$ 13,99

de R$ 35,00 por R$ R$ 13,99


[IMAGE] Voc� vai querer esta!!! 4 Escovas + 1 Hidrata��o Profunda ( De R$
190 Por R$ 49,90 ) Compre e Tenha seu cupom na hora!

de R$ 190,00 por R$ R$ 49,90


[IMAGE] Loucura! 1 Escova Progressiva (Hair Shane) Sem Formol na Big Star
( De R$ 250,00 Por R$ 99,00 )

de R$ 250,00 por R$ R$ 99,00


[IMAGE] 1 Progressiva com produtos da Eco Plus, Evolution One ou Agilise
por R$ 59,90 s�o quase 80% de desconto! Aproveite

de R$ 250,00 por R$ R$ 59,90


[IMAGE] Promo��o Pacote com 6 Sess�es de Manta T�rmica + Corrente Russa +
Ultrasson + Linf�tica Manual Localizada* ( De R$ 870 por s� R$ 149,90 )
Pague em at� 18 Parcelas!

de R$ 870,00 por R$ R$ 149,90


[IMAGE] Combinado para Este Ver�o! Banho de Lua + Esfolia��o Corporal +
Depila��o da Sobrancelha ( De R$ 100 Por R$ 49,90 )

de R$ 100,00 por R$ R$ 49,90


[IMAGE] Nossa assim voc� me mata! 80% OFF em 2 Cristaliza��o + 2 Escova +
2 Hidrata��o ( De R$ 360 Por R$ 39,90 )

de R$ 360,00 por R$ R$ 39,90



[IMAGE]

Não desejo mais receber estes e-mails.


Re: [new] www/viewgit

2012-01-12 Thread David Hill
Anyone? :)

On Mon, Jan 09, 2012 at 01:47:10PM -0500, David Hill wrote:
:Attached is a newer version.
:
:How does this look?
:
:
:On Tue, Aug 30, 2011 at 06:27:49PM +0200, Landry Breuil wrote:
::On Tue, Aug 30, 2011 at 10:37:33AM -0400, David Hill wrote:
::> On Fri, Aug 26, 2011 at 01:27:25PM -0400, David Hill wrote:
::> :Hello -
::> :
::> :Here is an attempt of a viewgit port.
::> :
::> :ViewGit is a git web repository viewer that aims to be easy to set up
::> :and upgrade, light on dependencies, and comfortable to use.
::> :
::> :Testing and feedback appreciated
::> :
::> :- David
::> :
::> 
::> Was anyone able to test this?
::> Or anyone want to OK it?
::
::@mv definitely wont work as is :
::Error: modes don't match for /var/www/viewgit/templates/tags.php
::Error: no @owner for /var/www/viewgit/templates/tree.php (landry)
::Warning: no @group for /var/www/viewgit/templates/tree.php (wsrc)
::Error: modes don't match for /var/www/viewgit/templates/tree.php
::
::you need at least chown -R, and @mv is not nice if you do make
::clean=fake + make fake. use pax ?
::You'd need at least to provide an httpd.conf fragment to help ootb
::configuration, and provide an inc/localconfig.php file and tell the
::user to edit it. I dont even see how to configure it to work in the
::chroot.
::
::Landry
::
:
:-- 
:There cannot be a crisis next week.  My schedule is already full.
:   -- Henry Kissinger



-- 
Rudin's Law:
If there is a wrong way to do something, most people will do it
every time.



Re: New port - need help

2012-01-12 Thread Brian Callahan

On 1/11/2012 4:44 PM, Brian Callahan wrote:

Thanks again, I read up on everything and I can say that it works!
I guess this is the part where I ask if others would be kind enough to
test it?
I've only so far had it running on loongson, when I get home I can test
on macppc and amd64.
The port structure can be found here:
http://devio.us/~bcallah/beret-testing.zip

Thanks again.

~Brian


Works for me on i386, amd64, and loongson.

~Brian



Re: [UPDATE] Scrotwm-0.10.0

2012-01-12 Thread Kristaps Dzonsons

The non-english manpages are broken, all the non-ascii characters get
stripped when you view them. These should either be fixed or disabled.
Check output in e.g. "man -m /usr/local/man/es scrotwm".

You probably want to build them with nroff for now, as was done with
the (commented-out) Russian manpage. Use -c on the nroff command line
to avoid the nasty ESC sequences for coloured output which mess up
the display in less(1).

mandoc will warn you about manpage problems if you build with
'make WARNINGS=yes' (or add WARNINGS=yes to mk.conf). I would suggest
that porters set this, it gives a good early indication when manpages
need further investigation.


Hi,

Note that mandoc(1) actually can render Unicode escapes (\u[N]) with 
-Tutf8 or -Tlocale (assuming you have a UTF-8 shell and the appropriate 
LC stuff set):


% cat >foo.1 .  groff 
has a similarly-named utility.  mandoc's isn't in OpenBSD, however.


In theory the functionality can be pulled directly into mandoc, but I 
haven't do so to avoid bloat.  Plus, to date, nobody has complained to 
me about mandoc's locale stuff, so it's not a priority to me.


Best,

Kristaps



Re: [UPDATE] Scrotwm-0.10.0

2012-01-12 Thread Stuart Henderson
In gmane.os.openbsd.ports, you wrote:
> This is a multi-part message in MIME format.
> --030001020302030605060308
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Update of scrotwm to 0.10.0 with a lot of bugs fix and new keyboard 
> mapping option.
>
> Ok?

The non-english manpages are broken, all the non-ascii characters get
stripped when you view them. These should either be fixed or disabled.
Check output in e.g. "man -m /usr/local/man/es scrotwm".

You probably want to build them with nroff for now, as was done with
the (commented-out) Russian manpage. Use -c on the nroff command line
to avoid the nasty ESC sequences for coloured output which mess up
the display in less(1).

mandoc will warn you about manpage problems if you build with
'make WARNINGS=yes' (or add WARNINGS=yes to mk.conf). I would suggest
that porters set this, it gives a good early indication when manpages
need further investigation.

Also please regenerate the patches.

===>  Patching for scrotwm-0.10.0
===>   Applying OpenBSD patch patch-scrotwm_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|$OpenBSD: patch-scrotwm_c,v 1.17 2011/06/23 22:58:06 sthen Exp $
|--- scrotwm.c.orig Thu Jun 23 13:13:51 2011
|+++ scrotwm.c  Thu Jun 23 23:54:34 2011
--
Patching file scrotwm.c using Plan A...
Hunk #1 succeeded at 169 with fuzz 1 (offset 7 lines).
done




Re: [UPDATE] Scrotwm-0.10.0

2012-01-12 Thread Daniel Bolgheroni
On Wed, Jan 11, 2012 at 05:53:47PM -0300, Gonzalo L. R. wrote:
> Update of scrotwm to 0.10.0 with a lot of bugs fix and new keyboard
> mapping option.
> 
> Ok?

Nice.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Aşk İksiri

2012-01-12 Thread Green Temptation

Green Temptation Aşk Damlası


Green Temptation Bayanlarda cinsel gücünü arttıran bileşimler içeren  
yepyeni bir aşk damlası.


Bayanlarda Cinsel davranışı ortaya çıkaran bu ürün doğada bulunan  
bitkilerden elde edilmiştir.


Green Temptation kullanıldıktan yaklaşık 15 dakika sonra beyne, vücudu  
harekete geçiren bir mesaj gönderir ve cinsel istekte bilinç altı bir artış  
meydana gelir.


Green Temptation Hakkında Detaylı Bilgi








Re: update: xmobar-0.14

2012-01-12 Thread David Coppa
On Thu, 12 Jan 2012, David Coppa wrote:

> On Wed, 11 Jan 2012, Matthias Kilian wrote:
> 
> > On Wed, Jan 11, 2012 at 11:54:42AM +0100, David Coppa wrote:
> > > Update to xmobar-0.14.
> > > 
> > > Fix comment into files/Batt.hs.
> > > 
> > > Adjust WANTLIB.
> > > 
> > > Add curl to runtime dependencies, since it's used by the weather
> > > plugin:
> > > 
> > > $ grep -r curl *
> > > README:- Requires `curl` in the `$PATH` to retrieve weather information 
> > > from
> > > src/Plugins/Monitors/Weather.hs:do (i,o,e,p) <- 
> > > runInteractiveCommand ("curl " ++ defUrl ++ url ++ ".TXT")
> > 
> > Couldn't this be patched to use /usr/bin/ftp -o - instead?
> > 
> > > Tested on amd64. Ok?
> > 
> > Looks fine. If it works for you, go ahead (but if possible check
> > wether it works with our ftp instead of curl first).
> 
> Is lynx(1) acceptable?
> 
> /usr/bin/ftp lacks a "very quite" mode: it always print the
> progressmeter to stdout.
> 
> Here's the new diff, it works for me...

I'm sorry, sent the wrong diff :P

Here's the right one.

Index: Makefile
===
RCS file: /cvs/ports/x11/xmobar/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile30 Jun 2011 21:37:53 -  1.11
+++ Makefile12 Jan 2012 10:55:53 -
@@ -2,8 +2,7 @@
 
 COMMENT =  minimalistic text based status bar
 
-DISTNAME = xmobar-0.13
-REVISION = 0
+DISTNAME = xmobar-0.14
 CATEGORIES =   x11
 HOMEPAGE = http://projects.haskell.org/xmobar
 
@@ -16,7 +15,7 @@ PERMIT_DISTFILES_CDROM =Yes
 PERMIT_DISTFILES_FTP = Yes
 
 WANTLIB =  c expat fontconfig freetype gmp m pthread pthread-stubs util \
-   X11 Xau xcb Xdmcp Xext Xft Xinerama Xrender z
+   X11 Xau xcb Xdmcp Xext Xft Xinerama Xrandr Xrender z
 
 MODULES =  lang/ghc converters/libiconv
 
Index: distinfo
===
RCS file: /cvs/ports/x11/xmobar/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo13 Jun 2011 21:23:04 -  1.4
+++ distinfo12 Jan 2012 10:55:53 -
@@ -1,5 +1,5 @@
-MD5 (ghc/xmobar-0.13.tar.gz) = 95RiNsBoseeUTxa3wHMoVw==
-RMD160 (ghc/xmobar-0.13.tar.gz) = yK9pIR1l8LHvZv8lb523G32ABe4=
-SHA1 (ghc/xmobar-0.13.tar.gz) = oekxIxmjeLLWD8k4jT6BWOh7g18=
-SHA256 (ghc/xmobar-0.13.tar.gz) = x8FRwSSR4jAxCnriJ5bP4/edhzHdxFO2YbUJu4HaSkY=
-SIZE (ghc/xmobar-0.13.tar.gz) = 55874
+MD5 (ghc/xmobar-0.14.tar.gz) = uWXi2wVVx0HblpRSEJlXdw==
+RMD160 (ghc/xmobar-0.14.tar.gz) = z2mHDfVnyxRI4tOgxjv1yxn1zx8=
+SHA1 (ghc/xmobar-0.14.tar.gz) = 6kBkEYSiMBHSndE0b6kcu7VXD3I=
+SHA256 (ghc/xmobar-0.14.tar.gz) = cMObC9mKlfs2KngwXMmxDU+cJKpkMVl/2B2mXZRYRvg=
+SIZE (ghc/xmobar-0.14.tar.gz) = 64977
Index: files/Batt.hs
===
RCS file: /cvs/ports/x11/xmobar/files/Batt.hs,v
retrieving revision 1.1
diff -u -p -r1.1 Batt.hs
--- files/Batt.hs   17 Jul 2010 14:55:21 -  1.1
+++ files/Batt.hs   12 Jan 2012 10:55:53 -
@@ -8,7 +8,7 @@ import Plugins.Monitors.Batt.Binding
 battConfig :: IO MConfig
 battConfig = mkMConfig
"Batt: " -- default template
-   ["left", "leftbar", "minleft", "status"] -- progress bar, percent left, 
minutes left, status
+   ["left", "leftbar", "minleft", "status"] -- percent left, progress bar, 
minutes left, status
 
 runBatt :: [String] -> Monitor String
 runBatt _ = do
Index: patches/patch-src_Plugins_Monitors_MPD_hs
===
RCS file: patches/patch-src_Plugins_Monitors_MPD_hs
diff -N patches/patch-src_Plugins_Monitors_MPD_hs
--- patches/patch-src_Plugins_Monitors_MPD_hs   13 Jun 2011 21:23:04 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_Plugins_Monitors_MPD_hs,v 1.1 2011/06/13 21:23:04 kili Exp 
$
 src/Plugins/Monitors/MPD.hs.orig   Mon May  2 20:48:52 2011
-+++ src/Plugins/Monitors/MPD.hsMon May  2 20:49:06 2011
-@@ -91,7 +91,7 @@ parseSong (Right Nothing) = return $ repeat ""
- parseSong (Right (Just s)) =
-   let join [] = ""
-   join (x:xs) = foldl (\a o -> a ++ ", " ++ o) x xs
--  str sel = maybe "" join (M.sgGet sel s)
-+  str sel = maybe "" join (M.sgGetTag sel s)
-   sels = [ M.Name, M.Artist, M.Composer, M.Performer
-  , M.Album, M.Title, M.Track, M.Genre ]
-   fields = M.sgFilePath s : map str sels
Index: patches/patch-src_Plugins_Monitors_Weather_hs
===
RCS file: patches/patch-src_Plugins_Monitors_Weather_hs
diff -N patches/patch-src_Plugins_Monitors_Weather_hs
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_Plugins_Monitors_Weather_hs   12 Jan 2012 10:55:53 
-
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+use lynx(1) from base
+
+--- src/Plugins/Monitors/Weather.hs.orig   T

Re: update: xmobar-0.14

2012-01-12 Thread David Coppa
On Wed, 11 Jan 2012, Matthias Kilian wrote:

> On Wed, Jan 11, 2012 at 11:54:42AM +0100, David Coppa wrote:
> > Update to xmobar-0.14.
> > 
> > Fix comment into files/Batt.hs.
> > 
> > Adjust WANTLIB.
> > 
> > Add curl to runtime dependencies, since it's used by the weather
> > plugin:
> > 
> > $ grep -r curl *
> > README:- Requires `curl` in the `$PATH` to retrieve weather information from
> > src/Plugins/Monitors/Weather.hs:do (i,o,e,p) <- 
> > runInteractiveCommand ("curl " ++ defUrl ++ url ++ ".TXT")
> 
> Couldn't this be patched to use /usr/bin/ftp -o - instead?
> 
> > Tested on amd64. Ok?
> 
> Looks fine. If it works for you, go ahead (but if possible check
> wether it works with our ftp instead of curl first).

Is lynx(1) acceptable?

/usr/bin/ftp lacks a "very quite" mode: it always print the
progressmeter to stdout.

Here's the new diff, it works for me...

Index: Makefile
===
RCS file: /cvs/ports/x11/xmobar/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile30 Jun 2011 21:37:53 -  1.11
+++ Makefile12 Jan 2012 10:50:18 -
@@ -2,8 +2,7 @@
 
 COMMENT =  minimalistic text based status bar
 
-DISTNAME = xmobar-0.13
-REVISION = 0
+DISTNAME = xmobar-0.14
 CATEGORIES =   x11
 HOMEPAGE = http://projects.haskell.org/xmobar
 
@@ -16,7 +15,7 @@ PERMIT_DISTFILES_CDROM =Yes
 PERMIT_DISTFILES_FTP = Yes
 
 WANTLIB =  c expat fontconfig freetype gmp m pthread pthread-stubs util \
-   X11 Xau xcb Xdmcp Xext Xft Xinerama Xrender z
+   X11 Xau xcb Xdmcp Xext Xft Xinerama Xrandr Xrender z
 
 MODULES =  lang/ghc converters/libiconv
 
Index: distinfo
===
RCS file: /cvs/ports/x11/xmobar/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo13 Jun 2011 21:23:04 -  1.4
+++ distinfo12 Jan 2012 10:50:18 -
@@ -1,5 +1,5 @@
-MD5 (ghc/xmobar-0.13.tar.gz) = 95RiNsBoseeUTxa3wHMoVw==
-RMD160 (ghc/xmobar-0.13.tar.gz) = yK9pIR1l8LHvZv8lb523G32ABe4=
-SHA1 (ghc/xmobar-0.13.tar.gz) = oekxIxmjeLLWD8k4jT6BWOh7g18=
-SHA256 (ghc/xmobar-0.13.tar.gz) = x8FRwSSR4jAxCnriJ5bP4/edhzHdxFO2YbUJu4HaSkY=
-SIZE (ghc/xmobar-0.13.tar.gz) = 55874
+MD5 (ghc/xmobar-0.14.tar.gz) = uWXi2wVVx0HblpRSEJlXdw==
+RMD160 (ghc/xmobar-0.14.tar.gz) = z2mHDfVnyxRI4tOgxjv1yxn1zx8=
+SHA1 (ghc/xmobar-0.14.tar.gz) = 6kBkEYSiMBHSndE0b6kcu7VXD3I=
+SHA256 (ghc/xmobar-0.14.tar.gz) = cMObC9mKlfs2KngwXMmxDU+cJKpkMVl/2B2mXZRYRvg=
+SIZE (ghc/xmobar-0.14.tar.gz) = 64977
Index: files/Batt.hs
===
RCS file: /cvs/ports/x11/xmobar/files/Batt.hs,v
retrieving revision 1.1
diff -u -p -r1.1 Batt.hs
--- files/Batt.hs   17 Jul 2010 14:55:21 -  1.1
+++ files/Batt.hs   12 Jan 2012 10:50:18 -
@@ -8,7 +8,7 @@ import Plugins.Monitors.Batt.Binding
 battConfig :: IO MConfig
 battConfig = mkMConfig
"Batt: " -- default template
-   ["left", "leftbar", "minleft", "status"] -- progress bar, percent left, 
minutes left, status
+   ["left", "leftbar", "minleft", "status"] -- percent left, progress bar, 
minutes left, status
 
 runBatt :: [String] -> Monitor String
 runBatt _ = do
@@ -26,7 +26,7 @@ renderLeft :: ApmPowerInfo -> Monitor St
 renderLeft powerinfo = case (apmBatteryState powerinfo) of
BatAbsent  -> return []
BatUnknown -> return []
-   _  -> return $ (show $ apmBatteryPercent powerinfo) ++ "%"
+   _  -> return $ " " ++ (show $ apmBatteryPercent powerinfo) ++ 
"%"
 
 renderLeftBar :: ApmPowerInfo -> Monitor String
 renderLeftBar powerinfo = case (apmBatteryState powerinfo) of
@@ -40,7 +40,7 @@ renderMinLeft :: ApmPowerInfo -> Monitor
 renderMinLeft powerinfo = case (apmAcState powerinfo) of
AcOnline  -> return []
AcUnknown -> return []
-   _ -> return $ (show $ apmMinutesLeft powerinfo) ++ "min"
+   _ -> return $ " (" ++ (show $ apmMinutesLeft powerinfo) ++ 
"min)"
 
 renderStatus :: ApmPowerInfo -> Monitor String
 renderStatus powerinfo = return.show $ apmAcState powerinfo
Index: patches/patch-src_Plugins_Monitors_MPD_hs
===
RCS file: patches/patch-src_Plugins_Monitors_MPD_hs
diff -N patches/patch-src_Plugins_Monitors_MPD_hs
--- patches/patch-src_Plugins_Monitors_MPD_hs   13 Jun 2011 21:23:04 -  
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_Plugins_Monitors_MPD_hs,v 1.1 2011/06/13 21:23:04 kili Exp 
$
 src/Plugins/Monitors/MPD.hs.orig   Mon May  2 20:48:52 2011
-+++ src/Plugins/Monitors/MPD.hsMon May  2 20:49:06 2011
-@@ -91,7 +91,7 @@ parseSong (Right Nothing) = return $ repeat ""
- parseSong (Right (Just s)) =
-   let join [] = ""
-   join (x:xs) = foldl (\a o -> a ++ "

[update] libaudiofile 0.3.3

2012-01-12 Thread Antoine Jacoutot
Hi.

This diff updates libaudiofile to its latest release.
This work started during sl2k11 but there was still a lot of regressions with 
the 0.3.X at that time. I believe all are fixed with this release.
All direct dependencies are happy with it and make regress passes all tests.

Comments/OK?

-- 
Antoine
Index: Makefile
===
RCS file: /cvs/ports/devel/libaudiofile/Makefile,v
retrieving revision 1.38
diff -u -r1.38 Makefile
--- Makefile15 Nov 2010 19:45:59 -  1.38
+++ Makefile12 Jan 2012 08:34:48 -
@@ -2,12 +2,13 @@
 
 COMMENT=   SGI audiofile library clone
 
-DISTNAME=  audiofile-0.2.6
+V= 0.3.3
+SUBST_VARS=V
+DISTNAME=  audiofile-${V}
 PKGNAME=   lib${DISTNAME}
-REVISION = 2
-SHARED_LIBS += audiofile0.2  # .0.2
+SHARED_LIBS += audiofile 1.0
 CATEGORIES=devel audio
-MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/audiofile/0.2/}
+MASTER_SITES=  ${HOMEPAGE}
 
 HOMEPAGE=  http://www.68k.org/~michael/audiofile/
 
@@ -16,13 +17,22 @@
 PERMIT_PACKAGE_FTP=Yes
 PERMIT_DISTFILES_CDROM=Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=   c m
+
+WANTLIB += c m stdc++
 
 USE_LIBTOOL=   Yes
 
 SEPARATE_BUILD=simple
+
 CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
+CONFIGURE_ENV= ac_cv_path_ASCIIDOC=no
+CONFIGURE_ARGS=${CONFIGURE_SHARED}
+
+# audiofile-config is still needed by audio/normalize and devel/libspectrum
+post-install:
+   ${SUBST_CMD} -o ${BINOWN} -g ${BINGRP} -c ${FILESDIR}/audiofile-config \
+   ${PREFIX}/bin/audiofile-config
+   chmod ${BINMODE} ${PREFIX}/bin/audiofile-config
 
 do-regress:
@cd ${WRKBUILD}/test && ${MAKE_PROGRAM} ${ALL_REGRESS_FLAGS} check
Index: distinfo
===
RCS file: /cvs/ports/devel/libaudiofile/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo5 Apr 2007 15:37:55 -   1.6
+++ distinfo12 Jan 2012 08:34:48 -
@@ -1,5 +1,5 @@
-MD5 (audiofile-0.2.6.tar.gz) = nBBJh2zVHA8bEsKIbM5NQg==
-RMD160 (audiofile-0.2.6.tar.gz) = th+8hWdopYOMpcD61gLzUgXo0Dc=
-SHA1 (audiofile-0.2.6.tar.gz) = lKarjlEivBlxzxhuWlLQMoEcm8U=
-SHA256 (audiofile-0.2.6.tar.gz) = S2FntW4hVW+wfJ7waWL+MoFwZMYhgbpHr9MyLg0PIqk=
-SIZE (audiofile-0.2.6.tar.gz) = 374688
+MD5 (audiofile-0.3.3.tar.gz) = ZMegMCO0sYHZl/8LJy0p5A==
+RMD160 (audiofile-0.3.3.tar.gz) = yrL69q5CAjYW3pvktZw/tePG7uc=
+SHA1 (audiofile-0.3.3.tar.gz) = 97fwB+XFxHj5uz/tNTShBcvR6IQ=
+SHA256 (audiofile-0.3.3.tar.gz) = +En5LoePxlbAEm30NsIjicIMYntUH1RD7CynFh74p+I=
+SIZE (audiofile-0.3.3.tar.gz) = 721989
Index: files/audiofile-config
===
RCS file: files/audiofile-config
diff -N files/audiofile-config
--- /dev/null   1 Jan 1970 00:00:00 -
+++ files/audiofile-config  12 Jan 2012 08:34:48 -
@@ -0,0 +1,58 @@
+#!/bin/sh
+
+prefix=${TRUEPREFIX}
+exec_prefix=${prefix}
+exec_prefix_set=no
+
+usage="\
+Usage: audiofile-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] 
[--libs] [--cflags]"
+
+if test $# -eq 0; then
+  echo "${usage}" 1>&2
+  exit 1
+fi
+
+while test $# -gt 0; do
+  case "$1" in
+  -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+  *) optarg= ;;
+  esac
+
+  case $1 in
+--prefix=*)
+  prefix=$optarg
+  if test $exec_prefix_set = no ; then
+exec_prefix=$optarg
+  fi
+  ;;
+--prefix)
+  echo $prefix
+  ;;
+--exec-prefix=*)
+  exec_prefix=$optarg
+  exec_prefix_set=yes
+  ;;
+--exec-prefix)
+  echo $exec_prefix
+  ;;
+--version)
+  echo ${V}
+  ;;
+--cflags)
+  if test ${prefix}/include != /usr/include ; then
+includes=-I${prefix}/include
+  fi
+  echo $includes
+  ;;
+--libs)
+  libdirs=-L${exec_prefix}/lib
+  echo $libdirs -laudiofile
+  ;;
+*)
+  echo "${usage}" 1>&2
+  exit 1
+  ;;
+  esac
+  shift
+done
+
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- patches/patch-Makefile_in   24 Feb 2004 23:23:27 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-Makefile_in,v 1.3 2004/02/24 23:23:27 brad Exp $
 Makefile.in.orig   2003-12-21 16:44:56.0 -0500
-+++ Makefile.in2004-02-24 18:08:20.0 -0500
-@@ -89,7 +89,7 @@ bin_SCRIPTS = \
-  audiofile-config
- 
- 
--SRC_SUBDIRS = libaudiofile sfcommands test examples
-+SRC_SUBDIRS = libaudiofile sfcommands
- SUBDIRS = $(SRC_SUBDIRS) docs win32
- 
- EXTRA_DIST = \
Index: patches/patch-audiofile_m4
===
RCS file: patches/patch-audiofile_m4
diff -N patches/patch-audiofile_m4
--- patches/patch-audiofile_m4  22 Dec 2008 20:28: