UPDATE: SMPlayer-17.12.0

2017-12-23 Thread Gonzalo L. Rodriguez
Hello,

Update for SMPlayer to 17.12.0:

http://www.smplayer.info/en/changes

Ok? Comments?

Cheers.-

-- 
Sending from my toaster.
Index: Makefile
===
RCS file: /cvs/ports/x11/smplayer/Makefile,v
retrieving revision 1.42
diff -u -p -r1.42 Makefile
--- Makefile7 Dec 2017 13:25:35 -   1.42
+++ Makefile24 Dec 2017 07:37:43 -
@@ -2,7 +2,7 @@
 
 COMMENT =  complete front-end for MPlayer
 
-DISTNAME = smplayer-17.11.2
+DISTNAME = smplayer-17.12.0
 
 CATEGORIES =   multimedia x11
 
Index: distinfo
===
RCS file: /cvs/ports/x11/smplayer/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo7 Dec 2017 13:25:35 -   1.29
+++ distinfo24 Dec 2017 07:37:43 -
@@ -1,2 +1,2 @@
-SHA256 (smplayer-17.11.2.tar.bz2) = 
fus7IYyOIIcRqu8B0nq+4OHrKJ8vEppF+zWkJWv2CJw=
-SIZE (smplayer-17.11.2.tar.bz2) = 5033433
+SHA256 (smplayer-17.12.0.tar.bz2) = 
ndedRi3Kie2kcIG2eqqsvr2QXpMx2BnLNGRXZbh5vvU=
+SIZE (smplayer-17.12.0.tar.bz2) = 5040463
Index: patches/patch-src_preferences_cpp
===
RCS file: /cvs/ports/x11/smplayer/patches/patch-src_preferences_cpp,v
retrieving revision 1.13
diff -u -p -r1.13 patch-src_preferences_cpp
--- patches/patch-src_preferences_cpp   7 Dec 2017 13:25:35 -   1.13
+++ patches/patch-src_preferences_cpp   24 Dec 2017 07:37:43 -
@@ -2,7 +2,7 @@ $OpenBSD: patch-src_preferences_cpp,v 1.
 Index: src/preferences.cpp
 --- src/preferences.cpp.orig
 +++ src/preferences.cpp
