Re: NEW: graphics/optipng

2013-09-25 Thread Brian Callahan

On 9/25/2013 8:19 PM, Kyle Isom wrote:

I've fixed all the above, and added graphics/png as a dependency.

Cheers,
Kyle


This looks good to me, and tests/works good on a couple different 
platforms. So ok for me if someone wants to import it (or I will import 
if someone else gives me an ok).


~Brian



Re: UPDATE: lcms2 2.5

2013-09-25 Thread Brad Smith

On 14/09/13 11:33 PM, Brad Smith wrote:

Here is an update to lcms2 2.5.

OK?


ping.


Index: Makefile
===
RCS file: /home/cvs/ports/graphics/lcms2/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile30 Mar 2013 15:49:43 -  1.7
+++ Makefile15 Sep 2013 02:24:28 -
@@ -2,11 +2,11 @@

  COMMENT = color management library

-DISTNAME = lcms2-2.4
-SHARED_LIBS =  lcms2   0.3
+DISTNAME = lcms2-2.5
  CATEGORIES =  graphics
  MASTER_SITES =${MASTER_SITE_SOURCEFORGE:=lcms/}
-REVISION = 0
+
+SHARED_LIBS =  lcms2   1.0

  HOMEPAGE =http://www.littlecms.com/

Index: distinfo
===
RCS file: /home/cvs/ports/graphics/lcms2/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo25 Sep 2012 22:52:16 -  1.3
+++ distinfo15 Sep 2013 01:51:15 -
@@ -1,2 +1,2 @@
-SHA256 (lcms2-2.4.tar.gz) = KlFNEO/yaQFQXBkaFcJYjHUet/uGV3EY9sI1r/C+N+g=
-SIZE (lcms2-2.4.tar.gz) = 4293291
+SHA256 (lcms2-2.5.tar.gz) = Zyd3K0RHCiER26U7nOTJUrh+fRtyoxxevfRLpusKpys=
+SIZE (lcms2-2.5.tar.gz) = 7000396
Index: patches/patch-include_lcms2_h
===
RCS file: patches/patch-include_lcms2_h
diff -N patches/patch-include_lcms2_h
--- patches/patch-include_lcms2_h   30 Mar 2013 15:49:43 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,25 +0,0 @@
-$OpenBSD: patch-include_lcms2_h,v 1.1 2013/03/30 15:49:43 ajacoutot Exp $
-
-From d2d902b9a03583ae482c782b2f243f7e5268a47d Mon Sep 17 00:00:00 2001
-From: Marti Maria 
-Date: Tue, 26 Mar 2013 11:29:50 +0100
-Subject: [PATCH] >Changes from Richard Hughes
-
 include/lcms2.h.orig   Mon Sep 10 18:01:51 2012
