Re: x11/py-gtk2: no need for py-numpy

2020-11-07 Thread Antoine Jacoutot
On Sat, Nov 07, 2020 at 07:03:07PM +0100, Jeremie Courreges-Anglas wrote:
> 
> Older mypaint releases used this but our fresh mypaint port uses
> python3/gtk3.  I could not find other users of gdk_pixbuf_new_from_array
> or get_pixels_array on https://codesearch.debian.net/ .  Trying to use
> missing numpy support from py-gtk2 would result in this exception:
> 
>   "pygtk was not compiled with Numeric Python support"
> 
> Runtime tested with the gimp and the resynthetizer plugin.
> 
> ok to drop the py-numpy dep in this python2-only port?

OK aja
Thanks.


> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/x11/py-gtk2/Makefile,v
> retrieving revision 1.71
> diff -u -p -r1.71 Makefile
> --- Makefile  7 Nov 2020 17:19:21 -   1.71
> +++ Makefile  7 Nov 2020 17:44:01 -
> @@ -1,4 +1,4 @@
> -# $OpenBSD: Makefile,v 1.71 2020/11/07 17:19:21 jca Exp $
> +# $OpenBSD: Makefile,v 1.70 2020/11/01 20:38:45 jca Exp $
>  
>  BROKEN-alpha=.got subsegment exceeds 64K
>  
> @@ -7,7 +7,7 @@ COMMENT=  GTK+2 Python bindings
>  GNOME_PROJECT=   pygtk
>  GNOME_VERSION=   2.24.0
>  PKGNAME= py-gtk2-${VERSION}
> -REVISION=9
> +REVISION=10
>  
>  CATEGORIES=  x11
>  
> @@ -33,8 +33,7 @@ MODULES=lang/python \
>  BUILD_DEPENDS=   ${RUN_DEPENDS}
>  LIB_DEPENDS= devel/libglade2
>  RUN_DEPENDS= graphics/py2-cairo>=1.2 \
> - devel/py-gobject>=2.26.0 \
> - math/py-numpy
> + devel/py-gobject>=2.26.0
>  
>  USE_GMAKE=   No
>  
> @@ -43,6 +42,7 @@ PATCH_LIST= patch-* sup-mips64-*
>  .endif
>  
>  CONFIGURE_STYLE=gnu
> +CONFIGURE_ARGS=  --disable-numpy
>  
>  # pick bind_textdomain_codeset
>  MODGNOME_LDFLAGS=-lintl -liconv
> 
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 

-- 
Antoine



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/08 00:55:30

Modified files:
x11/mate/settings-daemon: Makefile 
x11/mate/settings-daemon/pkg: PLIST 

Log message:
Remove bogus @gtk-update-icon-cache anotation.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/08 00:48:27

Modified files:
x11/gnome/connections: Makefile 

Log message:
Another missing BDEP: devel/gobject-introspection



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/08 00:46:14

Modified files:
x11/gnome/mahjongg: Makefile 

Log message:
Missing BDEP on vala.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/08 00:44:36

Modified files:
x11/gnome/connections: Makefile 

Log message:
Missing BDEP on vala.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/08 00:42:26

Modified files:
x11/gnome/gucharmap: Makefile 

Log message:
Missing BDEP on textproc/gtk-doc.



Re: UPDATE: x11/xglobe

2020-11-07 Thread Rafael Sadowski
On Sat Nov 07, 2020 at 09:39:10AM +0100, Landry Breuil wrote:
> On Sat, Nov 07, 2020 at 07:42:56AM +0100, Rafael Sadowski wrote:
> > On Sun Jul 05, 2020 at 05:40:31PM +0200, Rafael Sadowski wrote:
> > > Please find below a diff to update xglobe to 0.6. The original xglobe is
> > > dead upstream. I modernized it just for fun and with the motivation to
> > > get rid of Qt3/KDE3 from the ports tree. This is a complete rewrite in
> > > C++17/Qt5.
> > > 
> > > Anyway, this is the first version after the reconstruction. For KDE and
> > > Linux it comes with Plasma support. For OpenBSD xwallpaper is required
> > > to draw the wallpaper.
> > > 
> > > I will try to continue to work on it and am happy about feedback.
> > > 
> > > Rafael
> > 
> > 
> > Update to 0.6.3. This version includes feedback from espie@ and ends
> > with the following fixes/features:
> > 
> > - Add support to override xwallpaper default options
> > - Adjust error,infos and debug messages and bugfixes
> > - Documentation
> 
> maybe a dumb question, but does it make sense to keep the complexity
> coming with the flavor ?
> 

Good question, let the maintainer decide!



Re: devel/boost: drop python2 support and speed up make fake

2020-11-07 Thread Rafael Sadowski
On Sun Nov 08, 2020 at 01:46:14AM +0100, Jeremie Courreges-Anglas wrote:
> 
> This diff drops boost_python27 and boost_numpy27.  I switched the
> defaults to python3 but the boost-build .py files aren't ready for that
> (using python3 -m compileall fails with syntax errors). No idea how
> used/useful boost-build actually is or how maintainers want to deal with
> this python2/3 mix.  One possible approach would be to run 2to3 on
> those files, but this doesn't catch all the py2->py3 gotchas.

I also worked on it yesterday and found the same py2->py3 issue.

> 
> Feedback welcome.
> 
> Unrelated, the do-install part has bugged me since some time.  It
> copies ~15000 headers, forking one install(1) process per header file.
> This is expensive, on my builder the diff below moves make fake from
> ~4mn to ~4sec.  I'd like to commit this seperately.  oks?

Nice work! Yes please! OK rsadowski@


> 
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/boost/Makefile,v
> retrieving revision 1.101
> diff -u -p -r1.101 Makefile
> --- Makefile  5 Nov 2020 11:23:03 -   1.101
> +++ Makefile  8 Nov 2020 00:17:38 -
> @@ -6,6 +6,7 @@ COMMENT-main= free peer-reviewed portabl
>  COMMENT-md=  machine-dependent libraries for boost
>  
>  VERSION= 1.70.0
> +REVISION=0
>  DISTNAME=boost_${VERSION:S/./_/g}
>  PKGNAME-main=boost-${VERSION}
>  PKGNAME-md=  boost-md-${VERSION}
> @@ -33,9 +34,7 @@ BOOST_LIBS= boost_atomic-mt \
>   boost_math_tr1l-mt boost_math_tr1l \
>   boost_prg_exec_monitor-mt boost_prg_exec_monitor \
>   boost_program_options-mt boost_program_options \
> - boost_numpy27-mt boost_numpy27 \
>   boost_numpy38-mt boost_numpy38 \
> - boost_python27-mt boost_python27 \
>   boost_python38-mt boost_python38 \
>   boost_random-mt boost_random \
>   boost_regex-mt boost_regex \
> @@ -79,12 +78,12 @@ COMPILER= base-clang ports-gcc
>  MULTI_PACKAGES=  -main -md
>  
>  MODULES= lang/python
> +MODPY_VERSION=   ${MODPY_DEFAULT_VERSION_3}
>  MODPY_RUNDEP=No
>  
> -# extras needed until py2 support can be removed
> -BUILD_DEPENDS+=  math/py-numpy \
> - math/py-numpy,python3 \
> - lang/python/${MODPY_DEFAULT_VERSION_3}
> +BUILD_DEPENDS+=  math/py-numpy${MODPY_FLAVOR}
> +# needed for byte-compiling boost-build
> +BUILD_DEPENDS+=  lang/python/${MODPY_DEFAULT_VERSION_2}
>  
>  LIB_DEPENDS= archivers/bzip2 \
>   textproc/icu4c
> @@ -116,11 +115,11 @@ BJAM_CONFIG=-sICU_PATH=${LOCALBASE} \
>   cxxflags='${CXXFLAGS} -pthread' \
>   variant=release \
>   link=static,shared \
> - threading=single,multi \
> + threading=single,multi
>  
>  BOOTSTRAP=   --with-bjam=${WRKSRC}/bjam \
>   --with-toolset=${TOOLSET} \
> - --with-python-root=${LOCALBASE}
> + --with-python=${MODPY_BIN}
>  
>  # 'context' and 'coroutine' use MD bits and miss support for Alpha,
>  # PA-RISC, SPARC and SuperH. The author does not care
> @@ -129,18 +128,6 @@ BOOTSTRAP=   --with-bjam=${WRKSRC}/bjam \
>  BOOTSTRAP+=  --without-libraries=context,coroutine,fiber,stacktrace
>  .endif
>  
> -PY2_BOOTSTRAP=   
> --with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_2} \
> - --with-python-version=${MODPY_DEFAULT_VERSION_2} \
> -
> -PY3_BOOTSTRAP=   
> --with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_3} \
> - --with-python-version=${MODPY_DEFAULT_VERSION_3} \
> -
> -PY2_INC= ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_2}
> -PY3_INC= ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_3}
> -
> -# temporary dir to stash libs when rebuilding with py2
> -PY3_DIR= ${WRKDIR}/lib.py3
> -
>  # python.port.mk makes assumptions about an empty CONFIGURE_STYLE
>  CONFIGURE_STYLE= none
>  
> @@ -164,39 +151,20 @@ do-configure:
>   cd ${WRKSRC}/tools/build/src/engine && \
>   ${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" /bin/sh ./build.sh cc 
> && \
>   cp bin.openbsd*/b2 bin.openbsd*/bjam ${WRKSRC}
> + cd ${WRKSRC} && ${SETENV} /bin/sh ./bootstrap.sh ${BOOTSTRAP}
>  
> -# b2 doesn't seem to respect python parameter, we need to run twice with
> -# separate python environments. when we remove py2 support later, bootstrap
> -# can move back to the configure stage and avoid the build/rm/rebuild dance..
>  do-build:
> - # First run of bootstrap/b2, setup for py3 environment:
> - sed 's;\(using python.*PYTHON_ROOT\).*;\1 : ${PY3_INC} \;;' \
> - < ${WRKSRC}/bootstrap.sh > ${WRKSRC}/bootstrap.sh.tmp
> - cd ${WRKSRC} && export ${MAKE_ENV} && \
> - /bin/sh ./bootstrap.sh.tmp ${BOOTSTRAP} ${PY3_BOOTSTRAP} && \
> - ./b2 ${BJAM_CONFIG} --with-python 
> python=${MODPY_DEFAULT_VERSION_3}
> -   

Re: devel/boost: drop python2 support and speed up make fake

2020-11-07 Thread Brad Smith

On 11/7/2020 7:46 PM, Jeremie Courreges-Anglas wrote:

This diff drops boost_python27 and boost_numpy27.  I switched the
defaults to python3 but the boost-build .py files aren't ready for that
(using python3 -m compileall fails with syntax errors). No idea how
used/useful boost-build actually is or how maintainers want to deal with
this python2/3 mix.  One possible approach would be to run 2to3 on
those files, but this doesn't catch all the py2->py3 gotchas.


I like seeing numpy being removed. Can't comment on the rest as I don't do
much Python wise. This looks like it just might help me going forward with
Boost.


Feedback welcome.

Unrelated, the do-install part has bugged me since some time.  It
copies ~15000 headers, forking one install(1) process per header file.
This is expensive, on my builder the diff below moves make fake from
~4mn to ~4sec.  I'd like to commit this seperately.  oks?


The install target has always bugged me as it is. Any improvement is a win.



Index: Makefile
===
RCS file: /cvs/ports/devel/boost/Makefile,v
retrieving revision 1.101
diff -u -p -r1.101 Makefile
--- Makefile5 Nov 2020 11:23:03 -   1.101
+++ Makefile8 Nov 2020 00:17:38 -
@@ -6,6 +6,7 @@ COMMENT-main=   free peer-reviewed portabl
  COMMENT-md=   machine-dependent libraries for boost
  
  VERSION=	1.70.0

+REVISION=  0
  DISTNAME= boost_${VERSION:S/./_/g}
  PKGNAME-main= boost-${VERSION}
  PKGNAME-md=   boost-md-${VERSION}
@@ -33,9 +34,7 @@ BOOST_LIBS=   boost_atomic-mt \
boost_math_tr1l-mt boost_math_tr1l \
boost_prg_exec_monitor-mt boost_prg_exec_monitor \
boost_program_options-mt boost_program_options \
-   boost_numpy27-mt boost_numpy27 \
boost_numpy38-mt boost_numpy38 \
-   boost_python27-mt boost_python27 \
boost_python38-mt boost_python38 \
boost_random-mt boost_random \
boost_regex-mt boost_regex \
@@ -79,12 +78,12 @@ COMPILER= base-clang ports-gcc
  MULTI_PACKAGES=   -main -md
  
  MODULES=	lang/python

+MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
  MODPY_RUNDEP= No
  
-# extras needed until py2 support can be removed

-BUILD_DEPENDS+=math/py-numpy \
-   math/py-numpy,python3 \
-   lang/python/${MODPY_DEFAULT_VERSION_3}
+BUILD_DEPENDS+=math/py-numpy${MODPY_FLAVOR}
+# needed for byte-compiling boost-build
+BUILD_DEPENDS+=lang/python/${MODPY_DEFAULT_VERSION_2}
  
  LIB_DEPENDS=	archivers/bzip2 \

textproc/icu4c
@@ -116,11 +115,11 @@ BJAM_CONFIG=  -sICU_PATH=${LOCALBASE} \
cxxflags='${CXXFLAGS} -pthread' \
variant=release \
link=static,shared \
-   threading=single,multi \
+   threading=single,multi
  
  BOOTSTRAP=	--with-bjam=${WRKSRC}/bjam \

--with-toolset=${TOOLSET} \
-   --with-python-root=${LOCALBASE}
+   --with-python=${MODPY_BIN}
  
  # 'context' and 'coroutine' use MD bits and miss support for Alpha,

  # PA-RISC, SPARC and SuperH. The author does not care
@@ -129,18 +128,6 @@ BOOTSTRAP= --with-bjam=${WRKSRC}/bjam \
  BOOTSTRAP+=   --without-libraries=context,coroutine,fiber,stacktrace
  .endif
  
-PY2_BOOTSTRAP=	--with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_2} \

