Re: [new] x11/herbe - notification program

2022-02-04 Thread Thim
Hi Stuart,

On 2022-02-04 20:20:54, Stuart Henderson wrote:
> On 2022/02/04 20:23, Thim wrote:
> > Hi,
> >
> > Here is a port of herbe which is a minimal notification program, it does not
> > run as a daemon nor does it require dbus to run (like dunst).
> >
> > Herbe is configurable through the config.h file which feels very "suck 
> > less".
> >
> > Personally, I have always used dunst but have had issues in the past getting
> > all kinds of notifications from cronjobs and whatnot.
> >
> > Patched to make the ports Makefile more readable and easier to add flags
> > in the future if anything changes. The port pulls from a commit due to
> > the latest version being released in 2020.
> >
> >
> > Best Regards,
> >
> > Thim Cederlund
>
> You should add to the supplied CFLAGS (coming from either the user or
> ports infrastructure) not override it.
>
> The Makefile patches aren't needed, MAKE_FLAGS overrides make variables,
> and since the only compiler use is a combined build+link there's no real
> reason to have a separate LDFLAGS.
>

I have changed the port now and removed the Makefile patch.
The CFLAGS and LDFLAGS are also mashed together and finally embedded in
to MAKE_FLAGS.


Best Regards,

Thim Cederlund


herbe.tar.gz
Description: GNU Zip compressed data


Re: [new] x11/herbe - notification program

2022-02-04 Thread Stuart Henderson
On 2022/02/04 20:23, Thim wrote:
> Hi,
> 
> Here is a port of herbe which is a minimal notification program, it does not
> run as a daemon nor does it require dbus to run (like dunst).
> 
> Herbe is configurable through the config.h file which feels very "suck less".
> 
> Personally, I have always used dunst but have had issues in the past getting
> all kinds of notifications from cronjobs and whatnot.
> 
> Patched to make the ports Makefile more readable and easier to add flags
> in the future if anything changes. The port pulls from a commit due to
> the latest version being released in 2020.
> 
> 
> Best Regards,
> 
> Thim Cederlund

You should add to the supplied CFLAGS (coming from either the user or
ports infrastructure) not override it.

The Makefile patches aren't needed, MAKE_FLAGS overrides make variables,
and since the only compiler use is a combined build+link there's no real
reason to have a separate LDFLAGS.



[new] x11/herbe - notification program

2022-02-04 Thread Thim
Hi,

Here is a port of herbe which is a minimal notification program, it does not
run as a daemon nor does it require dbus to run (like dunst).

Herbe is configurable through the config.h file which feels very "suck less".

Personally, I have always used dunst but have had issues in the past getting
all kinds of notifications from cronjobs and whatnot.

Patched to make the ports Makefile more readable and easier to add flags
in the future if anything changes. The port pulls from a commit due to
the latest version being released in 2020.


Best Regards,

Thim Cederlund


herbe.tar.gz
Description: GNU Zip compressed data


Re: FYI - On the subject of non-OpenBSD developers asking "ok?"

2022-02-04 Thread Dima Pasechnik
On Tue, Jan 25, 2022 at 11:22:50AM +, Stuart Henderson wrote:
> On 2022/01/24 19:11, Dima Pasechnik wrote:
> > On Mon, Jan 24, 2022 at 04:57:49PM +, Stuart Henderson wrote:
> > > On 2022/01/24 15:51, Dima Pasechnik wrote:
> > > > Would a git-generated email with a diff be acceptable?
> > > > https://git-send-email.io/
> > > 
> > > Yes as long as it's not one of those big [1/n] sequences of separate
> > > emails that would be better dealt with in a single mail :)
> > > 
> > > > In principle, such a patch would be very easy to apply (with git)
> > > > to your local git repo - and it can be bounced to appropriately 
> > > > configured CI...
> > > 
> > > Applying it with git isn't useful for someone who is going to commit
> > > it to cvs because (even if they use a mixture of git/got+cvs themselves)
> > > it still needs to get into their cvs checkout.
> > 
> > I'm guessing here, but can't you overlay CVS and git trees?
> > If it's possible then merging with git will produce a CVS diff.
> 
> While you can sort-of do that for the odd directory, you can't do that
> for a whole tree, updates won't work. And git doesn't allow partial
> checkouts/updates.
> 
> (this is one of the biggest problems I would have with any change to
> using git in the ports tree actually; if I am working on a port which
> has received a change since my last work, I want to be able to just
> fix conflicts in the directories I care about and _not_ be messing
> with the whole rest of the tree at that time).