-@@ -200,8 +200,8 @@ void Preferences::reset() {
+@@ -201,8 +201,8 @@ void Preferences::reset() {
 Drives (CD/DVD)
 *** */
  
@@ -13,7 +13,7 @@ Index: src/preferences.cpp
  #ifdef BLURAY_SUPPORT
bluray_device = "";
  #endif
-@@ -323,13 +323,13 @@ void Preferences::reset() {
+@@ -324,13 +324,13 @@ void Preferences::reset() {
  mplayer_additional_audio_filters="";
  
  #ifdef LOG_MPLAYER


Re: [patch] unbreak textproc/filepp

2017-12-23 Thread Matthew Clarke
Sat, Dec 23, 2017 at 10:05:27 +0100, Landry Breuil may have written:

> On Fri, Dec 22, 2017 at 04:29:47PM -0800, Matthew Clarke wrote:
> > Hi.
> > 
> > The textproc/filepp port has no maintainer, and the current filepp package
> > installs a filepp script that won't run due to the following error:
> > 
> > Global symbol "$DESTDIR" requires explicit package name (did you forget 
> > to declare "my $DESTDIR"?) at /usr/local/bin/filepp line 43.
> > Execution of /usr/local/bin/filepp aborted due to compilation errors.

[ snip ]

> > [ ... ]  Would a ports
> > committer please review the following diff, and commit it if it's OK?
> 
> 
> Hmm technically the filepp script isn't right since its buildsystem
> replaces @moduledir@ by what ends up in moduledir, defaulting to
> $prefix/share/filepp/modules, and $prefix is assigned ${DESTDIR} by the
> openbsd build system.
> -
> The moduledir is also set in the filepp script.  If you do not run
> configure for whatever reason you should also change @moduledir@ on
> line 40 to the directory you intend to install the modules in (or
> delete the whole line if you are not using modules).
> -
> There should be some TRUEPREFIX here..
> 
> so i think the following is "more correct" in case TRUEPREFIX changes
> someday:

Agreed.  Thanks for the review and comments.

BTW, the diff in your email had spaces, not tabs, so patch(1) rejected it,
but it worked fine when I applied it by hand.

-- 
"With your own code to haunt you, who needs users?"
-- Maarten Wiltink



NEW: games/returntotheroots

2017-12-23 Thread Brian Callahan

Hi ports --

Attached is a new port, games/returntotheroots. Return to the Roots is 
an open source engine remake of The Settlers 2.


---
pkg/DESCR:
Return To The Roots is a fan project which aims to renew the original
The Settlers 2.

We aim to create new features such as a multiplayer mode via the
Internet as well as support for modern hardware.

You will need an original copy of "The Settlers 2 Gold Edition" to play
Return To The Roots.

The Settlers 2 is a 4X game similar to Civilization and Alpha Centauri.
---

This is taken from the head of upstream's development and rolled by me. 
Upstream claims that players normally use the head ("nightly builds") 
instead of the latest release, so it is probably best to go this route 
for multiplayer.


This requires a copy of The Settlers 2: Gold Edition. You can get it (on 
deep discount as of this writing) on GOG: 
https://www.gog.com/game/the_settlers_2_gold_edition


Also, slightly off-topic, I sent a port of freeserf, the first game in 
The Settlers series, to ports@ some time ago and heard nothing back. 
Would be nice to get both games in.


Works on amd64. Got nothing else that this would have a chance on.

OK?

~Brian



returntotheroots.tgz
Description: Binary data


Re: New port: witchblast (roguelite dungeon crawler)

2017-12-23 Thread Thomas Frohwein
Follow up: The music of witchblast is licensed under CC BY-NC-SA. I grepped 
through ports and found games/dangerdeep and books/progit that also are CC 
BY-NC-SA.

Based on that I set:

PERMIT_PACKAGE_CDROM = Non-commercial
PERMIT_PACKAGE_FTP = Yes

Otherwise bump - it's a neat game with good music, worth a try.

On Fri, 11/24/17, Thomas Frohwein  wrote:

 Subject: Re: New port: witchblast (roguelite dungeon crawler)
 To: "Ports Mailing List" , "Stuart Henderson" 

 Date: Friday, November 24, 2017, 10:50 AM
 
 Thanks for your feedback, Stuart.
 
  > - sfml should be LIB_DEPENDS not
 BUILD_DEPENDS
 
 Done
 
 > , then you can add some missing
 WANTLIB as shown by port-lib-depends-check
 
 port-lib-depends-check confused me at
 first with adding ".1" to those libraries. found a precedent
 in games/mars and games/extremetuxracer like this:
 WANTLIB += sfml-audio sfml-graphics
 sfml-system sfml-window
 which fixes the issue.
 
 > - no need to list ninja in
 BUILD_DEPENDS, or SEPARATE_BUILD, the cmake module takes
 care of this
 
 Done.
  
 > - the HOMEPAGE you've used is set
 by default for a port using GH_*, we usually skip setting
 this explicitly
 
 Done.
  
 > - as pointed out by portcheck,
 remove the X bits from the port files. (and the extra copy
 of portcheck; I add /usr/ports/infrastructure/bin to my
 path)
 
 Done.
  
 > PS I'd probably choose lower-case
 for the wrapper script filename.
 
 Done. Also changed the folder in
 /usr/local/share/ to lower case for consistency
 
 Updated, builds and runs.
 
 Updated checks:
 
 thfr@dt:/usr/ports/mystuff/games/witchblast:64$
 make port-lib-depends-check
 thfr@dt:/usr/ports/mystuff/games/witchblast:65$
 
 thfr@dt:/usr/ports/mystuff/games/witchblast:70$
 portcheck
 games/witchblast
 thfr@dt:/usr/ports/mystuff/games/witchblast:71$
 
 thfr@dt:/usr/ports/mystuff/games/witchblast:101$
 make plist
 ===>  Updating plist for
 witchblast-0.7.5
 Subpackage -: Stripping dirs from
 multimedia/sfml
 Subpackage -: Stripping dirs from
 audio/openal
 Subpackage -: Stripping dirs from
 graphics/jpeg
 Subpackage -: Stripping dirs from
 audio/libvorbis
 Subpackage -: Stripping dirs from
 audio/libogg
 Subpackage -: Stripping dirs from
 audio/flac
 Subpackage -: Stripping dirs from
 converters/libiconv
 Scanning destdir
 Getting old lists
 1st pass identifying files
 Attaching annotations
 Sorting out destdir files
 pkg/PLIST is new
 thfr@dt:/usr/ports/mystuff/games/witchblast:102$
 
 
 I guess this means openal, jpeg,
 libvorbis, libogg, flac, and iconv are also WANTLIB..??
 Haven't added them.
 
 Attached the updated tgz

witchblast.tgz
Description: Binary data


UPDATE: audio/puddletag 1.0.5 -> 1.2.0

2017-12-23 Thread Klemens Nanni
1.2.0 came out 27.11.2016 already, their sourceforge site redirects to
to the new page and code comes from github now.

Not sure why the license had a XXX back then but it's clearly settled
now.

Required versions have been added for clarity, Python 3 is not supported
(yet).

One patch got in, the other I replaced with a simpler post-install.

Puddletag continues to work fine for me on amd64.
Feedback? Any takers?


diff --git a/audio/puddletag/Makefile b/audio/puddletag/Makefile
index 9e542cb439b..e9a39e9fee6 100644
--- a/audio/puddletag/Makefile
+++ b/audio/puddletag/Makefile
@@ -2,28 +2,32 @@
 
 COMMENT =  spreadsheet-like audio file tagger
 
-MODPY_EGG_VERSION = 1.0.5
-REVISION = 1
-DISTNAME = puddletag-${MODPY_EGG_VERSION}
+MODPY_EGG_VERSION =1.2.0
+GH_ACCOUNT =   keithgg
+GH_PROJECT =   puddletag
+GH_TAGNAME =   v${MODPY_EGG_VERSION}
 CATEGORIES =   audio
 
-HOMEPAGE = http://puddletag.sourceforge.net
+HOMEPAGE = http://puddletag.net
 
-# XXX
+# GPLv3
 PERMIT_PACKAGE_CDROM = Yes
 
 MODULES =  lang/python
-
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_2}
 MODPY_SETUPTOOLS = Yes
 
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=puddletag/}
-
-RUN_DEPENDS =  audio/py-mutagen \
-   devel/py-configobj \
-   devel/py-parsing \
+RUN_DEPENDS =  audio/py-mutagen>=1.14 \
devel/desktop-file-utils \
-   x11/py-qt4
+   devel/py-configobj \
+   devel/py-parsing>=1.5.1 \
+   x11/py-qt4>=4.5
 
 NO_TEST =  Yes
 
+WRKSRC =   ${WRKDIST}/source
+
+post-install:
+   mv ${PREFIX}/share/man/man1/puddletag.1 ${PREFIX}/man/man1/
+
 .include 
diff --git a/audio/puddletag/distinfo b/audio/puddletag/distinfo
index ba8b18d3095..096647955c8 100644
--- a/audio/puddletag/distinfo
+++ b/audio/puddletag/distinfo
@@ -1,2 +1,2 @@
-SHA256 (puddletag-1.0.5.tar.gz) = RpjV7/6PJlRGs1YGi6187QspwfZoJNyUpWiPP//DieI=
-SIZE (puddletag-1.0.5.tar.gz) = 958207
+SHA256 (puddletag-1.2.0.tar.gz) = leSGf9BMU0nxneG188HyM207ZtoIwHb7F17491idyA0=
+SIZE (puddletag-1.2.0.tar.gz) = 9965110
diff --git a/audio/puddletag/patches/patch-puddlestuff_puddleobjects_py 
b/audio/puddletag/patches/patch-puddlestuff_puddleobjects_py
deleted file mode 100644
index c9bafd10a19..000
--- a/audio/puddletag/patches/patch-puddlestuff_puddleobjects_py
+++ /dev/null
@@ -1,18 +0,0 @@
-$OpenBSD: patch-puddlestuff_puddleobjects_py,v 1.1 2015/07/28 11:23:53 jca Exp 
$
-
-Fix with recent PyQt4>=4.11.4
-
-  https://github.com/keithgg/puddletag/issues/261
-  
https://github.com/keithgg/puddletag/commit/489acd2ee62eb5fbff95f8220dc8958c14871931
-
 puddlestuff/puddleobjects.py.orig  Mon Jul 21 19:26:46 2014
-+++ puddlestuff/puddleobjects.py   Tue Jul 28 13:09:44 2015
-@@ -1418,7 +1418,7 @@ class ArtworkLabel(QGraphicsView):
- super(ArtworkLabel, self).__init__(*args, **kwargs)
- 
- pal = self.palette()
--pal.setBrush(self.backgroundRole(), QBrush(QPalette.Window))
-+pal.setBrush(self.backgroundRole(), QBrush(pal.window()))
- self.setAutoFillBackground(True)
- self.setPalette(pal)
- 
diff --git a/audio/puddletag/patches/patch-setup_py 
b/audio/puddletag/patches/patch-setup_py
deleted file mode 100644
index 7de03d7f7ec..000
--- a/audio/puddletag/patches/patch-setup_py
+++ /dev/null
@@ -1,10 +0,0 @@
-$OpenBSD: patch-setup_py,v 1.2 2015/05/01 12:55:38 ajacoutot Exp $
 setup.py.orig  Sun May  4 19:15:31 2014
-+++ setup.py   Fri May  1 14:47:06 2015
-@@ -39,5 +39,5 @@ setup(
- scripts = ['puddletag'],
- data_files=[('share/pixmaps/', ('puddletag.png',)),
- ('share/applications/', ('puddletag.desktop',)),
--('share/man/man1/', ('puddletag.1',))]
-+('man/man1/', ('puddletag.1',))]
-  )
diff --git a/audio/puddletag/pkg/PLIST b/audio/puddletag/pkg/PLIST
index 945d1e896a9..017738c1732 100644
--- a/audio/puddletag/pkg/PLIST
+++ b/audio/puddletag/pkg/PLIST
@@ -30,6 +30,8 @@ 
lib/python${MODPY_VERSION}/site-packages/puddlestuff/audioinfo/util.py
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/audioinfo/util.pyc
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/audioinfo/vorbis.py
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/audioinfo/vorbis.pyc
+lib/python${MODPY_VERSION}/site-packages/puddlestuff/audioinfo/wma.py
+lib/python${MODPY_VERSION}/site-packages/puddlestuff/audioinfo/wma.pyc
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/confirmations.py
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/confirmations.pyc
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/constants.py
@@ -49,8 +51,14 @@ 
lib/python${MODPY_VERSION}/site-packages/puddlestuff/helperwin.pyc
 lib/python${MODPY_VERSION}/site-packages/puddlestuff/libraries/
 lib/python${MODPY_VERS

Re: print/texlive/base: use bundled poppler for now

2017-12-23 Thread Jeremie Courreges-Anglas
On Fri, Dec 22 2017, Martin Schröder  wrote:
> 2017-12-22 0:08 GMT+01:00 Matthias Kilian :
>> And here it is. NOT to be committed, because it breaks pdftex at
>> runtime. (Some use after free or realloc failure, iirc, I don't
>
> Please make sure that patches versions of pdftex and luatex clearly
> identify themselves as such so that mid-/upstream has at least a
> chance to understand bug reports about these versions.

I think it's up to the bug reporter to tell whether they used an
OS-provided package or they compiled from sources, along with platforms
details, etc

If an upstream wants packagers to add distro-specific chatter to
foo --version, then they should provide us with an easy & documented way
to do this.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [UPDATE] audio/openal

2017-12-23 Thread Jeremie Courreges-Anglas
On Sat, Dec 23 2017, David CARLIER  wrote:
> Hi,
>
> Due to lot of gaming porting efforts these days :-),
> here a little diff for openal just a fix to avoid probing non existent
> capture handling (in the sndio backend).

Could you please describe in more details the problem and why you chose
to fix it this way?  I don't know much about OpenAL, but it's not
obvious to me why you're modifying what looks like backend-agnostic code
to fix a problem in sndio support.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: NEW: games/dxx-rebirth

2017-12-23 Thread mitchell wodach
 It works

thanks
Mitch


On Sat, Dec 23, 2017 at 5:36 PM, Brian Callahan  wrote:
>
>
> On 12/23/2017 6:35 PM, mitchell wodach wrote:
>> I don't now if this error is on my end  but when i try make fetch I
>> get this output:
>>
>> make fetch
>> Fatal: one category in games mystuff should match PKGPATH=dxx-rebirth
>> (in dxx-rebirth)
>> Fatal: bogus PKGPATH=dxx-rebirth (no subdirectory) (in dxx-rebirth)
>> *** Error 1 in /usr/ports/mystuff/dxx-rebirth
>
> /usr/ports/mystuff/games/dxx-rebirth
>
>> (/usr/ports/infrastructure/mk/bsd.port.mk:3520 '.BEGIN': @exit 1)
>>
>> Mitch
>>
>> On Sat, Dec 23, 2017 at 4:41 PM, Thomas Frohwein  wrote:
>>> This works! Played partly into the first level of D2x now. Great job and 
>>> thanks for fixing this! I bet gog.com will see a spike of their sales of 
>>> Descent 1 & 2 now ;-)
>>> 
>>> On Sat, 12/23/17, Brian Callahan  wrote:
>>>
>>>  Subject: Re: NEW: games/dxx-rebirth
>>>  To: "Thomas Frohwein" , "Ports Mailing List" 
>>> 
>>>  Date: Saturday, December 23, 2017, 10:49 AM
>>>
>>>
>>>  On 12/23/17 12:37, Brian Callahan
>>>  wrote:
>>>  >
>>>  > On 12/23/2017 12:33 PM, Brian
>>>  Callahan wrote:
>>>  >>
>>>  >> On 12/23/2017 6:00 AM, Thomas
>>>  Frohwein wrote:
>>>  >>> Do you like getting
>>>  disoriented flying through narrow corridors while
>>>  >>> getting fired at from 6
>>>  degrees of freedom? Enjoy looking at confusing
>>>  >>> maps that look like yarn
>>>  after your cats played with it? Love
>>>  >>> blowing up
>>>  >>> reactors that should red
>>>  balls at you, only to get lost trying to find
>>>  >>> the exit afterwards and
>>>  getting blown up with the entire mine? If this
>>>  >>> sounds fun to you, you
>>>  have probably played Descent 1 or 2. dxx-rebirth
>>>  >>> is the official portable
>>>  version of the open-sourced engine.
>>>  >>>
>>>  >>> Note that due to a linker
>>>  error this is just for Descent 1, not 2 at
>>>  >>> this
>>>  >>> point.
>>>  >>>
>>>  >>> Incorporated helpful
>>>  feedback from bcallah@ and did a major clean
>>>  >>> up since the version he
>>>  commented on.
>>>  >>>
>>>  >>> portcheck and make
>>>  port-lib-depends-check run cleanly.
>>>  >>>
>>>  >>> Main issue (besides
>>>  eventually fixing build of the d2x part) is the
>>>  >>> license:
>>>  >>> The source of the game was
>>>  released under "Parallax License" which
>>>  >>> restricts to
>>>  "NON-COMMERCIAL, ROYALTY OR REVENUE
>>>  >>> FREE PURPOSES" and the
>>>  community work around it is GPLv3:
>>>  >>>
>>>  >>> https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt
>>>  >>>
>>>  >>> Therefore I put CDROM No,
>>>  PACKAGE_FTP Yes... Would appreciate
>>>  >>> someone with more
>>>  experience with license questions
>>>  >>> commenting on this.
>>>  >>>
>>>  >>> Runs well on my
>>>  amd64-driven Thinkpad x230 in 1366x768.
>>>  >>> Completed first level
>>>  without issues. Sound, mouse, keyboard, and
>>>  >>> flightstick controls are
>>>  working.
>>>  >>>
>>>  >>> Attempts to build with
>>>  clang failed due to something that appears to
>>>  >>> be a compiler bug related
>>>  to unused lambda capture like this here:
>>>  >>>
>>>  >>> https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
>>>  >>>
>>>  unused-lambda-capture-warning
>>>  >>>
>>>  >>> The error is:
>>>  >>>
>>>  similar/main/automap.cpp:1155:41: error: lambda capture 'am'
>>>  is not
>>>  >>> used
>>>  [-Werror,-Wunused-lambda-capture]
>>>  >>>
>>>  std::sort(range.begin(), range.end(), [am](const Edge_info
>>>  >>> *const a,
>>>  >>> const Edge_info *const b)
>>>  {
>>>  >>>
>>>  >>> I'd be happy if someone
>>>  with more experience knows a better solution.
>>>  >>
>>>  >> Yikes. SConstruct is a mess.
>>>  >
>>>  > Not your fault, scons is just a
>>>  mess.
>>>  >
>>>  >> Anyhow, I fixed all this up
>>>  and got Descent 2 working as well. I'll
>>>  >> send an updated tarball in a
>>>  bit.
>>>  >>
>>>  >> ~Brian
>>>  >>
>>>  >
>>>
>>>  OK. Here's the fixed port. Now you get
>>>  both game engines!
>>>
>>>  OK?
>>>
>>>  ~Brian
>>>
>>>
>>>
>



Re: NEW: games/dxx-rebirth

2017-12-23 Thread Brian Callahan


On 12/23/2017 6:35 PM, mitchell wodach wrote:
> I don't now if this error is on my end  but when i try make fetch I
> get this output:
>
> make fetch
> Fatal: one category in games mystuff should match PKGPATH=dxx-rebirth
> (in dxx-rebirth)
> Fatal: bogus PKGPATH=dxx-rebirth (no subdirectory) (in dxx-rebirth)
> *** Error 1 in /usr/ports/mystuff/dxx-rebirth

/usr/ports/mystuff/games/dxx-rebirth

> (/usr/ports/infrastructure/mk/bsd.port.mk:3520 '.BEGIN': @exit 1)
>
> Mitch
>
> On Sat, Dec 23, 2017 at 4:41 PM, Thomas Frohwein  wrote:
>> This works! Played partly into the first level of D2x now. Great job and 
>> thanks for fixing this! I bet gog.com will see a spike of their sales of 
>> Descent 1 & 2 now ;-)
>> 
>> On Sat, 12/23/17, Brian Callahan  wrote:
>>
>>  Subject: Re: NEW: games/dxx-rebirth
>>  To: "Thomas Frohwein" , "Ports Mailing List" 
>> 
>>  Date: Saturday, December 23, 2017, 10:49 AM
>>
>>
>>  On 12/23/17 12:37, Brian Callahan
>>  wrote:
>>  >
>>  > On 12/23/2017 12:33 PM, Brian
>>  Callahan wrote:
>>  >>
>>  >> On 12/23/2017 6:00 AM, Thomas
>>  Frohwein wrote:
>>  >>> Do you like getting
>>  disoriented flying through narrow corridors while
>>  >>> getting fired at from 6
>>  degrees of freedom? Enjoy looking at confusing
>>  >>> maps that look like yarn
>>  after your cats played with it? Love
>>  >>> blowing up
>>  >>> reactors that should red
>>  balls at you, only to get lost trying to find
>>  >>> the exit afterwards and
>>  getting blown up with the entire mine? If this
>>  >>> sounds fun to you, you
>>  have probably played Descent 1 or 2. dxx-rebirth
>>  >>> is the official portable
>>  version of the open-sourced engine.
>>  >>>
>>  >>> Note that due to a linker
>>  error this is just for Descent 1, not 2 at
>>  >>> this
>>  >>> point.
>>  >>>
>>  >>> Incorporated helpful
>>  feedback from bcallah@ and did a major clean
>>  >>> up since the version he
>>  commented on.
>>  >>>
>>  >>> portcheck and make
>>  port-lib-depends-check run cleanly.
>>  >>>
>>  >>> Main issue (besides
>>  eventually fixing build of the d2x part) is the
>>  >>> license:
>>  >>> The source of the game was
>>  released under "Parallax License" which
>>  >>> restricts to
>>  "NON-COMMERCIAL, ROYALTY OR REVENUE
>>  >>> FREE PURPOSES" and the
>>  community work around it is GPLv3:
>>  >>>
>>  >>> https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt
>>  >>>
>>  >>> Therefore I put CDROM No,
>>  PACKAGE_FTP Yes... Would appreciate
>>  >>> someone with more
>>  experience with license questions
>>  >>> commenting on this.
>>  >>>
>>  >>> Runs well on my
>>  amd64-driven Thinkpad x230 in 1366x768.
>>  >>> Completed first level
>>  without issues. Sound, mouse, keyboard, and
>>  >>> flightstick controls are
>>  working.
>>  >>>
>>  >>> Attempts to build with
>>  clang failed due to something that appears to
>>  >>> be a compiler bug related
>>  to unused lambda capture like this here:
>>  >>>
>>  >>> https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
>>  >>>
>>  unused-lambda-capture-warning
>>  >>>
>>  >>> The error is:
>>  >>>
>>  similar/main/automap.cpp:1155:41: error: lambda capture 'am'
>>  is not
>>  >>> used
>>  [-Werror,-Wunused-lambda-capture]
>>  >>>
>>  std::sort(range.begin(), range.end(), [am](const Edge_info
>>  >>> *const a,
>>  >>> const Edge_info *const b)
>>  {
>>  >>>
>>  >>> I'd be happy if someone
>>  with more experience knows a better solution.
>>  >>
>>  >> Yikes. SConstruct is a mess.
>>  >
>>  > Not your fault, scons is just a
>>  mess.
>>  >
>>  >> Anyhow, I fixed all this up
>>  and got Descent 2 working as well. I'll
>>  >> send an updated tarball in a
>>  bit.
>>  >>
>>  >> ~Brian
>>  >>
>>  >
>>
>>  OK. Here's the fixed port. Now you get
>>  both game engines!
>>
>>  OK?
>>
>>  ~Brian
>>
>>
>>



Re: NEW: games/dxx-rebirth

2017-12-23 Thread mitchell wodach
I don't now if this error is on my end  but when i try make fetch I
get this output:

make fetch
Fatal: one category in games mystuff should match PKGPATH=dxx-rebirth
(in dxx-rebirth)
Fatal: bogus PKGPATH=dxx-rebirth (no subdirectory) (in dxx-rebirth)
*** Error 1 in /usr/ports/mystuff/dxx-rebirth
(/usr/ports/infrastructure/mk/bsd.port.mk:3520 '.BEGIN': @exit 1)

Mitch

On Sat, Dec 23, 2017 at 4:41 PM, Thomas Frohwein  wrote:
> This works! Played partly into the first level of D2x now. Great job and 
> thanks for fixing this! I bet gog.com will see a spike of their sales of 
> Descent 1 & 2 now ;-)
> 
> On Sat, 12/23/17, Brian Callahan  wrote:
>
>  Subject: Re: NEW: games/dxx-rebirth
>  To: "Thomas Frohwein" , "Ports Mailing List" 
> 
>  Date: Saturday, December 23, 2017, 10:49 AM
>
>
>  On 12/23/17 12:37, Brian Callahan
>  wrote:
>  >
>  > On 12/23/2017 12:33 PM, Brian
>  Callahan wrote:
>  >>
>  >> On 12/23/2017 6:00 AM, Thomas
>  Frohwein wrote:
>  >>> Do you like getting
>  disoriented flying through narrow corridors while
>  >>> getting fired at from 6
>  degrees of freedom? Enjoy looking at confusing
>  >>> maps that look like yarn
>  after your cats played with it? Love
>  >>> blowing up
>  >>> reactors that should red
>  balls at you, only to get lost trying to find
>  >>> the exit afterwards and
>  getting blown up with the entire mine? If this
>  >>> sounds fun to you, you
>  have probably played Descent 1 or 2. dxx-rebirth
>  >>> is the official portable
>  version of the open-sourced engine.
>  >>>
>  >>> Note that due to a linker
>  error this is just for Descent 1, not 2 at
>  >>> this
>  >>> point.
>  >>>
>  >>> Incorporated helpful
>  feedback from bcallah@ and did a major clean
>  >>> up since the version he
>  commented on.
>  >>>
>  >>> portcheck and make
>  port-lib-depends-check run cleanly.
>  >>>
>  >>> Main issue (besides
>  eventually fixing build of the d2x part) is the
>  >>> license:
>  >>> The source of the game was
>  released under "Parallax License" which
>  >>> restricts to
>  "NON-COMMERCIAL, ROYALTY OR REVENUE
>  >>> FREE PURPOSES" and the
>  community work around it is GPLv3:
>  >>>
>  >>> https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt
>  >>>
>  >>> Therefore I put CDROM No,
>  PACKAGE_FTP Yes... Would appreciate
>  >>> someone with more
>  experience with license questions
>  >>> commenting on this.
>  >>>
>  >>> Runs well on my
>  amd64-driven Thinkpad x230 in 1366x768.
>  >>> Completed first level
>  without issues. Sound, mouse, keyboard, and
>  >>> flightstick controls are
>  working.
>  >>>
>  >>> Attempts to build with
>  clang failed due to something that appears to
>  >>> be a compiler bug related
>  to unused lambda capture like this here:
>  >>>
>  >>> https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
>  >>>
>  unused-lambda-capture-warning
>  >>>
>  >>> The error is:
>  >>>
>  similar/main/automap.cpp:1155:41: error: lambda capture 'am'
>  is not
>  >>> used
>  [-Werror,-Wunused-lambda-capture]
>  >>>
>  std::sort(range.begin(), range.end(), [am](const Edge_info
>  >>> *const a,
>  >>> const Edge_info *const b)
>  {
>  >>>
>  >>> I'd be happy if someone
>  with more experience knows a better solution.
>  >>
>  >> Yikes. SConstruct is a mess.
>  >
>  > Not your fault, scons is just a
>  mess.
>  >
>  >> Anyhow, I fixed all this up
>  and got Descent 2 working as well. I'll
>  >> send an updated tarball in a
>  bit.
>  >>
>  >> ~Brian
>  >>
>  >
>
>  OK. Here's the fixed port. Now you get
>  both game engines!
>
>  OK?
>
>  ~Brian
>
>
>



[UPDATE] games/cataclysm-dda

2017-12-23 Thread trondd
Looks like cataclysm has been passing in the bulk builds so I feel comfortble
updating.  Been playing this build for a bit to make sure there are no major
bugs.

Tim.

Index: Makefile
===
RCS file: /cvs/ports/games/cataclysm-dda/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile23 Nov 2017 05:04:43 -  1.2
+++ Makefile23 Dec 2017 22:20:41 -
@@ -1,13 +1,12 @@
 # $OpenBSD: Makefile,v 1.2 2017/11/23 05:04:43 kirby Exp $
 
 COMMENT=   rogue-like zombie survival game
-DISTNAME=  cataclysm-dda-2017.10.13
+DISTNAME=  cataclysm-dda-2017.12.14
 CATEGORIES=games
-REVISION=  0
 
 GH_ACCOUNT=CleverRaven
 GH_PROJECT=Cataclysm-DDA
-GH_COMMIT= f3fabc4047fadb4bcb4707d9d6b3bd7ff77e557c
+GH_COMMIT= a2cff93463812d7d318c23db864cad7dfef992bd
 
 HOMEPAGE=  http://en.cataclysmdda.com
 MAINTAINER=Tim Meunier 
@@ -38,7 +37,7 @@ MAKE_FLAGS=   RELEASE=1 USE_XDG_DIR=1 LOC
LUA=1 LUA_BINARY=${MODLUA_BIN:T}
 
 .if ${FLAVOR:Mno_x11}
-WANTLIB+=  ncurses
+WANTLIB+=  curses
 .else
 WANTLIB+=  SDL2 SDL2_image SDL2_mixer SDL2_ttf
 
Index: distinfo
===
RCS file: /cvs/ports/games/cataclysm-dda/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo29 Oct 2017 17:27:18 -  1.1.1.1
+++ distinfo23 Dec 2017 22:20:41 -
@@ -1,2 +1,2 @@
-SHA256 (cataclysm-dda-2017.10.13-f3fabc40.tar.gz) = 
gb6NEw+RUFg+qnRFLj0Iebol3kUnov7Lyy2MXJoIv2U=
-SIZE (cataclysm-dda-2017.10.13-f3fabc40.tar.gz) = 56255948
+SHA256 (cataclysm-dda-2017.12.14-a2cff934.tar.gz) = 
ZWERVchcr/nYXdtKV2j9T1lExnlP1mte4lTut00IzqI=
+SIZE (cataclysm-dda-2017.12.14-a2cff934.tar.gz) = 55792459
Index: patches/patch-Makefile
===
RCS file: /cvs/ports/games/cataclysm-dda/patches/patch-Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile
--- patches/patch-Makefile  23 Nov 2017 05:04:43 -  1.2
+++ patches/patch-Makefile  23 Dec 2017 22:20:41 -
@@ -49,7 +49,7 @@ Index: Makefile
  PKG_CONFIG = $(CROSS)pkg-config
  SDL2_CONFIG = $(CROSS)sdl2-config
  
-@@ -696,7 +689,6 @@ $(BUILD_PREFIX)$(TARGET_NAME).a: $(ODIR) $(OBJS)
+@@ -706,7 +699,6 @@ $(BUILD_PREFIX)$(TARGET_NAME).a: $(ODIR) $(OBJS)
  .PHONY: version json-verify
  version:
@( VERSION_STRING=$(VERSION) ; \
@@ -57,7 +57,7 @@ Index: Makefile
  [ -e "$(SRC_DIR)/version.h" ] && OLDVERSION=$$(grep VERSION 
$(SRC_DIR)/version.h|cut -d '"' -f2) ; \
  if [ "x$$VERSION_STRING" != "x$$OLDVERSION" ]; then echo "#define 
VERSION \"$$VERSION_STRING\"" | tee $(SRC_DIR)/version.h ; fi \
   )
-@@ -750,35 +742,35 @@ distclean:
+@@ -760,35 +752,35 @@ distclean:
  bindist: $(BINDIST)
  
  ifeq ($(TARGETSYSTEM), LINUX)
@@ -112,24 +112,15 @@ Index: Makefile
mkdir -p $(LOCALE_DIR)
  ifdef LANGUAGES
LOCALE_DIR=$(LOCALE_DIR) lang/compile_mo.sh $(LANGUAGES)
-@@ -947,11 +939,6 @@ astyle-all: $(SOURCES) $(HEADERS) $(TESTSRC) $(TESTHDR
+@@ -956,11 +948,6 @@ astyle: $(ASTYLED_WHITELIST)
+ astyle-all: $(SOURCES) $(HEADERS) $(TESTSRC) $(TESTHDR) $(TOOLSRC)
$(ASTYLE_BINARY) --options=.astylerc -n $(SOURCES) $(HEADERS)
$(ASTYLE_BINARY) --options=.astylerc -n $(TESTSRC) $(TESTHDR)
- 
+-
 -# Test whether the system has a version of astyle that supports --dry-run
 -ifeq ($(shell if $(ASTYLE_BINARY) -Q -X --dry-run src/game.h > /dev/null; 
then echo foo; fi),foo)
 -ASTYLE_CHECK=$(shell LC_ALL=C $(ASTYLE_BINARY) --options=.astylerc --dry-run 
-X -Q $(ASTYLED_WHITELIST))
 -endif
--
+ 
  astyle-check:
  ifdef ASTYLE_CHECK
-   @if [ "$(findstring Formatted,$(ASTYLE_CHECK))" = "" ]; then echo "no 
astyle regressions";\
-@@ -961,7 +948,7 @@ else
- endif
- 
- style-json: json_whitelist json_formatter
--  xargs -a json_whitelist -L 1 tools/format/json_formatter.cgi
-+  cat json_whitelist | xargs -L 1 tools/format/json_formatter.cgi
- 
- style-all-json: json_formatter
-   find data -name "*.json" -print0 | xargs -0 -L 1 
tools/format/json_formatter.cgi
Index: patches/patch-src_translations_cpp
===
RCS file: /cvs/ports/games/cataclysm-dda/patches/patch-src_translations_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_translations_cpp
--- patches/patch-src_translations_cpp  23 Nov 2017 05:04:43 -  1.1
+++ patches/patch-src_translations_cpp  23 Dec 2017 22:20:41 -
@@ -3,7 +3,7 @@ $OpenBSD: patch-src_translations_cpp,v 1
 Index: src/translations.cpp
 --- src/translations.cpp.orig
 +++ src/translations.cpp
-@@ -80,7 +80,7 @@ void set_language()
+@@ -176,7 +176,7 @@ void set_language()
  
  // Step 2. Bind to gettext domain.

Re: NEW: games/dxx-rebirth

2017-12-23 Thread Thomas Frohwein
This works! Played partly into the first level of D2x now. Great job and thanks 
for fixing this! I bet gog.com will see a spike of their sales of Descent 1 & 2 
now ;-)

On Sat, 12/23/17, Brian Callahan  wrote:

 Subject: Re: NEW: games/dxx-rebirth
 To: "Thomas Frohwein" , "Ports Mailing List" 

 Date: Saturday, December 23, 2017, 10:49 AM
 
 
 On 12/23/17 12:37, Brian Callahan
 wrote:
 >
 > On 12/23/2017 12:33 PM, Brian
 Callahan wrote:
 >>
 >> On 12/23/2017 6:00 AM, Thomas
 Frohwein wrote:
 >>> Do you like getting
 disoriented flying through narrow corridors while
 >>> getting fired at from 6
 degrees of freedom? Enjoy looking at confusing
 >>> maps that look like yarn
 after your cats played with it? Love 
 >>> blowing up
 >>> reactors that should red
 balls at you, only to get lost trying to find
 >>> the exit afterwards and
 getting blown up with the entire mine? If this
 >>> sounds fun to you, you
 have probably played Descent 1 or 2. dxx-rebirth
 >>> is the official portable
 version of the open-sourced engine.
 >>>
 >>> Note that due to a linker
 error this is just for Descent 1, not 2 at 
 >>> this
 >>> point.
 >>>
 >>> Incorporated helpful
 feedback from bcallah@ and did a major clean
 >>> up since the version he
 commented on.
 >>>
 >>> portcheck and make
 port-lib-depends-check run cleanly.
 >>>
 >>> Main issue (besides
 eventually fixing build of the d2x part) is the 
 >>> license:
 >>> The source of the game was
 released under "Parallax License" which
 >>> restricts to
 "NON-COMMERCIAL, ROYALTY OR REVENUE
 >>> FREE PURPOSES" and the
 community work around it is GPLv3:
 >>>
 >>> https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt
 >>>
 >>> Therefore I put CDROM No,
 PACKAGE_FTP Yes... Would appreciate
 >>> someone with more
 experience with license questions
 >>> commenting on this.
 >>>
 >>> Runs well on my
 amd64-driven Thinkpad x230 in 1366x768.
 >>> Completed first level
 without issues. Sound, mouse, keyboard, and
 >>> flightstick controls are
 working.
 >>>
 >>> Attempts to build with
 clang failed due to something that appears to
 >>> be a compiler bug related
 to unused lambda capture like this here:
 >>>
 >>> https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
 >>>
 unused-lambda-capture-warning
 >>>
 >>> The error is:
 >>>
 similar/main/automap.cpp:1155:41: error: lambda capture 'am'
 is not
 >>> used
 [-Werror,-Wunused-lambda-capture]
 >>>     
 std::sort(range.begin(), range.end(), [am](const Edge_info 
 >>> *const a,
 >>> const Edge_info *const b)
 {
 >>>
 >>> I'd be happy if someone
 with more experience knows a better solution.
 >>
 >> Yikes. SConstruct is a mess.
 >
 > Not your fault, scons is just a
 mess.
 >
 >> Anyhow, I fixed all this up
 and got Descent 2 working as well. I'll 
 >> send an updated tarball in a
 bit.
 >>
 >> ~Brian
 >>
 >
 
 OK. Here's the fixed port. Now you get
 both game engines!
 
 OK?
 
 ~Brian
 
 



Re: [new] minio server/client

2017-12-23 Thread Landry Breuil
On Sat, Dec 23, 2017 at 02:37:04PM -0500, Daniel Jakots wrote:
> On Sat, 23 Dec 2017 13:20:05 +0100, Landry Breuil 
> wrote:
> 
> > On Mon, Dec 18, 2017 at 08:23:34PM +0100, Landry Breuil wrote:
> > > On Thu, Dec 14, 2017 at 09:17:11PM +0100, Klemens Nanni wrote:  
> > > > On Wed, Dec 13, 2017 at 04:39:57PM +0100, Landry Breuil wrote:  
> > > > > Starting from this i dunno if it warrants a readme or a
> > > > > MESSAGE, you just need to go fetch the access/secret keys in
> > > > > the config file after first startup, and maybe bump maxfiles
> > > > > limits for minio (as advised on
> > > > > https://github.com/minio/minio-service - the sysv init script
> > > > > bumps to 8k)  
> > > > Users should know how to use minio, I'd say it's fine without
> > > > further explanation.
> > > > 
> > > > $ portcheck
> > > > Makefile.inc does not have $OpenBSD$ RCS tag at the top
> > > > hardcoded paths detected in server/pkg/minio.rc, consider
> > > > \ using SUBST_VARS and TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE
> > > > net/minio
> > > > 
> > > > s,/var,${VARBASE},  
> > > 
> > > With those fixed.  
> > 
> > Now with mc updated to 20171212
> > (cf
> > https://github.com/minio/mc/releases/tag/RELEASE.2017-12-12T01-08-02Z)
> > and the single patch in an upstream PR at
> > https://github.com/minio/mc/pull/2342
> 

Ya ya ya ya.


minio_5.tgz
Description: application/tar-gz


Re: [new] minio server/client

2017-12-23 Thread Daniel Jakots
On Sat, 23 Dec 2017 13:20:05 +0100, Landry Breuil 
wrote:

> On Mon, Dec 18, 2017 at 08:23:34PM +0100, Landry Breuil wrote:
> > On Thu, Dec 14, 2017 at 09:17:11PM +0100, Klemens Nanni wrote:  
> > > On Wed, Dec 13, 2017 at 04:39:57PM +0100, Landry Breuil wrote:  
> > > > Starting from this i dunno if it warrants a readme or a
> > > > MESSAGE, you just need to go fetch the access/secret keys in
> > > > the config file after first startup, and maybe bump maxfiles
> > > > limits for minio (as advised on
> > > > https://github.com/minio/minio-service - the sysv init script
> > > > bumps to 8k)  
> > > Users should know how to use minio, I'd say it's fine without
> > > further explanation.
> > > 
> > >   $ portcheck
> > >   Makefile.inc does not have $OpenBSD$ RCS tag at the top
> > >   hardcoded paths detected in server/pkg/minio.rc, consider
> > > \ using SUBST_VARS and TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE
> > >   net/minio
> > > 
> > > s,/var,${VARBASE},  
> > 
> > With those fixed.  
> 
> Now with mc updated to 20171212
> (cf
> https://github.com/minio/mc/releases/tag/RELEASE.2017-12-12T01-08-02Z)
> and the single patch in an upstream PR at
> https://github.com/minio/mc/pull/2342

Can you register the uid 796 in user.list asap to be sure there won't
be another race please?

As stated in a previous email for yours:

> Myeah. Here's a version with an rc script, running by default as
> _minio and exporting /var/minio/export, storing the config in
> /var/minio/.minio/config.json.
> 
> Starting from this i dunno if it warrants a readme or a MESSAGE, you
> just need to go fetch the access/secret keys in the config file after
> first startup, and maybe bump maxfiles limits for minio (as advised on
> https://github.com/minio/minio-service - the sysv init script bumps to
> 8k)

I think a readme would be really worth it.

Here's the diff from my review (with Klemens's remark).

diff -pruN /tmp/hometmp/minio/Makefile minio/Makefile
--- /tmp/hometmp/minio/Makefile Sat Dec  9 17:04:03 2017
+++ minio/Makefile  Sat Dec 23 14:17:16 2017
@@ -1,6 +1,7 @@
 # $OpenBSD$
 
-SUBDIR = client
+SUBDIR =
+SUBDIR += client
 SUBDIR += server
 
 .include 
diff -pruN /tmp/hometmp/minio/Makefile.inc minio/Makefile.inc
--- /tmp/hometmp/minio/Makefile.inc Thu Dec 14 16:06:31 2017
+++ minio/Makefile.inc  Sat Dec 23 14:26:39 2017
@@ -1,7 +1,6 @@
 # $OpenBSD$
 
 GH_ACCOUNT ?=  minio
-GH_PROJECT ?=  minio
 
 CATEGORIES =   net sysutils
 
@@ -9,5 +8,7 @@ HOMEPAGE =  https://minio.io
 
 # APACHEv2
 PERMIT_PACKAGE_CDROM = Yes
+
+WANTLIB += c pthread
 
 MODULES =  lang/go
diff -pruN /tmp/hometmp/minio/client/pkg/DESCR minio/client/pkg/DESCR
--- /tmp/hometmp/minio/client/pkg/DESCR Sat Dec  9 16:54:49 2017
+++ minio/client/pkg/DESCR  Sat Dec 23 14:18:42 2017
@@ -1,3 +1,3 @@
-Minio Client (mc) provides a modern alternative to UNIX commands like
+Minio Client (minioc) provides a modern alternative to UNIX commands like
 ls, cat, cp, mirror, diff, find etc. It supports filesystems and Amazon
 S3 compatible cloud storage service (AWS Signature v2 and v4).
diff -pruN /tmp/hometmp/minio/server/pkg/PLIST minio/server/pkg/PLIST
--- /tmp/hometmp/minio/server/pkg/PLIST Wed Dec 13 10:27:33 2017
+++ minio/server/pkg/PLIST  Sat Dec 23 14:20:17 2017
@@ -1,6 +1,6 @@
 @comment $OpenBSD$
-@newgroup _minio:795
-@newuser _minio:795:_minio:daemon:Minio user:${VARBASE}/minio:/sbin/nologin
+@newgroup _minio:796
+@newuser _minio:796:_minio:daemon:Minio user:${VARBASE}/minio:/sbin/nologin
 @bin bin/minio
 @rcscript ${RCDIR}/minio
 @owner _minio


Once you show me the readme, I'll give you the long awaited ok ;)



Re: [NEW] net/i2pd

2017-12-23 Thread Klemens Nanni
On Thu, Dec 14, 2017 at 12:29:55PM +0100, Rubén Llorente wrote:
> Here is a port I have been using locally. It is a non Java
> implementation of the i2p protocol. Maybe it will be useful for other
> OpenBSDers, so here you go.
> 
> Some comments and clarifications:
> 
> * Upstream's makefiles lack an "install" target. This is intended
> because upstream wants packagers to copy over their files manually.
> * i2pd gets installed as a poorman's system service with all its
> configuration on /var/i2pd. This folder gets pre-populated with config
> files provided by upstream. Trying to run the software without
> configuration files may cause it to run in a potentially insecure
> manner.
> * Upstream's config scripts are a bit messy and passing configuration
> parameters for the building process when using Clang is not possible.
> Since the defaults are sane enough, I think it is ok to let the port as
> it is.
> 
> Testing and destructive criticism ("get your hands off the keyboard
> before you get hurt, kid") are welcome.
A few things port wise from looking at your Makefile:

DISTNAME needs more than the version string, but you should use GH_*
here anyway.

bsd.port.mk(5) has all you need. If in doubt, look at other ports. Once
fixed, this will also remove the need for your WRKDIST workaround.

devel/boost belongs into LIB_DEPENDS only, again: see the manual.

Why post-install? One (big) do-install suffices. You can also drop the
comment, it's of no use imho.

Since NO_TEST is unset, what does `make test' say?

I suggest taking a look at the porting guide in our FAQ if you haven't
dont so already.


Thanks for your port,
I'm looking forward to it :)



Re: NEW: games/dxx-rebirth

2017-12-23 Thread Brian Callahan


On 12/23/17 12:37, Brian Callahan wrote:


On 12/23/2017 12:33 PM, Brian Callahan wrote:


On 12/23/2017 6:00 AM, Thomas Frohwein wrote:

Do you like getting disoriented flying through narrow corridors while
getting fired at from 6 degrees of freedom? Enjoy looking at confusing
maps that look like yarn after your cats played with it? Love 
blowing up

reactors that should red balls at you, only to get lost trying to find
the exit afterwards and getting blown up with the entire mine? If this
sounds fun to you, you have probably played Descent 1 or 2. dxx-rebirth
is the official portable version of the open-sourced engine.

Note that due to a linker error this is just for Descent 1, not 2 at 
this

point.

Incorporated helpful feedback from bcallah@ and did a major clean
up since the version he commented on.

portcheck and make port-lib-depends-check run cleanly.

Main issue (besides eventually fixing build of the d2x part) is the 
license:

The source of the game was released under "Parallax License" which
restricts to "NON-COMMERCIAL, ROYALTY OR REVENUE
FREE PURPOSES" and the community work around it is GPLv3:

https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt

Therefore I put CDROM No, PACKAGE_FTP Yes... Would appreciate
someone with more experience with license questions
commenting on this.

Runs well on my amd64-driven Thinkpad x230 in 1366x768.
Completed first level without issues. Sound, mouse, keyboard, and
flightstick controls are working.

Attempts to build with clang failed due to something that appears to
be a compiler bug related to unused lambda capture like this here:

https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
unused-lambda-capture-warning

The error is:
similar/main/automap.cpp:1155:41: error: lambda capture 'am' is not
used [-Werror,-Wunused-lambda-capture]
     std::sort(range.begin(), range.end(), [am](const Edge_info 
*const a,

const Edge_info *const b) {

I'd be happy if someone with more experience knows a better solution.


Yikes. SConstruct is a mess.


Not your fault, scons is just a mess.

Anyhow, I fixed all this up and got Descent 2 working as well. I'll 
send an updated tarball in a bit.


~Brian





OK. Here's the fixed port. Now you get both game engines!

OK?

~Brian



dxx-rebirth.tgz
Description: Binary data


Re: Calibre: Add books File dialog never fully displays

2017-12-23 Thread Caspar Schutijser
On Sat, Dec 23, 2017 at 04:15:47PM +0100, Peter N. M. Hansteen wrote:
> I have
> 
> $ echo $XDG_CURRENT_DESKTOP
> XFCE
> 
> >   $ XDG_CURRENT_DESKTOP= calibre
> 
> The File->Open dialog box still didn't display properly, unfortunately.

[snip]

> Starting with XDG_CURRENT_DESKTOP=GNOME calibre, did not produce a
> usable dialog either, but XDG_CURRENT_DESKTOP=KDE calibre did produce a
> working File->Open dialog, likely because I switched from KDE to XFCE a
> while back without uninstalling anything.

I was mistaken in the sense that starting calibre with
XDG_CURRENT_DESKTOP= does not reset the environment variable so calibre
was still using XDG_CURRENT_DESKTOP=XFCE. Sorry about that. Fortunately,
you tried another value as well and found that the problem goes away
if you use some other value, such as "KDE" (another random string will
be fine too, as long as it doesn't make Qt 5 use GTK3).

> Does this mean that we don't quite have the infrastructure in place for
> this package XFCE?

Personally, I don't think that is the problem. Rather, I think that
there's a bug somewhere, either in Qt 5 or GTK3 (I'm betting on Qt 5).
As you know from my first mail, I ran into this problem myself as well.
I'm very interested in fixing the problem but not sure when I'll be
able to make time to look into it more deeply. When I get to it, the
first thing I want to look at is
src/plugins/platformthemes/gtk3/qgtk3dialoghelpers.cpp of the qtbase
source code.

> At least now I get to add my recent acquisitions, which is good.

That's good to hear.

Best regards,
Caspar Schutijser



Re: NEW: emulators/higan

2017-12-23 Thread Stefan Sperling
On Sat, Dec 23, 2017 at 10:53:34AM -0700, Anthony J. Bentley wrote:
> By the way, this is the only emulator that authentically supports the
> Super Game Boy! Nothing we have in tree does.

In that case, OK!



Re: NEW: emulators/higan

2017-12-23 Thread Anthony J. Bentley
On Fri, Dec 22, 2017 at 6:46 PM, Anthony J. Bentley  wrote:
> Game Boy, Game Boy Color, and Game Boy Advance all work fine. Famicom
> and Super Famicom emulate, but I can't seem to provide any input--am
> I crazy or can someone else reproduce this?

Okay, it turns out that once you've configured the buttons and started
the game, you have to go to the Super Famicom MENU (not the settings
window!) and choose a controller.

By the way, this is the only emulator that authentically supports the
Super Game Boy! Nothing we have in tree does.

-- 
Anthony J. Bentley



Re: NEW: games/dxx-rebirth

2017-12-23 Thread Brian Callahan


On 12/23/2017 12:33 PM, Brian Callahan wrote:


On 12/23/2017 6:00 AM, Thomas Frohwein wrote:

Do you like getting disoriented flying through narrow corridors while
getting fired at from 6 degrees of freedom? Enjoy looking at confusing
maps that look like yarn after your cats played with it? Love blowing up
reactors that should red balls at you, only to get lost trying to find
the exit afterwards and getting blown up with the entire mine? If this
sounds fun to you, you have probably played Descent 1 or 2. dxx-rebirth
is the official portable version of the open-sourced engine.

Note that due to a linker error this is just for Descent 1, not 2 at 
this

point.

Incorporated helpful feedback from bcallah@ and did a major clean
up since the version he commented on.

portcheck and make port-lib-depends-check run cleanly.

Main issue (besides eventually fixing build of the d2x part) is the 
license:

The source of the game was released under "Parallax License" which
restricts to "NON-COMMERCIAL, ROYALTY OR REVENUE
FREE PURPOSES" and the community work around it is GPLv3:

https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt

Therefore I put CDROM No, PACKAGE_FTP Yes... Would appreciate
someone with more experience with license questions
commenting on this.

Runs well on my amd64-driven Thinkpad x230 in 1366x768.
Completed first level without issues. Sound, mouse, keyboard, and
flightstick controls are working.

Attempts to build with clang failed due to something that appears to
be a compiler bug related to unused lambda capture like this here:

https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
unused-lambda-capture-warning

The error is:
similar/main/automap.cpp:1155:41: error: lambda capture 'am' is not
used [-Werror,-Wunused-lambda-capture]
     std::sort(range.begin(), range.end(), [am](const Edge_info 
*const a,

const Edge_info *const b) {

I'd be happy if someone with more experience knows a better solution.


Yikes. SConstruct is a mess.


Not your fault, scons is just a mess.

Anyhow, I fixed all this up and got Descent 2 working as well. I'll 
send an updated tarball in a bit.


~Brian





Re: NEW: games/dxx-rebirth

2017-12-23 Thread Brian Callahan


On 12/23/2017 6:00 AM, Thomas Frohwein wrote:

Do you like getting disoriented flying through narrow corridors while
getting fired at from 6 degrees of freedom? Enjoy looking at confusing
maps that look like yarn after your cats played with it? Love blowing up
reactors that should red balls at you, only to get lost trying to find
the exit afterwards and getting blown up with the entire mine? If this
sounds fun to you, you have probably played Descent 1 or 2. dxx-rebirth
is the official portable version of the open-sourced engine.

Note that due to a linker error this is just for Descent 1, not 2 at this
point.

Incorporated helpful feedback from bcallah@ and did a major clean
up since the version he commented on.

portcheck and make port-lib-depends-check run cleanly.

Main issue (besides eventually fixing build of the d2x part) is the license:
The source of the game was released under "Parallax License" which
restricts to "NON-COMMERCIAL, ROYALTY OR REVENUE
FREE PURPOSES" and the community work around it is GPLv3:

https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt

Therefore I put CDROM No, PACKAGE_FTP Yes... Would appreciate
someone with more experience with license questions
commenting on this.

Runs well on my amd64-driven Thinkpad x230 in 1366x768.
Completed first level without issues. Sound, mouse, keyboard, and
flightstick controls are working.

Attempts to build with clang failed due to something that appears to
be a compiler bug related to unused lambda capture like this here:

https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
unused-lambda-capture-warning

The error is:
similar/main/automap.cpp:1155:41: error: lambda capture 'am' is not
used [-Werror,-Wunused-lambda-capture]
     std::sort(range.begin(), range.end(), [am](const Edge_info *const a,
const Edge_info *const b) {

I'd be happy if someone with more experience knows a better solution.


Yikes. SConstruct is a mess.
Anyhow, I fixed all this up and got Descent 2 working as well. I'll send 
an updated tarball in a bit.


~Brian



Re: Calibre: Add books File dialog never fully displays

2017-12-23 Thread Peter N. M. Hansteen
On 12/22/17 22:00, Caspar Schutijser wrote:

> Depending on the value of XDG_CURRENT_DESKTOP, a Qt 5 application will
> use a different toolkit (e.g. GTK3) to draw file dialogs. Possibly, the
> problem is somewhere in the GTK3 code of Qt 5.
> 
> Peter, what is the value of XDG_CURRENT_DESKTOP on your machine? And
> can you confirm that the program functions correctly when you start the
> program like this?

I have

$ echo $XDG_CURRENT_DESKTOP
XFCE

>   $ XDG_CURRENT_DESKTOP= calibre

The File->Open dialog box still didn't display properly, unfortunately.

Here's with the messages:

[Sat Dec 23 16:05:43] peter@greyhame:~$ XDG_CURRENT_DESKTOP= calibre
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-peter'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-peter'
Failed to load libmtp, MTP device detection disabled
No module named libmtp
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 801, in
__bootstrap_inner
self.run()
  File "/usr/local/lib/calibre/calibre/gui2/device.py", line 409, in run
self.detect_device()
  File "/usr/local/lib/calibre/calibre/gui2/device.py", line 267, in
detect_device
self.scanner.scan()
  File "/usr/local/lib/calibre/calibre/devices/scanner.py", line 264, in
scan
self.devices = self.scanner()
  File "/usr/local/lib/calibre/calibre/devices/scanner.py", line 69, in
__call__
self.libusb_err)
ValueError: DeviceScanner needs libusb to work. Error: No module named
libusb


(python2.7:36597): Gtk-CRITICAL **: Error building template class
'GtkDialog' for an instance of type 'GtkDialog': .:10:1 Invalid object
type 'GtkHeaderBar'

(python2.7:36597): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: _gtk_box_get_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:36597): Gtk-CRITICAL **: _gtk_box_set_spacing_set: assertion
'GTK_IS_BOX (box)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_button_box_get_layout: assertion
'GTK_IS_BUTTON_BOX (widget)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_box_set_spacing: assertion
'GTK_IS_BOX (box)' failed

(python2.7:36597): Gtk-CRITICAL **: _gtk_container_get_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_container_set_border_width:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: _gtk_container_set_border_width_set:
assertion 'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: Error building template class
'GtkFileChooserDialog' for an instance of type 'GtkFileChooserDialog':
Unknown internal child: vbox

(python2.7:36597): Gtk-CRITICAL **: _gtk_file_chooser_set_delegate:
assertion 'GTK_IS_FILE_CHOOSER (delegate)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_widget_set_visible: assertion
'GTK_IS_WIDGET (widget)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_widget_set_no_show_all:
assertion 'GTK_IS_WIDGET (widget)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_container_add: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_container_add: assertion
'GTK_IS_CONTAINER (container)' failed

(python2.7:36597): Gtk-CRITICAL **:
gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER
(chooser)' failed

(python2.7:36597): Gtk-CRITICAL **:
gtk_file_chooser_set_current_folder_file: assertion 'GTK_IS_FILE_CHOOSER
(chooser)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_file_chooser_get_files:
assertion 'GTK_IS_FILE_CHOOSER (chooser)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_get_property:
assertion 'G_IS_OBJECT (object)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:36597): GLib-GObject-CRITICAL **: g_object_setv: assertion
'G_IS_OBJECT (object)' failed

(python2.7:36597): Gtk-CRITICAL **: gtk_file_chooser_add_filter:
asserti

Re: NEW: games/dxx-rebirth

2017-12-23 Thread Marcus MERIGHI
frohw...@ymail.com (Thomas Frohwein), 2017.12.23 (Sat) 12:00 (CET):
> Do you like getting disoriented flying through narrow corridors while
> getting fired at from 6 degrees of freedom? Enjoy looking at confusing

Some of my finger memory was still there! 

Just played the demo levels, worked like a charm, now off for the attic
to find those darn CDs...

Maybe mention early that one needs the original files? 
I mean before installing...

Thanks!

Marcus



Re: [new] minio server/client

2017-12-23 Thread Klemens Nanni
On Sat, Dec 23, 2017 at 01:20:05PM +0100, Landry Breuil wrote:
> On Mon, Dec 18, 2017 at 08:23:34PM +0100, Landry Breuil wrote:
> > On Thu, Dec 14, 2017 at 09:17:11PM +0100, Klemens Nanni wrote:
> > > On Wed, Dec 13, 2017 at 04:39:57PM +0100, Landry Breuil wrote:
> > > > Starting from this i dunno if it warrants a readme or a MESSAGE, you
> > > > just need to go fetch the access/secret keys in the config file after
> > > > first startup, and maybe bump maxfiles limits for minio (as advised on
> > > > https://github.com/minio/minio-service - the sysv init script bumps to
> > > > 8k)
> > > Users should know how to use minio, I'd say it's fine without
> > > further explanation.
> > > 
> > >   $ portcheck
> > >   Makefile.inc does not have $OpenBSD$ RCS tag at the top
> > >   hardcoded paths detected in server/pkg/minio.rc, consider \
> > >   using SUBST_VARS and TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE
> > >   net/minio
> > > 
> > > s,/var,${VARBASE},
> > 
> > With those fixed.
> 
> Now with mc updated to 20171212
> (cf https://github.com/minio/mc/releases/tag/RELEASE.2017-12-12T01-08-02Z) 
> and the single patch in an upstream PR
> at https://github.com/minio/mc/pull/2342
Looks good to me. I'd probably sync usage of blank lines in all
Makefiles but that's personal taste.

GH_PROJECT is set in both {client/server}/Makefile so this will do:

--- Makefile.inc.orig
+++ Makefile.inc
@@ -1,7 +1,6 @@
 # $OpenBSD$
 
-GH_ACCOUNT ?=  minio
-GH_PROJECT ?=  minio
+GH_ACCOUNT =   minio
 
 CATEGORIES =   net sysutils



Re: UPDATE: net/tinc

2017-12-23 Thread Rafael Sadowski
Merry Christmas ping

On Fri Dec 15, 2017 at 08:59:39PM +0100, Rafael Sadowski wrote:
> Version 1.0.33 released.
> 
> Allow compilation from a build directory.
> Source code cleanups.
> Fix some options specified on the command line not surviving a HUP
> signal.
> Handle tun/tap device returning EPERM or EBUSY.
> Disable PMTUDiscovery when TCPOnly is used.
> Support the —runstatedir option of the autoconf 2.70.
> 
> Port changes:
> 
> - "patch-doc_tinc_texi" committed upstream.
> - "Using $< in a non-suffix rule context is a GNUmake idiom
>(Makefile:840)" enable USE_GMAKE.
> 
> ok?
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/tinc/Makefile,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 Makefile
> --- Makefile  4 Oct 2017 20:51:36 -   1.4
> +++ Makefile  15 Dec 2017 19:56:36 -
> @@ -1,7 +1,7 @@
>  # $OpenBSD: Makefile,v 1.4 2017/10/04 20:51:36 rsadowski Exp $
>  
>  COMMENT =Virtual Private Network (VPN) daemon
> -DISTNAME =   tinc-1.0.32
> +DISTNAME =   tinc-1.0.33
>  CATEGORIES = net security
>  
>  HOMEPAGE =   https://www.tinc-vpn.org/
> @@ -22,8 +22,7 @@ CONFIGURE_STYLE =   gnu
>  CONFIGURE_ENV =  CPPFLAGS="-I${LOCALBASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib"
>  
> -post-extract:
> - cd ${WRKSRC}/doc && tar xzf sample-config.tar.gz
> +USE_GMAKE =  Yes
>  
>  post-install:
>   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tinc
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/tinc/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- distinfo  4 Oct 2017 20:51:36 -   1.4
> +++ distinfo  15 Dec 2017 19:56:36 -
> @@ -1,2 +1,2 @@
> -SHA256 (tinc-1.0.32.tar.gz) = TbJP6v+NtLu37bekuPX47cObJutf7MyZ6OZ6aWDAVYc=
> -SIZE (tinc-1.0.32.tar.gz) = 496221
> +SHA256 (tinc-1.0.33.tar.gz) = f29dxkRLxlGsY1yB9HRbzOWBu9HUXtYMvcTuEb67EPQ=
> +SIZE (tinc-1.0.33.tar.gz) = 486374
> Index: patches/patch-doc_sample-config_tinc_conf
> ===
> RCS file: patches/patch-doc_sample-config_tinc_conf
> diff -N patches/patch-doc_sample-config_tinc_conf
> --- patches/patch-doc_sample-config_tinc_conf 3 Nov 2015 20:07:47 -   
> 1.1.1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,15 +0,0 @@
> -$OpenBSD: patch-doc_sample-config_tinc_conf,v 1.1.1.1 2015/11/03 20:07:47 
> sthen Exp $
>  doc/sample-config/tinc.conf.orig Mon Nov  2 21:58:56 2015
> -+++ doc/sample-config/tinc.conf  Mon Nov  2 21:59:17 2015
> -@@ -16,7 +16,7 @@ Name = alpha
> - ConnectTo = beta
> - 
> - # The tap device tinc will use.
> --# Default is /dev/tap0 for ethertap or FreeBSD,
> --# /dev/tun0 for Solaris and OpenBSD,
> --# and /dev/net/tun for Linux tun/tap device.
> --Device = /dev/net/tun
> -+# /dev/tap0 for ethertap, FreeBSD or OpenBSD
> -+# /dev/tun0 for Solaris
> -+# /dev/net/tun for Linux tun/tap
> -+Device = /dev/tap0
> Index: patches/patch-doc_tinc_texi
> ===
> RCS file: /cvs/ports/net/tinc/patches/patch-doc_tinc_texi,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 patch-doc_tinc_texi
> --- patches/patch-doc_tinc_texi   4 Oct 2017 20:51:36 -   1.4
> +++ patches/patch-doc_tinc_texi   15 Dec 2017 19:56:36 -
> @@ -2,7 +2,7 @@ $OpenBSD: patch-doc_tinc_texi,v 1.4 2017
>  Index: doc/tinc.texi
>  --- doc/tinc.texi.orig
>  +++ doc/tinc.texi
> -@@ -2071,7 +2071,7 @@ In switch or hub modes ARP does work so the sender alr
> +@@ -2075,7 +2075,7 @@ In switch or hub modes ARP does work so the sender alr
>   In those modes every interface should have a unique MAC address, so make 
> sure they are not the same.
>   Because switch and hub modes rely on MAC addresses to function correctly,
>   these modes cannot be used on the following operating systems which don't 
> have a `tap' style virtual network device:
> @@ -11,7 +11,7 @@ Index: doc/tinc.texi
>   
>   
>   @c ==
> -@@ -2498,8 +2498,6 @@ For IPv6 addresses:
> +@@ -2502,8 +2502,6 @@ For IPv6 addresses:
>   On some platforms, when running tinc in switch mode, the VPN interface must 
> be set to tap mode with an ifconfig command:
>   
>   @multitable {Darwin (Mac OS X)} {ifconfig route add -bla network address 
> netmask netmask prefixlength interface}
> 



Re: [NEW] net/onionshare

2017-12-23 Thread Klemens Nanni
On Tue, Dec 12, 2017 at 10:45:21AM -0600, attila wrote:
> Klemens Nanni  wrote:
> > You should zap V and PKGNAME, set GH_TAGNAME=v1.1 and move GH_* right
> > beneath COMMENT; see infrastructure/templates/Makefile.template.
> >
> > RUN_DEPENDS lacks net/tor.
> > onionshare-gui still starts but python will dump core when
> > /usr/local/bin/tor is missing. It also mentions our net/tor package as
> > "Tor that is bundled with OpenShare" which is misleading.
> > 
> > TEST_DEPENDS lacks net/py-stem and www/py-frozen-flask.
> 
> Attached is an updated port that addresses all of these comments.
> Thanks a lot for the feedback!
Looks good to me except for the bundle bits. Optimally this should be
clarified upstream.



Re: NEW: telephony/coturn

2017-12-23 Thread Stuart Henderson
On 2017/12/22 13:26, Ingo Feinerer wrote:
> Ping (updated to newest release 4.5.0.7).
> 
> Running for me since a few months now.
> Hoping for OKs to import ...

diff on top:

- no need to create ${PREFIX}/share/examples/turnserver/var
and ${PREFIX}/share/examples/turnserver/var/db, just put turndb
sample straight in examples/turnserver

- use LOCALSTATEDIR

With those it's OK with me.

diff --git Makefile Makefile
index 9ffe4a0..d6595bb 100644
--- Makefile
+++ Makefile
@@ -34,7 +34,7 @@ CONFIGURE_ENV =   TURN_NO_MONGO=1
 
 post-install:
rm -rf ${PREFIX}/etc
-   ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/turnserver/var/db
-   mv ${WRKINST}/var/db/turndb ${PREFIX}/share/examples/turnserver/var/db
+   mv ${WRKINST}${LOCALSTATEDIR}/db/turndb \
+   ${PREFIX}/share/examples/turnserver
 
 .include 
diff --git pkg/PLIST pkg/PLIST
index 3f46f25..e326b88 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -106,13 +106,11 @@ 
share/examples/turnserver/scripts/restapi/shared_secret_maintainer.pl
 share/examples/turnserver/scripts/selfloadbalance/
 share/examples/turnserver/scripts/selfloadbalance/secure_dos_attack.sh
 share/examples/turnserver/scripts/selfloadbalance/secure_relay.sh
-share/examples/turnserver/var/
-share/examples/turnserver/var/db/
-share/examples/turnserver/var/db/turndb
+share/examples/turnserver/turndb
 @mode 0640
 @owner _turnserver
 @group _turnserver
-@sample /var/db/turndb
+@sample ${LOCALSTATEDIR}/db/turndb
 @mode
 @owner
 @group



Re: [new] minio server/client

2017-12-23 Thread Landry Breuil
On Mon, Dec 18, 2017 at 08:23:34PM +0100, Landry Breuil wrote:
> On Thu, Dec 14, 2017 at 09:17:11PM +0100, Klemens Nanni wrote:
> > On Wed, Dec 13, 2017 at 04:39:57PM +0100, Landry Breuil wrote:
> > > Starting from this i dunno if it warrants a readme or a MESSAGE, you
> > > just need to go fetch the access/secret keys in the config file after
> > > first startup, and maybe bump maxfiles limits for minio (as advised on
> > > https://github.com/minio/minio-service - the sysv init script bumps to
> > > 8k)
> > Users should know how to use minio, I'd say it's fine without
> > further explanation.
> > 
> > $ portcheck
> > Makefile.inc does not have $OpenBSD$ RCS tag at the top
> > hardcoded paths detected in server/pkg/minio.rc, consider \
> > using SUBST_VARS and TRUEPREFIX/LOCALBASE/LOCALSTATEDIR/VARBASE
> > net/minio
> > 
> > s,/var,${VARBASE},
> 
> With those fixed.

Now with mc updated to 20171212
(cf https://github.com/minio/mc/releases/tag/RELEASE.2017-12-12T01-08-02Z) and 
the single patch in an upstream PR
at https://github.com/minio/mc/pull/2342

Landry


minio_4.tgz
Description: application/tar-gz


NEW: games/dxx-rebirth

2017-12-23 Thread Thomas Frohwein
Do you like getting disoriented flying through narrow corridors while
getting fired at from 6 degrees of freedom? Enjoy looking at confusing
maps that look like yarn after your cats played with it? Love blowing up
reactors that should red balls at you, only to get lost trying to find
the exit afterwards and getting blown up with the entire mine? If this
sounds fun to you, you have probably played Descent 1 or 2. dxx-rebirth
is the official portable version of the open-sourced engine.

Note that due to a linker error this is just for Descent 1, not 2 at this
point.

Incorporated helpful feedback from bcallah@ and did a major clean
up since the version he commented on.

portcheck and make port-lib-depends-check run cleanly.

Main issue (besides eventually fixing build of the d2x part) is the license:
The source of the game was released under "Parallax License" which
restricts to "NON-COMMERCIAL, ROYALTY OR REVENUE
FREE PURPOSES" and the community work around it is GPLv3:

https://github.com/dxx-rebirth/dxx-rebirth/blob/master/COPYING.txt

Therefore I put CDROM No, PACKAGE_FTP Yes... Would appreciate
someone with more experience with license questions 
commenting on this.

Runs well on my amd64-driven Thinkpad x230 in 1366x768.
Completed first level without issues. Sound, mouse, keyboard, and
flightstick controls are working.

Attempts to build with clang failed due to something that appears to
be a compiler bug related to unused lambda capture like this here:

https://stackoverflow.com/questions/41960347/why-am-i-getting-an-
unused-lambda-capture-warning

The error is:
similar/main/automap.cpp:1155:41: error: lambda capture 'am' is not
used [-Werror,-Wunused-lambda-capture]
    std::sort(range.begin(), range.end(), [am](const Edge_info *const a,
const Edge_info *const b) {

I'd be happy if someone with more experience knows a better solution.

dxx-rebirth.tgz
Description: Binary data


Re: [patch] unbreak textproc/filepp

2017-12-23 Thread Landry Breuil
On Fri, Dec 22, 2017 at 04:29:47PM -0800, Matthew Clarke wrote:
> Hi.
> 
> The textproc/filepp port has no maintainer, and the current filepp package
> installs a filepp script that won't run due to the following error:
> 
>   Global symbol "$DESTDIR" requires explicit package name (did you forget 
> to declare "my $DESTDIR"?) at /usr/local/bin/filepp line 43.
>   Execution of /usr/local/bin/filepp aborted due to compilation errors.
> 
> Line 43 of /usr/local/bin/filepp reads:
> 
>   push(@INC, "${DESTDIR}/usr/local/share/filepp/modules");
> 
> I've used filepp successfully on OpenBSD before, but not for a couple of
> years or so.  Reviewing the port history, I see that revision 1.6 (October
> 2015) of textproc/filepp/Makefile removed the following code:
> 
>   post-configure:
>  @perl -pi -e 's,\$${DESTDIR},,g;' ${WRKSRC}/filepp
> 
> Reverting that change makes filepp work again, but introduces the
> following warning into the "configure" phase of the build:
> 
>   Unescaped left brace in regex is deprecated, passed through in regex; 
> marked by <-- HERE in m/\${ <-- HERE DESTDIR}/ at -e line 1.
> 
> Switching from perl to sed is one way to avoid the warning.  Would a ports
> committer please review the following diff, and commit it if it's OK?


Hmm technically the filepp script isn't right since its buildsystem
replaces @moduledir@ by what ends up in moduledir, defaulting to
$prefix/share/filepp/modules, and $prefix is assigned ${DESTDIR} by the
openbsd build system.
-
The moduledir is also set in the filepp script.  If you do not run
configure for whatever reason you should also change @moduledir@ on
line 40 to the directory you intend to install the modules in (or
delete the whole line if you are not using modules).
-
There should be some TRUEPREFIX here..

so i think the following is "more correct" in case TRUEPREFIX changes
someday:

Index: Makefile
===
RCS file: /cvs/ports/textproc/filepp/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile15 Nov 2017 21:28:05 -  1.8
+++ Makefile23 Dec 2017 09:02:57 -
@@ -3,7 +3,7 @@
 COMMENT =  cpp-like generic file pre-processor
 
 DISTNAME = filepp-1.8.0
-REVISION = 2
+REVISION = 3
 CATEGORIES =   textproc devel
 MASTER_SITES = http://www-users.york.ac.uk/~dm26/filepp/
 
@@ -16,5 +16,8 @@
 NO_BUILD = Yes
 PKG_ARCH = *
 TEST_TARGET =  fulltest
+
+post-configure:
+   sed -i 's,$${DESTDIR}${TRUEPREFIX},${TRUEPREFIX},g' ${WRKSRC}/filepp



[UPDATE] audio/openal

2017-12-23 Thread David CARLIER
Hi,

Due to lot of gaming porting efforts these days :-),
here a little diff for openal just a fix to avoid probing non existent
capture handling (in the sndio backend).

Hope it s good.

Kind regards.
Index: Makefile
===
RCS file: /cvs/ports/audio/openal/Makefile,v
retrieving revision 1.49
diff -u -p -r1.49 Makefile
--- Makefile15 Nov 2017 13:02:42 -  1.49
+++ Makefile23 Dec 2017 08:44:40 -
@@ -10,6 +10,7 @@ DISTNAME =openal-soft-$V
 PKGNAME =  openal-$V
 CATEGORIES =   audio
 SHARED_LIBS =  openal  3.0
+REVISION =  0
 
 HOMEPAGE = http://kcat.strangesoft.net/openal.html
 
Index: patches/patch-Alc_ALc_c
===
RCS file: patches/patch-Alc_ALc_c
diff -N patches/patch-Alc_ALc_c
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Alc_ALc_c 23 Dec 2017 08:44:40 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Index: Alc/ALc.c
+--- Alc/ALc.c.orig
 Alc/ALc.c
+@@ -1230,9 +1230,7 @@ static void ProbeDevices(al_string *list, struct Backe
+ LockLists();
+ al_string_clear(list);
+ 
+-if(!backendinfo->getFactory)
+-backendinfo->Probe(type);
+-else
++if(backendinfo->getFactory)
+ {
+ ALCbackendFactory *factory = backendinfo->getFactory();
+ V(factory,probe)(type);