Re: [NEW] games/ags

2016-11-22 Thread Bryan Linton
On 2016-11-22 00:21:29, David Meier  wrote:
> Hello
> 
> I've tested this port on amd64.
> Can anyone take a look or commit this port?
> If patches/files are ok, I try to push them upstream.
> 
> Some games need to be extracted with innoextract
> to play them with ags.
> 

It won't build for me on i386.  I'm not sure if it may be a
problem with my system, or if it's i386 itself.

Full-disclosure, while I *am* using a custom kernel, the only
difference is that I've enabled the PPPOE_TERM_UNKNOWN_SESSIONS
option.

OpenBSD 6.0-current (GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS) #0: Sat Nov 12 
10:44:54 JST 2016

It's a fairly recent system, but if something drastic changed in
the last two weeks, I can try upgrading and trying to build it
again.

Build log:

platform/util/pe.o
platform/util/libc.o
../Common/core/asset.o
../Common/core/assetmanager.o
../Common/font/ttffontrenderer.o
../Common/font/fonts.o
../Common/font/wfnfont.o
../Common/font/wfnfontrenderer.o
../Common/game/customproperties.o
../Common/game/interactions.o
../Common/gui/guibutton.o
../Common/gui/guiinv.o
../Common/gui/guilabel.o
../Common/gui/guilistbox.o
../Common/gui/guiobject.o
../Common/gui/guimain.o
../Common/gui/guitextbox.o
../Common/gui/guislider.o
../Common/script/cc_treemap.o
../Common/util/compress.o
../Common/util/ini_util.o
../Common/util/filestream.o
../Common/util/alignedstream.o
../Common/util/inifile.o
Linking common library...
ar: common.a: Malformed archive
gmake: *** [Makefile:38: common.a] Error 1
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2682
'/usr/obj/ports/ags-3.4.0.13/.build_done')
*** Error 1 in /usr/ports/mystuff/games/ags
(/usr/ports/infrastructure/mk/bsd.port.mk:2389 'all')


-- 
Bryan



Re: [NEW] textproc/fzy

2016-11-22 Thread Frederic Cambus
On Sun, Nov 20, 2016 at 04:09:48PM +0100, Frederic Cambus wrote:

> Here is a new port: textproc/fzy
> 
> Comments? OK?

New tarball attached, including missing patch. Spotted by jca@, thanks!



Re: [UPDATE] sysutils/rancid

2016-11-22 Thread Pierre-Emmanuel André
On Sat, Nov 19, 2016 at 02:43:22PM +, Stuart Henderson wrote:
> I think this is OK.  pea@, any comments?
>

Sorry for the late answer.
Diff looks good for me. ok pea@

> 
> On 2016/11/16 05:20, Pavel Korovin wrote:
> > On 11/15, Stuart Henderson wrote:
> > > Except for special situations (e.g. what we have in autoconf), an 
> > > @conflict
> > > on the same port doesn't make sense.
> > > 
> > > > +@ask-update rancid-<3v0 Make sure router.db files use new fields 
> > > > separator before upgrading
> > > 
> > > I think either MESSAGE *or* @ask-update is enough. ask-update is quite
> > 
> > Stuart, thank you for your comments!
> > I agree that MESSAGE should be enough.
> > 
> > Please see the updated patch with your suggestions applied and some more
> > cleanups, like removal of Looking Glass configs (I don't see any reason
> > to keep it while corresponding scripts were removed in the first place),
> > relocation of misc example files from ${PREFIX}/share to
> > ${PREFIX}/share/examples and commenting out several man pages for which
> > corresponding binaries were removed.
> > 
> > -- 
> > With best regards,
> > Pavel Korovin
> 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/sysutils/rancid/Makefile,v
> > retrieving revision 1.17
> > diff -u -p -r1.17 Makefile
> > --- Makefile15 May 2013 09:49:40 -  1.17
> > +++ Makefile16 Nov 2016 01:58:05 -
> > @@ -2,8 +2,9 @@
> >  
> >  COMMENT =  Really Awesome New Cisco confIg Differ
> >  
> > -DISTNAME = rancid-2.3.8
> > -REVISION = 0
> > +DISTNAME = rancid-3.5.1
> > +DISTPATCH =1
> > +PKGNAME =  ${DISTNAME}pl${DISTPATCH}
> >  EPOCH =0
> >  CATEGORIES =   sysutils
> >  
> > @@ -19,20 +20,19 @@ WANTLIB =   c util
> >  
> >  MASTER_SITES = ftp://ftp.shrubbery.net/pub/rancid/
> >  
> > +PATCHFILES =   ${DISTNAME}.p${DISTPATCH}.gz
> > +
> >  RUN_DEPENDS =  lang/expect
> >  BUILD_DEPENDS =${RUN_DEPENDS}
> >  
> >  LOCALSTATEDIR =${BASELOCALSTATEDIR}/rancid
> >  
> > -AUTOMAKE_VERSION =  1.8
> > -CONFIGURE_STYLE =  automake
> > +CONFIGURE_STYLE =  gnu
> >  CONFIGURE_ARGS =   --prefix=${PREFIX} \
> > --disable-mk-localstatedir
> >  
> > +MAKE_FLAGS =   sysconfdir=${BASESYSCONFDIR}/rancid
> > +FAKE_FLAGS =   sysconfdir=${PREFIX}/share/examples/rancid
> >  USE_GMAKE =yes
> > -USE_GROFF =Yes
> > -
> > -pre-configure:
> > -   @cp ${FILESDIR}/fnlogin.in ${WRKSRC}/bin/fnlogin.in
> >  
> >  .include 
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/sysutils/rancid/distinfo,v
> > retrieving revision 1.6
> > diff -u -p -r1.6 distinfo
> > --- distinfo18 Jan 2015 03:15:14 -  1.6
> > +++ distinfo16 Nov 2016 01:58:05 -
> > @@ -1,2 +1,4 @@
> > -SHA256 (rancid-2.3.8.tar.gz) = RORMh6IpaNUinAHWCqRpYNoCOiSEbu9D+ePI1w/Vs/s=
> > -SIZE (rancid-2.3.8.tar.gz) = 379908
> > +SHA256 (rancid-3.5.1.p1.gz) = GqbR11OkR4dA3jbeTn8Zmiio1ZZ/iAfShCHJ4yogAPQ=
> > +SHA256 (rancid-3.5.1.tar.gz) = 82V5MNbr+FWs2WHJrK3v+wUM2e15gJ+tXbHB917PxxE=
> > +SIZE (rancid-3.5.1.p1.gz) = 202
> > +SIZE (rancid-3.5.1.tar.gz) = 501561
> > Index: files/fnlogin.in
> > ===
> > RCS file: files/fnlogin.in
> > diff -N files/fnlogin.in
> > --- files/fnlogin.in16 Dec 2008 21:07:55 -  1.1.1.1
> > +++ /dev/null   1 Jan 1970 00:00:00 -
> > @@ -1,544 +0,0 @@
> > -#! @EXPECT_PATH@ --
> > -##
> > -## $Id: fnlogin.in,v 1.1.1.1 2008/12/16 21:07:55 pea Exp $
> > -##
> > -## rancid 2.3.2a7
> > -## Copyright (C) 1997-2006 by Terrapin Communications, Inc.
> > -## All rights reserved.
> > -##
> > -## This software may be freely copied, modified and redistributed
> > -## without fee for non-commerical purposes provided that this license
> > -## remains intact and unmodified with any RANCID distribution.
> > -##
> > -## There is no warranty or other guarantee of fitness of this software.
> > -## It is provided solely "as is".  The author(s) disclaim(s) all
> > -## responsibility and liability with respect to this software's usage
> > -## or its effect upon hardware, computer systems, other software, or
> > -## anything else.
> > -##
> > -## Except where noted otherwise, rancid was written by and is maintained by
> > -## Henry Kilmer, John Heasley, Andrew Partan, Pete Whiting, and Austin 
> > Schutz.
> > -##
> > -#
> > -# The login expect scripts were based on Erik Sherk's gwtn, by permission.
> > -# Netscreen hacks implemented by Stephen Gill .
> > -#
> > -# nlogin - netscreen login
> > -#
> > -# Most options are intuitive for logging into a netscreen firewall.
> > -#
> > -# Misc notes
> > -#  netscreen does not have the concept of "enable", once logged in, a
> > -#  users permissions can not change.
> > -
> > -# Usage line
> > -set usage "Usage: $argv0 \[-c command\] \[-Evar=x\] \[-f clogi