-   --with-python-version=${MODPY_DEFAULT_VERSION_2} \
-
-PY3_BOOTSTRAP= --with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_3} 
\
-   --with-python-version=${MODPY_DEFAULT_VERSION_3} \
-
-PY2_INC=   ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_2}
-PY3_INC=   ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_3}
-
-# temporary dir to stash libs when rebuilding with py2
-PY3_DIR=   ${WRKDIR}/lib.py3
-
  # python.port.mk makes assumptions about an empty CONFIGURE_STYLE
  CONFIGURE_STYLE= none
  
@@ -164,39 +151,20 @@ do-configure:

cd ${WRKSRC}/tools/build/src/engine && \
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" /bin/sh ./build.sh cc 
&& \
cp bin.openbsd*/b2 bin.openbsd*/bjam ${WRKSRC}
+   cd ${WRKSRC} && ${SETENV} /bin/sh ./bootstrap.sh ${BOOTSTRAP}
  
-# b2 doesn't seem to respect python parameter, we need to run twice with

-# separate python environments. when we remove py2 support later, bootstrap
-# can move back to the configure stage and avoid the build/rm/rebuild dance..
  do-build:
-   # First run of bootstrap/b2, setup for py3 environment:
-   sed 's;\(using python.*PYTHON_ROOT\).*;\1 : ${PY3_INC} \;;' \
-   < ${WRKSRC}/bootstrap.sh > ${WRKSRC}/bootstrap.sh.tmp
-   cd ${WRKSRC} && export ${MAKE_ENV} && \
-   /bin/sh ./bootstrap.sh.tmp ${BOOTSTRAP} ${PY3_BOOTSTRAP} && \
-   ./b2 ${BJAM_CONFIG} --with-python 
python=${MODPY_DEFAULT_VERSION_3}
-   # Stash py3 libs in 

dwz error compiling glade on loongson

2020-11-07 Thread Bryan Irvine
I'm trying to compile glade but getting an error from dwz about 64-bit
Dwarf not supported.

Writing /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/Makefile.new
Writing /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/PLIST
Renaming /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/Makefile.new
to Makefile
> Extracting debug info from
/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/glade
dwz:
/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/.debug/glade.dbg:
64-bit DWARF not supported
*** Error 1 in /usr/ports/pobj/glade-3.36.0/fake-mips64el
(debug-pkg/Makefile:26
'/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/.debug/glade.dbg')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3028
'_copy-debug-info': @cd /usr/ports/pobj/glade-3.36.0/fake-mips64el &&  exec
...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2119
'/usr/ports/packages/mips64el/all/glade-3.36.0p0.tgz': @cd
/usr/ports/devel/...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2605
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$(
mktem...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package':
@:; cd /usr/ports/devel/glade && PKGPATH=devel/glade make _intern...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2137
'/var/db/pkg/glade-3.36.0p0/+CONTENTS': @cd /usr/ports/devel/glade &&
PKGPAT...)
*** Error 2 in /usr/ports/devel/glade (/usr/ports/infrastructure/mk/
bsd.port.mk:2584 'install': @lock=glade-3.36.0p0;  export _LOCKS_HELD=" ...)


xmonad changes coming with ghc-8.10.2 and cabal.port.mk

2020-11-07 Thread Greg Steuck
As we keep inching towards cabal-install-3.4 release (the last known
external blocker) I want to raise awareness of the changes coming to
xmonad users with custom xmonad.hs files as part of this update. I've
known and mentioned this change a few times on ports@ but it bears
repeating explicitly.

Primary reason for this change is each binary Haskell port will be built
hermetically. The notion of hs-libraries ports will disappear. Hence
such custom xmonad configurations will have to rely on Custom Build
Scripts[0].  This reference is a part of MESSAGE which also points at
the installed example files that I've been using for many months. This
is the same approach that FreeBSD ports have taken.

To make it abundantly clear, the change is not without some downsides
for the user. Cabal has to be available (e.g. from the port). GHC too
(same as before). The first rebuild will be slower as cabal will be
warming up its build cache and potentially downloading hackage index and
some sources.  Usability will be somewhat lacking though if somebody
feels ambitious the sample script could be improved with xmessage/xterm
to provide better UX.

The main goal of my message is informational. I also would like to learn
about any other xmonad users with custom configs on OpenBSD.

[0]https://github.com/xmonad/xmonad-testing/

Thanks
Greg



[NEW] Script for semi-automatic mount/umount operations

2020-11-07 Thread Alessandro De Laurenzis

Greetings,

This is the proposal for a new port: sysutils/amount

Disclaimer: I know that this kind of scripts are hardly ever accepted by 
OpenBSD community, nonetheless I use it on a daily basis and find it 
very handy.


 From DESCR:

amount is an OpenBSD specific, POSIX compliant shell script to manage
removable devices; it presents a list of available partitions, and
(un)mount them upon user request. A few commands used by amount require
special permissions (mount(8), umount(8), disklabel(8), fsck(8) ...), so
it should be run as root
I'm the author of the script; I tried to make it as close to the OpenBSD 
quality standard as I could, keeping it simple, but flexible enough to 
be adaptable to users' taste; it can be considered an alternative to the 
use of hotplugd, when full control of mount/unmount operations is desired.


Port-wise, the Makefile is very simple; I tried to add "PKG_ARCH = *", 
but it triggers an error during "make package" and since I don't know if 
it is really needed, I didn't investigate further; please advice in case 
I should re-add it.


I would appreciate hearing your opinion on both the port and (most 
important) the code style of the script (and the man page); see [1].


Any feedback welcome.

All the best

[1] https://github.com/just22/amount

--
Alessandro De Laurenzis
[mailto:jus...@atlantide.mooo.com]
Web: http://www.atlantide.mooo.com
LinkedIn: http://it.linkedin.com/in/delaurenzis



amount.tar.gz
Description: application/gzip


Re: CVS: cvs.openbsd.org: ports

2020-11-07 Thread Brad Smith

On 11/7/2020 6:45 AM, Jeremie Courreges-Anglas wrote:

CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/11/07 04:45:52

Modified files:
devel/llvm : Makefile

Log message:
Sync with base: performance optimizations CXXFLAGS

This adds:
-fno-ret-protector on powerpc and mips64el
-fomit-frame-pointer on mips64 and mips64el

Prompted by a similar diff from Brad


I intentionally did not include mips64el as it has not switched to Clang
as the default compiler and thus the compiler building the LLVM port.
No RETGUARD thus -fno-ret-protector is not valid for ports-gcc. base
will use Clang to rebuild itself once bootstrapped.



devel/boost: drop python2 support and speed up make fake

2020-11-07 Thread Jeremie Courreges-Anglas


This diff drops boost_python27 and boost_numpy27.  I switched the
defaults to python3 but the boost-build .py files aren't ready for that
(using python3 -m compileall fails with syntax errors). No idea how
used/useful boost-build actually is or how maintainers want to deal with
this python2/3 mix.  One possible approach would be to run 2to3 on
those files, but this doesn't catch all the py2->py3 gotchas.

Feedback welcome.

Unrelated, the do-install part has bugged me since some time.  It
copies ~15000 headers, forking one install(1) process per header file.
This is expensive, on my builder the diff below moves make fake from
~4mn to ~4sec.  I'd like to commit this seperately.  oks?


Index: Makefile
===
RCS file: /cvs/ports/devel/boost/Makefile,v
retrieving revision 1.101
diff -u -p -r1.101 Makefile
--- Makefile5 Nov 2020 11:23:03 -   1.101
+++ Makefile8 Nov 2020 00:17:38 -
@@ -6,6 +6,7 @@ COMMENT-main=   free peer-reviewed portabl
 COMMENT-md=machine-dependent libraries for boost
 
 VERSION=   1.70.0
+REVISION=  0
 DISTNAME=  boost_${VERSION:S/./_/g}
 PKGNAME-main=  boost-${VERSION}
 PKGNAME-md=boost-md-${VERSION}
@@ -33,9 +34,7 @@ BOOST_LIBS=   boost_atomic-mt \
boost_math_tr1l-mt boost_math_tr1l \
boost_prg_exec_monitor-mt boost_prg_exec_monitor \
boost_program_options-mt boost_program_options \
-   boost_numpy27-mt boost_numpy27 \
boost_numpy38-mt boost_numpy38 \
-   boost_python27-mt boost_python27 \
boost_python38-mt boost_python38 \
boost_random-mt boost_random \
boost_regex-mt boost_regex \
@@ -79,12 +78,12 @@ COMPILER= base-clang ports-gcc
 MULTI_PACKAGES=-main -md
 
 MODULES=   lang/python
+MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
 MODPY_RUNDEP=  No
 
-# extras needed until py2 support can be removed
-BUILD_DEPENDS+=math/py-numpy \
-   math/py-numpy,python3 \
-   lang/python/${MODPY_DEFAULT_VERSION_3}
+BUILD_DEPENDS+=math/py-numpy${MODPY_FLAVOR}
+# needed for byte-compiling boost-build
+BUILD_DEPENDS+=lang/python/${MODPY_DEFAULT_VERSION_2}
 
 LIB_DEPENDS=   archivers/bzip2 \
textproc/icu4c
@@ -116,11 +115,11 @@ BJAM_CONFIG=  -sICU_PATH=${LOCALBASE} \
cxxflags='${CXXFLAGS} -pthread' \
variant=release \
link=static,shared \
-   threading=single,multi \
+   threading=single,multi
 
 BOOTSTRAP= --with-bjam=${WRKSRC}/bjam \
--with-toolset=${TOOLSET} \
-   --with-python-root=${LOCALBASE}
+   --with-python=${MODPY_BIN}
 
 # 'context' and 'coroutine' use MD bits and miss support for Alpha,
 # PA-RISC, SPARC and SuperH. The author does not care
@@ -129,18 +128,6 @@ BOOTSTRAP= --with-bjam=${WRKSRC}/bjam \
 BOOTSTRAP+=--without-libraries=context,coroutine,fiber,stacktrace
 .endif
 
-PY2_BOOTSTRAP= --with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_2} 
\
-   --with-python-version=${MODPY_DEFAULT_VERSION_2} \
-
-PY3_BOOTSTRAP= --with-python=${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_3} 
\
-   --with-python-version=${MODPY_DEFAULT_VERSION_3} \
-
-PY2_INC=   ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_2}
-PY3_INC=   ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_3}
-
-# temporary dir to stash libs when rebuilding with py2
-PY3_DIR=   ${WRKDIR}/lib.py3
-
 # python.port.mk makes assumptions about an empty CONFIGURE_STYLE
 CONFIGURE_STYLE= none
 
@@ -164,39 +151,20 @@ do-configure:
cd ${WRKSRC}/tools/build/src/engine && \
${SETENV} CC="${CC}" CFLAGS="${CFLAGS}" /bin/sh ./build.sh cc 
&& \
cp bin.openbsd*/b2 bin.openbsd*/bjam ${WRKSRC}
+   cd ${WRKSRC} && ${SETENV} /bin/sh ./bootstrap.sh ${BOOTSTRAP}
 
-# b2 doesn't seem to respect python parameter, we need to run twice with
-# separate python environments. when we remove py2 support later, bootstrap
-# can move back to the configure stage and avoid the build/rm/rebuild dance..
 do-build:
-   # First run of bootstrap/b2, setup for py3 environment:
-   sed 's;\(using python.*PYTHON_ROOT\).*;\1 : ${PY3_INC} \;;' \
-   < ${WRKSRC}/bootstrap.sh > ${WRKSRC}/bootstrap.sh.tmp
-   cd ${WRKSRC} && export ${MAKE_ENV} && \
-   /bin/sh ./bootstrap.sh.tmp ${BOOTSTRAP} ${PY3_BOOTSTRAP} && \
-   ./b2 ${BJAM_CONFIG} --with-python 
python=${MODPY_DEFAULT_VERSION_3}
-   # Stash py3 libs in temporary dir:
-   mkdir ${PY3_DIR}
-   mv ${WRKSRC}/stage/lib/lib*python3* ${PY3_DIR}
-   mv ${WRKSRC}/stage/lib/lib*numpy3* ${PY3_DIR}
-   # Remove py3 .o files to force python recompilation:
-   rm ${WRKSRC}/project-config.jam
-   find ${WRKSRC}/bin.v2/libs/python -name "*.o" 