-+++ include/lcms2.hSat Mar 30 16:42:26 2013
-@@ -338,6 +338,7 @@ typedef enum {
- cmsSigPreview1Tag   = 0x70726531,  // 'pre1'
- cmsSigPreview2Tag   = 0x70726532,  // 'pre2'
- cmsSigProfileDescriptionTag = 0x64657363,  // 'desc'
-+cmsSigProfileDescriptionMLTag   = 0x6473636d,  // 'dscm'
- cmsSigProfileSequenceDescTag= 0x70736571,  // 'pseq'
- cmsSigProfileSequenceIdTag  = 0x70736964,  // 'psid'
- cmsSigPs2CRD0Tag= 0x70736430,  // 'psd0'
-@@ -1395,6 +1396,7 @@ CMSAPI cmsUInt32Number   CMSEXPORT cmsGetHeaderRenderi
- CMSAPI void  CMSEXPORT cmsSetHeaderFlags(cmsHPROFILE hProfile, 
cmsUInt32Number Flags);
- CMSAPI cmsUInt32Number   CMSEXPORT cmsGetHeaderManufacturer(cmsHPROFILE 
hProfile);
- CMSAPI void  CMSEXPORT cmsSetHeaderManufacturer(cmsHPROFILE 
hProfile, cmsUInt32Number manufacturer);
-+CMSAPI cmsUInt32Number   CMSEXPORT cmsGetHeaderCreator(cmsHPROFILE hProfile);
- CMSAPI cmsUInt32Number   CMSEXPORT cmsGetHeaderModel(cmsHPROFILE hProfile);
- CMSAPI void  CMSEXPORT cmsSetHeaderModel(cmsHPROFILE hProfile, 
cmsUInt32Number model);
- CMSAPI void  CMSEXPORT cmsSetHeaderAttributes(cmsHPROFILE 
hProfile, cmsUInt64Number Flags);
Index: patches/patch-src_cmsio0_c
===
RCS file: patches/patch-src_cmsio0_c
diff -N patches/patch-src_cmsio0_c
--- patches/patch-src_cmsio0_c  30 Mar 2013 15:49:43 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,61 +0,0 @@
-$OpenBSD: patch-src_cmsio0_c,v 1.1 2013/03/30 15:49:43 ajacoutot Exp $
-
-From d2d902b9a03583ae482c782b2f243f7e5268a47d Mon Sep 17 00:00:00 2001
-From: Marti Maria 
-Date: Tue, 26 Mar 2013 11:29:50 +0100
-Subject: [PATCH] >Changes from Richard Hughes
-
 src/cmsio0.c.orig  Mon Sep 10 18:01:51 2012
-+++ src/cmsio0.c   Sat Mar 30 16:42:26 2013
-@@ -614,10 +614,13 @@ cmsBool _cmsReadHeader(_cmsICCPROFILE* Icc)
- Icc -> DeviceClass = (cmsProfileClassSignature) 
_cmsAdjustEndianess32(Header.deviceClass);
- Icc -> ColorSpace  = (cmsColorSpaceSignature)   
_cmsAdjustEndianess32(Header.colorSpace);
- Icc -> PCS = (cmsColorSpaceSignature)   
_cmsAdjustEndianess32(Header.pcs);
-+
- Icc -> RenderingIntent = _cmsAdjustEndianess32(Header.renderingIntent);
- Icc -> flags   = _cmsAdjustEndianess32(Header.flags);
- Icc -> manufacturer= _cmsAdjustEndianess32(Header.manufacturer);
- Icc -> model   = _cmsAdjustEndianess32(Header.model);
-+Icc -> creator = _cmsAdjustEndianess32(Header.creator);
-+
- _cmsAdjustEndianess64(&Icc -> attributes, &Header.attributes);
- Icc -> Version = _cmsAdjustEndianess32(Header.version);
-
-@@ -786,27 +789,32 @@ void CMSEXPORT cmsSetHeaderFlags(cmsHPROFILE hProfile,
- cmsUInt32Number CMSEXPORT cmsGetHeaderManufacturer(cmsHPROFILE hProfile)
- {
- _cmsICCPROFILE*  Icc = (_cmsICCPROFILE*) hProfile;
--return (cmsUInt32Number) Icc ->manufacturer;
-+return Icc ->manufacturer;
- }
-
- void C

Re: NEW: archivers/lzip

2013-09-25 Thread Juan Francisco Cantero Hurtado
On Wed, Sep 25, 2013 at 08:22:00AM +0100, Stuart Henderson wrote:
> On 2013/09/25 03:48, Juan Francisco Cantero Hurtado wrote:
> > On Wed, Sep 25, 2013 at 03:25:25AM +0200, Juan Francisco Cantero Hurtado 
> > wrote:
> > > On 09/25/13 03:22, Juan Francisco Cantero Hurtado wrote:
> > > >The tarball contains 7 small ports. All are part of the lzip project.
> > > >
> > > >Please test and commit.
> > > >
> > > >PS: If you like xz then you should try lzip :) (harder, better, faster,
> > > >stronger)
> > > >
> > > >
> > > >Lzip is a lossless data compressor with a user interface similar to the
> > > >one of gzip or bzip2. Lzip decompresses almost as fast as gzip and
> > > >compresses more than bzip2, which makes it well suited for software
> > > >distribution and data archiving.
> > > >
> > > >Lzip is a clean implementation of the LZMA algorithm. The lzip file
> > > >format is designed for long-term data archiving. It is clean, provides
> > > >very safe 4 factor integrity checking. Lzip uses the same well-defined
> > > >exit status values used by bzip2, which makes it safer when used in
> > > >pipes or scripts than compressors returning ambiguous warning values,
> > > >like gzip.
> > > >
> > > 
> > > I forgot to attach the tarball.
> > 
> > New tarball. The previous one has a broken patch.
> > 
> > -- 
> > Juan Francisco Cantero Hurtado http://juanfra.info
> 
> Nearly there, just a couple of things:
> 
> - In lzlib, you patched away the run_ldconfig=no line; this should stay.

I trimmed the conditional because the script uses "ldconfig -n" and our
ldconfig doesn't support this option. From the man page of ldconfig on
Linux:

-n Only  process  directories  specified  on  the  command  line.  Don't
   process the trusted directories (/lib and /usr/lib) nor those specified
   in /etc/ld.so.conf. Implies -N.

-N Don't rebuild the cache. Unless -X is also specified, links are
   still updated.

I don't know which is the correct ldconfig command here.

> Also please patch away the line which creates a symlink to liblzip.so and
> regenerate the PLIST (and remove PFRAG.shared and the %%shared%% line).

Done.

> 
> - Looks like CONFIGURE_STYLE should be simple, these aren't autoconf.
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info


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


Re: NEW: graphics/optipng

2013-09-25 Thread Kyle Isom

I've fixed all the above, and added graphics/png as a dependency.

Cheers,
Kyle


optipng-0.7.4.tgz
Description: Binary data


Re: NEW: archivers/lzip

2013-09-25 Thread Juan Francisco Cantero Hurtado
On Wed, Sep 25, 2013 at 08:36:05AM +0100, Stuart Henderson wrote:
> On 2013/09/25 08:22, Stuart Henderson wrote:
> > - Looks like CONFIGURE_STYLE should be simple, these aren't autoconf.
> 
> Oh, it has it already; I saw the "WARNING: unrecognized option:
> '--enable-shared'" on almost all of the ports and assumed it was set
> to gnu - maybe only use --enable-shared for lzlib?

When I created the port, I tried adding only enable-shared to
CONFIGURE_ARGS in lzlib but it failed.

Now I've saw my error. Apparently, I can't use "CONFIGURE_ARGS =" in
the .inc file and "CONFIGURE_ARGS +=" in the other Makefile. I've
changed both to "+=" and the switch works perfectly.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: Gnome does not start

2013-09-25 Thread Kristofer M White
If launching from XDM, I am pretty sure that you want the .xsession file to 
launch gnome, not .xinitrc

Roelof Wobben  wrote:
>Hello, 
>
>I installed Gnome with this tutorial: http://callfortesting.org/gnome3/
>
>After that I followed the steps in the pkg-readmes/gnome.
>
>But after a reboot still xdm and fvvm are loaded.
>
>What can I do to make Gnome working ?
>
>Roelof   

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: Gnome does not start

2013-09-25 Thread Dmitrij D. Czarkoff
Roelof Wobben said:
> But after a reboot still xdm and fvvm are loaded.
> 
> What can I do to make Gnome working ?

In /etc/rc.conf.local you should remove the line starting with "xdm_flags"
and add the line:

  pkg_scripts="dbus_daemon gdm"

This is all said in the README you said you've read.

-- 
Dmitrij D. Czarkoff



Gnome does not start

2013-09-25 Thread Roelof Wobben
Hello, 

I installed Gnome with this tutorial: http://callfortesting.org/gnome3/

After that I followed the steps in the pkg-readmes/gnome.

But after a reboot still xdm and fvvm are loaded.

What can I do to make Gnome working ?

Roelof



Re: New port: Worker

2013-09-25 Thread Stuart Henderson
On 2013/09/25 11:50, Brian Callahan wrote:
> On 9/25/2013 9:09 AM, Eivind Evensen wrote:
> >This is an X11 filemanager.
> >
> 
> Makefile:
> * You need an RCS ID at the top (# $OpenBSD$ will do).
> * You forgot to put your name for MAINTAINER :) You only wrote your
> email address.
> * The license is GPLv2+
> * You only need the PERMIT_PACKAGE_CDROM=Yes line.
> * You should run 'make port-lib-depends-check' and add the
> appropriate libraries to WANTLIB and LIB_DEPENDS (as an exception,
> intl takes MODULES=devel/gettext and no intl in WANTLIB).
> * You need RUN_DEPENDS=devel/desktop-file-utils (I see a .desktop
> file in pkg/PLIST).
> * Don't use DISTFILES; it's smart enough to know what you want.
> * I'm not in love with the COMMENT; maybe someone else can chime in
> here. (for example, look at the COMMENT for x11/xfe)
> 
> pkg/DESCR:
> * You need to run pkg/DESCR through 'fmt -72' - one of your lines is
> too long. However, the one offending line is talking about the
> software being licensed GPLv2+, which is already noted in the
> Makefile, so you should delete it instead.
> 
> pkg/PLIST:
> * Because you need RUN_DEPENDS=devel/desktop-file-utils, you need the
> corresponding PLIST goo. Take a look at any of the many ports that
> have a .desktop file to see how to do that.
> 
> The port itself:
> * Any reason not to use libmagic? We have a port for it in devel/libmagic.
> * I don't believe we have a port of AVFS but it might be worth looking into.
> 

Some of these are also picked up by /usr/ports/infrastructure/bin/portcheck :)



Re: biannual hobbit breakage