Working on some kind of semi-updated tree, yuck.
I think that outlines one of big CVS hiccups pretty well, for I really cannot
see how this can be a problem if working with git, as updates would just merge
nicely in git.

> 
> > > What would you propose a CI to do for ports submissions?
> > 
> > building (maybe testing too) the new/updated port only, just on amd64, as a 
> > start.
> 
> That's not amazingly useful as the submitter already needed to build
> it.
They built it on their machine, not on something surely nice and clean.

> And a test build of a port is going to require root access in
> order to install dependencies which is not ideal for something where
> a run can be triggered by a random submission.
Why? It's run on something that is empherical. Another CI run would be in 
a new, clean environment, anyway. That's how modern CI works.

Best
Dima



> 



Re: UPDATE: net/nextcloudclient-3.4.2

2022-02-04 Thread Adriano Barbosa
Sorry, I can't suggest anything.
I just tested your diff and it's working here without any issues. Just
synced 6GB on a secondary machine.
ok for your diff from me.

Em sex., 4 de fev. de 2022 às 11:18, Stuart Henderson
 escreveu:
>
> On 2022/02/04 15:17, Stuart Henderson wrote:
> > hmm, nextcloudclient doesn't seem to work for me (I haven't used
> > it before). It connects and authenticates and allows me to start a sync,
> > but then after displaying some items from the server the window closes
> > and the process stays running (waitchan kqread). Same with the 3.4.1
> > version in-tree. Any ideas?
>
> (FWIW server is 22.2.3 on OpenBSD).
> >
> >
> > On 2022/02/04 14:56, Stuart Henderson wrote:
> > > On 2022/02/04 09:23, Adriano Barbosa wrote:
> > > > ping
> > > >
> > > > Em sex., 28 de jan. de 2022 às 21:47, Adriano Barbosa
> > > >  escreveu:
> > > > >
> > > > > Hi.
> > > > > Update for net/nextcloudclient v3.4.2
> > > > > Changelog: https://github.com/nextcloud/desktop/releases/tag/v3.4.2
> > > > >
> > > > > Thank you for testing.
> > > > > --
> > > > > Adriano Barbosa
> > > >
> > > >
> > > >
> > > > --
> > > > Adriano
> > > >
> > >
> > > Mind if I do this to get rid of the humongous BDEP?
> > > Sync WANTLIB while there.
> > >
> > > Index: Makefile
> > > ===
> > > RCS file: /cvs/ports/net/nextcloudclient/Makefile,v
> > > retrieving revision 1.27
> > > diff -u -p -r1.27 Makefile
> > > --- Makefile22 Dec 2021 07:26:22 -  1.27
> > > +++ Makefile4 Feb 2022 14:56:06 -
> > > @@ -2,7 +2,7 @@
> > >
> > >  COMMENT =  desktop sync client for Nextcloud
> > >
> > > -V =3.4.1
> > > +V =3.4.2
> > >  DISTNAME = nextcloudclient-${V}
> > >
> > >  GH_ACCOUNT =   nextcloud
> > > @@ -21,23 +21,22 @@ MAINTAINER =Adriano Barbosa  > >  # GPLv2+
> > >  PERMIT_PACKAGE =   Yes
> > >
> > > -WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5DBus Qt5Gui
> > > -WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels
> > > -WANTLIB += Qt5Quick Qt5QuickControls2 Qt5Svg Qt5WebChannel 
> > > Qt5WebEngineCore
> > > -WANTLIB += Qt5WebEngineWidgets Qt5WebSockets Qt5Widgets Qt5Xml
> > > -WANTLIB += c crypto gio-2.0 glib-2.0 gobject-2.0 intl m qt5keychain
> > > -WANTLIB += secret-1 sqlite3 ssl z lib/inotify/inotify
> > > +WANTLIB += ${COMPILER_LIBCXX} lib/inotify/inotify
> > > +WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Positioning
> > > +WANTLIB += Qt5PrintSupport Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickControls2
> > > +WANTLIB += Qt5Svg Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
> > > +WANTLIB += Qt5WebSockets Qt5Widgets Qt5Xml c crypto m qt5keychain
> > > +WANTLIB += sqlite3 ssl z
> > >
> > >  MODULES =  devel/cmake \
> > > x11/qt5
> > >
> > >  BUILD_DEPENDS =devel/gettext,-tools
> > >
> > > -# Generate png icons with inkscape
> > > -# https://github.com/nextcloud/desktop/pull/3466
> > > -BUILD_DEPENDS +=   graphics/inkscape
> > > +# for converting svg icons to png
> > > +BUILD_DEPENDS +=   x11/gnome/librsvg
> > >
> > > -# Needs for test at build-time
> > > +# for tests, but detected during configure
> > >  BUILD_DEPENDS +=   devel/cmocka
> > >
> > >  RUN_DEPENDS =  devel/desktop-file-utils \
> > > Index: distinfo
> > > ===
> > > RCS file: /cvs/ports/net/nextcloudclient/distinfo,v
> > > retrieving revision 1.24
> > > diff -u -p -r1.24 distinfo
> > > --- distinfo22 Dec 2021 07:26:22 -  1.24
> > > +++ distinfo4 Feb 2022 14:56:06 -
> > > @@ -1,2 +1,2 @@
> > > -SHA256 (nextcloudclient-3.4.1.tar.gz) = 
> > > rQMSk8/QHxNUbEidYJRwKysGUPJCRm/7KTSgAhVOcck=
> > > -SIZE (nextcloudclient-3.4.1.tar.gz) = 14310501
> > > +SHA256 (nextcloudclient-3.4.2.tar.gz) = 
> > > JRnSMp4Z+AVgmqkqpLy8C4r7+2iwZ+ljqoSdpQsjbF0=
> > > +SIZE (nextcloudclient-3.4.2.tar.gz) = 14329069
> > > Index: patches/patch-src_gui_CMakeLists_txt
> > > ===
> > > RCS file: patches/patch-src_gui_CMakeLists_txt
> > > diff -N patches/patch-src_gui_CMakeLists_txt
> > > --- /dev/null   1 Jan 1970 00:00:00 -
> > > +++ patches/patch-src_gui_CMakeLists_txt4 Feb 2022 14:56:06 -
> > > @@ -0,0 +1,14 @@
> > > +$OpenBSD$
> > > +
> > > +Index: src/gui/CMakeLists.txt
> > > +--- src/gui/CMakeLists.txt.orig
> > >  src/gui/CMakeLists.txt
> > > +@@ -266,7 +266,7 @@ endif()
> > > +
> > > + # Generate png icons from svg
> > > + find_program(SVG_CONVERTER
> > > +-  NAMES inkscape inkscape.exe rsvg-convert
> > > ++  NAMES rsvg-convert
> > > +   REQUIRED
> > > +   HINTS "C:\\Program Files\\Inkscape\\bin" "/usr/bin" ENV 
> > > SVG_CONVERTER_DIR)
> > > + # REQUIRED keyword is only supported on CMake 3.18 and above
> > >