Re: New: biology/hmmer

2016-11-22 Thread Jeremie Courreges-Anglas
Jeremie Courreges-Anglas  writes:

> Stuart Henderson  writes:
>
>> On 2016/11/21 10:47, Senthil Kumar M wrote:
>>> Hi Ports,
>>> 
>>> May I request some developer to have a look and commit this port? Earlier, 
>>> jca made a few changes (attached) and commented that the port looked good. 
>>> I also tested it once again and it installs, runs as expected.
>>
>> Generally looks good but a couple of small points:
>>
>> - An empty share/doc/hmmer/ is installed; it would be useful to
>> install Userguide.pdf there. Probably also worth installing files
>> for the tutorial under ${PREFIX}/share/examples/hmmer?
>>
>> - Zap the blank line at end of pkg/DESCR
>>
>> - Zap the empty "CONFIGURE_ARGS =" in Makefile
>>
>> - COPYRIGHT says "HMMER includes patent-pending SIMD technology under
>> nonexclusive license" - I would draw attention to this in the license
>> marker comment, e.g.
>>
>> # GPLv3 but see COPYRIGHT regarding patents
>
> Thanks Stuart, here's an updated tarball with the improvements you
> mentioned.  ok to import?

Imported, thanks.

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



[UPDATE] security/oletools

2016-11-22 Thread Remi Pointel

Hi,

this is the diff to update oletools to latest release.

Ok?

Cheers,

Remi.
Index: Makefile
===
RCS file: /cvs/ports/security/oletools/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile	22 Apr 2016 07:20:44 -	1.6
+++ Makefile	22 Nov 2016 06:37:47 -
@@ -2,7 +2,7 @@
 
 COMMENT =	python tools to analyze OLE files
 
-MODPY_EGG_VERSION = 0.46
+MODPY_EGG_VERSION = 0.50
 DISTNAME =	oletools-${MODPY_EGG_VERSION}
 
 CATEGORIES =	security
@@ -14,9 +14,10 @@ MAINTAINER =	Remi Pointel https://bitbucket.org/decalage/oletools/downloads/
+MASTER_SITES =	https://github.com/decalage2/oletools/releases/download/v${MODPY_EGG_VERSION}/
 
 MODULES =	lang/python
+MODPY_SETUPTOOLS =	Yes
 
 RUN_DEPENDS +=	${MODPY_TKINTER_DEPENDS}
 