2013-09-25 Thread Ryan Freeman
On Tue, Sep 24, 2013 at 08:25:26PM +0200, Antoine Jacoutot wrote:
> Hi.
> 
> It's that time of the year again...
> Jasper and I are currently working on updating GNOME to 3.10.
> We will keep the build breakage to a minimum during the update window -- we 
> expect to start sometimes within the next 2 days depending on how far the 
> first low level libs bulk goes.
> Then the update will happen for real and we expect a broken window of about 2 
> days; as usual we do not expect breakage to impact *too* many ports outside 
> of GNOME and friends.
> If all goes well, things will start breaking tomorrow evening CET and most of 
> it will be fixed by the end of the week.
> 
> So if you want to start bulks... do it fast ;-)
> 
> Meanwhile, you can have a look at how our current GNOME 3.8 works:
> https://www.bsdfrog.org/tmp/gnome.webm

I...am starting to be unable to resist the urge to try out gnome 3
damn you antoine, my 6-years standing strong openbox setup is 
yelling at you right now.   seriously though, I have tried gnome 3
only via linux live cds long before you even had gnome 3 'safe'
running I believe, so seeing it run so featureful and QUICK
on beloved OpenBSD is fantastic.  Cheers for all the efforts! :)

-ryan

> 
> Thanks.
> 
> -- 
> Antoine
> 



Re: New port: Worker

2013-09-25 Thread Brian Callahan

On 9/25/2013 9:09 AM, Eivind Evensen wrote:

This is an X11 filemanager.



Makefile:
* You need an RCS ID at the top (# $OpenBSD$ will do).
* You forgot to put your name for MAINTAINER :) You only wrote your 
email address.

* The license is GPLv2+
* You only need the PERMIT_PACKAGE_CDROM=Yes line.
* You should run 'make port-lib-depends-check' and add the appropriate 
libraries to WANTLIB and LIB_DEPENDS (as an exception, intl takes 
MODULES=devel/gettext and no intl in WANTLIB).
* You need RUN_DEPENDS=devel/desktop-file-utils (I see a .desktop file 
in pkg/PLIST).

* Don't use DISTFILES; it's smart enough to know what you want.
* I'm not in love with the COMMENT; maybe someone else can chime in 
here. (for example, look at the COMMENT for x11/xfe)


pkg/DESCR:
* You need to run pkg/DESCR through 'fmt -72' - one of your lines is too 
long. However, the one offending line is talking about the software 
being licensed GPLv2+, which is already noted in the Makefile, so you 
should delete it instead.


pkg/PLIST:
* Because you need RUN_DEPENDS=devel/desktop-file-utils, you need the 
corresponding PLIST goo. Take a look at any of the many ports that have 
a .desktop file to see how to do that.


The port itself:
* Any reason not to use libmagic? We have a port for it in devel/libmagic.
* I don't believe we have a port of AVFS but it might be worth looking into.



Re: [UPDATE] minitube-2.1.3

2013-09-25 Thread David Coppa
On Wed, 25 Sep 2013, David Coppa wrote:

> 
> Hi,
> 
> Finally, we have source again!
> 
> Highlights:
> 
> - Channel subscriptions: you can now subscribe to YouTube
>   channels and be notified of new videos.
> 
> - Fix playback of VEVO videos.
> 
> - Lots of minor bugfixes here and there.
> 
> Here's the diff: update to minitube-2.1.3 and fix WANTLIB while
> here...
> 
> OK?

Also attached.
Maybe inline one will not apply correctly, due to unicode crap being
present...

cheers!
David


minitube-2.1.3.diff.gz
Description: application/gunzip


[UPDATE] minitube-2.1.3

2013-09-25 Thread David Coppa

Hi,

Finally, we have source again!

Highlights:

- Channel subscriptions: you can now subscribe to YouTube
  channels and be notified of new videos.

- Fix playback of VEVO videos.

- Lots of minor bugfixes here and there.

Here's the diff: update to minitube-2.1.3 and fix WANTLIB while
here...

OK?

Index: Makefile
===
RCS file: /cvs/ports/www/minitube/Makefile,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 Makefile
--- Makefile14 May 2013 10:36:19 -  1.29
+++ Makefile25 Sep 2013 12:56:57 -
@@ -2,7 +2,7 @@
 
 COMMENT =  standalone YouTube.com video browser/player
 
-DISTNAME = minitube-2.0
+DISTNAME = minitube-2.1.3
 CATEGORIES =   www multimedia
 
 HOMEPAGE = http://flavio.tordini.org/minitube
@@ -16,9 +16,10 @@ MASTER_SITES =   http://flavio.tordini.org
 
 MODULES =  x11/qt4
 
-WANTLIB += ICE QtDBus QtGui QtNetwork QtXml SM X11
-WANTLIB += Xext Xi Xinerama Xrender c fontconfig
-WANTLIB += freetype m phonon pthread stdc++
+WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender c fontconfig
+WANTLIB += freetype lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork
+WANTLIB += lib/qt4/QtScript lib/qt4/QtSql lib/qt4/QtXml m
+WANTLIB += phonon pthread stdc++
 
 RUN_DEPENDS =  multimedia/gstreamer-0.10/plugins-good \
multimedia/gstreamer-0.10/plugins-ffmpeg \
Index: distinfo
===
RCS file: /cvs/ports/www/minitube/distinfo,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 distinfo
--- distinfo14 May 2013 10:28:17 -  1.15
+++ distinfo25 Sep 2013 12:56:57 -
@@ -1,2 +1,2 @@
-SHA256 (minitube-2.0.tar.gz) = G6HddyXm4MkmU/3ue8+kuDM0bS70wJHZSxgbYLtZJVQ=
-SIZE (minitube-2.0.tar.gz) = 713577
+SHA256 (minitube-2.1.3.tar.gz) = OHtD/J7mjaV9abBiKyphyC+BZAHaWtiDBWPXkuQCuPw=
+SIZE (minitube-2.1.3.tar.gz) = 816226
Index: patches/patch-src_aggregatevideosource_cpp
===
RCS file: patches/patch-src_aggregatevideosource_cpp
diff -N patches/patch-src_aggregatevideosource_cpp
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_aggregatevideosource_cpp  25 Sep 2013 12:56:57 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Remove garbage:
+
+src/aggregatevideosource.cpp:1: error: stray '\357' in program
+src/aggregatevideosource.cpp:1: error: stray '\273' in program
+src/aggregatevideosource.cpp:1: error: stray '\277' in program
+
+--- src/aggregatevideosource.cpp.orig  Wed Sep 25 13:31:10 2013
 src/aggregatevideosource.cpp   Wed Sep 25 13:31:18 2013
+@@ -1,4 +1,4 @@
+-???/* $BEGIN_LICENSE
++/* $BEGIN_LICENSE
+ 
+ This file is part of Minitube.
+ Copyright 2009, Flavio Tordini 
Index: patches/patch-src_utils_cpp
===
RCS file: /cvs/ports/www/minitube/patches/patch-src_utils_cpp,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-src_utils_cpp
--- patches/patch-src_utils_cpp 14 May 2013 10:28:17 -  1.1
+++ patches/patch-src_utils_cpp 25 Sep 2013 12:56:57 -
@@ -4,13 +4,13 @@ Use the gnome icon theme unconditionally
 minitube GUI not having icons when executed outside of a Desktop
 Environment
 
 src/utils.cpp.orig Tue Feb  5 10:00:26 2013
-+++ src/utils.cpp  Tue Feb  5 10:00:51 2013
-@@ -5,6 +5,7 @@
+--- src/utils.cpp.orig Mon Sep 23 11:30:27 2013
 src/utils.cpp  Wed Sep 25 13:22:21 2013
+@@ -24,6 +24,7 @@ $END_LICENSE */
+ #endif
  