-- 
Adriano Barbosa



Re: UPDATE: net/nextcloudclient-3.4.2

2022-02-04 Thread Stuart Henderson
On 2022/02/04 15:17, Stuart Henderson wrote:
> hmm, nextcloudclient doesn't seem to work for me (I haven't used
> it before). It connects and authenticates and allows me to start a sync,
> but then after displaying some items from the server the window closes
> and the process stays running (waitchan kqread). Same with the 3.4.1
> version in-tree. Any ideas?

(FWIW server is 22.2.3 on OpenBSD).
> 
> 
> On 2022/02/04 14:56, Stuart Henderson wrote:
> > On 2022/02/04 09:23, Adriano Barbosa wrote:
> > > ping
> > > 
> > > Em sex., 28 de jan. de 2022 às 21:47, Adriano Barbosa
> > >  escreveu:
> > > >
> > > > Hi.
> > > > Update for net/nextcloudclient v3.4.2
> > > > Changelog: https://github.com/nextcloud/desktop/releases/tag/v3.4.2
> > > >
> > > > Thank you for testing.
> > > > --
> > > > Adriano Barbosa
> > > 
> > > 
> > > 
> > > -- 
> > > Adriano
> > > 
> > 
> > Mind if I do this to get rid of the humongous BDEP?
> > Sync WANTLIB while there.
> > 
> > Index: Makefile
> > ===
> > RCS file: /cvs/ports/net/nextcloudclient/Makefile,v
> > retrieving revision 1.27
> > diff -u -p -r1.27 Makefile
> > --- Makefile22 Dec 2021 07:26:22 -  1.27
> > +++ Makefile4 Feb 2022 14:56:06 -
> > @@ -2,7 +2,7 @@
> >  
> >  COMMENT =  desktop sync client for Nextcloud
> >  
> > -V =3.4.1
> > +V =3.4.2
> >  DISTNAME = nextcloudclient-${V}
> >  
> >  GH_ACCOUNT =   nextcloud
> > @@ -21,23 +21,22 @@ MAINTAINER =Adriano Barbosa  >  # GPLv2+
> >  PERMIT_PACKAGE =   Yes
> >  
> > -WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5DBus Qt5Gui
> > -WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels
> > -WANTLIB += Qt5Quick Qt5QuickControls2 Qt5Svg Qt5WebChannel Qt5WebEngineCore
> > -WANTLIB += Qt5WebEngineWidgets Qt5WebSockets Qt5Widgets Qt5Xml
> > -WANTLIB += c crypto gio-2.0 glib-2.0 gobject-2.0 intl m qt5keychain
> > -WANTLIB += secret-1 sqlite3 ssl z lib/inotify/inotify
> > +WANTLIB += ${COMPILER_LIBCXX} lib/inotify/inotify
> > +WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Positioning
> > +WANTLIB += Qt5PrintSupport Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickControls2
> > +WANTLIB += Qt5Svg Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
> > +WANTLIB += Qt5WebSockets Qt5Widgets Qt5Xml c crypto m qt5keychain
> > +WANTLIB += sqlite3 ssl z
> >  
> >  MODULES =  devel/cmake \
> > x11/qt5
> >  
> >  BUILD_DEPENDS =devel/gettext,-tools
> >  
> > -# Generate png icons with inkscape
> > -# https://github.com/nextcloud/desktop/pull/3466
> > -BUILD_DEPENDS +=   graphics/inkscape
> > +# for converting svg icons to png
> > +BUILD_DEPENDS +=   x11/gnome/librsvg
> >  
> > -# Needs for test at build-time
> > +# for tests, but detected during configure
> >  BUILD_DEPENDS +=   devel/cmocka
> >  
> >  RUN_DEPENDS =  devel/desktop-file-utils \
> > Index: distinfo
> > ===
> > RCS file: /cvs/ports/net/nextcloudclient/distinfo,v
> > retrieving revision 1.24
> > diff -u -p -r1.24 distinfo
> > --- distinfo22 Dec 2021 07:26:22 -  1.24
> > +++ distinfo4 Feb 2022 14:56:06 -
> > @@ -1,2 +1,2 @@
> > -SHA256 (nextcloudclient-3.4.1.tar.gz) = 
> > rQMSk8/QHxNUbEidYJRwKysGUPJCRm/7KTSgAhVOcck=
> > -SIZE (nextcloudclient-3.4.1.tar.gz) = 14310501
> > +SHA256 (nextcloudclient-3.4.2.tar.gz) = 
> > JRnSMp4Z+AVgmqkqpLy8C4r7+2iwZ+ljqoSdpQsjbF0=
> > +SIZE (nextcloudclient-3.4.2.tar.gz) = 14329069
> > Index: patches/patch-src_gui_CMakeLists_txt
> > ===
> > RCS file: patches/patch-src_gui_CMakeLists_txt
> > diff -N patches/patch-src_gui_CMakeLists_txt
> > --- /dev/null   1 Jan 1970 00:00:00 -
> > +++ patches/patch-src_gui_CMakeLists_txt4 Feb 2022 14:56:06 -
> > @@ -0,0 +1,14 @@
> > +$OpenBSD$
> > +
> > +Index: src/gui/CMakeLists.txt
> > +--- src/gui/CMakeLists.txt.orig
> >  src/gui/CMakeLists.txt
> > +@@ -266,7 +266,7 @@ endif()
> > + 
> > + # Generate png icons from svg
> > + find_program(SVG_CONVERTER
> > +-  NAMES inkscape inkscape.exe rsvg-convert
> > ++  NAMES rsvg-convert
> > +   REQUIRED
> > +   HINTS "C:\\Program Files\\Inkscape\\bin" "/usr/bin" ENV 
> > SVG_CONVERTER_DIR)
> > + # REQUIRED keyword is only supported on CMake 3.18 and above
> > 