Re: [UPDATE] www/snownews-1.5.12 -> 1.6.10

2020-11-07 Thread trondd
Once more?

:D

Tim.

trondd  wrote:

> Post release poke.  Made sure it still builds and runs in -current.  Been
> using it on amd64 for a month.
> 
> Tim.
> 
> trondd  wrote:
> 
> > Remi Locherer  wrote:
> > 
> > > On Fri, Sep 18, 2020 at 06:47:44PM -0400, trondd wrote:
> > > > Looking around at RSS readers and thought I'd update snownews.  Jumps us
> > > > ahead by like 10 years.  Some significant changes to the configure 
> > > > process
> > > > I hope I worked around right.  Moved to GitHub.  They also dropped 
> > > > native
> > > > SSL support so I added a MESSAGE to notify any users.
> > > > 
> > > > Tim.
> > > 
> > > It works fine for the 2 feed I tested with. I think the message regarding
> > > HTTPS support makes sense.
> > > 
> > > port-check says pkg/MESSAGE should not contain $OpenBSD$ tag.
> > > 
> > > With that addressed OK remi.
> > 
> > Oops.  Thanks.  Thought of adding the MESSAGE at the last minute and didn't
> > think to rerun portcheck.  Here is the fixed diff.
> > 
> > Tim.
> > 


Index: Makefile
===
RCS file: /cvs/ports/www/snownews/Makefile,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile
--- Makefile12 Jul 2019 20:51:05 -  1.39
+++ Makefile19 Oct 2020 00:58:28 -
@@ -1,19 +1,22 @@
 # $OpenBSD: Makefile,v 1.39 2019/07/12 20:51:05 sthen Exp $
 
 COMMENT=   text mode rss newsreader
-DISTNAME=  snownews-1.5.12
-REVISION=  6
+DISTNAME=  snownews-1.6.10
 CATEGORIES=www
-MASTER_SITES=  ${HOMEPAGE}download/
 
-HOMEPAGE=  http://kiza.kcore.de/software/snownews/
+GH_ACCOUNT=kouya
+GH_PROJECT=snownews
+GH_TAGNAME=1.6.10
+
+HOMEPAGE=  https://github.com/kouya/snownews
 
 # GPL
 PERMIT_PACKAGE=Yes
 
-WANTLIB += c crypto curses iconv intl m lzma pthread xml2 z
+WANTLIB += c curses iconv intl xml2 z
 
 NO_TEST=   Yes
+
 USE_GMAKE= Yes
 
 BUILD_DEPENDS= devel/gettext,-tools
@@ -21,11 +24,11 @@ RUN_DEPENDS=textproc/p5-XML-LibXML
 LIB_DEPENDS=   devel/gettext,-runtime \
textproc/libxml
 
-MAKE_ENV+= EXTRA_CFLAGS="${CFLAGS}"
-MAKE_FLAGS+=   CC="${CC}"
+CONFIGURE_STYLE=   simple
+CONFIGURE_ARGS=--prefix="\$${PREFIX}" --mandir="\$${PREFIX}/man" \
+   --builddir=${WRKDIR}
 
-CONFIGURE_STYLE= simple
-CONFIGURE_ARGS= --prefix=${PREFIX}
+MESSAGE=   ${PKGDIR}/MESSAGE
 
 post-install:
ln -f ${PREFIX}/bin/opml2snow ${PREFIX}/bin/snow2opml
Index: distinfo
===
RCS file: /cvs/ports/www/snownews/distinfo,v
retrieving revision 1.16
diff -u -p -r1.16 distinfo
--- distinfo18 Jan 2015 03:15:50 -  1.16
+++ distinfo19 Oct 2020 00:58:28 -
@@ -1,2 +1,2 @@
-SHA256 (snownews-1.5.12.tar.gz) = Jt2W6TRdnLwcDJRwQXCA3Qw+sx5+qUT3jzMC1wYOy5A=
-SIZE (snownews-1.5.12.tar.gz) = 167944
+SHA256 (snownews-1.6.10.tar.gz) = jHgGeu914oPfSzzKHJZlh7ZlTp6Eo+bl64vdWCl5kkI=
+SIZE (snownews-1.6.10.tar.gz) = 189715
Index: patches/patch-Config_mk_in
===
RCS file: patches/patch-Config_mk_in
diff -N patches/patch-Config_mk_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Config_mk_in  19 Oct 2020 00:58:28 -
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: Config.mk.in
+--- Config.mk.in.orig
 Config.mk.in
+@@ -21,7 +21,7 @@ PREFIX   := @prefix@
+ BINDIR:= @bindir@
+ LOCALEPATH:= @localedir@
+ MANPATH   := @mandir@
+-BUILDDIR  := @builddir@/${NAME}
++BUILDDIR  := @builddir@/build
+ PKGDIR:= @pkgdir@
+ O := .o/
+ 
+@@ -29,7 +29,7 @@ O:= .o/
+ 
+ CFLAGS:= -Wall -Wextra -Wredundant-decls -Wshadow \
+  -std=c11 -I/usr/include/libxml2
+-LDFLAGS   := -liconv -lintl -lxml2 -lncurses -lz
++LDFLAGS   := -liconv -lintl -lncursesw -lxml2 -lz
+ ifdef DEBUG
+ CFLAGS+= -O0 -ggdb3
+ LDFLAGS   += -g -rdynamic
Index: patches/patch-Makefile
===
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- patches/patch-Makefile  18 Sep 2009 20:51:35 -  1.13
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-Makefile,v 1.13 2009/09/18 20:51:35 martynas Exp $
 Makefile.orig  Thu Sep 17 09:44:27 2009
-+++ Makefile   Thu Sep 17 11:10:11 2009
-@@ -2,7 +2,7 @@ CC= gcc
- MAKE=   make
- INSTALL=install
- LOCALEPATH= $(PREFIX)/share/locale
--MANPATH=$(PREFIX)/share/man
-+MANPATH=$(PREFIX)/man
- 
- ### Compiler/linker flags   ###
- ### Generated via configure ###
Index: patches/patch-configure
===
RCS file: /cvs/ports/www/snownews/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure
--- patches/patch-configure 

CVS: cvs.openbsd.org: ports

2020-11-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2020/11/07 15:22:43

Modified files:
mail/gmail-oauth2: Makefile 
mail/gmail-oauth2/pkg: DESCR 

Log message:
add a comment to DESCR drawing attention to the oauth2 refresh token
script now included in Mutt's examples dir (which uses python 3 whereas
this one is still py2-only).



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/11/07 15:21:41

Modified files:
devel/llvm : Makefile 

Log message:
mips64el hasn't switched to clang yet

Pointed out by Brad



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2020/11/07 15:20:46

Modified files:
mail/mutt  : Makefile distinfo 
mail/mutt/pkg  : PLIST 

Log message:
Update to Mutt 2.0.0.

This has a major version number bump due to some incompatible changes
in behaviour or defaults, although the code changes are less big than some
other "lesser" bumps.

See http://www.mutt.org/relnotes/2.0/ for details.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2020/11/07 15:13:39

Modified files:
www/pear   : Makefile 
www/pear/pkg   : PLIST-main 

Log message:
reinstate a pear/lib/.lock file that update-plist wants to remove,
which breaks ports trying to build using this. found the hard way by naddy.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2020/11/07 14:51:18

Modified files:
cad/qrouter: Makefile 

Log message:
cad/qrouter: drop USE_LLD=No; from Brad, ok maintainer. (I think I may
have added this when testing the patch for building on ld.bfd archs and
forgotten to remove it..)



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/11/07 14:48:06

Modified files:
x11/py-gtk2: Makefile 

Log message:
Drop dep on py2 numpy

Optional dep, could be useful if our graphics/mypaint used python2 (it doesn't).

ok sthen@



Re: turn off cython tests under python2

2020-11-07 Thread Daniel Dickman
On Sat, Nov 7, 2020 at 9:48 AM Stuart Henderson  wrote:
>
> Here's what I make the list of victims of removing py-numpy would be.
> Some of the ports involved aren't that important but others definitely
> are.
>
> devel/boost
>  - (lots)
> games/angrydd
> games/fretsonfire
> games/singularity
> ...(snip)...

Thanks for this updated list Stuart, this was also previously
highlighted here with my thoughts on a plan at that time:
https://marc.info/?l=openbsd-ports=160245446411390=2

(although a few of the things mentioned on that thread have since been
addressed).

> For opencv, digikam and nomacs don't appear to need python parts at all,
> let alone py2, I don't think dropping py2 from there is likely to cause
> much upset.

interesting, hadn't looked at the ports with maintainers myself yet.
but will look at if maintainers don't tackle. in which case, thanks
for the hints.

>
> For boost, I don't see anything with a listed wantlib on any type of
> the boost-numpy libs. Worth a bulk (on amd64; i386 misses too much
> these days to really be a good test) to make sure but dropping that
> should be possible too I think.

That sounds great. Getting boost moved over would be a huge help. I
think it's one of the last big stumbling blocks.

> For this reason I think that we need a py2-numpy for now

I don't know if we need it just yet? I'd like to at least finish
trying to see how much stuff can be moved over. I had a rough sketch
of a plan for everything apart from some of the games to be honest so
I think we can make a lot more progress before we need a py2-numpy
port.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Daniel Dickman
CVSROOT:/cvs
Module name:ports
Changes by: dan...@cvs.openbsd.org  2020/11/07 13:32:47

Modified files:
lang/cython: Makefile 

Log message:
eliminate dependency on python2 numpy

Only cython tests depend on py-numpy so we can drop the python2 dependency
without needing to convert all cython consumers to python3. Doing the
latter would require moving ports like py-sphinx to python3 which may still
be a long way off.

ok juanfra@ (MAINTAINER) with tweaks from jca@, sthen@



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Pavel Korovin
CVSROOT:/cvs
Module name:ports
Changes by: p...@cvs.openbsd.org2020/11/07 12:14:57

Modified files:
sysutils/ansible: Makefile distinfo 
sysutils/ansible/patches: patch-lib_ansible_config_base_yml 
sysutils/ansible/pkg: PLIST-main 

Log message:
Update ansible 2.9.14 -> 2.9.15
Changelog: 
https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#v2-9-15



Re: x11/py-gtk2: no need for py-numpy

2020-11-07 Thread Stuart Henderson

Oh nice! OK, if we run into problems we can readd it with a py2-numpy port.

--
 Sent from a phone, apologies for poor formatting.
On 7 November 2020 18:03:33 Jeremie Courreges-Anglas  wrote:


Older mypaint releases used this but our fresh mypaint port uses
python3/gtk3.  I could not find other users of gdk_pixbuf_new_from_array
or get_pixels_array on https://codesearch.debian.net/ .  Trying to use
missing numpy support from py-gtk2 would result in this exception:

 "pygtk was not compiled with Numeric Python support"

Runtime tested with the gimp and the resynthetizer plugin.

ok to drop the py-numpy dep in this python2-only port?


Index: Makefile
===
RCS file: /cvs/ports/x11/py-gtk2/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile7 Nov 2020 17:19:21 -   1.71
+++ Makefile7 Nov 2020 17:44:01 -
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.71 2020/11/07 17:19:21 jca Exp $
+# $OpenBSD: Makefile,v 1.70 2020/11/01 20:38:45 jca Exp $

BROKEN-alpha=   .got subsegment exceeds 64K

@@ -7,7 +7,7 @@ COMMENT=GTK+2 Python bindings
GNOME_PROJECT=  pygtk
GNOME_VERSION=  2.24.0
PKGNAME=py-gtk2-${VERSION}
-REVISION=  9
+REVISION=  10

CATEGORIES= x11

@@ -33,8 +33,7 @@ MODULES=  lang/python \
BUILD_DEPENDS=  ${RUN_DEPENDS}
LIB_DEPENDS=devel/libglade2
RUN_DEPENDS=graphics/py2-cairo>=1.2 \
-   devel/py-gobject>=2.26.0 \
-   math/py-numpy
+   devel/py-gobject>=2.26.0

USE_GMAKE=  No

@@ -43,6 +42,7 @@ PATCH_LIST=   patch-* sup-mips64-*
.endif

CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS=--disable-numpy

# pick bind_textdomain_codeset
MODGNOME_LDFLAGS=-lintl -liconv


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




x11/py-gtk2: no need for py-numpy

2020-11-07 Thread Jeremie Courreges-Anglas


Older mypaint releases used this but our fresh mypaint port uses
python3/gtk3.  I could not find other users of gdk_pixbuf_new_from_array
or get_pixels_array on https://codesearch.debian.net/ .  Trying to use
missing numpy support from py-gtk2 would result in this exception:

  "pygtk was not compiled with Numeric Python support"

Runtime tested with the gimp and the resynthetizer plugin.

ok to drop the py-numpy dep in this python2-only port?


Index: Makefile
===
RCS file: /cvs/ports/x11/py-gtk2/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile7 Nov 2020 17:19:21 -   1.71
+++ Makefile7 Nov 2020 17:44:01 -
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.71 2020/11/07 17:19:21 jca Exp $
+# $OpenBSD: Makefile,v 1.70 2020/11/01 20:38:45 jca Exp $
 
 BROKEN-alpha=  .got subsegment exceeds 64K
 
@@ -7,7 +7,7 @@ COMMENT=GTK+2 Python bindings
 GNOME_PROJECT= pygtk
 GNOME_VERSION= 2.24.0
 PKGNAME=   py-gtk2-${VERSION}
-REVISION=  9
+REVISION=  10
 
 CATEGORIES=x11
 
@@ -33,8 +33,7 @@ MODULES=  lang/python \
 BUILD_DEPENDS= ${RUN_DEPENDS}
 LIB_DEPENDS=   devel/libglade2
 RUN_DEPENDS=   graphics/py2-cairo>=1.2 \
-   devel/py-gobject>=2.26.0 \
-   math/py-numpy
+   devel/py-gobject>=2.26.0
 
 USE_GMAKE= No
 
@@ -43,6 +42,7 @@ PATCH_LIST=   patch-* sup-mips64-*
 .endif
 
 CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS=--disable-numpy
 
 # pick bind_textdomain_codeset
 MODGNOME_LDFLAGS=-lintl -liconv


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



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 10:50:53

Modified files:
x11/gnome/seahorse: Makefile distinfo 
Added files:
x11/gnome/seahorse/patches: patch-meson_build 

Log message:
Update to seahorse-3.38.0.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/11/07 10:19:22

Modified files:
x11/py-gtk2: Makefile 
x11/py-gtk2/pkg: PLIST 

Log message:
Sync PLIST

.pyo -> .${MODPY_PYOEXTENSION}



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Klemens Nanni
CVSROOT:/cvs
Module name:ports
Changes by: k...@cvs.openbsd.org2020/11/07 10:17:22

Modified files:
www/varnish: Makefile 
www/varnish/files: varnishreload varnishreload.1 
www/varnish/pkg: PLIST 

Log message:
Zap duplicate example VCL files, improve varnishreload(1)

- use UTC in timestamps
- provide EXAMPLES section
- improve manual wording



Re: turn off cython tests under python2

2020-11-07 Thread Juan Francisco Cantero Hurtado
On Fri, 6 Nov 2020 19:21:27 -0500 (EST)
Daniel Dickman  wrote:

> This diff sets NO_TEST=Yes for cython under python2 so numpy can be 
> updated.
> 
> If we don't go this route, we'd have to convert all the cython
> consumers to python3 so cython can be made python3-only. That means
> updating consumers like py-sphinx. So going down that path doesn't
> look very simple.
> 
> ok on the simpler approach below so we can move forward?

Sure, OK juanfra@.

Do you want to take the maintainership of cython?. You have been doing
the work for the last updates and looks like cython is the most
critical port in the dependency chain of some of your ports.

> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/cython/Makefile,v
> retrieving revision 1.45
> diff -u -p -u -r1.45 Makefile
> --- Makefile  10 Oct 2020 18:31:55 -  1.45
> +++ Makefile  7 Nov 2020 00:14:48 -
> @@ -6,6 +6,7 @@ MODPY_EGG_VERSION =   0.29.21
>  DISTNAME =   Cython-${MODPY_EGG_VERSION}
>  PKGNAME =py-cython-${MODPY_EGG_VERSION}
>  CATEGORIES = lang
> +REVISION =   0
>  
>  HOMEPAGE =   https://cython.org/
>  
> @@ -17,13 +18,22 @@ PERMIT_PACKAGE =  Yes
>  WANTLIB += pthread ${MODPY_WANTLIB}
>  
>  MODULES =lang/python
> +
> +FLAVORS =python3
> +FLAVOR ?=
> +
>  MODPY_PI =   Yes
>  MODPY_SETUPTOOLS =   Yes
> +
>  BUILD_DEPENDS =  devel/py-setuptools_git${MODPY_FLAVOR}
> -TEST_DEPENDS =   math/py-numpy${MODPY_FLAVOR}
>  
> -FLAVORS =python3
> -FLAVOR ?=
> +# XXX: no tests under python2 so numpy can be updated.
> +#  (numpy>=1.17.0 is python3-only)
> +.if ${FLAVOR:Mpython3}
> +TEST_DEPENDS +=  math/py-numpy${MODPY_FLAVOR}
> +.else
> +NO_TEST =Yes
> +.endif
>  
>  PORTHOME =   ${WRKDIR}
>  



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



[UPDATE] x11/menumaker 0.99.11p0 -> 0.99.12

2020-11-07 Thread Alessandro De Laurenzis

Greetings,

The attached diff updates x11/menumaker to the latest release.

What's new upstream
===
This is mainly a bugfix release; on top of that, support for Sakura, 
QTerminal and Alacritty terminal emulators (the latter is not available 
on OpenBSD) has been added.



What's new in the port
==
Since this is a trivial update, I took the opportunity to adjust the 
Makefile's indentation (hoping this doesn't create troubles for the review).