- QIcon getIcon(const QString &name) {
- #ifdef Q_WS_X11
+ QIcon Utils::themeIcon(const QString &name) {
 +QIcon::setThemeName("gnome");
- return QIcon::fromTheme(name);
- #else
- return Extra::getIcon(name);
+ if (QIcon::hasThemeIcon(name))
+ return QIcon::fromTheme(name);
+ else
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/minitube/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 PLIST
--- pkg/PLIST   14 May 2013 10:28:17 -  1.16
+++ pkg/PLIST   25 Sep 2013 12:56:57 -
@@ -15,8 +15,9 @@ share/icons/hicolor/scalable/apps/minitu
 share/minitube/
 share/minitube/locale/
 share/minitube/locale/ar.qm
+share/minitube/locale/ast.qm
+share/minitube/locale/bg_BG.qm
 share/minitube/locale/ca.qm
-share/minitube/locale/ca_ES.qm
 share/minitube/locale/cs_CZ.qm
 share/minitube/locale/da.qm
 share/minitube/locale/de_DE.qm
@@ -28,14 +29,15 @@ share/minitube/locale/es_ES.qm
 share/minitube/locale/fi.qm
 share/minitube/locale/fi_FI.qm
 share/minitube/locale/fr.qm
+share/minitube/locale/gl.qm
 share/minitube/locale/he_IL.qm
-share/minitube/locale/hr.qm
 share/minitube/locale/hu.qm
 share/minitube/locale/ia.qm
 share/minitube/locale/it.qm
 share/minitube/locale/ja_JP.qm
-share/minitube/locale/jv.qm
 share/minitube/locale/ky.qm
+share/minitube/locale/ms_MY.qm
+share/minitube/locale/nb.qm
 share/minitube/locale/nl.qm
 share/min

New port: Worker

2013-09-25 Thread Eivind Evensen
This is an X11 filemanager.

-- 
Eivind


worker2191.tgz
Description: GNU Unix tar archive


youtube-dl-2013.09.24.2

2013-09-25 Thread David Coppa

Update for youtube-dl (2013.09.24.2).

Ciao,
David

Index: Makefile
===
RCS file: /cvs/ports/www/youtube-dl/Makefile,v
retrieving revision 1.47
diff -u -p -u -p -r1.47 Makefile
--- Makefile6 Sep 2013 07:47:16 -   1.47
+++ Makefile25 Sep 2013 13:26:01 -
@@ -2,7 +2,7 @@
 
 COMMENT =  command-line program to download videos from YouTube.com
 
-MODPY_EGG_VERSION = 2013.09.05
+MODPY_EGG_VERSION = 2013.09.24.2
 
 DISTNAME = youtube-dl-${MODPY_EGG_VERSION}
 CATEGORIES =   www
Index: distinfo
===
RCS file: /cvs/ports/www/youtube-dl/distinfo,v
retrieving revision 1.39
diff -u -p -u -p -r1.39 distinfo
--- distinfo6 Sep 2013 07:47:16 -   1.39
+++ distinfo25 Sep 2013 13:26:01 -
@@ -1,2 +1,2 @@
-SHA256 (youtube-dl-2013.09.05.tar.gz) = 
Rqk9ip+YLJ35HH8E4ASHu7Ah4+zLdpey/6NTYI1s1ZE=
-SIZE (youtube-dl-2013.09.05.tar.gz) = 355294
+SHA256 (youtube-dl-2013.09.24.2.tar.gz) = 
D/CVvQnzDHx3dY9qdP6vFjuIsG7v7VuGXK7c9GI/dwg=
+SIZE (youtube-dl-2013.09.24.2.tar.gz) = 392769
Index: pkg/PLIST
===
RCS file: /cvs/ports/www/youtube-dl/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 PLIST
--- pkg/PLIST   6 Sep 2013 07:47:16 -   1.8
+++ pkg/PLIST   25 Sep 2013 13:26:02 -
@@ -39,6 +39,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/bandcamp.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/bliptv.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/bliptv.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/bloomberg.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/bloomberg.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/breakcom.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/breakcom.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/brightcove.py
@@ -75,6 +77,8 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/dotsub.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/dreisat.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/dreisat.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/ebaumsworld.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/ebaumsworld.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/ehow.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/ehow.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/eighttracks.py
@@ -85,8 +89,12 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/exfm.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/facebook.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/facebook.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/fktv.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/fktv.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/flickr.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/flickr.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/francetv.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/francetv.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/freesound.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/freesound.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/funnyordie.py
@@ -127,12 +135,16 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/kankan.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/keek.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/keek.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/kickstarter.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/kickstarter.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/liveleak.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/liveleak.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/livestream.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/livestream.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/metacafe.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/metacafe.pyc
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/metacritic.py
+lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/metacritic.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/mit.py
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/mit.pyc
 lib/python${MODPY_VERSION}/site-packages/youtube_dl/extractor/mixcloud.py
@@ -151,6 +163,8 @@ lib/python${MODPY_

Re: mlterm overhaul

2013-09-25 Thread David Coppa
On Wed, 25 Sep 2013, David Coppa wrote:

> On Tue, 24 Sep 2013, David Coppa wrote:
> 
> > On Tue, 24 Sep 2013, David Coppa wrote:
> > 
> > > 
> > > Hi!
> > > 
> > > Update to the latest version (3.2.2).
> > > Lot of fixes.
> > > Add mlterm-fb and aoyama@'s fix to make it work on OpenBSD/luna88k
> > > 1bpp framebuffer.
> > > 
> > > ok?
> > 
> > Please, ignore this: sysconfdir handling was wrong.
> > 
> > Here's the right version.
> > 
> 
> Third revision.
> 
> Add a patch from upstream, via NetBSD.
> Fix permissions.
> Add comments to patches.
> 
> X11-based mlterm works w/o problems on my amd64 laptop.
> Unfortunately, I cannot test the framebuffer one.

Maintainer missing in action.
I will remove him from Makefile...

---8<---

This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

 w...@openbsd.de

Message will be retried for 2 more day(s)

Technical details of temporary failure: 
The recipient server did not accept our requests to connect. Learn more at 
http://support.google.com/mail/bin/answer.py?answer=7720 
[(10) redmoon.openbsd.de. [212.201.68.141]:25: Connection timed out]
[(20) redmoon.openbsd.de. [212.201.68.141]:25: Connection timed out]

---8<---



Re: webapps in OpenBSD

2013-09-25 Thread Vijay Sankar

Quoting Marc Espie :


On Tue, Sep 24, 2013 at 05:44:11PM -0500, Vijay Sankar wrote:

I don't have much to contribute to the ports side of this discussion
since I am just an occasional tester.

As a lazy user, however, I would like to say that having an OpenBSD
package even for "inappropriate" software like WordPress or
vtigercrm or others is still far superior than someone following
instructions from the WordPress or vtiger sites.

For example, with vtiger, the OpenBSD package (before it was moved
to Attic) set directory permissions etc., properly and gave concise
instructions on what to do to configure everything. vtigercrm
instructions on the other hand make everything writable by www:www
and is simply not as well organized as OpenBSD documentation. Just
that alone makes having an  OpenBSD package superior to not having
one.

I will now shut up :)


Well, as far as vtigercrm goes, the port did exist because at
some point, Antoine did need the port.

Then he no longer needed the port, and no-one stepped up to
maintain it.

That's quite simple. Need maintainers. I'm pretty sure that
if someone were to step up and make sure it works and maintain
it, it would come back.

(or maybe just plain old sugarcrm, not sure whether vtigercrm
offers all that much on top of it).




Thank you very much, I will try to make a port of vtiger.

Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
vsan...@foretell.ca

-
This message was sent using ForeTell-POST 4.9




Re: UPDATE: net/snort 2.9.5.5

2013-09-25 Thread Community - Dognaedis
On 09/24/2013 12:24 PM, Stuart Henderson wrote:> On 2013/09/24 11:59, Community 
- Dognaedis wrote:
>> Hi,
>> I've been testing this on 5.2 and 5.3 amd64 without issues.
>> but I've noticed that if I do a 'make update-plist' on net/daq
>> I get a warning of SHARED_LIBS daq 2.0 vs 2.1 and sfbpf 1.0 vs 0.1.
>> I've changed the Makefile so I don't get it. Is that the correct
>> thing to do ?
> 
> You have updated individual ports to versions which depend on changes in
> infrastructure; the whole tree should be in-sync. Specifically USE_LIBTOOL=Yes
> is now the default and has been removed from ports.

Indeed. The problem is older versions of snort (2.8.6) in ports (OpenBSD 
release 5.2),
cannot be used with the latest rules from Sourcefire so I'm basically 
backporting
it on some of our systems.
The main problem would be mismatch of dependencies in ports on installs?

> (btw, with the time_t changes in -current, tests on earlier versions are
> much less useful than usual right now).

Noted.

-- 
Cheers,
Rodolfo Gouveia
Sponsored by Dognaedis Community Project
http://www.dognaedis.com

DISCLAIMER:
This message is confidential, and can only be accessed by the
persons or entities to whom it is addressed. If you are not one of them,
Dognædis will thank you if you inform the author, as soon as possible,
about the error that occurred. It is totally forbidden the disclosure,
modification, visualization, or other kind of use of the message and the
respective contents to those who are not addressed herein.



Re: mlterm overhaul

2013-09-25 Thread David Coppa
On Tue, 24 Sep 2013, David Coppa wrote:

> On Tue, 24 Sep 2013, David Coppa wrote:
> 
> > 
> > Hi!
> > 
> > Update to the latest version (3.2.2).
> > Lot of fixes.
> > Add mlterm-fb and aoyama@'s fix to make it work on OpenBSD/luna88k
> > 1bpp framebuffer.
> > 
> > ok?
> 
> Please, ignore this: sysconfdir handling was wrong.
> 
> Here's the right version.
> 

Third revision.

Add a patch from upstream, via NetBSD.
Fix permissions.
Add comments to patches.

X11-based mlterm works w/o problems on my amd64 laptop.
Unfortunately, I cannot test the framebuffer one.

ciao!
David

Index: Makefile
===
RCS file: /cvs/ports/x11/mlterm/Makefile,v
retrieving revision 1.31
diff -u -p -u -p -r1.31 Makefile
--- Makefile21 Mar 2013 08:48:56 -  1.31
+++ Makefile25 Sep 2013 08:55:42 -
@@ -1,11 +1,14 @@
 # $OpenBSD: Makefile,v 1.31 2013/03/21 08:48:56 ajacoutot Exp $
 
+SHARED_ONLY=   Yes
+
 COMMENT=   color terminal emulator with unicode support
-DISTNAME=  mlterm-2.9.0
-REVISION=  13
+DISTNAME=  mlterm-3.2.2
+
+SHARED_LIBS+=  kik 11.0 # 15.1
+SHARED_LIBS+=  mkf 14.0 # 16.0
+SHARED_LIBS+=  mlterm_core 0.0
 
-SHARED_LIBS=   kik 10.0 \
-   mkf 13.0
 CATEGORIES=x11
 
 MAINTAINER=Waldemar Brodkorb 
@@ -13,34 +16,33 @@ MAINTAINER= Waldemar Brodkorb http://mlterm.sourceforge.net/
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mlterm/}
 
-SHARED_ONLY=   Yes
-
 LIB_DEPENDS=   x11/gtk+2
 
 MODULES=   devel/gettext
 
-AUTOCONF_VERSION=2.13
+FAKE_FLAGS=sysconfdir="${PREFIX}/share/examples"
+
 CONFIGURE_STYLE=autoconf
+AUTOCONF_VERSION=2.65
 CONFIGURE_ARGS=--enable-anti-alias --enable-utmp \
-   --with-imagelib=gdk-pixbuf2 --with-type-engines=xft,xcore
+   --with-gui=xlib,fb --with-imagelib=gdk-pixbuf2 \
+   --with-type-engines=xft,xcore
 CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2"
 MAKE_ENV=  LIBkik_VERSION=${LIBkik_VERSION} \
-   LIBmkf_VERSION=${LIBmkf_VERSION}
+   LIBmkf_VERSION=${LIBmkf_VERSION} \
+   LIBmlterm_core_VERSION=${LIBmlterm_core_VERSION}
 
 NO_TEST=   Yes
-
-post-install:
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mlterm
-   ${INSTALL_DATA} ${WRKSRC}/etc/[a-z]* ${PREFIX}/share/examples/mlterm
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/x11/mlterm/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo5 Apr 2007 17:36:23 -   1.4
+++ distinfo25 Sep 2013 08:55:42 -
@@ -1,5 +1,2 @@
-MD5 (mlterm-2.9.0.tar.gz) = +wwHe0rBos98pFXcebbPag==
-RMD160 (mlterm-2.9.0.tar.gz) = JLHAaoV6AwnR6t2+1gsrvPXqHpA=
-SHA1 (mlterm-2.9.0.tar.gz) = y8crZTqWER/ssANEsPSLcJeNgBA=
-SHA256 (mlterm-2.9.0.tar.gz) = WBl0Mlful8hlD9G59Cr+yoPyLCPh6nVNRl6tlS3kdBg=
-SIZE (mlterm-2.9.0.tar.gz) = 1884906
+SHA256 (mlterm-3.2.2.tar.gz) = LS8A1N9A+nKGmqf8LPCmWrUJfC5Uoji8WyJMjTDUBEQ=
+SIZE (mlterm-3.2.2.tar.gz) = 3535155
Index: patches/patch-configure_in
===
RCS file: patches/patch-configure_in
diff -N patches/patch-configure_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure_in  25 Sep 2013 08:55:43 -
@@ -0,0 +1,38 @@
+$OpenBSD$
+
+OpenBSD lacks 'nm -D'
+
+setuid root/setgid utmp are handled by PLIST
+
+--- configure.in.orig  Mon Aug  5 14:48:58 2013
 configure.in   Wed Sep 25 10:20:52 2013
+@@ -307,7 +307,7 @@ AC_SUBST(IMAGELIB_LIBS)
+ for ml_cv_lib_path in /lib /usr/lib /lib/* `echo $LIBRARY_PATH | tr ":" " "` 
; do
+   libm_files=`ls $ml_cv_lib_path/libm\\.so* $ml_cv_lib_path/libm\\.sl* 2> 
/dev/null`
+   for libm_file in $libm_files ; do
+-  if test -z "$ml_cv_libm_dir" -a -n "`$NM -D $libm_file | $GREP 
pow`" ; then
++  if test -z "$ml_cv_libm_dir" -a -n "`$OBJDUMP -T $libm_file | 
$GREP \ pow$`" ; then
+   ml_cv_libm_dir=`dirname $libm_file`
+   fi
+   done
+@@ -609,19 +609,9 @@ AC_ARG_ENABLE(pty_helper,
+   pty_helper=$enable_pty_helper)
+ if test "$utmp" = "yes" -a "$pty_helper" != "yes" ; then
+   UTMP_CFLAGS="-DUSE_UTMP"
+-  has_utmp=`grep utmp /etc/group 2>/dev/null`
+-  if test "$has_utmp" ; then
+-  INSTALL_OPT="-m 2755 -g utmp"
+-  else
+-  INSTALL_OPT="-m 4755 -o root"
+-  fi
+-else
+-  INSTALL_OPT="-m 755"
+ fi
+ 
+-if test "$gui" = "fb" ; then
+-  INSTALL_OPT="-m 4755 -o root"
+-fi
++INSTALL_OPT="-m 0555 -s"
+ 
+ AC_SUBST(UTMP_CFLAGS)
+ AC_SUBST(INSTALL_OPT)
Index: patches/patch-kiklib_configure_in
===
RCS file: patches/patch-kiklib_configure_in
diff -N patches/patch-kiklib_configure_in
--- patches/patch-kiklib_configure_in   17 Dec 2012 18:39:29 -  1.1
+++ /dev/null   1 Jan 1970 00:00:00 -

Re: webapps in OpenBSD

2013-09-25 Thread Marc Espie
On Tue, Sep 24, 2013 at 05:44:11PM -0500, Vijay Sankar wrote:
> I don't have much to contribute to the ports side of this discussion
> since I am just an occasional tester.
> 
> As a lazy user, however, I would like to say that having an OpenBSD
> package even for "inappropriate" software like WordPress or
> vtigercrm or others is still far superior than someone following
> instructions from the WordPress or vtiger sites.
> 
> For example, with vtiger, the OpenBSD package (before it was moved
> to Attic) set directory permissions etc., properly and gave concise
> instructions on what to do to configure everything. vtigercrm
> instructions on the other hand make everything writable by www:www
> and is simply not as well organized as OpenBSD documentation. Just
> that alone makes having an  OpenBSD package superior to not having
> one.
> 
> I will now shut up :)

Well, as far as vtigercrm goes, the port did exist because at
some point, Antoine did need the port.

Then he no longer needed the port, and no-one stepped up to
maintain it.

That's quite simple. Need maintainers. I'm pretty sure that
if someone were to step up and make sure it works and maintain
it, it would come back.

(or maybe just plain old sugarcrm, not sure whether vtigercrm
offers all that much on top of it).



Re: biannual hobbit breakage

2013-09-25 Thread Dmitrij D. Czarkoff
> It may have more to do with graphics (gtk theme, video driver, ...?) than LO 
> itself.

In my experience it is indeed related to graphics - I had this effect on Linux
too when I recorded screencast. The bug appears to happen due to redraw of the
text when button gets selected - for some reason it takes quite some time on
LO welcome screen.

-- 
Dmitrij D. Czarkoff



[patch] devel/plib

2013-09-25 Thread Sylvestre Gallon
Hi,

Here is a patch that replaces rand() calls with arc4random().

Tested on i386 with tuxkart and speed-dreams.

ok's/comments?

Index: Makefile
===
RCS file: /cvs/ports/devel/plib/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile11 Mar 2013 10:50:24 -  1.10
+++ Makefile25 Sep 2013 08:19:34 -
@@ -3,7 +3,7 @@
 COMMENT =  suite of portable game libraries
 
 DISTNAME = plib-1.8.5
-REVISION = 3
+REVISION = 4
 CATEGORIES =   devel games
 
 HOMEPAGE = http://plib.sourceforge.net/
Index: patches/patch-src_sg_sgPerlinNoise_cxx
===
RCS file: patches/patch-src_sg_sgPerlinNoise_cxx
diff -N patches/patch-src_sg_sgPerlinNoise_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_sg_sgPerlinNoise_cxx  25 Sep 2013 08:19:34 -
@@ -0,0 +1,20 @@
+--- src/sg/sgPerlinNoise.cxx.orig  Tue Mar 11 03:06:20 2008
 src/sg/sgPerlinNoise.cxx   Wed Sep 25 10:09:05 2013
+@@ -54,7 +54,7 @@ static void initPermTable ()
+ 
+   for ( i = 0 ; i < SG_PERLIN_NOISE_WRAP_INDEX ; i++ )
+   {
+-int j = rand () & SG_PERLIN_NOISE_MOD_MASK ;
++int j = arc4random () & SG_PERLIN_NOISE_MOD_MASK ;
+ 
+ int temp = permTable [ i ] ;
+ permTable [ i ] = permTable [ j ] ;
+@@ -96,7 +96,7 @@ inline SGfloat dot3 ( SGfloat rx,  SGfloat ry,  SGfloa
+ 
+ inline SGfloat randFloat ()
+ { 
+-  return (SGfloat)(( rand() % ( SG_PERLIN_NOISE_WRAP_INDEX +
++  return (SGfloat)(( arc4random_uniform( SG_PERLIN_NOISE_WRAP_INDEX +
+   SG_PERLIN_NOISE_WRAP_INDEX ) ) - 
+   SG_PERLIN_NOISE_WRAP_INDEX ) /
+   SG_PERLIN_NOISE_WRAP_INDEX ;
Index: patches/patch-src_sl_slMODinst_cxx
===
RCS file: patches/patch-src_sl_slMODinst_cxx
diff -N patches/patch-src_sl_slMODinst_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_sl_slMODinst_cxx  25 Sep 2013 08:19:34 -
@@ -0,0 +1,20 @@
+--- src/sl/slMODinst.cxx.orig  Tue Mar 11 03:06:24 2008
 src/sl/slMODinst.cxx   Wed Sep 25 09:34:41 2013
+@@ -966,7 +966,7 @@ void _MOD_instSetVibratoParams(int d, int depth)
+ 
+ void _MOD_instSetVibratoWave(int type, int noRetrig)
+ {
+-  if (type == 3) type = rand() % 3;
++  if (type == 3) type = arc4random_uniform(3);
+   instp->per.mod.type = type;
+   instp->per.mod.noRetrig = noRetrig;
+ }
+@@ -996,7 +996,7 @@ void _MOD_instSetTremoloParams(int d, int depth)
+ 
+ void _MOD_instSetTremoloWave(int type, int noRetrig)
+ {
+-  if (type == 3) type = rand() % 3;
++  if (type == 3) type = arc4random_uniform(3);
+   instp->vol.mod.type = type;
+   instp->vol.mod.noRetrig = noRetrig;
+ }
Index: patches/patch-src_ssgAux_ssgaFire_cxx
===
RCS file: patches/patch-src_ssgAux_ssgaFire_cxx
diff -N patches/patch-src_ssgAux_ssgaFire_cxx
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_ssgAux_ssgaFire_cxx   25 Sep 2013 08:19:34 -
@@ -0,0 +1,15 @@
+--- src/ssgAux/ssgaFire.cxx.orig   Tue Mar 11 03:06:21 2008
 src/ssgAux/ssgaFire.cxxWed Sep 25 09:36:53 2013
+@@ -73,10 +73,10 @@ void ssgaFire::reInit ()
+ 
+ void ssgaFire::createParticle ( int idx, ssgaParticle *p )
+ {
+-  float xx = (float)(rand()%1000)/500.0f * radius - radius ;
++  float xx = (float)(arc4random_uniform(1000))/500.0f * radius - radius ;
+   float yy = (float)sqrt ( radius * radius - xx * xx ) ;
+ 
+-  yy = (float)(rand()%1000)/500.0f * yy - yy ;
++  yy = (float)(arc4random_uniform(1000))/500.0f * yy - yy ;
+ 
+   p -> time_to_live = max_ttl ;
+   p -> size = sizeTable [ 0 ] ;
Index: patches/patch-src_ssgAux_ssgaSky_h
===
RCS file: patches/patch-src_ssgAux_ssgaSky_h
diff -N patches/patch-src_ssgAux_ssgaSky_h
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_ssgAux_ssgaSky_h  25 Sep 2013 08:19:34 -
@@ -0,0 +1,11 @@
+--- src/ssgAux/ssgaSky.h.orig  Tue Mar 11 03:06:21 2008
 src/ssgAux/ssgaSky.h   Wed Sep 25 09:35:54 2013
+@@ -358,7 +358,7 @@ class ssgaSky (public)
+ // return a random number between [0.0, 1.0)
+ inline double ssgaRandom(void)
+ {
+-  return(rand() / (double)RAND_MAX);
++  return(arc4random() / (double)UINT_MAX);
+ }
+ 
+ //#if defined( macintosh )



Re: biannual hobbit breakage

2013-09-25 Thread Antoine Jacoutot
On Wed, Sep 25, 2013 at 04:05:44AM -0400, Jiri B wrote:
> On Wed, Sep 25, 2013 at 09:03:48AM +0200, Antoine Jacoutot wrote:
> > On Tue, Sep 24, 2013 at 05:42:37PM -0400, Jiri B wrote:
> > > I see you have similar libreoffice UI issues during startup and
> > > on the main page. Any idea what is causing it? It's even worse
> > 
> > No idea what you are talking about.
> 
> 1:11, 'Text Document' text on button disappears. I have never seen
> this on Linux.

Oh that. Hmm I never paid attention :-)
I cannot reproduce it right now but I'm on a different machine.
It may have more to do with graphics (gtk theme, video driver, ...?) than LO 
itself.

-- 
Antoine



Re: UPDATE: claws-mail 3.9.2

2013-09-25 Thread Landry Breuil
On Tue, Sep 24, 2013 at 06:37:31PM -0400, Ido Admon wrote:
> It was a peachy Monday, Sep 23 2013, 21:24:43, when Landry Breuil wrote:
> 
> > On Tue, Sep 24, 2013 at 04:59:34PM -0400, Ido Admon wrote:
> > > 
> > > It was a peachy Monday, Sep 23 2013, 21:08:15, when Landry Breuil
> > > wrote:
> > > 
> > > > On Mon, Sep 23, 2013 at 04:40:29PM -0400, Ido Admon wrote:
> > > >> fixes a crash with gnutls for me.
> > > >> also, they're packing all the plugins now, so
> > > >> mail/{claws-mail-attremover,claws-mail-htmlviewer,claws-mail-notification,
> > > >> claws-mail-rssyl,claws-mail-vcalendar}
> > > >> can be get rid of.
> > > >
> > > > Nice, but that will require some @pkgpath/@eicts to handle
> > > > migrations.
> > > 
> > > done. new diff attached.
> > 
> > Missing @pkgpath for the moved plugins, @conflict is not enough, you
> > also need @pkgpath mail/claws-mail-attremover
> > @pkgpath mail/claws-mail-notification
> > @pkgpath mail/claws-mail-rssyl
> > @pkgpath mail/claws-mail-vcalendar
> 
> right, ok.
>  
> > > > Also, why are you disabling notification and pdfviewer plugins ?
> > > 
> > > i think i had some trouble getting them to compile and didn't want
> > > them to get in the way of progress, but now they seem to work just
> > > fine, so must have been something local.
> > > 
> > > > As i understand it, the 'fancy' plugin supersedes the gtkhtml2
> > > > viewer plugin that disappeared from upstream ?
> > > > http://www.claws-mail.org/plugin.php?plugin=gtkhtml2 isnt listed
> > > > anymore on http://www.claws-mail.org/plugins.php
> > > 
> > > yup. with webkit (which is weighty, so it's in a subpackage).
> > 
> > Makes sense to subpackage it, but for -pdfviewer i think it can be
> > bundled in -main. Who uses a MUA without a bundled pdf reader those
> > days ? ppl still like to use an external app ? Claws alreadu has some
> 
> actually, yes, i do... but i wouldn't really cry too much over it if
> whoever commits this decides to scrap the subpackage.
> 
> > deps, and i dont see poppler as something that huge. Oh well, your
> > call. You can also take MAINTAINERship since it's not claimed atm.
> 
> too much responsibility :)
> 
> > 
> > Note: pkg/PLIST-pdfviewer has an rcs id with PLIST-viewer in it, which
> > looks strange.
> 
> careless substitution. thank you for the patience.

Thanks, commited with a few tweaks, mostly renaming -fancy to
-htmlviewer and used the same PKGNAME for the latter so that upgrades
are transparent from the old one to the new one.

Landry



Re: biannual hobbit breakage

2013-09-25 Thread Jiri B
On Wed, Sep 25, 2013 at 09:03:48AM +0200, Antoine Jacoutot wrote:
> On Tue, Sep 24, 2013 at 05:42:37PM -0400, Jiri B wrote:
> > I see you have similar libreoffice UI issues during startup and
> > on the main page. Any idea what is causing it? It's even worse
> 
> No idea what you are talking about.

1:11, 'Text Document' text on button disappears. I have never seen
this on Linux.

j.



Re: NEW: archivers/lzip

2013-09-25 Thread Stuart Henderson
On 2013/09/25 08:22, Stuart Henderson wrote:
> - Looks like CONFIGURE_STYLE should be simple, these aren't autoconf.

Oh, it has it already; I saw the "WARNING: unrecognized option:
'--enable-shared'" on almost all of the ports and assumed it was set
to gnu - maybe only use --enable-shared for lzlib?




Re: webapps in OpenBSD

2013-09-25 Thread MERIGHI Marcus
vsan...@foretell.ca (Vijay Sankar), 2013.09.25 (Wed) 00:44 (CEST):
> Quoting Marc Espie :
> 
> >On Tue, Sep 24, 2013 at 11:49:30PM +0200, Matthias Kilian wrote:
> >>On Mon, Sep 23, 2013 at 01:54:23PM +0200, Marc Espie wrote:
> >>> just wanted to clarify some more.
> >>>
> >>> I have to say that webapps are still more than welcome in the
> >>OpenBSD tree.
> >>>
> >>> They must pass a few criteria though:
> >>[...]
> >>> - they must be maintained, with someone willing to follow upstream, as
> >>> there are lots and lots of security issues with most of them.
> >>
> >>Well, we currently don't provide packages for -stable. So people
> >>running, say, wordpress, won't get a ready-to-use wordpress-3.6.1
> >>package. Telling them to rebuild it themselves would contradict our
> >>"use packages" paradigm.
> >>
> >>Ciao,
> >>Kili
> >>
> >>ps: sorry for bitching around wrt Wordpress, but that's something
> >>used by some of our customers, and I'm pretty sure it's not appropriate
> >>for a package.
> >
> >Bullshit. that's an argument FOR stable packages, not AGAINST webapps.
> 
> I don't have much to contribute to the ports side of this discussion
> since I am just an occasional tester.
> 
> As a lazy user, however, I would like to say that having an OpenBSD
> package even for "inappropriate" software like WordPress or
> vtigercrm or others is still far superior than someone following
> instructions from the WordPress or vtiger sites.
> 
> For example, with vtiger, the OpenBSD package (before it was moved
> to Attic) set directory permissions etc., properly and gave concise
> instructions on what to do to configure everything. vtigercrm
> instructions on the other hand make everything writable by www:www
> and is simply not as well organized as OpenBSD documentation. Just
> that alone makes having an  OpenBSD package superior to not having
> one.

+1

And even if you have to customize after pkg_add-ing it's easier with the
package setting things up beforehand. 

Bye + Thanks, Marcus



Re: NEW: archivers/lzip

2013-09-25 Thread Stuart Henderson
On 2013/09/25 03:48, Juan Francisco Cantero Hurtado wrote:
> On Wed, Sep 25, 2013 at 03:25:25AM +0200, Juan Francisco Cantero Hurtado 
> wrote:
> > On 09/25/13 03:22, Juan Francisco Cantero Hurtado wrote:
> > >The tarball contains 7 small ports. All are part of the lzip project.
> > >
> > >Please test and commit.
> > >
> > >PS: If you like xz then you should try lzip :) (harder, better, faster,
> > >stronger)
> > >
> > >
> > >Lzip is a lossless data compressor with a user interface similar to the
> > >one of gzip or bzip2. Lzip decompresses almost as fast as gzip and
> > >compresses more than bzip2, which makes it well suited for software
> > >distribution and data archiving.
> > >
> > >Lzip is a clean implementation of the LZMA algorithm. The lzip file
> > >format is designed for long-term data archiving. It is clean, provides
> > >very safe 4 factor integrity checking. Lzip uses the same well-defined
> > >exit status values used by bzip2, which makes it safer when used in
> > >pipes or scripts than compressors returning ambiguous warning values,
> > >like gzip.
> > >
> > 
> > I forgot to attach the tarball.
> 
> New tarball. The previous one has a broken patch.
> 
> -- 
> Juan Francisco Cantero Hurtado http://juanfra.info

Nearly there, just a couple of things:

- In lzlib, you patched away the run_ldconfig=no line; this should stay.
Also please patch away the line which creates a symlink to liblzip.so and
regenerate the PLIST (and remove PFRAG.shared and the %%shared%% line).

- Looks like CONFIGURE_STYLE should be simple, these aren't autoconf.



Re: UPDATE: net/py-ftpdlib

2013-09-25 Thread Stuart Henderson
On 2013/09/25 01:12, Juan Francisco Cantero Hurtado wrote:
> Can you look if the patch is applied correctly in pyftpdlib/servers.py?

Yes that was it, new directory so it needed patch -p0.



Re: biannual hobbit breakage

2013-09-25 Thread Antoine Jacoutot
On Tue, Sep 24, 2013 at 05:42:37PM -0400, Jiri B wrote:
> On Tue, Sep 24, 2013 at 08:25:26PM +0200, Antoine Jacoutot wrote:
> > Hi.
> > 
> > It's that time of the year again...
> > Jasper and I are currently working on updating GNOME to 3.10.
> > We will keep the build breakage to a minimum during the update window -- we 
> > expect to start sometimes within the next 2 days depending on how far the 
> > first low level libs bulk goes.
> > Then the update will happen for real and we expect a broken window of about 
> > 2 days; as usual we do not expect breakage to impact *too* many ports 
> > outside of GNOME and friends.
> > If all goes well, things will start breaking tomorrow evening CET and most 
> > of it will be fixed by the end of the week.
> > 
> > So if you want to start bulks... do it fast ;-)
> > 
> > Meanwhile, you can have a look at how our current GNOME 3.8 works:
> > https://www.bsdfrog.org/tmp/gnome.webm
> 
> I see you have similar libreoffice UI issues during startup and
> on the main page. Any idea what is causing it? It's even worse

No idea what you are talking about.

-- 
Antoine



Re: NEW: graphics/optipng

2013-09-25 Thread Stuart Henderson
Because I forgot about when I wrote the mail :) Yes that's better.

"Dmitrij D. Czarkoff"  wrote:
>Stuart Henderson said:
>> to fix these two above, I would write a custom do-install target
>using
>> ${INSTALL_PROGRAM} for the binary and ${INSTALL_DATA} for the manpage
>> which uses correct permissions, ownership, and automatically uses -s
>> unless it's a DEBUG build.
>
>Why not ${INSTALL_MAN} for manpage?