Re: UPDATE: net/nextcloudclient-3.4.2

2022-02-04 Thread Stuart Henderson
hmm, nextcloudclient doesn't seem to work for me (I haven't used
it before). It connects and authenticates and allows me to start a sync,
but then after displaying some items from the server the window closes
and the process stays running (waitchan kqread). Same with the 3.4.1
version in-tree. Any ideas?



On 2022/02/04 14:56, Stuart Henderson wrote:
> On 2022/02/04 09:23, Adriano Barbosa wrote:
> > ping
> > 
> > Em sex., 28 de jan. de 2022 às 21:47, Adriano Barbosa
> >  escreveu:
> > >
> > > Hi.
> > > Update for net/nextcloudclient v3.4.2
> > > Changelog: https://github.com/nextcloud/desktop/releases/tag/v3.4.2
> > >
> > > Thank you for testing.
> > > --
> > > Adriano Barbosa
> > 
> > 
> > 
> > -- 
> > Adriano
> > 
> 
> Mind if I do this to get rid of the humongous BDEP?
> Sync WANTLIB while there.
> 
> Index: Makefile
> ===
> RCS file: /cvs/ports/net/nextcloudclient/Makefile,v
> retrieving revision 1.27
> diff -u -p -r1.27 Makefile
> --- Makefile  22 Dec 2021 07:26:22 -  1.27
> +++ Makefile  4 Feb 2022 14:56:06 -
> @@ -2,7 +2,7 @@
>  
>  COMMENT =desktop sync client for Nextcloud
>  
> -V =  3.4.1
> +V =  3.4.2
>  DISTNAME =   nextcloudclient-${V}
>  
>  GH_ACCOUNT = nextcloud
> @@ -21,23 +21,22 @@ MAINTAINER =  Adriano Barbosa   # GPLv2+
>  PERMIT_PACKAGE = Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} Qt5Concurrent Qt5Core Qt5DBus Qt5Gui
> -WANTLIB += Qt5Network Qt5Positioning Qt5PrintSupport Qt5Qml Qt5QmlModels
> -WANTLIB += Qt5Quick Qt5QuickControls2 Qt5Svg Qt5WebChannel Qt5WebEngineCore
> -WANTLIB += Qt5WebEngineWidgets Qt5WebSockets Qt5Widgets Qt5Xml
> -WANTLIB += c crypto gio-2.0 glib-2.0 gobject-2.0 intl m qt5keychain
> -WANTLIB += secret-1 sqlite3 ssl z lib/inotify/inotify
> +WANTLIB += ${COMPILER_LIBCXX} lib/inotify/inotify
> +WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Positioning
> +WANTLIB += Qt5PrintSupport Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickControls2
> +WANTLIB += Qt5Svg Qt5WebChannel Qt5WebEngineCore Qt5WebEngineWidgets
> +WANTLIB += Qt5WebSockets Qt5Widgets Qt5Xml c crypto m qt5keychain
> +WANTLIB += sqlite3 ssl z
>  
>  MODULES =devel/cmake \
>   x11/qt5
>  
>  BUILD_DEPENDS =  devel/gettext,-tools
>  
> -# Generate png icons with inkscape
> -# https://github.com/nextcloud/desktop/pull/3466
> -BUILD_DEPENDS += graphics/inkscape
> +# for converting svg icons to png
> +BUILD_DEPENDS += x11/gnome/librsvg
>  
> -# Needs for test at build-time
> +# for tests, but detected during configure
>  BUILD_DEPENDS += devel/cmocka
>  
>  RUN_DEPENDS =devel/desktop-file-utils \
> Index: distinfo
> ===
> RCS file: /cvs/ports/net/nextcloudclient/distinfo,v
> retrieving revision 1.24
> diff -u -p -r1.24 distinfo
> --- distinfo  22 Dec 2021 07:26:22 -  1.24
> +++ distinfo  4 Feb 2022 14:56:06 -
> @@ -1,2 +1,2 @@
> -SHA256 (nextcloudclient-3.4.1.tar.gz) = 
> rQMSk8/QHxNUbEidYJRwKysGUPJCRm/7KTSgAhVOcck=
> -SIZE (nextcloudclient-3.4.1.tar.gz) = 14310501
> +SHA256 (nextcloudclient-3.4.2.tar.gz) = 
> JRnSMp4Z+AVgmqkqpLy8C4r7+2iwZ+ljqoSdpQsjbF0=
> +SIZE (nextcloudclient-3.4.2.tar.gz) = 14329069
> Index: patches/patch-src_gui_CMakeLists_txt
> ===
> RCS file: patches/patch-src_gui_CMakeLists_txt
> diff -N patches/patch-src_gui_CMakeLists_txt
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ patches/patch-src_gui_CMakeLists_txt  4 Feb 2022 14:56:06 -
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +
> +Index: src/gui/CMakeLists.txt
> +--- src/gui/CMakeLists.txt.orig
>  src/gui/CMakeLists.txt
> +@@ -266,7 +266,7 @@ endif()
> + 
> + # Generate png icons from svg
> + find_program(SVG_CONVERTER
> +-  NAMES inkscape inkscape.exe rsvg-convert
> ++  NAMES rsvg-convert
> +   REQUIRED
> +   HINTS "C:\\Program Files\\Inkscape\\bin" "/usr/bin" ENV SVG_CONVERTER_DIR)
> + # REQUIRED keyword is only supported on CMake 3.18 and above
> 