All the best

--
Alessandro De Laurenzis
[mailto:jus...@atlantide.mooo.com]
Web: http://www.atlantide.mooo.com
LinkedIn: http://it.linkedin.com/in/delaurenzis
Index: Makefile
===
RCS file: /cvs/ports/x11/menumaker/Makefile,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 Makefile
--- Makefile	3 Jul 2020 21:13:23 -	1.6
+++ Makefile	7 Nov 2020 15:15:56 -
@@ -1,9 +1,8 @@
 # $OpenBSD: Makefile,v 1.6 2020/07/03 21:13:23 sthen Exp $
 
 COMMENT =	menu generation utility for X window managers
-DISTNAME =	menumaker-0.99.11
+DISTNAME =	menumaker-0.99.12
 CATEGORIES =	x11
-REVISION =	0
 
 MASTER_SITES =	${MASTER_SITE_SOURCEFORGE:=menumaker/}
 
@@ -11,16 +10,16 @@ HOMEPAGE =	http://menumaker.sourceforge.
 MAINTAINER =	Alessandro De Laurenzis 
 
 # BSD
-PERMIT_PACKAGE =	Yes
+PERMIT_PACKAGE = Yes
 
-MODULES =		lang/python
-MODPY_VERSION =		${MODPY_DEFAULT_VERSION_3}
+MODULES =	lang/python
+MODPY_VERSION =	${MODPY_DEFAULT_VERSION_3}
 
-CONFIGURE_STYLE =	gnu
+CONFIGURE_STYLE = gnu
 
-MAKE_FLAGS =		PYTHON=${MODPY_BIN}
+MAKE_FLAGS =	PYTHON=${MODPY_BIN}
 