@@ -25,7 +26,6 @@ MODPY_ADJ_FILES = oletools/*.py
 post-install:
 .for i in ezhexviewer mraptor olebrowse oledir oleid olemap olemeta oletimes olevba pyxswf rtfobj
 	chmod +x ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/oletools/${i}.py
-	ln -s ${TRUEPREFIX}/lib/python${MODPY_VERSION}/site-packages/oletools/${i}.py ${PREFIX}/bin/${i}
 .endfor
 
 NO_TEST =	Yes
Index: distinfo
===
RCS file: /cvs/ports/security/oletools/distinfo,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 distinfo
--- distinfo	22 Apr 2016 07:20:44 -	1.5
+++ distinfo	22 Nov 2016 06:37:47 -
@@ -1,2 +1,2 @@
-SHA256 (oletools-0.46.tar.gz) = F3SuFCil4hpWaZz5zlK66SECuMo4jlfSWJ/Hi8oT6lQ=
-SIZE (oletools-0.46.tar.gz) = 819259
+SHA256 (oletools-0.50.tar.gz) = IW19GqlIdeucokyEnGAr2ly4bYhUr73SCKi/yrfdPKg=
+SIZE (oletools-0.50.tar.gz) = 954743
Index: pkg/PLIST
===
RCS file: /cvs/ports/security/oletools/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST	14 Mar 2016 06:13:38 -	1.4
+++ pkg/PLIST	22 Nov 2016 06:37:47 -
@@ -11,7 +11,12 @@ bin/olevba
 bin/pyxswf
 bin/rtfobj
 lib/python${MODPY_VERSION}/site-packages/oletools/
-lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
+lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
+lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
+lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
+lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
+lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt
+lib/python${MODPY_VERSION}/site-packages/oletools-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/oletools/LICENSE.txt
 lib/python${MODPY_VERSION}/site-packages/oletools/README.html
 lib/python${MODPY_VERSION}/site-packages/oletools/README.rst
@@ -56,10 +61,15 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/oletools/doc/pyxswf.md
 lib/python${MODPY_VERSION}/site-packages/oletools/doc/rtfobj.html
 lib/python${MODPY_VERSION}/site-packages/oletools/doc/rtfobj.md
+lib/python${MODPY_VERSION}/site-packages/oletools/doc/rtfobj1.png
 lib/python${MODPY_VERSION}/site-packages/oletools/ezhexviewer.py
 lib/python${MODPY_VERSION}/site-packages/oletools/ezhexviewer.pyc
 lib/python${MODPY_VERSION}/site-packages/oletools/mraptor.py
 lib/python${MODPY_VERSION}/site-packages/oletools/mraptor.pyc
+lib/python${MODPY_VERSION}/site-packages/oletools/mraptor3.py
+lib/python${MODPY_VERSION}/site-packages/oletools/mraptor3.pyc
+lib/python${MODPY_VERSION}/site-packages/oletools/mraptor_milter.py
+lib/python${MODPY_VERSION}/site-packages/oletools/mraptor_milter.pyc
 lib/python${MODPY_VERSION}/site-packages/oletools/olebrowse.py
 lib/python${MODPY_VERSION}/site-packages/oletools/olebrowse.pyc
 lib/python${MODPY_VERSION}/site-packages/oletools/oledir.py
@@ -76,6 +86,10 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/oletools/oletimes.pyc
 lib/python${MODPY_VERSION}/site-packages/oletools/olevba.py
 lib/python${MODPY_VERSION}/site-packages/oletools/olevba.pyc
+lib/python${MODPY_VERSION}/site-packages/oletools/olevba3.py
+lib/python${MODPY_VERSION}/site-packages/oletools/olevba3.pyc
+lib/python${MODPY_VERSION}/site-packages/oletools/ppt_parser.py
+lib/python${MODPY_VERSION}/site-packages/oletools/ppt_parser.pyc
 lib/python${MODPY_VERSION}/site-packages/oletools/pyxswf.py
 lib/python${MODPY_VERSION}/site-packages/oletools/pyxswf.pyc
 lib/python${MODPY_VERSION}/site-packages/oletools/rtfobj.py
@@ -93,8 +107,22 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/oletools/thirdparty/colorclass/LICENSE.txt
 lib/python${MODPY_VERSION}/site-packages/oletools/thirdparty/colorcl

Re: [NEW] textproc/fzy

2016-11-22 Thread Frederic Cambus
On Sun, Nov 20, 2016 at 04:09:48PM +0100, Frederic Cambus wrote:

> Here is a new port: textproc/fzy
> 
> Comments? OK?

New tarball attached, including missing patch. Spotted by jca@, thanks!



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


Siege 3.1.3 -> 4.0.2

2016-11-22 Thread Jan Schreiber
Hi,

the siege port is quite old.
Diff for an upgrade is attached.


Cheers,
Jan

Index: Makefile
===
RCS file: /cvs/ports/benchmarks/siege/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile11 Jan 2016 10:22:05 -  1.10
+++ Makefile22 Nov 2016 15:25:55 -
@@ -2,7 +2,7 @@

 COMMENT =  multi-threaded HTTP benchmark and regression tester

-DISTNAME = siege-3.1.3
+DISTNAME = siege-4.0.2

 CATEGORIES =   benchmarks www

@@ -11,7 +11,7 @@ HOMEPAGE =http://www.joedog.org/index/
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes

-WANTLIB += c crypto pthread ssl
+WANTLIB += c crypto pthread ssl z

 MASTER_SITES = http://download.joedog.org/siege/

Index: distinfo
===
RCS file: /cvs/ports/benchmarks/siege/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo11 Jan 2016 10:22:05 -  1.4
+++ distinfo22 Nov 2016 15:25:55 -
@@ -1,2 +1,2 @@
-SHA256 (siege-3.1.3.tar.gz) = TTky6iPL9tHSLffH7m56a8n1kbYEq1gjk+62Lzk/WjM=
-SIZE (siege-3.1.3.tar.gz) = 527862
+SHA256 (siege-4.0.2.tar.gz) = fvuB+VR77w5pO91RNIogWtaR4dcsNgQfRggJm6AybEc=
+SIZE (siege-4.0.2.tar.gz) = 521228
Index: patches/patch-configure
===
RCS file: /cvs/ports/benchmarks/siege/patches/patch-configure,v
retrieving revision 1.4
diff -u -p -r1.4 patch-configure
--- patches/patch-configure 11 Jan 2016 10:22:05 -  1.4
+++ patches/patch-configure 22 Nov 2016 15:25:55 -
@@ -1,14 +1,14 @@
 $OpenBSD: patch-configure,v 1.4 2016/01/11 10:22:05 landry Exp $
 configure.orig Mon Nov  2 14:19:57 2015
-+++ configure  Fri Jan  8 14:55:25 2016
-@@ -29474,8 +29474,8 @@ $as_echo "$as_me: error: cannot create directory $as_d
- #define  JOEPATH_H
+--- configure.orig Tue Nov 22 16:00:24 2016
 configure  Tue Nov 22 16:03:25 2016
+@@ -22855,8 +22855,8 @@ $as_echo X"$file" |
+ #define  JOEDOG_PATH_H

  #define SIEGE_HOME "$prefix"
 -#define URL_FILE   "$sysconfdir/urls.txt"
 -#define CNF_FILE   "$sysconfdir/siegerc"
 +#define URL_FILE   "$sysconfdir/siege/urls.txt"
 +#define CNF_FILE   "$sysconfdir/siege/siegerc"
- #define LOG_FILE   "$localstatedir/siege.log"
+ #define LOG_FILE   "$localstatedir/log/siege.log"
  #define PLATFORM   "$platform"

Index: patches/patch-doc_Makefile_in
===
RCS file: /cvs/ports/benchmarks/siege/patches/patch-doc_Makefile_in,v
retrieving revision 1.3
diff -u -p -r1.3 patch-doc_Makefile_in
--- patches/patch-doc_Makefile_in   11 Jan 2016 10:22:05 -  1.3
+++ patches/patch-doc_Makefile_in   22 Nov 2016 15:25:55 -
@@ -1,10 +1,10 @@
 $OpenBSD: patch-doc_Makefile_in,v 1.3 2016/01/11 10:22:05 landry Exp $
 doc/Makefile.in.orig   Mon Nov  2 14:19:56 2015
-+++ doc/Makefile.inFri Jan  8 14:55:25 2016
-@@ -220,8 +220,8 @@ urls.txt   \
- siegerc.in
+--- doc/Makefile.in.orig   Tue Nov 22 16:04:18 2016
 doc/Makefile.inTue Nov 22 16:09:17 2016
+@@ -250,8 +250,8 @@ siege2csv.1.in

- DISTCLEANFILES = siegerc $(man_MANS)
+ EXTRA_DIST = $(man_SOURCE) $(man_SHELLS) urls.txt siegerc.in
+ DISTCLEANFILES = siegerc $(man_MANS) $(man_SHELLS)
 -SIEGERC = $(sysconfdir)/siegerc
 -URLSTXT = $(sysconfdir)/urls.txt
 +SIEGERC = $(sysconfdir)/siege/siegerc
@@ -12,7 +12,7 @@ $OpenBSD: patch-doc_Makefile_in,v 1.3 20
  all: all-am

  .SUFFIXES:
-@@ -437,7 +437,7 @@ install-exec: install-exec-am
+@@ -398,7 +398,7 @@ install-exec: install-exec-am
  install-data: install-data-am

  install-am: all-am
Index: patches/patch-utils_siege_config_in
===
RCS file: /cvs/ports/benchmarks/siege/patches/patch-utils_siege_config_in,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-utils_siege_config_in
--- patches/patch-utils_siege_config_in 9 Apr 2009 00:19:14 -   1.1.1.1
+++ patches/patch-utils_siege_config_in 22 Nov 2016 15:25:55 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-utils_siege_config_in,v 1.1.1.1 2009/04/09 00:19:14 sthen Exp $
 utils/siege.config.in.orig Wed Feb 18 11:27:17 2009
-+++ utils/siege.config.in  Wed Feb 18 11:27:29 2009
-@@ -14,7 +14,7 @@ if test -f $rcfile; then
+--- utils/siege.config.in.orig Tue Nov 22 16:09:53 2016
 utils/siege.config.in  Tue Nov 22 16:13:40 2016
+@@ -22,7 +22,7 @@ if test -f $config; then
echo "siege.config"
echo "usage: siege.config [no arguments]"
echo "--"
--  echo "Resource file already install as $rcfile"
-+  echo "Resource file already installed as $rcfile"
-   echo "Use your favorite editor to change your configuration by"
-   echo "editing the values in that file."
-   echo ""
+-  echo "Resource file already install as $config"

Packaging Common LISP libraries

2016-11-22 Thread Solène RAPENNE
Hello,

I'm currently working on packaging common-lisp libraries. I am facing a
design question that I can't answer.

First : Where do we want the libraries installed ? I was going for
  /usr/local/lib/common-lisp/{libfoo,libbar,libX} it looks that it's
  done this way for python

Then, once it's installed, we need to tell the _multiple_ CL
implementations where to look for those libraries. There are multiple
ways :

- write a wrapper for each implementation binary which add a
  CL_SOURCE_REGISTRY environment variable to /usr/local/lib/common-lisp/

- write for each implemtation a config file in
  /etc/common-lisp/source-registry.conf.d/{sbcl,ecl,clisp}.conf with the
  libraries path inside. We can have only one
  /etc/common-lisp/source-registry.conf file but I'm not sure it will
  play well with multiple implementations because we can't one which
  package will install the file ?

- make a patch in each CL implementation to insert the path hardcoded
  inside, which will require to keep the patchs up-to-date if there are
  changes in the sources

I am not sure which way is the better one. Maybe patching each
implementation ?


The patch for lang/sbcl just looks like this, it's very easy :

("asdf" is the library which handle libraries, that we need to
patch. It's also embedded in ecl and clisp.)

--- contrib/asdf/asdf.lisp.orig Tue Nov 22 17:53:12 2016
+++ contrib/asdf/asdf.lisp  Tue Nov 22 17:53:54 2016
@@ -3131,6 +3131,7 @@ after having found a .asd file? True by default.")
   #+scl (:tree #p"file://modules/")))
   (defun default-user-source-registry ()
 `(:source-registry
+  (:tree "/usr/local/lib/common-lisp/")
   (:tree (:home "common-lisp/"))
   #+sbcl (:directory (:home ".sbcl/systems/"))
   (:directory ,(xdg-data-home "common-lisp/systems/"))


Regards



Re: Packaging Common LISP libraries

2016-11-22 Thread Grégoire Jadi
On 11/22/16 18:06, Solène RAPENNE wrote:
> Hello,

Hi,

> I'm currently working on packaging common-lisp libraries. I am facing a
> design question that I can't answer.
> 
> First : Where do we want the libraries installed ? I was going for
>   /usr/local/lib/common-lisp/{libfoo,libbar,libX} it looks that it's
>   done this way for python
> 
> Then, once it's installed, we need to tell the _multiple_ CL
> implementations where to look for those libraries. There are multiple
> ways :
> 
> - write a wrapper for each implementation binary which add a
>   CL_SOURCE_REGISTRY environment variable to /usr/local/lib/common-lisp/
> 
> - write for each implemtation a config file in
>   /etc/common-lisp/source-registry.conf.d/{sbcl,ecl,clisp}.conf with the
>   libraries path inside. We can have only one
>   /etc/common-lisp/source-registry.conf file but I'm not sure it will
>   play well with multiple implementations because we can't one which
>   package will install the file ?

I don't know if this is the right approach, but if you decide it is,
then you could use reader conditionals to configure each implementation:

#+sbcl
(...)
#+ecl
(...)
#+clisp
(...)

> - make a patch in each CL implementation to insert the path hardcoded
>   inside, which will require to keep the patchs up-to-date if there are
>   changes in the sources
> 
> I am not sure which way is the better one. Maybe patching each
> implementation ?
> 
> 
> The patch for lang/sbcl just looks like this, it's very easy :
> 
> ("asdf" is the library which handle libraries, that we need to
> patch. It's also embedded in ecl and clisp.)
> 
> --- contrib/asdf/asdf.lisp.orig   Tue Nov 22 17:53:12 2016
> +++ contrib/asdf/asdf.lispTue Nov 22 17:53:54 2016
> @@ -3131,6 +3131,7 @@ after having found a .asd file? True by default.")
>#+scl (:tree #p"file://modules/")))
>(defun default-user-source-registry ()
>  `(:source-registry
> +  (:tree "/usr/local/lib/common-lisp/")
>(:tree (:home "common-lisp/"))
>#+sbcl (:directory (:home ".sbcl/systems/"))
>(:directory ,(xdg-data-home "common-lisp/systems/"))
> 
> 
> Regards
> 
> 



Re: Packaging Common LISP libraries

2016-11-22 Thread Juan Francisco Cantero Hurtado
On Tue, Nov 22, 2016 at 06:06:21PM +0100, Solène RAPENNE wrote:
> Hello,
> 
> I'm currently working on packaging common-lisp libraries. I am facing a
> design question that I can't answer.
> 
> First : Where do we want the libraries installed ? I was going for
>   /usr/local/lib/common-lisp/{libfoo,libbar,libX} it looks that it's
>   done this way for python
> 
> Then, once it's installed, we need to tell the _multiple_ CL
> implementations where to look for those libraries. There are multiple
> ways :
> 
> - write a wrapper for each implementation binary which add a
>   CL_SOURCE_REGISTRY environment variable to /usr/local/lib/common-lisp/
> 
> - write for each implemtation a config file in
>   /etc/common-lisp/source-registry.conf.d/{sbcl,ecl,clisp}.conf with the
>   libraries path inside. We can have only one
>   /etc/common-lisp/source-registry.conf file but I'm not sure it will
>   play well with multiple implementations because we can't one which
>   package will install the file ?
> 
> - make a patch in each CL implementation to insert the path hardcoded
>   inside, which will require to keep the patchs up-to-date if there are
>   changes in the sources
> 
> I am not sure which way is the better one. Maybe patching each
> implementation ?

Yes, I prefer the patches. I use something similar for the racket
snapshots.

> 
> 
> The patch for lang/sbcl just looks like this, it's very easy :
> 
> ("asdf" is the library which handle libraries, that we need to
> patch. It's also embedded in ecl and clisp.)
> 
> --- contrib/asdf/asdf.lisp.orig   Tue Nov 22 17:53:12 2016
> +++ contrib/asdf/asdf.lispTue Nov 22 17:53:54 2016
> @@ -3131,6 +3131,7 @@ after having found a .asd file? True by default.")
>#+scl (:tree #p"file://modules/")))
>(defun default-user-source-registry ()
>  `(:source-registry
> +  (:tree "/usr/local/lib/common-lisp/")
>(:tree (:home "common-lisp/"))
>#+sbcl (:directory (:home ".sbcl/systems/"))
>(:directory ,(xdg-data-home "common-lisp/systems/"))
> 
> 
> Regards
> 

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



Re: [NEW] textproc/fzy

2016-11-22 Thread Jeremie Courreges-Anglas

That's a weird utility I must say. :)

ok jca@ to import

Please check twice why you patch the CPPFLAGS line, I think it doesn't
help much.  From a general portability POV upstream should probably
use -pthread (iirc just linking with -lpthread wouldn't have worked in
past OpenBSD releases).

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



Re: [new] mail/opendkim

2016-11-22 Thread Jeremie Courreges-Anglas
Stuart Henderson  writes:

> On 2016/11/19 11:12, Johan Huldtgren wrote:
>> hello,
>> 
>> opendkim is a dependency for mail/rmilter (separate mail). This port is
>> taken 100% from openbsd-wip by @sthen. I've been running this on my
>> mail server for a few weeks now and it works in conjunction with
>> rmilter.
>
> OK sthen@ :-)

Imported, thanks.

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



Shrink the Chromium interface

2016-11-22 Thread Jordon
I am running chromium on a 12” 1080p screen and it looks like chromium is in a 
‘hi-dpi’ mode.  The non-webpage parts of the UI seem very large - as in, the 
address bar is about 3 times taller than the text input cursor.  Is there a way 
to make it smaller?  I can use the standard unzoom to shrink the web site, but 
the top UI bar is still huge.

Thanks
Jordon



[UPDATE] devel/p5-Test-YAML to 1.06

2016-11-22 Thread Andrew Fresh
Simple update, no actual code changes, just documentation.
But gets portroach to stop complaining about it.  1 down, 31 to go.

https://metacpan.org/changes/distribution/Test-YAML

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Test-YAML/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile20 Mar 2016 19:56:39 -  1.2
+++ Makefile22 Nov 2016 21:22:05 -
@@ -2,7 +2,7 @@
 
 COMMENT =  testing module for YAML implementations
 
-DISTNAME = Test-YAML-1.05
+DISTNAME = Test-YAML-1.06
 CATEGORIES =   devel
 
 MAINTAINER =   Andrew Fresh 
@@ -13,7 +13,8 @@ MODULES = cpan
 PKG_ARCH = *
 RUN_DEPENDS =  devel/p5-Test-Base>=0.86
 
-TEST_DEPENDS = devel/p5-Test-Pod
+# Additional depends for RELEASE_TESTING
+TEST_DEPENDS +=devel/p5-Test-Pod
 MAKE_ENV +=RELEASE_TESTING=1
 
 .include 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Test-YAML/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo10 May 2015 16:47:01 -  1.1.1.1
+++ distinfo22 Nov 2016 21:22:05 -
@@ -1,2 +1,2 @@
-SHA256 (Test-YAML-1.05.tar.gz) = kwn0sNih31YypuMbmZKx1Lm2kgHZC4225E5cB5hXNh0=
-SIZE (Test-YAML-1.05.tar.gz) = 11500
+SHA256 (Test-YAML-1.06.tar.gz) = JzdhAxY8EtfROuRb8iyvWgw4R4NiQlv2hhPDdI92uUM=
+SIZE (Test-YAML-1.06.tar.gz) = 11470



Re: graphics/imlib2: imlib2-config vs. pkg-config

2016-11-22 Thread Jeremie Courreges-Anglas
Christian Weisgerber  writes:

> imlib2-config and pkg-config imlib2 don't agree:
>
> $ imlib2-config --cflags
> -I/usr/local/include
> $ pkg-config --cflags imlib2
> -I/usr/local/include -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include
>
> $ imlib2-config --libs  
> -L/usr/local/lib -lImlib2
> $ pkg-config --libs imlib2  
> -L/usr/local/lib -L/usr/X11R6/lib -lImlib2 -lfreetype -lz -lX11 -lXext -lm
>
> Is this expected?


I think that "-L/usr/local/lib -L/usr/X11R6/lib -lImlib2" and
"-I/usr/local/include -I/usr/X11R6/include" should be enough.

I'm not completely sure about CFLAGS and freetype headers, maybe they
are not stricly needed but so commonly used that it's easier to
overspecify them?

The diff below implements the proposal above.  Tested with the following
deps, but if someone wants to put it in a bulk, thanks in advance.

devel/giblib
devel/libast
games/xteddy
graphics/feh
graphics/libcaca
graphics/maim
graphics/p5-Image-Imlib2
graphics/qiv
graphics/scrot
graphics/sxiv
x11/tint2
x11/wbar


Index: Makefile
===
RCS file: /d/cvs/ports/graphics/imlib2/Makefile,v
retrieving revision 1.40
diff -u -p -r1.40 Makefile
--- Makefile9 Nov 2016 14:53:00 -   1.40
+++ Makefile22 Nov 2016 21:29:48 -
@@ -3,6 +3,7 @@
 COMMENT=   image manipulation library
 
 DISTNAME=  imlib2-1.4.9
+REVISION=  0
 SHARED_LIBS=   Imlib2  6.0 # .5.9
 CATEGORIES=graphics
 
@@ -29,6 +30,9 @@ CONFIGURE_ARGS+= --disable-mmx
 .endif
 CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
+
+pre-configure:
+   ${SUBST_CMD} ${WRKSRC}/imlib2.pc.in ${WRKSRC}/imlib2-config.in
 
 post-install:
rm ${PREFIX}/lib/imlib2/filters/*.la ${PREFIX}/lib/imlib2/loaders/*.la
Index: patches/patch-imlib2-config_in
===
RCS file: patches/patch-imlib2-config_in
diff -N patches/patch-imlib2-config_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-imlib2-config_in  22 Nov 2016 20:24:25 -
@@ -0,0 +1,18 @@
+$OpenBSD$
+--- imlib2-config.in.orig  Tue Nov 22 21:22:32 2016
 imlib2-config.in   Tue Nov 22 21:24:13 2016
+@@ -40,12 +40,12 @@ while test $# -gt 0; do
+   ;;
+ --cflags)
+   if test @prefix@/include != /usr/include ; then
+-includes="-I@prefix@/include"
++includes="-I@prefix@/include -I${X11BASE}/include"
+   fi
+   echo $includes
+   ;;
+ --libs)
+-  libdirs=-L@libdir@
++  libdirs="-L@libdir@ -L${X11BASE}/lib"
+   echo $libdirs -lImlib2
+   ;;
+ *)
Index: patches/patch-imlib2_pc_in
===
RCS file: /d/cvs/ports/graphics/imlib2/patches/patch-imlib2_pc_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-imlib2_pc_in
--- patches/patch-imlib2_pc_in  23 Apr 2015 17:31:21 -  1.2
+++ patches/patch-imlib2_pc_in  22 Nov 2016 20:24:25 -
@@ -1,12 +1,12 @@
 $OpenBSD: patch-imlib2_pc_in,v 1.2 2015/04/23 17:31:21 dcoppa Exp $
 imlib2.pc.in.orig  Sun Aug 17 11:39:14 2008
-+++ imlib2.pc.in   Mon May 10 18:33:26 2010
+--- imlib2.pc.in.orig  Tue Nov 22 21:21:26 2016
 imlib2.pc.in   Tue Nov 22 21:22:21 2016
 @@ -6,6 +6,6 @@ includedir=@includedir@
  Name: imlib2
  Description: Powerful image loading and rendering library
  Version: @VERSION@
 -Libs: -L${libdir} -lImlib2
 -Cflags: -I${includedir}
-+Libs: -L${libdir} -lImlib2 @FREETYPE_LIBS@ -lX11 -lXext -lm
-+Cflags: -I${includedir} @FREETYPE_CFLAGS@ @X_CFLAGS@
++Libs: -L${libdir} -L${X11BASE}/lib -lImlib2
++Cflags: -I${includedir} -I${X11BASE}/include
  


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



[UPDATE] devel/p5-YAML to 1.19

2016-11-22 Thread Andrew Fresh
Many issues fixed, including an infinite loop in parsing.
(Although since we have a hard dependency on devel/p5-YAML-XS, that's
not incredibly important)

https://metacpan.org/changes/distribution/YAML

All local tests pass and no significant changes in reverse dependency tests.

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-YAML/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile20 Mar 2016 19:56:41 -  1.19
+++ Makefile22 Nov 2016 21:18:57 -
@@ -5,7 +5,7 @@ COMMENT =   YAML Ain't Markup Language
 MODULES =  cpan
 PKG_ARCH = *
 
-DISTNAME = YAML-1.15
+DISTNAME = YAML-1.19
 CATEGORIES =   devel
 
 MAINTAINER =   Andrew Fresh 
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-YAML/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo10 May 2015 16:49:28 -  1.11
+++ distinfo22 Nov 2016 21:18:57 -
@@ -1,2 +1,2 @@
-SHA256 (YAML-1.15.tar.gz) = gPSVMi+nveWQlA8ZjCA75eccQg/vhEtb3Gdpwf4NnRs=
-SIZE (YAML-1.15.tar.gz) = 80702
+SHA256 (YAML-1.19.tar.gz) = MBD2ULDxehIKNMKj3N/J7iux/hRapSMFk266nAEgAFw=
+SIZE (YAML-1.19.tar.gz) = 81305



[UPDATE] devel/p5-Test-Harness to 3.36

2016-11-22 Thread Andrew Fresh
Simple update, improves the output with `--version` some YAML parsing
improvements as well as documentation and packaging changes.

https://metacpan.org/changes/distribution/Test-Harness

All local tests pass as do all tests for reverse dependencies.

OK?

Index: Makefile
===
RCS file: /cvs/ports/devel/p5-Test-Harness/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile20 Mar 2016 19:56:37 -  1.19
+++ Makefile22 Nov 2016 22:44:10 -
@@ -2,7 +2,7 @@
 
 COMMENT =  Run Perl standard test scripts with statistics
 
-DISTNAME = Test-Harness-3.34
+DISTNAME = Test-Harness-3.36
 CATEGORIES =   devel
 MODULES =  cpan
 PKG_ARCH = *
Index: distinfo
===
RCS file: /cvs/ports/devel/p5-Test-Harness/distinfo,v
retrieving revision 1.11
diff -u -p -r1.11 distinfo
--- distinfo10 Nov 2014 01:30:43 -  1.11
+++ distinfo22 Nov 2016 22:44:10 -
@@ -1,2 +1,2 @@
-SHA256 (Test-Harness-3.34.tar.gz) = 
DvY0puHsRm9NrrTFEUkDkSiz3NgH25QLA5fnYIdX228=
-SIZE (Test-Harness-3.34.tar.gz) = 241911
+SHA256 (Test-Harness-3.36.tar.gz) = 
51ZvE7BB0Ci1bxhLd+wlRexvC7Wg+PU2j35KCLSWtj4=
+SIZE (Test-Harness-3.36.tar.gz) = 213440



Re: [UPDATE] devel/p5-Test-YAML to 1.06

2016-11-22 Thread Alexander Bluhm
On Tue, Nov 22, 2016 at 02:27:50PM -0700, Andrew Fresh wrote:
> Simple update, no actual code changes, just documentation.
> But gets portroach to stop complaining about it.  1 down, 31 to go.
> 
> https://metacpan.org/changes/distribution/Test-YAML
> 
> OK?

OK bluhm@

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Test-YAML/Makefile,v
> retrieving revision 1.2
> diff -u -p -r1.2 Makefile
> --- Makefile  20 Mar 2016 19:56:39 -  1.2
> +++ Makefile  22 Nov 2016 21:22:05 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =testing module for YAML implementations
>  
> -DISTNAME =   Test-YAML-1.05
> +DISTNAME =   Test-YAML-1.06
>  CATEGORIES = devel
>  
>  MAINTAINER = Andrew Fresh 
> @@ -13,7 +13,8 @@ MODULES =   cpan
>  PKG_ARCH =   *
>  RUN_DEPENDS =devel/p5-Test-Base>=0.86
>  
> -TEST_DEPENDS =   devel/p5-Test-Pod
> +# Additional depends for RELEASE_TESTING
> +TEST_DEPENDS +=  devel/p5-Test-Pod
>  MAKE_ENV +=  RELEASE_TESTING=1
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Test-YAML/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  10 May 2015 16:47:01 -  1.1.1.1
> +++ distinfo  22 Nov 2016 21:22:05 -
> @@ -1,2 +1,2 @@
> -SHA256 (Test-YAML-1.05.tar.gz) = kwn0sNih31YypuMbmZKx1Lm2kgHZC4225E5cB5hXNh0=
> -SIZE (Test-YAML-1.05.tar.gz) = 11500
> +SHA256 (Test-YAML-1.06.tar.gz) = JzdhAxY8EtfROuRb8iyvWgw4R4NiQlv2hhPDdI92uUM=
> +SIZE (Test-YAML-1.06.tar.gz) = 11470



Re: [UPDATE] devel/p5-YAML to 1.19

2016-11-22 Thread Alexander Bluhm
On Tue, Nov 22, 2016 at 03:33:33PM -0700, Andrew Fresh wrote:
> Many issues fixed, including an infinite loop in parsing.
> (Although since we have a hard dependency on devel/p5-YAML-XS, that's
> not incredibly important)
> 
> https://metacpan.org/changes/distribution/YAML
> 
> All local tests pass and no significant changes in reverse dependency tests.
> 
> OK?

OK bluhm@

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-YAML/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile  20 Mar 2016 19:56:41 -  1.19
> +++ Makefile  22 Nov 2016 21:18:57 -
> @@ -5,7 +5,7 @@ COMMENT = YAML Ain't Markup Language
>  MODULES =cpan
>  PKG_ARCH =   *
>  
> -DISTNAME =   YAML-1.15
> +DISTNAME =   YAML-1.19
>  CATEGORIES = devel
>  
>  MAINTAINER = Andrew Fresh 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-YAML/distinfo,v
> retrieving revision 1.11
> diff -u -p -r1.11 distinfo
> --- distinfo  10 May 2015 16:49:28 -  1.11
> +++ distinfo  22 Nov 2016 21:18:57 -
> @@ -1,2 +1,2 @@
> -SHA256 (YAML-1.15.tar.gz) = gPSVMi+nveWQlA8ZjCA75eccQg/vhEtb3Gdpwf4NnRs=
> -SIZE (YAML-1.15.tar.gz) = 80702
> +SHA256 (YAML-1.19.tar.gz) = MBD2ULDxehIKNMKj3N/J7iux/hRapSMFk266nAEgAFw=
> +SIZE (YAML-1.19.tar.gz) = 81305



Re: [UPDATE] devel/p5-Test-Harness to 3.36

2016-11-22 Thread Alexander Bluhm
On Tue, Nov 22, 2016 at 03:54:19PM -0700, Andrew Fresh wrote:
> Simple update, improves the output with `--version` some YAML parsing
> improvements as well as documentation and packaging changes.
> 
> https://metacpan.org/changes/distribution/Test-Harness
> 
> All local tests pass as do all tests for reverse dependencies.
> 
> OK?

OK bluhm@

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/p5-Test-Harness/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile  20 Mar 2016 19:56:37 -  1.19
> +++ Makefile  22 Nov 2016 22:44:10 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =Run Perl standard test scripts with statistics
>  
> -DISTNAME =   Test-Harness-3.34
> +DISTNAME =   Test-Harness-3.36
>  CATEGORIES = devel
>  MODULES =cpan
>  PKG_ARCH =   *
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/p5-Test-Harness/distinfo,v
> retrieving revision 1.11
> diff -u -p -r1.11 distinfo
> --- distinfo  10 Nov 2014 01:30:43 -  1.11
> +++ distinfo  22 Nov 2016 22:44:10 -
> @@ -1,2 +1,2 @@
> -SHA256 (Test-Harness-3.34.tar.gz) = 
> DvY0puHsRm9NrrTFEUkDkSiz3NgH25QLA5fnYIdX228=
> -SIZE (Test-Harness-3.34.tar.gz) = 241911
> +SHA256 (Test-Harness-3.36.tar.gz) = 
> 51ZvE7BB0Ci1bxhLd+wlRexvC7Wg+PU2j35KCLSWtj4=
> +SIZE (Test-Harness-3.36.tar.gz) = 213440



Update: multimedia/mpv, feedback needed

2016-11-22 Thread Dmitrij D. Czarkoff
Hi!

I was asked off-list to add a "lite" flavor for multimedia/mpv.  This
diff introduces such version.  This iteration disables the fllowing in
"lite" FLAVOR:

 * Lua UI and scripting
 * Encoding
 * DVD and BluRay support
 * CDDA
 * Samba support
 * Subtitle reencoding with iconv
 * SDL2-based drivers
 * TV via v4l2

This saves about 38 Mb of dependencies and somewhat reduces the risks.

Comments?  OKs?

--
Dmitrij D. Czarkoff

Index: Makefile
===
RCS file: /var/cvs/ports/multimedia/mpv/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile20 Oct 2016 17:28:52 -  1.34
+++ Makefile22 Nov 2016 19:14:45 -
@@ -8,7 +8,7 @@ COMMENT =   movie player based on MPlayer
 
 GH_ACCOUNT =   mpv-player
 GH_PROJECT =   mpv
-GH_TAGNAME =   v0.21.0
+GH_TAGNAME =   v0.22.0
 
 CATEGORIES =   multimedia x11
 
@@ -25,47 +25,59 @@ EXTRACT_ONLY =  ${DISTNAME}${EXTRACT_SUF
 PERMIT_PACKAGE_CDROM = patents
 PERMIT_PACKAGE_FTP =   Yes
 
-WANTLIB += EGL GL SDL2 X11 X11-xcb Xau Xdamage Xdmcp Xext Xfixes
-WANTLIB += Xinerama Xrandr Xrender Xss Xv Xxf86vm ass avcodec
-WANTLIB += avdevice avfilter avformat avresample avutil bluray
-WANTLIB += c cdio cdio_cdda cdio_paranoia drm dvdnav dvdread expat
-WANTLIB += fontconfig freetype fribidi gbm iconv jpeg lcms2 m opus postproc
-WANTLIB += pthread pthread-stubs smbclient sndio speex swresample
-WANTLIB += swscale v4l2 v4lconvert vpx x264 x265 xcb xcb-dri2
-WANTLIB += xcb-glx z ${MODLUA_WANTLIB}
+WANTLIB += EGL GL X11 X11-xcb Xau Xdamage Xdmcp Xext Xfixes Xinerama
+WANTLIB += Xrandr Xrender Xss Xv Xxf86vm ass avcodec avfilter
+WANTLIB += avformat avresample avutil c drm expat fontconfig freetype
+WANTLIB += fribidi gbm m opus postproc pthread pthread-stubs sndio
+WANTLIB += speex swresample swscale vpx x264 x265 xcb xcb-dri2
+WANTLIB += xcb-glx z
 
-MODULES =  lang/lua \
-   lang/python
+MODULES =  lang/python
 
 BUILD_DEPENDS =audio/ladspa \
-   graphics/libmng \
textproc/py-docutils
 
-LIB_DEPENDS =  audio/libcdio \
+LIB_DEPENDS =  graphics/ffmpeg>=20151112 \
+   multimedia/libass
+
+MODPY_RUNDEP = No
+RUN_DEPENDS =  devel/desktop-file-utils \
+   x11/gtk+3,-guic
+
+FLAVORS ?= lite
+FLAVOR ?=
+
+.if ${FLAVOR:L:Mlite}
+TOGGLE =   disable
+.else
+TOGGLE =   enable
+
+WANTLIB += SDL2 ass avdevice bluray cdio cdio_cdda cdio_paranoia
+WANTLIB += dvdnav dvdread expat fontconfig freetype fribidi iconv
+WANTLIB += jpeg lcms2 smbclient v4l2 v4lconvert ${MODLUA_WANTLIB}
+
+MODULES += lang/lua
+
+LIB_DEPENDS += audio/libcdio \
converters/libiconv \
devel/libdvdread \
devel/sdl2 \
-   graphics/ffmpeg>=20151112 \
graphics/jpeg \
graphics/lcms2 \
-   multimedia/libass \
multimedia/libbluray>=0.8.0 \
multimedia/libdvdnav \
multimedia/libv4l \
net/samba
+RUN_DEPENDS += www/youtube-dl
+.endif
 
-MODPY_RUNDEP = No
-RUN_DEPENDS =  devel/desktop-file-utils \
-   x11/gtk+3,-guic
 
 CONFIGURE_ARGS =   --confloaddir=${SYSCONFDIR}/mpv \
--confdir=${LOCALBASE}/share/examples/mpv \
--mandir=${LOCALBASE}/man \
--docdir=${LOCALBASE}/share/examples/mpv \
--zshdir=${LOCALBASE}/share/zsh/vendor-completions \
-   --enable-encoding \
--enable-sndio \
-   --enable-sdl2 \
--enable-zsh-comp \
--disable-alsa \
--disable-caca \
@@ -92,7 +104,22 @@ CONFIGURE_ARGS =--confloaddir=${SYSCONF
--disable-vdpau-hwaccel \
--disable-videotoolbox-hwaccel \
--disable-videotoolbox-gl \
-   --disable-wayland
+   --disable-wayland \
+   --${TOGGLE}-audio-input \
+   --${TOGGLE}-cdda \
+   --${TOGGLE}-dvdread \
+   --${TOGGLE}-dvdnav \
+   --${TOGGLE}-encoding \
+   --${TOGGLE}-iconv \
+   --${TOGGLE}-jpeg \
+   --${TOGGLE}-lcms2 \
+   --${TOGGLE}-libavdevice \
+   --${TOGGLE}-libbluray \
+   --${TOGGLE}-libsmbclient \
+   --${TOGGLE}-libv4l2 \
+   --${TOGG

Re: Update: multimedia/mpv, feedback needed

2016-11-22 Thread Jeremie Courreges-Anglas
"Dmitrij D. Czarkoff"  writes:

> Hi!
>
> I was asked off-list to add a "lite" flavor for multimedia/mpv.  This
> diff introduces such version.  This iteration disables the fllowing in
> "lite" FLAVOR:
>
>  * Lua UI and scripting
>  * Encoding
>  * DVD and BluRay support
>  * CDDA
>  * Samba support
>  * Subtitle reencoding with iconv
>  * SDL2-based drivers
>  * TV via v4l2
>
> This saves about 38 Mb of dependencies and somewhat reduces the risks.
>
> Comments?  OKs?

I don't use mpv, but the fact that it uses libsmbclient puts mpv on my
plate when I update samba.  Last time I checked I didn't find the
smbclient support particularly useful (access files on network
filesystems that aren't mounted locally).  I'd be thankful if you just
killed any samba support in mpv.

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



Re: [NEW] games/ags

2016-11-22 Thread David Meier
On 11/22/16 10:28, Bryan Linton wrote:
>On 2016-11-22 00:21:29, David Meier  wrote:
>> Hello
>>
>> I've tested this port on amd64.
>> Can anyone take a look or commit this port?
>> If patches/files are ok, I try to push them upstream.
>>
>> Some games need to be extracted with innoextract
>> to play them with ags.
>>
>
>It won't build for me on i386.  I'm not sure if it may be a
>problem with my system, or if it's i386 itself.

I've now set up a VM with i386-current to build it,
and got a similar error. I've added:
BUILD_DEPENDS = audio/dumb
to the Makefile. Now it builds here on i386.

Ok?

>Full-disclosure, while I *am* using a custom kernel, the only
>difference is that I've enabled the PPPOE_TERM_UNKNOWN_SESSIONS
>option.
>
>OpenBSD 6.0-current (GENERIC.MP-PPPOE_TERM_UNKNOWN_SESSIONS) #0: Sat Nov 12 
>10:44:54 JST 2016
>
>It's a fairly recent system, but if something drastic changed in
>the last two weeks, I can try upgrading and trying to build it
>again.
>
>Build log:
>
>platform/util/pe.o
>platform/util/libc.o
>../Common/core/asset.o
>../Common/core/assetmanager.o
>../Common/font/ttffontrenderer.o
>../Common/font/fonts.o
>../Common/font/wfnfont.o
>../Common/font/wfnfontrenderer.o
>../Common/game/customproperties.o
>../Common/game/interactions.o
>../Common/gui/guibutton.o
>../Common/gui/guiinv.o
>../Common/gui/guilabel.o
>../Common/gui/guilistbox.o
>../Common/gui/guiobject.o
>../Common/gui/guimain.o
>../Common/gui/guitextbox.o
>../Common/gui/guislider.o
>../Common/script/cc_treemap.o
>../Common/util/compress.o
>../Common/util/ini_util.o
>../Common/util/filestream.o
>../Common/util/alignedstream.o
>../Common/util/inifile.o
>Linking common library...
>ar: common.a: Malformed archive
>gmake: *** [Makefile:38: common.a] Error 1
>*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2682
>'/usr/obj/ports/ags-3.4.0.13/.build_done')
>*** Error 1 in /usr/ports/mystuff/games/ags
>(/usr/ports/infrastructure/mk/bsd.port.mk:2389 'all')

ags.tar.gz
Description: ags.tar.gz


Re: Update: multimedia/mpv, feedback needed

2016-11-22 Thread trondd
On Tue, November 22, 2016 7:49 pm, Dmitrij D. Czarkoff wrote:
> Hi!
>
> I was asked off-list to add a "lite" flavor for multimedia/mpv.  This
> diff introduces such version.  This iteration disables the fllowing in
> "lite" FLAVOR:
>
>  * Lua UI and scripting
>  * Encoding
>  * DVD and BluRay support
>  * CDDA
>  * Samba support
>  * Subtitle reencoding with iconv
>  * SDL2-based drivers
>  * TV via v4l2
>
> This saves about 38 Mb of dependencies and somewhat reduces the risks.
>
> Comments?  OKs?
>
> --
> Dmitrij D. Czarkoff
>

I use mpv and I don't think I use any of those features.  I'll build it
and test it out, but I'm in favor of lighter and simpler.

Tim.