Re: UPDATE: net/nextcloudclient-3.4.2

2022-02-04 Thread Stuart Henderson
On 2022/02/04 09:23, Adriano Barbosa wrote:
> ping
> 
> Em sex., 28 de jan. de 2022 às 21:47, Adriano Barbosa
>  escreveu:
> >
> > Hi.
> > Update for net/nextcloudclient v3.4.2
> > Changelog: https://github.com/nextcloud/desktop/releases/tag/v3.4.2
> >
> > Thank you for testing.
> > --
> > Adriano Barbosa
> 
> 
> 
> -- 
> Adriano
> 

Mind if I do this to get rid of the humongous BDEP?
Sync WANTLIB while there.

Index: Makefile
===
RCS file: /cvs/ports/net/nextcloudclient/Makefile,v
retrieving revision 1.27
diff -u -p -r1.27 Makefile
--- Makefile22 Dec 2021 07:26:22 -  1.27
+++ Makefile4 Feb 2022 14:56:06 -
@@ -2,7 +2,7 @@
 
 COMMENT =  desktop sync client for Nextcloud
 
-V =3.4.1
+V =3.4.2
 DISTNAME = nextcloudclient-${V}
 
 GH_ACCOUNT =   nextcloud
@@ -21,23 +21,22 @@ MAINTAINER =Adriano Barbosa https://github.com/nextcloud/desktop/pull/3466
-BUILD_DEPENDS +=   graphics/inkscape
+# for converting svg icons to png
+BUILD_DEPENDS +=   x11/gnome/librsvg
 