-NO_TEST =		Yes
+NO_TEST =	Yes
 
 post-install:
 	${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
Index: distinfo
===
RCS file: /cvs/ports/x11/menumaker/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo	18 Apr 2020 09:01:37 -	1.2
+++ distinfo	7 Nov 2020 15:15:56 -
@@ -1,2 +1,2 @@
-SHA256 (menumaker-0.99.11.tar.gz) = nYMa267yEB2LjYLkjXZMLBqAo46X3PkHQOtUDm2z+TY=
-SIZE (menumaker-0.99.11.tar.gz) = 205196
+SHA256 (menumaker-0.99.12.tar.gz) = 46NWYYalqe1Nchwed4ilryQ8jIpFuW/m//PpRYAomww=
+SIZE (menumaker-0.99.12.tar.gz) = 206208


CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 09:26:41

Modified files:
meta/gnome : Makefile 

Log message:
Fix typo.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 09:21:47

Modified files:
security/py-cryptodome: Makefile distinfo 

Log message:
update to py-cryptodome-3.9.9



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 09:15:16

Modified files:
sysutils/py-croniter: Makefile distinfo 
sysutils/py-croniter/pkg: PLIST 

Log message:
update to py3-croniter-0.3.36



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 09:13:32

Modified files:
lang/elixir: Makefile distinfo 

Log message:
update to elixir-1.11.2



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 09:09:55

Modified files:
x11/gnome/zenity: Makefile 

Log message:
sync WANTLIB



Re: turn off cython tests under python2

2020-11-07 Thread Rafael Sadowski
On Sat Nov 07, 2020 at 05:04:17PM +0100, Jeremie Courreges-Anglas wrote:
> 
> If people don't want to drop boost_numpy3X we could just drop python2
> support in devel/boost.
> 

+1



Re: turn off cython tests under python2

2020-11-07 Thread Jeremie Courreges-Anglas
On Sat, Nov 07 2020, Stuart Henderson  wrote:
> On 2020/11/07 13:26, Jeremie Courreges-Anglas wrote:
>> On Fri, Nov 06 2020, Daniel Dickman  wrote:
>> > This diff sets NO_TEST=Yes for cython under python2 so numpy can be 
>> > updated.
>> >
>> > If we don't go this route, we'd have to convert all the cython consumers 
>> > to python3 so cython can be made python3-only. That means updating 
>> > consumers like py-sphinx. So going down that path doesn't look very 
>> > simple.
>> 
>> As a policy I think that the TEST_DEPENDS of python2-only ports
>> shouldn't block updates of other ports to python3-only versions.
>
> Agreed. We are still some way off being able to retire a py2 version
> of numpy though.

Indeed.

>> > ok on the simpler approach below so we can move forward?
>> 
>> Makes sense to me, no need to bump REVISION though.  I'm not sure the
>> comment helps as the .if block looks self-explanatory to me.
>
> +1 to all of that.
>
> Here's what I make the list of victims of removing py-numpy would be.
> Some of the ports involved aren't that important but others definitely
> are.
>
> devel/boost
>  - (lots)
> games/angrydd
> games/fretsonfire
> games/singularity
> graphics/opencv
>  - graphics/digikam
>  - graphics/nomacs
> graphics/piglit
> lang/cython
> lang/pcbasic
> math/lpsolve/python
> print/printrun
> x11/py-gtk2
>  - audio/solfege
>  - comms/chirp
>  - devel/dissy
>  - devel/py-hachoir-metadata
>  - games/childsplay
>  - geo/gmapcatcher
>  - graphics/comix
>  - graphics/gimp/stable
>- graphics/gimp/deskew
>- graphics/gimp/lensfun
>- graphics/gimp/liquid-rescale
>- graphics/gimp/resynthesizer
>- graphics/xsane,gimp
>  - graphics/gnofract4d
>  - graphics/ufraw
>  - graphics/zbar
>  - net/nmap,-zenmap
>  - net/pidgin
>- net/microblog-purple
>- net/pidgin-sipe
>- net/pidgin-window-merge
>- security/pidgin-otr
>- x11/pidgin-guifications
>- x11/pidgin-libnotify
>  - print/pdfshuffler
>  - print/py-poppler
>  - x11/compiz/ccsm
>  - x11/driconf
>  - x11/gammapage
>  - x11/obmenu
>
> I don't think anyone will disagree with removing the dependency on
> py2 numpy where it's not actually useful.
>
> For opencv, digikam and nomacs don't appear to need python parts at all,
> let alone py2, I don't think dropping py2 from there is likely to cause
> much upset.
>
> For boost, I don't see anything with a listed wantlib on any type of
> the boost-numpy libs. Worth a bulk (on amd64; i386 misses too much
> these days to really be a good test) to make sure but dropping that
> should be possible too I think.

+1

If people don't want to drop boost_numpy3X we could just drop python2
support in devel/boost.

> For py-gtk2, IMHO gimp is an absolute show stopper. And for some of the
> others while not exactly critical software, there's no alternative.
> For this reason I think that we need a py2-numpy for now, and if we're
> doing that anyway then it makes sense to use it in cython TEST_DEPENDS
> too.

In py-gtk2 numpy support is optional.  I'll take a look.

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



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 08:56:32

Modified files:
devel/quirks   : Makefile 
devel/quirks/files: Quirks.pm 

Log message:
Register gnome-getting-started-docs removal.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 08:55:30

Modified files:
x11/gnome  : Makefile 
Removed files:
x11/gnome/getting-started-docs: Makefile distinfo 
x11/gnome/getting-started-docs/pkg: DESCR PLIST 

Log message:
Remove getting-started-docs; it's been replaced by gnome-tour and
gnome-user-docs.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 08:51:26

Modified files:
x11/gnome/initial-setup: Makefile distinfo 
x11/gnome/initial-setup/patches: 
 
patch-data_20-gnome-initial-setup_rules 
 
patch-gnome-initial-setup_gnome-initial-setup_c 
 patch-gnome-initial-setup_meson_build 

Log message:
Update to gnome-initial-setup-3.38.1.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 08:50:53

Modified files:
meta/gnome : Makefile 

Log message:
Switch x11/gnome/getting-started-docs for gnome-tour.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 08:41:16

Modified files:
x11/gnome  : Makefile 

Log message:
+tour



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 08:40:50

Log message:
Import gnome-tour-3.38.0.

A guided tour and greeter for GNOME.

ok jasper@

Status:

Vendor Tag: ajacoutot
Release Tags:   ajacoutot_2-2-11-7

N ports/x11/gnome/tour/Makefile
N ports/x11/gnome/tour/distinfo
N ports/x11/gnome/tour/pkg/DESCR
N ports/x11/gnome/tour/pkg/PLIST

No conflicts created by this import



Re: UPDATE: devel/jsoncpp

2020-11-07 Thread Rafael Sadowski
On Sat Nov 07, 2020 at 02:57:28PM +, Stuart Henderson wrote:
> On 2020/11/07 15:38, Jeremie Courreges-Anglas wrote:
> > On Sat, Nov 07 2020, Rafael Sadowski  wrote:
> > > Please find below a diff to update jsoncpp to the latest stable version
> > > on github. This version includes all patches and fixes some security
> > > related bugs. I removed the include path patches.
> > 
> > While I've cared about jsoncpp in the past I don't understand how its
> > headers could clash with something else (the patch mentions libc++
> > headers).  That's the whole point of using an include/json/ subdirectory
> > and telling people to use  in their code.  Maybe some people
> > missed the point and started including just  and
> > add -I/usr/local/include/json to their build system.
> 
> Only thing to be aware of is that some ports may start picking up jsoncpp
> (or may use the system version rather than a bundled one) as a result of
> this path change.
> 
> Besides the ports where jsoncpp is a listed dependency, here are the
> others where it shows in build logs. Some of these are really a pain if they
> fail in bulk build so it would be nice if they could be checked to make
> sure they don't start picking it up.
> 
> devel/electron
> games/odamex
> games/stepmania
> www/chromium
> www/firefox-esr
> www/iridium
> www/mozilla-firefox
> www/nginx
> www/ruby-passenger
> www/seamonkey
> www/tor-browser/browser
> x11/gnome/file-roller
> 

Thanks Stuart, thanks Jeremie, I'm going to check them all.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:58:24

Modified files:
x11/gnome/contacts: Makefile distinfo 
x11/gnome/contacts/pkg: PLIST 

Log message:
update to gnome-contacts-3.38.1



Re: UPDATE: devel/jsoncpp

2020-11-07 Thread Stuart Henderson
On 2020/11/07 15:38, Jeremie Courreges-Anglas wrote:
> On Sat, Nov 07 2020, Rafael Sadowski  wrote:
> > Please find below a diff to update jsoncpp to the latest stable version
> > on github. This version includes all patches and fixes some security
> > related bugs. I removed the include path patches.
> 
> While I've cared about jsoncpp in the past I don't understand how its
> headers could clash with something else (the patch mentions libc++
> headers).  That's the whole point of using an include/json/ subdirectory
> and telling people to use  in their code.  Maybe some people
> missed the point and started including just  and
> add -I/usr/local/include/json to their build system.

Only thing to be aware of is that some ports may start picking up jsoncpp
(or may use the system version rather than a bundled one) as a result of
this path change.

Besides the ports where jsoncpp is a listed dependency, here are the
others where it shows in build logs. Some of these are really a pain if they
fail in bulk build so it would be nice if they could be checked to make
sure they don't start picking it up.

devel/electron
games/odamex
games/stepmania
www/chromium
www/firefox-esr
www/iridium
www/mozilla-firefox
www/nginx
www/ruby-passenger
www/seamonkey
www/tor-browser/browser
x11/gnome/file-roller



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:54:11

Modified files:
misc/subsurface: Makefile 
Added files:
misc/subsurface/patches: patch-core_git-access_c 
 patch-core_save-git_c 

Log message:
add patches from upstream git to unbreak with libgit2-1.1.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:53:25

Modified files:
devel/libgit2/libgit2-glib: Makefile 
Added files:
devel/libgit2/libgit2-glib/patches: 

patch-libgit2-glib_ggit-clone-options_c 
patch-libgit2-glib_ggit-config_c 
patch-libgit2-glib_ggit-diff_c 
patch-libgit2-glib_ggit-error_c 
patch-libgit2-glib_ggit-message_c 
patch-libgit2-glib_ggit-patch_c 

patch-libgit2-glib_ggit-remote-callbacks_c 

patch-libgit2-glib_ggit-repository_c 

Log message:
unbreak with libgit2-1.1.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:52:30

Modified files:
devel/libgit2/py-git2: Makefile distinfo 
devel/libgit2/py-git2/pkg: PLIST 

Log message:
update to py-git2-1.4.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:51:46

Modified files:
devel/libgit2/libgit2: Makefile distinfo 
devel/libgit2/libgit2/pkg: PLIST 

Log message:
update libgit2 to 1.1.0



Re: turn off cython tests under python2

2020-11-07 Thread Stuart Henderson
On 2020/11/07 13:26, Jeremie Courreges-Anglas wrote:
> On Fri, Nov 06 2020, Daniel Dickman  wrote:
> > This diff sets NO_TEST=Yes for cython under python2 so numpy can be 
> > updated.
> >
> > If we don't go this route, we'd have to convert all the cython consumers 
> > to python3 so cython can be made python3-only. That means updating 
> > consumers like py-sphinx. So going down that path doesn't look very 
> > simple.
> 
> As a policy I think that the TEST_DEPENDS of python2-only ports
> shouldn't block updates of other ports to python3-only versions.

Agreed. We are still some way off being able to retire a py2 version
of numpy though.

> > ok on the simpler approach below so we can move forward?
> 
> Makes sense to me, no need to bump REVISION though.  I'm not sure the
> comment helps as the .if block looks self-explanatory to me.

+1 to all of that.

Here's what I make the list of victims of removing py-numpy would be.
Some of the ports involved aren't that important but others definitely
are.

devel/boost
 - (lots)
games/angrydd
games/fretsonfire
games/singularity
graphics/opencv
 - graphics/digikam
 - graphics/nomacs
graphics/piglit
lang/cython
lang/pcbasic
math/lpsolve/python
print/printrun
x11/py-gtk2
 - audio/solfege
 - comms/chirp
 - devel/dissy
 - devel/py-hachoir-metadata
 - games/childsplay
 - geo/gmapcatcher
 - graphics/comix
 - graphics/gimp/stable
   - graphics/gimp/deskew
   - graphics/gimp/lensfun
   - graphics/gimp/liquid-rescale
   - graphics/gimp/resynthesizer
   - graphics/xsane,gimp
 - graphics/gnofract4d
 - graphics/ufraw
 - graphics/zbar
 - net/nmap,-zenmap
 - net/pidgin
   - net/microblog-purple
   - net/pidgin-sipe
   - net/pidgin-window-merge
   - security/pidgin-otr
   - x11/pidgin-guifications
   - x11/pidgin-libnotify
 - print/pdfshuffler
 - print/py-poppler
 - x11/compiz/ccsm
 - x11/driconf
 - x11/gammapage
 - x11/obmenu

I don't think anyone will disagree with removing the dependency on
py2 numpy where it's not actually useful.

For opencv, digikam and nomacs don't appear to need python parts at all,
let alone py2, I don't think dropping py2 from there is likely to cause
much upset.

For boost, I don't see anything with a listed wantlib on any type of
the boost-numpy libs. Worth a bulk (on amd64; i386 misses too much
these days to really be a good test) to make sure but dropping that
should be possible too I think.

For py-gtk2, IMHO gimp is an absolute show stopper. And for some of the
others while not exactly critical software, there's no alternative.
For this reason I think that we need a py2-numpy for now, and if we're
doing that anyway then it makes sense to use it in cython TEST_DEPENDS
too.



Re: UPDATE: devel/jsoncpp

2020-11-07 Thread Jeremie Courreges-Anglas
On Sat, Nov 07 2020, Rafael Sadowski  wrote:
> Please find below a diff to update jsoncpp to the latest stable version
> on github. This version includes all patches and fixes some security
> related bugs. I removed the include path patches.

While I've cared about jsoncpp in the past I don't understand how its
headers could clash with something else (the patch mentions libc++
headers).  That's the whole point of using an include/json/ subdirectory
and telling people to use  in their code.  Maybe some people
missed the point and started including just  and
add -I/usr/local/include/json to their build system.

> I see no conflicts in
> the tree and all consumers are happy:
>
> devel/cmake
> games/minetest
> graphics/orthanc/*
> mail/kopano
> multimedia/upplay (outdated port, tweak diff in another mail).
>
> OK?

Looks correct, ok jca@

> Rafael
>
> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/jsoncpp/Makefile,v
> retrieving revision 1.29
> diff -u -p -u -p -r1.29 Makefile
> --- Makefile  12 Jul 2019 20:44:36 -  1.29
> +++ Makefile  1 Nov 2020 20:02:54 -
> @@ -4,11 +4,10 @@ COMMENT =   JSON parsing C++ API
>  
>  GH_ACCOUNT = open-source-parsers
>  GH_PROJECT = jsoncpp
> -GH_TAGNAME = 1.8.4
> -REVISION =   2
> +GH_TAGNAME = 1.9.4
>  
>  # no upstream revision
> -SHARED_LIBS =jsoncpp 4.0
> +SHARED_LIBS =jsoncpp 5.0
>  
>  CATEGORIES = devel
>  
> @@ -21,7 +20,13 @@ WANTLIB =  m ${COMPILER_LIBCXX}
>  
>  COMPILER =   base-clang ports-gcc base-gcc
>  
> -MODULES =devel/meson
> +MODULES =devel/meson \
> + lang/python
> +
> +CONFIGURE_STYLE =meson
> +
> +MODPY_RUNDEP =   No
> +MODPY_VERSION =  ${MODPY_DEFAULT_VERSION_3}
>  
>  TEST_ENV +=  LD_PRELOAD=${WRKBUILD}/libjsoncpp.so.${LIBjsoncpp_VERSION}
>  
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/jsoncpp/distinfo,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 distinfo
> --- distinfo  11 Feb 2018 09:05:59 -  1.14
> +++ distinfo  1 Nov 2020 20:02:54 -
> @@ -1,2 +1,2 @@
> -SHA256 (jsoncpp-1.8.4.tar.gz) = xJ3qyeCTO8twRPCFFoYaLVYJiFQLI94qwa1EOyGa/bY=
> -SIZE (jsoncpp-1.8.4.tar.gz) = 200226
> +SHA256 (jsoncpp-1.9.4.tar.gz) = 40piioFCZDuXbHIz7zgUV++teUaMZ8sa4Lg6M9dJOZk=
> +SIZE (jsoncpp-1.9.4.tar.gz) = 214057
> Index: patches/patch-include_json_config_h
> ===
> RCS file: patches/patch-include_json_config_h
> diff -N patches/patch-include_json_config_h
> --- patches/patch-include_json_config_h   18 Feb 2018 20:50:25 -  
> 1.4
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,32 +0,0 @@
> -$OpenBSD: patch-include_json_config_h,v 1.4 2018/02/18 20:50:25 jca Exp $
> -
> -"explicit" on non-constructors are a C++11 feature
> -https://github.com/open-source-parsers/jsoncpp/commit/04abe38148d99b2a5270521935115d769a714adc
> -
> -Index: include/json/config.h
>  include/json/config.h.orig
> -+++ include/json/config.h
> -@@ -84,15 +84,23 @@
> - #if __cplusplus >= 201103L
> - # define JSONCPP_OVERRIDE override
> - # define JSONCPP_NOEXCEPT noexcept
> -+# define JSONCPP_OP_EXPLICIT explicit
> - #elif defined(_MSC_VER) && _MSC_VER > 1600 && _MSC_VER < 1900
> - # define JSONCPP_OVERRIDE override
> - # define JSONCPP_NOEXCEPT throw()
> -+# if _MSC_VER >= 1800 // MSVC 2013
> -+#  define JSONCPP_OP_EXPLICIT explicit
> -+# else
> -+#  define JSONCPP_OP_EXPLICIT
> -+# endif
> - #elif defined(_MSC_VER) && _MSC_VER >= 1900
> - # define JSONCPP_OVERRIDE override
> - # define JSONCPP_NOEXCEPT noexcept
> -+# define JSONCPP_OP_EXPLICIT explicit
> - #else
> - # define JSONCPP_OVERRIDE
> - # define JSONCPP_NOEXCEPT throw()
> -+# define JSONCPP_OP_EXPLICIT
> - #endif
> - 
> - #ifndef JSON_HAS_RVALUE_REFERENCES
> Index: patches/patch-include_json_value_h
> ===
> RCS file: patches/patch-include_json_value_h
> diff -N patches/patch-include_json_value_h
> --- patches/patch-include_json_value_h18 Feb 2018 20:50:25 -  
> 1.3
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,48 +0,0 @@
> -$OpenBSD: patch-include_json_value_h,v 1.3 2018/02/18 20:50:25 jca Exp $
> -
> -"explicit" on non-constructors are a C++11 feature
> -https://github.com/open-source-parsers/jsoncpp/commit/04abe38148d99b2a5270521935115d769a714adc
> -
> -XXX Revert commit 23c44d9f9eed8a7ff95daca9bd44526067c144c0 to avoid
> -undefined references when linking cmake.
> -
> -commit 23c44d9f9eed8a7ff95daca9bd44526067c144c0
> -Author: Dhruv Paranjape 
> -Date:   Sat Jul 8 12:00:47 2017
> -
> -overload append function for R value references.
> -
> -Index: include/json/value.h
>  include/json/value.h.orig
> -+++ include/json/value.h
> -@@ 

CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:22:25

Modified files:
x11/gnome  : Makefile 

Log message:
+mahjongg



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 07:21:48

Log message:
import gnome-mahjongg-3.38.3

Mahjongg is a solitaire (one player) version of the classic Eastern tile
game, Mahjongg. The objective is to select pairs of similar tiles.

ok aja@

Status:

Vendor Tag: jasper
Release Tags:   jasper_20200711

N ports/x11/gnome/mahjongg/Makefile
N ports/x11/gnome/mahjongg/distinfo
N ports/x11/gnome/mahjongg/pkg/DESCR
N ports/x11/gnome/mahjongg/pkg/PLIST

No conflicts created by this import



Re: jsoncpp update: multimedia/upplay

2020-11-07 Thread Jeremie Courreges-Anglas
On Sat, Nov 07 2020, Rafael Sadowski  wrote:
> Fix upplay with upcoming jsoncpp update.

Actually you could just drop the patch.  The build would then pass c++
a bogus -I/usr/include/jsoncpp but it doesn't harm.

  dirbrowser/dirb_json.cpp:#include 

> While here, fix WANTLIB and
> remove qtscript dependency.
>
> OK?

LGTM, ok jca@ once the jsoncpp update is in.

> diff --git a/multimedia/upplay/Makefile b/multimedia/upplay/Makefile
> index 4f5c22d5fbd..3266c6b4a13 100644
> --- a/multimedia/upplay/Makefile
> +++ b/multimedia/upplay/Makefile
> @@ -3,6 +3,7 @@
>  COMMENT =UPnP audio control point
>  
>  DISTNAME =   upplay-1.3.3
> +REVISION =   0
>  
>  CATEGORIES = multimedia net
>  
> @@ -13,9 +14,8 @@ MAINTAINER =Pascal Stumpf 
>  # GPLv3+
>  PERMIT_PACKAGE = Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5Script
> -WANTLIB += Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml c jsoncpp
> -WANTLIB += m upnpp
> +WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5WebKit
> +WANTLIB += Qt5WebKitWidgets Qt5Widgets c jsoncpp m upnpp
>  
>  MASTER_SITES =   https://www.lesbonscomptes.com/upplay/downloads/
>  
> @@ -29,7 +29,6 @@ RUN_DEPENDS =   devel/desktop-file-utils \
>   x11/gtk+3,-guic
>  LIB_DEPENDS =devel/jsoncpp \
>   net/libupnpp>=0.17.1 \
> - x11/qt5/qtscript \
>   x11/qt5/qtwebkit
>  
>  NO_TEST =Yes
> diff --git a/multimedia/upplay/patches/patch-upplay_pro 
> b/multimedia/upplay/patches/patch-upplay_pro
> index 5b976050929..1882c44b18d 100644
> --- a/multimedia/upplay/patches/patch-upplay_pro
> +++ b/multimedia/upplay/patches/patch-upplay_pro
> @@ -8,7 +8,7 @@ Index: upplay.pro
> message("Prefix is $$PREFIX")
> DEFINES += PREFIX=\\\"$$PREFIX\\\" 
>  -  INCLUDEPATH += /usr/include/jsoncpp
> -+  INCLUDEPATH += ${LOCALBASE}/include/jsoncpp
> ++  INCLUDEPATH += ${LOCALBASE}/include/json
> 
># Installation stuff
> target.path = "$$PREFIX/bin"
>

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



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 06:29:28

Modified files:
x11/gnome/seahorse: Makefile 

Log message:
fallback to bundled libhandy for now while upstream sorts out the transition to 
libhandy1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Bjorn Ketelaars
CVSROOT:/cvs
Module name:ports
Changes by: b...@cvs.openbsd.org2020/11/07 06:14:21

Modified files:
x11/i3 : Makefile distinfo 

Log message:
Update to i3-4.18.3

Bugfix release. Changes:
https://github.com/i3/i3/blob/4.18.3/RELEASE-NOTES-4.18.3

OK tb@



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 06:13:35

Modified files:
x11/gnome/shell-extensions: Makefile distinfo 
x11/gnome/shell-extensions/pkg: PLIST 

Log message:
update to gnome-shell-extensions-3.38.1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 06:13:34

Modified files:
x11/gnome/shell: Makefile distinfo 
x11/gnome/shell/patches: 
 
patch-data_gnome-shell-dbus-interfaces_gresource_xml 
 patch-js_misc_loginManager_js 
x11/gnome/shell/pkg: PLIST 

Log message:
update to gnome-shell-3.38.1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 06:13:36

Modified files:
x11/gnome/terminal: Makefile distinfo 
x11/gnome/terminal/pkg: PLIST 

Log message:
update to gnome-terminal-3.38.1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 06:13:32

Modified files:
x11/gnome/mutter: Makefile distinfo 
x11/gnome/mutter/pkg: PLIST 
Added files:
x11/gnome/mutter/patches: patch-cogl_cogl_cogl-dma-buf-handle_c 
  patch-cogl_cogl_cogl-dma-buf-handle_h 
  patch-cogl_meson_build 

Log message:
update to 
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
update to mutter-3.38.



Re: turn off cython tests under python2

2020-11-07 Thread Jeremie Courreges-Anglas
On Fri, Nov 06 2020, Daniel Dickman  wrote:
> This diff sets NO_TEST=Yes for cython under python2 so numpy can be 
> updated.
>
> If we don't go this route, we'd have to convert all the cython consumers 
> to python3 so cython can be made python3-only. That means updating 
> consumers like py-sphinx. So going down that path doesn't look very 
> simple.

As a policy I think that the TEST_DEPENDS of python2-only ports
shouldn't block updates of other ports to python3-only versions.

> ok on the simpler approach below so we can move forward?

Makes sense to me, no need to bump REVISION though.  I'm not sure the
comment helps as the .if block looks self-explanatory to me.

>
> Index: Makefile
> ===
> RCS file: /cvs/ports/lang/cython/Makefile,v
> retrieving revision 1.45
> diff -u -p -u -r1.45 Makefile
> --- Makefile  10 Oct 2020 18:31:55 -  1.45
> +++ Makefile  7 Nov 2020 00:14:48 -
> @@ -6,6 +6,7 @@ MODPY_EGG_VERSION =   0.29.21
>  DISTNAME =   Cython-${MODPY_EGG_VERSION}
>  PKGNAME =py-cython-${MODPY_EGG_VERSION}
>  CATEGORIES = lang
> +REVISION =   0
>  
>  HOMEPAGE =   https://cython.org/
>  
> @@ -17,13 +18,22 @@ PERMIT_PACKAGE =  Yes
>  WANTLIB += pthread ${MODPY_WANTLIB}
>  
>  MODULES =lang/python
> +
> +FLAVORS =python3
> +FLAVOR ?=
> +
>  MODPY_PI =   Yes
>  MODPY_SETUPTOOLS =   Yes
> +
>  BUILD_DEPENDS =  devel/py-setuptools_git${MODPY_FLAVOR}
> -TEST_DEPENDS =   math/py-numpy${MODPY_FLAVOR}
>  
> -FLAVORS =python3
> -FLAVOR ?=
> +# XXX: no tests under python2 so numpy can be updated.
> +#  (numpy>=1.17.0 is python3-only)
> +.if ${FLAVOR:Mpython3}
> +TEST_DEPENDS +=  math/py-numpy${MODPY_FLAVOR}
> +.else
> +NO_TEST =Yes
> +.endif
>  
>  PORTHOME =   ${WRKDIR}
>  
>


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



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 05:17:25

Modified files:
x11/gnome/quadrapassel: Makefile distinfo 
x11/gnome/quadrapassel/pkg: PLIST 

Log message:
update to quadrapassel-3.38.1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 05:12:21

Modified files:
x11/gnome/builder: Makefile distinfo 
x11/gnome/builder/pkg: PLIST 

Log message:
Update to gnome-builder-3.38.1.



Re: [UPDATE] Awesome WM 4.2 -> 4.3

2020-11-07 Thread Rafael Sadowski
On Wed May 20, 2020 at 11:19:08PM +0200, Enric Morales wrote:
> Hi @ports,
> 
> I rebuilt my machine and lost my updated port and instead of recovering it
> from here, I went ahead and made a new one from scratch.  I noticed that I
> missed a couple files (awesome themes) that needed to be patched to fix
> lookup paths. Here are some of the changes of this diff:
> 
> - it removes a patch related to manpages (they are not compressed by default
> anymore, and the build works fine without that CFLAG).  Instead of doing the
> work of removing the translated documentation from the CMakefiles, they are
> now removed with the port Makefile, since it will ease maintenance.
> - it builds with Lua 5.3 now
> - the API documentation is now built and installed so it can be used offline
> - I also noticed that the pango library had to be explicitly listed in the
> Makefile, it's (now?) a direct dependency of Awesome WM and it just refuses
> to build without it:
> 
> [50/288] : && /usr/ports/pobj/awesome-4.3/bin/cc -O2 -pipe -DNDEBUG
> CMakeFiles/test-gravity.dir/tests/test-gravity.c.o  -o test-gravity
> -L/usr/local/lib   -L/usr/lib -L/usr/X11R6/lib  -lxcb  -L/usr/X11R6/lib
> -lxcb  -L/usr/local/lib  -L/usr/X11R6/lib  -Wl,-rpath-link,/usr/X11R6/lib
> -lgdk_pixbuf-2.0  -lgobject-2.0  -lglib-2.0  -lintl  -lX11  -lxcb-cursor
> -lxcb-randr  -lxcb-xtest  -lxcb-xinerama  -lxcb-shape  -lxcb-util
> -lxcb-keysyms  -lxcb-icccm  -lxcb-xkb  -lxkbcommon-x11  -lxkbcommon  -lcairo
> -lxcb-render  -lstartup-notification-1  -lxdg-basedir  -lxcb-xrm  -lxcb
> -lexecinfo  -lm  -llua5.3  -lm  -lgdk_pixbuf-2.0  -lgobject-2.0  -lglib-2.0
> -lintl  -lX11  -lxcb-cursor  -lxcb-randr  -lxcb-xtest  -lxcb-xinerama
> -lxcb-shape  -lxcb-util  -lxcb-keysyms  -lxcb-icccm  -lxcb-xkb
> -lxkbcommon-x11  -lxkbcommon  -lcairo  -lxcb-render
> -lstartup-notification-1  -lxdg-basedir  -lxcb-xrm  -lexecinfo  -lm
> -llua5.3  -lm  -Wl,-rpath-link,/usr/X11R6/lib:/usr/local/lib && :
> [51/288] cd /usr/ports/pobj/awesome-4.3/build-amd64 &&
> /usr/ports/pobj/awesome-4.3/build-amd64/lgi-check
> FAILED: CMakeFiles/lgi-check-run
> cd /usr/ports/pobj/awesome-4.3/build-amd64 &&
> /usr/ports/pobj/awesome-4.3/build-amd64/lgi-check
> Building for Lua 5.3.
> Found lgi 0.9.1.
> Error: /usr/local/share/lua/5.3/lgi/namespace.lua:151: Typelib file for
> namespace 'Pango' (any version) not found
> 
> 
>WARNING
>===
> 
>  The lgi check failed.
>  Awesome needs lgi to run.
>  Add AWESOME_IGNORE_LGI=1 to your environment to continue.
> 
> 
> Could you please take a look at it?
> 
> Cheers,
> 
> Enric

I guess we need devel/pango to build awesome 4.3. Could you test the
diff below.

Rafael

diff --git a/x11/awesome/Makefile b/x11/awesome/Makefile
index 63183e854be..a1a238e0aa8 100644
--- a/x11/awesome/Makefile
+++ b/x11/awesome/Makefile
@@ -2,10 +2,8 @@
 
 COMMENT=   highly configurable framework window manager
 
-VER=   4.2
-DISTNAME=  awesome-${VER}
-REVISION=  1
-EXTRACT_SUFX=  .tar.xz
+V= 4.3
+DISTNAME=  awesome-${V}
 CATEGORIES=x11
 
 HOMEPAGE=  https://awesomewm.org/
@@ -13,27 +11,25 @@ HOMEPAGE=   https://awesomewm.org/
 # GPLv2+
 PERMIT_PACKAGE=Yes
 
-WANTLIB=   X11 c cairo dbus-1 execinfo \
-   gdk_pixbuf-2.0 glib-2.0 gobject-2.0 \
-   intl ${MODLUA_WANTLIB} m \
-   startup-notification-1 xcb xcb-cursor \
-   xcb-icccm xcb-keysyms xcb-randr \
-   xcb-render xcb-shape xcb-util \
-   xcb-xinerama xcb-xkb xcb-xrm xcb-xtest \
-   xdg-basedir xkbcommon-x11 xkbcommon
+WANTLIB += X11 c cairo dbus-1 execinfo gdk_pixbuf-2.0 glib-2.0
+WANTLIB += gobject-2.0 intl lua5.3 m startup-notification-1 xcb
+WANTLIB += xcb-cursor xcb-icccm xcb-keysyms xcb-randr xcb-render
+WANTLIB += xcb-shape xcb-util xcb-xinerama xcb-xkb xcb-xrm xcb-xtest
+WANTLIB += xdg-basedir xkbcommon xkbcommon-x11 ${MODLUA_WANTLIB}
 
-MASTER_SITES=  
https://github.com/awesomeWM/awesome/releases/download/v${VER}/
+MASTER_SITES=  
https://github.com/awesomeWM/awesome/releases/download/v${V}/
+EXTRACT_SUFX=  .tar.xz
 
 MODULES=   devel/cmake \
lang/lua
 
-MODLUA_VERSION=5.2
+MODLUA_VERSION=5.3
 
-LIB_DEPENDS=   devel/libexecinfo \
+LIB_DEPENDS=   ${MODLUA_LIB_DEPENDS} \
+   devel/libexecinfo \
devel/startup-notification \
graphics/cairo \
graphics/gdk-pixbuf2 \
-   ${MODLUA_LIB_DEPENDS} \
x11/dbus \
x11/libxdg-basedir \
x11/xkbcommon
@@ -41,38 +37,48 @@ LIB_DEPENDS=

CVS: cvs.openbsd.org: ports

2020-11-07 Thread Solene Rapenne
CVSROOT:/cvs
Module name:ports
Changes by: sol...@cvs.openbsd.org  2020/11/07 04:53:33

Modified files:
games/tome4: Makefile distinfo 

Log message:
Update to tome4-1.7.2



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2020/11/07 04:45:52

Modified files:
devel/llvm : Makefile 

Log message:
Sync with base: performance optimizations CXXFLAGS

This adds:
-fno-ret-protector on powerpc and mips64el
-fomit-frame-pointer on mips64 and mips64el

Prompted by a similar diff from Brad



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 04:40:40

Modified files:
x11/gnome/gjs  : Makefile 

Log message:
tyop in comment, no pkg change.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:40:16

Modified files:
x11/gnome/bijiben: Makefile 

Log message:
mark BROKEN for now; upstream hasn't moved to libhandy1 yet



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 04:39:17

Modified files:
meta/gnome : Makefile 

Log message:
Remove x11/gnome/bijiben for now.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:37:05

Modified files:
x11/gnome/gjs  : Makefile 

Log message:
sync COMPILER comment with reality



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:37:02

Modified files:
devel/glade: Makefile distinfo 
devel/glade/pkg: PLIST 

Log message:
update to glade-3.38.1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:28:32

Modified files:
x11/gnome/system-monitor: Makefile distinfo 
x11/gnome/system-monitor/pkg: PLIST 

Log message:
update to gnome-system-monitor-3.38.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:23:00

Modified files:
x11/gnome/calculator: Makefile distinfo 
x11/gnome/calculator/pkg: PLIST 

Log message:
update to gnome-calculator-3.38.1



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:22:59

Modified files:
x11/gnome/gedit-plugins: Makefile distinfo 

Log message:
update to gedit-plugins-3.38.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:11:12

Modified files:
x11/gnome/gedit: Makefile distinfo 
x11/gnome/gedit/pkg: PLIST 

Log message:
update to gedit-3.38.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:11:51

Modified files:
www/epiphany   : Makefile distinfo 
www/epiphany/pkg: PLIST 
Added files:
www/epiphany/patches: patch-lib_ephy-flatpak-utils_c 
  patch-meson_build patch-meson_options_txt 
Removed files:
www/epiphany/patches: patch-lib_ephy-sync-utils_c 

Log message:
update to epiphany-3.38.1 along with patches from upstream git to make 
libportal optional
(and subsequently disable it)



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 04:09:21

Modified files:
x11/gnome/eog  : Makefile distinfo 

Log message:
update to eog-3.38.0



Tcl/Tk cmake.port.mk

2020-11-07 Thread Rafael Sadowski
I think this goes in the right direction. What do you think?

Index: cmake.port.mk
===
RCS file: /cvs/ports/devel/cmake/cmake.port.mk,v
retrieving revision 1.66
diff -u -p -r1.66 cmake.port.mk
--- cmake.port.mk   25 May 2020 05:12:00 -  1.66
+++ cmake.port.mk   6 Nov 2020 06:27:10 -
@@ -75,16 +75,21 @@ CONFIGURE_ARGS +=   -DLUA_INCLUDE_DIR=${MO
 CONFIGURE_ARGS +=  -DRUBY_EXECUTABLE=${RUBY}
 .endif
 
-# XXX Remove hackish patches
-# Tcl/Tk
+# TCL
+.if ${MODULES:Mlang/tcl}
 CONFIGURE_ENV +=   MODTCL_VERSION=${MODTCL_VERSION} \
-   MODTK_VERSION=${MODTK_VERSION} \
MODTCL_INCDIR=${MODTCL_INCDIR} \
-   MODTK_INCDIR=${MODTK_INCDIR} \
MODTCL_LIBDIR=${MODTCL_LIBDIR} \
+   MODTCL_LIB=${MODTCL_LIB}
+.endif
+
+# TK
+.if ${MODULES:Mx11/tk}
+CONFIGURE_ENV +=   MODTK_VERSION=${MODTK_VERSION} \
+   MODTK_INCDIR=${MODTK_INCDIR} \
MODTK_LIBDIR=${MODTK_LIBDIR} \
-   MODTCL_LIB=${MODTCL_LIB} \
MODTK_LIB=${MODTK_LIB}
+.endif
 
 MODCMAKE_DEBUG ?=  No
 



jsoncpp update: multimedia/upplay

2020-11-07 Thread Rafael Sadowski
Fix upplay with upcoming jsoncpp update. While here, fix WANTLIB and
remove qtscript dependency.

OK?

diff --git a/multimedia/upplay/Makefile b/multimedia/upplay/Makefile
index 4f5c22d5fbd..3266c6b4a13 100644
--- a/multimedia/upplay/Makefile
+++ b/multimedia/upplay/Makefile
@@ -3,6 +3,7 @@
 COMMENT =  UPnP audio control point
 
 DISTNAME = upplay-1.3.3
+REVISION = 0
 
 CATEGORIES =   multimedia net
 
@@ -13,9 +14,8 @@ MAINTAINER =  Pascal Stumpf 
 # GPLv3+
 PERMIT_PACKAGE =   Yes
 
-WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5Script
-WANTLIB += Qt5WebKit Qt5WebKitWidgets Qt5Widgets Qt5Xml c jsoncpp
-WANTLIB += m upnpp
+WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5WebKit
+WANTLIB += Qt5WebKitWidgets Qt5Widgets c jsoncpp m upnpp
 
 MASTER_SITES = https://www.lesbonscomptes.com/upplay/downloads/
 
@@ -29,7 +29,6 @@ RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+3,-guic
 LIB_DEPENDS =  devel/jsoncpp \
net/libupnpp>=0.17.1 \
-   x11/qt5/qtscript \
x11/qt5/qtwebkit
 
 NO_TEST =  Yes
diff --git a/multimedia/upplay/patches/patch-upplay_pro 
b/multimedia/upplay/patches/patch-upplay_pro
index 5b976050929..1882c44b18d 100644
--- a/multimedia/upplay/patches/patch-upplay_pro
+++ b/multimedia/upplay/patches/patch-upplay_pro
@@ -8,7 +8,7 @@ Index: upplay.pro
message("Prefix is $$PREFIX")
DEFINES += PREFIX=\\\"$$PREFIX\\\" 
 -  INCLUDEPATH += /usr/include/jsoncpp
-+  INCLUDEPATH += ${LOCALBASE}/include/jsoncpp
++  INCLUDEPATH += ${LOCALBASE}/include/json

   # Installation stuff
target.path = "$$PREFIX/bin"



UPDATE: devel/jsoncpp

2020-11-07 Thread Rafael Sadowski
Please find below a diff to update jsoncpp to the latest stable version
on github. This version includes all patches and fixes some security
related bugs. I removed the include path patches. I see no conflicts in
the tree and all consumers are happy:

devel/cmake
games/minetest
graphics/orthanc/*
mail/kopano
multimedia/upplay (outdated port, tweak diff in another mail).

OK?

Rafael

Index: Makefile
===
RCS file: /cvs/ports/devel/jsoncpp/Makefile,v
retrieving revision 1.29
diff -u -p -u -p -r1.29 Makefile
--- Makefile12 Jul 2019 20:44:36 -  1.29
+++ Makefile1 Nov 2020 20:02:54 -
@@ -4,11 +4,10 @@ COMMENT = JSON parsing C++ API
 
 GH_ACCOUNT =   open-source-parsers
 GH_PROJECT =   jsoncpp
-GH_TAGNAME =   1.8.4
-REVISION = 2
+GH_TAGNAME =   1.9.4
 
 # no upstream revision
-SHARED_LIBS =  jsoncpp 4.0
+SHARED_LIBS =  jsoncpp 5.0
 
 CATEGORIES =   devel
 
@@ -21,7 +20,13 @@ WANTLIB =m ${COMPILER_LIBCXX}
 
 COMPILER = base-clang ports-gcc base-gcc
 
-MODULES =  devel/meson
+MODULES =  devel/meson \
+   lang/python
+
+CONFIGURE_STYLE =  meson
+
+MODPY_RUNDEP = No
+MODPY_VERSION =${MODPY_DEFAULT_VERSION_3}
 
 TEST_ENV +=LD_PRELOAD=${WRKBUILD}/libjsoncpp.so.${LIBjsoncpp_VERSION}
 
Index: distinfo
===
RCS file: /cvs/ports/devel/jsoncpp/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo11 Feb 2018 09:05:59 -  1.14
+++ distinfo1 Nov 2020 20:02:54 -
@@ -1,2 +1,2 @@
-SHA256 (jsoncpp-1.8.4.tar.gz) = xJ3qyeCTO8twRPCFFoYaLVYJiFQLI94qwa1EOyGa/bY=
-SIZE (jsoncpp-1.8.4.tar.gz) = 200226
+SHA256 (jsoncpp-1.9.4.tar.gz) = 40piioFCZDuXbHIz7zgUV++teUaMZ8sa4Lg6M9dJOZk=
+SIZE (jsoncpp-1.9.4.tar.gz) = 214057
Index: patches/patch-include_json_config_h
===
RCS file: patches/patch-include_json_config_h
diff -N patches/patch-include_json_config_h
--- patches/patch-include_json_config_h 18 Feb 2018 20:50:25 -  1.4
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,32 +0,0 @@
-$OpenBSD: patch-include_json_config_h,v 1.4 2018/02/18 20:50:25 jca Exp $
-
-"explicit" on non-constructors are a C++11 feature
-https://github.com/open-source-parsers/jsoncpp/commit/04abe38148d99b2a5270521935115d769a714adc
-
-Index: include/json/config.h
 include/json/config.h.orig
-+++ include/json/config.h
-@@ -84,15 +84,23 @@
- #if __cplusplus >= 201103L
- # define JSONCPP_OVERRIDE override
- # define JSONCPP_NOEXCEPT noexcept
-+# define JSONCPP_OP_EXPLICIT explicit
- #elif defined(_MSC_VER) && _MSC_VER > 1600 && _MSC_VER < 1900
- # define JSONCPP_OVERRIDE override
- # define JSONCPP_NOEXCEPT throw()
-+# if _MSC_VER >= 1800 // MSVC 2013
-+#  define JSONCPP_OP_EXPLICIT explicit
-+# else
-+#  define JSONCPP_OP_EXPLICIT
-+# endif
- #elif defined(_MSC_VER) && _MSC_VER >= 1900
- # define JSONCPP_OVERRIDE override
- # define JSONCPP_NOEXCEPT noexcept
-+# define JSONCPP_OP_EXPLICIT explicit
- #else
- # define JSONCPP_OVERRIDE
- # define JSONCPP_NOEXCEPT throw()
-+# define JSONCPP_OP_EXPLICIT
- #endif
- 
- #ifndef JSON_HAS_RVALUE_REFERENCES
Index: patches/patch-include_json_value_h
===
RCS file: patches/patch-include_json_value_h
diff -N patches/patch-include_json_value_h
--- patches/patch-include_json_value_h  18 Feb 2018 20:50:25 -  1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,48 +0,0 @@
-$OpenBSD: patch-include_json_value_h,v 1.3 2018/02/18 20:50:25 jca Exp $
-
-"explicit" on non-constructors are a C++11 feature
-https://github.com/open-source-parsers/jsoncpp/commit/04abe38148d99b2a5270521935115d769a714adc
-
-XXX Revert commit 23c44d9f9eed8a7ff95daca9bd44526067c144c0 to avoid
-undefined references when linking cmake.
-
-commit 23c44d9f9eed8a7ff95daca9bd44526067c144c0
-Author: Dhruv Paranjape 
-Date:   Sat Jul 8 12:00:47 2017
-
-overload append function for R value references.
-
-Index: include/json/value.h
 include/json/value.h.orig
-+++ include/json/value.h
-@@ -322,10 +322,6 @@ Json::Value obj_value(Json::objectValue); // {}
-   Value(bool value);
-   /// Deep copy.
-   Value(const Value& other);
--#if JSON_HAS_RVALUE_REFERENCES
--  /// Move constructor
--  Value(Value&& other);
--#endif
-   ~Value();
- 
-   /// Deep copy, then swap(other).
-@@ -401,7 +397,7 @@ Json::Value obj_value(Json::objectValue); // {}
-   bool empty() const;
- 
-   /// Return !isNull()
--  explicit operator bool() const;
-+  JSONCPP_OP_EXPLICIT operator bool() const;
- 
-   /// Remove all object members and array elements.
-   /// \pre type() is arrayValue, objectValue, or nullValue
-@@ -451,10 +447,6 @@ Json::Value obj_value(Json::objectValue); // {}
-   ///
-   /// 

CVS: cvs.openbsd.org: ports

2020-11-07 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2020/11/07 03:54:22

Modified files:
infrastructure/bin: update-plist 

Log message:
left a bit of dead code while refactoring



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:33:15

Modified files:
x11/gnome/photos: Makefile distinfo 
x11/gnome/photos/pkg: PLIST 

Log message:
Update to gnome-photos-3.38.0.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:27:35

Modified files:
meta/gnome : Makefile 

Log message:
x11/gnome/tracker-miners will also be needed for the time being.



UPDATE: ircd-hybrid 8.2.34

2020-11-07 Thread Brad Smith
Here is an update to ircd-hybrid 8.2.34.

-- Noteworthy changes in version 8.2.34 (2020-11-01)
* Re-implement backwards compatibility mode for old ircd-hybrid 8.2.23 and 
below.
  Final removal is scheduled for early 2021.
* For consistency, the `general::network_desc` configuration directive has been
  renamed to `general::network_description`
* Server notices that previously have been sent to user modes +f and +u are now
  sent to user mode +j (reject notices) instead. Due to this change, `unauth` 
and
  `full` have been removed from `general::oper_only_umodes`, 
`general::oper_umodes`,
  and `operator::umodes`.
* User mode +b has been replaced with +f (flood). Spam/flood notices are now 
sent
  to this user mode. For this, `bots` has been removed from
  `general::oper_only_umodes`, `general::oper_umodes`, and `operator::umodes`.
  `flood` has been added instead to these configuration directives.
* Stricten server/user ID validation. IDs have to be all uppercase everywhere 
now.


Index: Makefile
===
RCS file: /home/cvs/ports/net/ircd-hybrid/Makefile,v
retrieving revision 1.55
diff -u -p -u -p -r1.55 Makefile
--- Makefile6 Oct 2020 20:04:30 -   1.55
+++ Makefile7 Nov 2020 06:16:50 -
@@ -2,7 +2,7 @@
 
 COMMENT =  Internet Relay Chat server
 
-DISTNAME = ircd-hybrid-8.2.33
+DISTNAME = ircd-hybrid-8.2.34
 CATEGORIES =   net
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=ircd-hybrid/}
 EXTRACT_SUFX = .tgz
Index: distinfo
===
RCS file: /home/cvs/ports/net/ircd-hybrid/distinfo,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 distinfo
--- distinfo6 Oct 2020 20:04:30 -   1.32
+++ distinfo7 Nov 2020 06:17:02 -
@@ -1,2 +1,2 @@
-SHA256 (ircd-hybrid-8.2.33.tgz) = GEcPpLU2GAn4ZDWZ+s0xVBxEspwOY7G0RkDWyAhFagE=
-SIZE (ircd-hybrid-8.2.33.tgz) = 1250775
+SHA256 (ircd-hybrid-8.2.34.tgz) = /Phyd2oGaxYjmQvUOGlqMf154YTGiP/l7x6ckQRjN8g=
+SIZE (ircd-hybrid-8.2.34.tgz) = 1053578
Index: patches/patch-doc_reference_conf
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-doc_reference_conf,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 patch-doc_reference_conf
--- patches/patch-doc_reference_conf6 Oct 2020 20:04:30 -   1.19
+++ patches/patch-doc_reference_conf7 Nov 2020 06:18:03 -
@@ -36,7 +36,7 @@ Index: doc/reference.conf
  };
  
  /*
-@@ -991,7 +991,7 @@ serverhide {
+@@ -989,7 +989,7 @@ serverhide {
/*
 * flatten_links_file: path to the flatten links cache file.
 */
@@ -45,7 +45,7 @@ Index: doc/reference.conf
  
/*
 * hidden: hide this server from a /links output on servers that
-@@ -1300,9 +1300,9 @@ modules {
+@@ -1296,9 +1296,9 @@ modules {
 * path: other paths to search for modules specified below
 * and in "/module load".
 */
@@ -58,7 +58,7 @@ Index: doc/reference.conf
  
/* module: the name of a module to load on startup/rehash. */
  # module = "some_module.la";
-@@ -1317,49 +1317,49 @@ log {
+@@ -1313,49 +1313,49 @@ log {
  
file {
type = oper;
Index: patches/patch-src_ircd_c
===
RCS file: /home/cvs/ports/net/ircd-hybrid/patches/patch-src_ircd_c,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 patch-src_ircd_c
--- patches/patch-src_ircd_c15 May 2020 06:34:13 -  1.18
+++ patches/patch-src_ircd_c7 Nov 2020 06:18:01 -
@@ -3,7 +3,7 @@ $OpenBSD: patch-src_ircd_c,v 1.18 2020/0
 Index: src/ircd.c
 --- src/ircd.c.orig
 +++ src/ircd.c
-@@ -331,7 +331,6 @@ make_daemon(void)
+@@ -330,7 +330,6 @@ make_daemon(void)
}
else if (pid > 0)
{
@@ -11,7 +11,7 @@ Index: src/ircd.c
  exit(EXIT_SUCCESS);
}
  
-@@ -344,8 +343,19 @@ main(int argc, char *argv[])
+@@ -343,8 +342,19 @@ main(int argc, char *argv[])
/* Check to see if the user is running us as root, which is a nono */
if (geteuid() == 0)
{
Index: pkg/PLIST
===
RCS file: /home/cvs/ports/net/ircd-hybrid/pkg/PLIST,v
retrieving revision 1.22
diff -u -p -u -p -r1.22 PLIST
--- pkg/PLIST   6 Oct 2020 20:04:30 -   1.22
+++ pkg/PLIST   7 Nov 2020 06:19:54 -
@@ -98,6 +98,8 @@ lib/ircd-hybrid/modules/autoload/m_stats
 @so lib/ircd-hybrid/modules/autoload/m_stats.so
 lib/ircd-hybrid/modules/autoload/m_svinfo.la
 @so lib/ircd-hybrid/modules/autoload/m_svinfo.so
+lib/ircd-hybrid/modules/autoload/m_svsaccount.la
+@so lib/ircd-hybrid/modules/autoload/m_svsaccount.so
 lib/ircd-hybrid/modules/autoload/m_svshost.la
 @so lib/ircd-hybrid/modules/autoload/m_svshost.so
 lib/ircd-hybrid/modules/autoload/m_svsjoin.la



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:25:19

Modified files:
x11/gnome/music: Makefile distinfo 
x11/gnome/music/pkg: PLIST 

Log message:
Update to gnome-music-3.38.1.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:18:40

Modified files:
x11/gnome/vino : Makefile 

Log message:
Give MAINTAINER to robert@.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:13:09

Modified files:
x11/gnome/control-center: Makefile distinfo 
x11/gnome/control-center/patches: patch-meson_build 
  
patch-panels_applications_cc-applications-panel_c 
  patch-panels_common_meson_build 
  
patch-panels_info-overview_meson_build 
  patch-panels_power_cc-power-panel_c 
  patch-panels_printers_pp-host_c 
  
patch-panels_user-accounts_cc-realm-manager_c 
  
patch-panels_user-accounts_user-utils_c 
x11/gnome/control-center/pkg: PLIST 

Log message:
Update to gnome-control-center-3.38.1.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:10:22

Modified files:
meta/gnome : Makefile 

Log message:
tracker-miners -> tracker3-miners



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:09:40

Modified files:
x11/gnome/maps : Makefile distinfo 
x11/gnome/maps/pkg: PLIST 

Log message:
Update to gnome-maps-3.38.1.1.



[UPDATE] audio/lmms 1.2.0 -> 1.2.2

2020-11-07 Thread Dimitri Karamazov
Update audio/lmms to 1.2.2

I'll take MAINTAINER if no one minds.
I'm considering adding carla to expand the plugin
compatibility. After that maybe be zynaddsubfx as a
separate port could be loaded as a plugin.

Changelog: https://github.com/LMMS/lmms/releases

Index: Makefile
===
RCS file: /cvs/ports/audio/lmms/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile30 Jan 2020 14:13:47 -  1.23
+++ Makefile7 Nov 2020 05:52:36 -
@@ -2,17 +2,24 @@

 COMMENT =  music studio with tracking, sampling and MIDI

-# rolled from git; requires submodules
-# git clone --recurse-submodules -b v1.2.0 https://github.com/lmms/lmms
-DISTNAME = lmms-1.2.0
-REVISION = 0
-EXTRACT_SUFX = .tar.xz
+V =1.2.2
+RPMALLOC_VER = 1.4.1
+GH_ACCOUNT =   LMMS
+GH_PROJECT =   lmms
+GH_TAGNAME =   v${V}

 CATEGORIES =   audio

 HOMEPAGE = https://lmms.io/

-MASTER_SITES = https://spacehopper.org/mirrors/
+MASTER_SITES0 =https://github.com/mjansson/rpmalloc/archive/
+
+MAINTAINER =   Dimitri Karamazov 
+
+DISTFILES +=   v${V}.tar.gz \
+   ${RPMALLOC_VER}.tar.gz:0
+
+EXTRACT_ONLY = v${V}.tar.gz

 # GPLv2
 PERMIT_PACKAGE =   Yes
@@ -61,5 +68,9 @@ CONFIGURE_ARGS += -DWANT_CALF=OFF \
-DWANT_VST=OFF

 NO_TEST =  Yes
+
+post-extract:
+   tar zxf ${DISTDIR}/${RPMALLOC_VER}.tar.gz -C ${WRKSRC}
+   cp -r ${WRKSRC}/rpmalloc-${RPMALLOC_VER}/rpmalloc 
${WRKSRC}/src/3rdparty/rpmalloc/rpmalloc/

 .include 
Index: distinfo
===
RCS file: /cvs/ports/audio/lmms/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo14 Jun 2019 13:51:01 -  1.4
+++ distinfo7 Nov 2020 05:52:36 -
@@ -1,2 +1,4 @@
-SHA256 (lmms-1.2.0.tar.xz) = Fom6xh4Zaysl7e85lcu+HoKj39qtQZY/ahz57NeiBnY=
-SIZE (lmms-1.2.0.tar.xz) = 14545260
+SHA256 (1.4.1.tar.gz) = 6KlEgdygJLz/8KyqJGKz9fsdV5QPxEnasNp0NJMt5hA=
+SHA256 (v1.2.2.tar.gz) = QeFeqo7glotByYMnWl0uPqV8NIHeZDhpWE/A0c4JLvY=
+SIZE (1.4.1.tar.gz) = 81530
+SIZE (v1.2.2.tar.gz) = 16501132


regards,
  Dimitri

diff
Description: Binary data


CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 03:04:22

Modified files:
graphics/evince: Makefile distinfo 
graphics/evince/pkg: PLIST 
Removed files:
graphics/evince/patches: patch-libdocument_ev-document-misc_c 

Log message:
update to evince-3.38.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 03:01:43

Modified files:
x11/gnome/file-roller: Makefile distinfo 

Log message:
update to file-roller-3.38.0



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 03:01:26

Modified files:
x11/gnome/clocks: Makefile distinfo 
x11/gnome/clocks/pkg: PLIST 

Log message:
Update to gnome-clocks-3.38.0.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 02:52:09

Modified files:
x11/gnome/session: Makefile distinfo 

Log message:
Update to gnome-session-3.38.0.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 02:50:42

Modified files:
x11/gnome/usage: Makefile distinfo 
x11/gnome/usage/pkg: PLIST 

Log message:
Update to gnome-usage-3.38.0.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2020/11/07 02:47:57

Modified files:
x11/gnome/libdazzle: Makefile 
x11/gnome/libdazzle/pkg: PLIST 

Log message:
re-enable gobject-introspection; turned out having libdazzle-3.36 around
at build time caused the observed undefined reference



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 02:46:21

Modified files:
x11/gnome/settings-daemon: Makefile distinfo 
x11/gnome/settings-daemon/pkg: PLIST 

Log message:
Update to gnome-settings-daemon-3.38.1.



CVS: cvs.openbsd.org: ports

2020-11-07 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2020/11/07 02:39:40

Modified files:
mail/geary : Makefile distinfo 
mail/geary/patches: 

patch-test_engine_imap-db_imap-db-database-test_vala 
mail/geary/pkg : PLIST 

Log message:
Update to geary-3.38.1.



  1   2   >