-# Needs for test at build-time
+# for tests, but detected during configure
 BUILD_DEPENDS +=   devel/cmocka
 
 RUN_DEPENDS =  devel/desktop-file-utils \
Index: distinfo
===
RCS file: /cvs/ports/net/nextcloudclient/distinfo,v
retrieving revision 1.24
diff -u -p -r1.24 distinfo
--- distinfo22 Dec 2021 07:26:22 -  1.24
+++ distinfo4 Feb 2022 14:56:06 -
@@ -1,2 +1,2 @@
-SHA256 (nextcloudclient-3.4.1.tar.gz) = 
rQMSk8/QHxNUbEidYJRwKysGUPJCRm/7KTSgAhVOcck=
-SIZE (nextcloudclient-3.4.1.tar.gz) = 14310501
+SHA256 (nextcloudclient-3.4.2.tar.gz) = 
JRnSMp4Z+AVgmqkqpLy8C4r7+2iwZ+ljqoSdpQsjbF0=
+SIZE (nextcloudclient-3.4.2.tar.gz) = 14329069
Index: patches/patch-src_gui_CMakeLists_txt
===
RCS file: patches/patch-src_gui_CMakeLists_txt
diff -N patches/patch-src_gui_CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-src_gui_CMakeLists_txt4 Feb 2022 14:56:06 -
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: src/gui/CMakeLists.txt
+--- src/gui/CMakeLists.txt.orig
 src/gui/CMakeLists.txt
+@@ -266,7 +266,7 @@ endif()
+ 
+ # Generate png icons from svg
+ find_program(SVG_CONVERTER
+-  NAMES inkscape inkscape.exe rsvg-convert
++  NAMES rsvg-convert
+   REQUIRED
+   HINTS "C:\\Program Files\\Inkscape\\bin" "/usr/bin" ENV SVG_CONVERTER_DIR)
+ # REQUIRED keyword is only supported on CMake 3.18 and above



Re: UPDATE: sysutils/vultr-cli-2.12.0

2022-02-04 Thread Stuart Henderson
On 2022/02/04 09:23, Adriano Barbosa wrote:
> ping
> 
> Em dom., 23 de jan. de 2022 às 13:02, Adriano Barbosa
>  escreveu:
> >
> > Hi.
> > Update for sysutils/vultr-cli-2.12.0
> > Changelog: https://github.com/vultr/vultr-cli/blob/master/CHANGELOG.md
> >
> > Thank you for testing.
> > --
> > Adriano Barbosa
> 
> 
> 
> -- 
> Adriano
> 

Thanks, committed. I have also added the missing WANTLIB.

Couple of a quick hints, which would make it easier for committers and
therefore likely to get committed sooner:

If you are sending a "ping" please include the diff again.

And if the changelog since the last version is not several pages long,
it's helpful to include the relevant parts directly in the mail rather
than a link.



Re: UPDATE: net/nextcloudclient-3.4.2

2022-02-04 Thread Adriano Barbosa
ping

Em sex., 28 de jan. de 2022 às 21:47, Adriano Barbosa
 escreveu:
>
> Hi.
> Update for net/nextcloudclient v3.4.2
> Changelog: https://github.com/nextcloud/desktop/releases/tag/v3.4.2
>
> Thank you for testing.
> --
> Adriano Barbosa



-- 
Adriano



Re: UPDATE: sysutils/vultr-cli-2.12.0

2022-02-04 Thread Adriano Barbosa
ping

Em dom., 23 de jan. de 2022 às 13:02, Adriano Barbosa
 escreveu:
>
> Hi.
> Update for sysutils/vultr-cli-2.12.0
> Changelog: https://github.com/vultr/vultr-cli/blob/master/CHANGELOG.md
>
> Thank you for testing.
> --
> Adriano Barbosa



-- 
Adriano



Re: [update] www/yt-dlp-2022.02.04

2022-02-04 Thread Hiltjo Posthuma
On Fri, Feb 04, 2022 at 11:32:39AM +, Stuart Henderson wrote:
> On 2022/02/04 11:50, Hiltjo Posthuma wrote:
> > Hi,
> > 
> > This updates yt-dlp to 2022.02.04. Lightly tested on amd64.
> 
> I had already committed 02.03, have just updated to 02.04.
> 

Thanks :)

-- 
Kind regards,
Hiltjo



Re: [update] www/yt-dlp-2022.02.04

2022-02-04 Thread Stuart Henderson
On 2022/02/04 11:50, Hiltjo Posthuma wrote:
> Hi,
> 
> This updates yt-dlp to 2022.02.04. Lightly tested on amd64.

I had already committed 02.03, have just updated to 02.04.



[update] www/yt-dlp-2022.02.04

2022-02-04 Thread Hiltjo Posthuma
Hi,

This updates yt-dlp to 2022.02.04. Lightly tested on amd64.


diff --git www/yt-dlp/Makefile www/yt-dlp/Makefile
index bf362aff22b..4389f374aab 100644
--- www/yt-dlp/Makefile
+++ www/yt-dlp/Makefile
@@ -2,7 +2,7 @@
 
 COMMENT =  CLI program to download videos from YouTube and other sites
 
-VERSION =  2022.01.21
+VERSION =  2022.02.04
 MODPY_EGG_VERSION =${VERSION:S/.0/./g}
 
 DISTNAME = yt-dlp-${VERSION}
diff --git www/yt-dlp/distinfo www/yt-dlp/distinfo
index d9a80260db6..06a93048cf5 100644
--- www/yt-dlp/distinfo
+++ www/yt-dlp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (yt-dlp-2022.01.21.tar.gz) = 
eEVcA/s/WoS/wFr8paJWSvmFLo/n8IiHfiC4UIIX3Sk=
-SIZE (yt-dlp-2022.01.21.tar.gz) = 4336723
+SHA256 (yt-dlp-2022.02.04.tar.gz) = 
yN0RnCil0lYyLds6L/9yvAKs5D/FiAwAZdl/ekjXqOM=
+SIZE (yt-dlp-2022.02.04.tar.gz) = 4369611
diff --git www/yt-dlp/pkg/PLIST www/yt-dlp/pkg/PLIST
index c959192fbae..2c0bb1df1e0 100644
--- www/yt-dlp/pkg/PLIST
+++ www/yt-dlp/pkg/PLIST
@@ -276,6 +276,7 @@ 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}engadg
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}epicon.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}eporner.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}eroprofile.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}ertgr.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}escapist.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}espn.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}esri.${MODPY_PYC_MAGIC_TAG}pyc
@@ -507,6 +508,7 @@ 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}msn.${
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}mtv.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}muenchentv.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}musescore.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}musicdex.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}mwave.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}mxplayer.${MODPY_PYC_MAGIC_TAG}pyc
 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/${MODPY_PYCACHE}mychannels.${MODPY_PYC_MAGIC_TAG}pyc
@@ -1199,6 +1201,7 @@ 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/engadget.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/epicon.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/eporner.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/eroprofile.py
+lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/ertgr.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/escapist.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/espn.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/esri.py
@@ -1430,6 +1433,7 @@ 
lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/msn.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/mtv.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/muenchentv.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/musescore.py
+lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/musicdex.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/mwave.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/mxplayer.py
 lib/python${MODPY_VERSION}/site-packages/yt_dlp/extractor/mychannels.py

-- 
Kind regards,
Hiltjo



x11/dzen2: patch to fix hiding

2022-02-04 Thread Christopher Zimmermann

Hi,

this is a patch to dzen2 to do proper hiding.
I also submitted upstream, but the project hat its last commit 9 years 
ago, so I'm not sure whether it will get merged.

See https://github.com/robm/dzen/pull/57
OK?

Christopher



Index: action.c
--- action.c.orig
+++ action.c
@@ -390,9 +390,9 @@ a_hide(char * opt[]) {
printf("n:%d\n", n);
if(!dzen.title_win.ishidden) {
if(!dzen.slave_win.ishmenu)
-   XResizeWindow(dzen.dpy, dzen.title_win.win, 
dzen.title_win.width, 1);
+   XUnmapWindow(dzen.dpy, dzen.title_win.win);
else
-   XResizeWindow(dzen.dpy, dzen.slave_win.win, 
dzen.title_win.width, 1);
+   XUnmapWindow(dzen.dpy, dzen.slave_win.win);
 
 		dzen.title_win.ishidden = True;

}
@@ -404,9 +404,9 @@ a_unhide(char * opt[]) {
(void)opt;
if(dzen.title_win.ishidden) {
if(!dzen.slave_win.ishmenu)
-   XResizeWindow(dzen.dpy, dzen.title_win.win, 
dzen.title_win.width, dzen.line_height);
+   XMapWindow(dzen.dpy, dzen.title_win.win);
else
-   XResizeWindow(dzen.dpy, dzen.slave_win.win, 
dzen.title_win.width, dzen.line_height);
+   XMapWindow(dzen.dpy, dzen.slave_win.win);
 
 		dzen.title_win.ishidden = False;

}