Re: [fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-22 Thread Stefan Hagen
Martin Ziemer wrote (2024-03-20 09:10 CET):

[...]

> And now there is also a newer version of remind.
> 
> Below is a diff which removes the icon-cache and the matching depends
> and updates to the new version.
> 
> Tested on amd64.

Nice, thank you. I've committed this diff.

> Index: Makefile
> ===
> RCS file: /cvs/ports/misc/remind/Makefile,v
> retrieving revision 1.71
> diff -u -p -r1.71 Makefile
> --- Makefile  4 Mar 2024 10:22:45 -   1.71
> +++ Makefile  20 Mar 2024 08:05:21 -
> @@ -1,7 +1,7 @@
>  COMMENT= scripting language for reminders, with a Tk front end
>  
> -DISTNAME=remind-04.03.02
> -PKGNAME= remind-4.3.2
> +DISTNAME=remind-04.03.03
> +PKGNAME= remind-4.3.3
>  
>  CATEGORIES=  misc
>  
> @@ -32,7 +32,6 @@ RUN_DEPENDS=${MODTK_RUN_DEPENDS} \
>   converters/p5-JSON-MaybeXS \
>   graphics/p5-Cairo \
>   devel/p5-Pango \
> - x11/gtk+4,-guic \
>   devel/desktop-file-utils
>  
>  CONFIGURE_STYLE= gnu
> Index: distinfo
> ===
> RCS file: /cvs/ports/misc/remind/distinfo,v
> retrieving revision 1.40
> diff -u -p -r1.40 distinfo
> --- distinfo  4 Mar 2024 10:22:45 -   1.40
> +++ distinfo  20 Mar 2024 08:05:21 -
> @@ -1,2 +1,2 @@
> -SHA256 (remind-04.03.02.tar.gz) = 
> tL5Ntb/RIoT9mKcdU1ndBo/pGwhtIsRnTV0lL6Sg1Vw=
> -SIZE (remind-04.03.02.tar.gz) = 523684
> +SHA256 (remind-04.03.03.tar.gz) = 
> +/vX6Nu0F84mZcEnd9jFlaVKbJIQQOJiPsxspKF+klQ=
> +SIZE (remind-04.03.03.tar.gz) = 528047
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
> retrieving revision 1.16
> diff -u -p -r1.16 PLIST
> --- pkg/PLIST 4 Mar 2024 10:22:45 -   1.16
> +++ pkg/PLIST 20 Mar 2024 08:05:21 -
> @@ -55,4 +55,3 @@ share/remind/seasons.rem
>  share/remind/site/
>  share/remind/site/README
>  @tag update-desktop-database
> -@tag gtk-update-icon-cache %D/share/icons/tkremind
> 



Re: [fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-20 Thread Martin Ziemer
Am Tue, Mar 19, 2024 at 09:14:53AM + schrieb Klemens Nanni:
> 18.03.2024 16:37, Stefan Hagen пишет:
> > Hi,
> > 
> > $ pkg_add remind
> > quirks-7.14 signed on 2024-03-17T12:22:05Z
> > remind-4.3.2:[..snip the deps..]
> > remind-4.3.2:p5-JSON-MaybeXS-1.004005: ok
> > remind-4.3.2:tcl-8.6.13: ok
> > remind-4.3.2:tk-8.6.13: ok
> > remind-4.3.2:p5-Cairo-1.109: ok
> > remind-4.3.2:p5-Glib2-1.3294: ok
> > remind-4.3.2:p5-Pango-1.227p3: ok
> > remind-4.3.2:tcl-8.5.19p6: ok
> > remind-4.3.2:tcllib-1.21pl0p0: ok
> > remind-4.3.2: ok
> > Running 
> > tags||100%
> > gtk-update-icon-cache: Failed to open file 
> > /usr/local/share/icons/tkremind/.icon-theme.cache : No such file or 
> > directory
> > system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t 
> > /usr/local/share/icons/tkremind) failed:  exit(1)
> > Running tags: ok
> > New and changed readme(s):
> > /usr/local/share/doc/pkg-readmes/tcl-8.5
> > /usr/local/share/doc/pkg-readmes/tcl-8.6
> > 
> > This is because:
> > 
> > cat pkg/PLIST:
> > @tag gtk-update-icon-cache %D/share/icons/tkremind
> > 
> > But nothing was installed to ../share/icons/..
> > 
> > I think we can remove this line.
> > 
> > OK?
> 
> Yes, when you remove the x11/gtk+4,-guic RDEP for it as well.
> 
> > 
> > Best Regards,
> > Stefan
> > 
> > Index: misc/remind/Makefile
> > ===
> > RCS file: /cvs/ports/misc/remind/Makefile,v
> > diff -u -p -u -p -r1.71 Makefile
> > --- misc/remind/Makefile4 Mar 2024 10:22:45 -   1.71
> > +++ misc/remind/Makefile18 Mar 2024 13:29:27 -
> > @@ -2,6 +2,7 @@ COMMENT=scripting language for reminder
> >  
> >  DISTNAME=  remind-04.03.02
> >  PKGNAME=   remind-4.3.2
> > +REVISION=  0
> >  
> >  CATEGORIES=misc
> >  
> > Index: misc/remind/pkg/PLIST
> > ===
> > RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
> > diff -u -p -u -p -r1.16 PLIST
> > --- misc/remind/pkg/PLIST   4 Mar 2024 10:22:45 -   1.16
> > +++ misc/remind/pkg/PLIST   18 Mar 2024 13:29:27 -
> > @@ -55,4 +55,3 @@ share/remind/seasons.rem
> >  share/remind/site/
> >  share/remind/site/README
> >  @tag update-desktop-database
> > -@tag gtk-update-icon-cache %D/share/icons/tkremind
> > 

And now there is also a newer version of remind.

Below is a diff which removes the icon-cache and the matching depends
and updates to the new version.

Tested on amd64.

Index: Makefile
===
RCS file: /cvs/ports/misc/remind/Makefile,v
retrieving revision 1.71
diff -u -p -r1.71 Makefile
--- Makefile4 Mar 2024 10:22:45 -   1.71
+++ Makefile20 Mar 2024 08:05:21 -
@@ -1,7 +1,7 @@
 COMMENT=   scripting language for reminders, with a Tk front end
 
-DISTNAME=  remind-04.03.02
-PKGNAME=   remind-4.3.2
+DISTNAME=  remind-04.03.03
+PKGNAME=   remind-4.3.3
 
 CATEGORIES=misc
 
@@ -32,7 +32,6 @@ RUN_DEPENDS=  ${MODTK_RUN_DEPENDS} \
converters/p5-JSON-MaybeXS \
graphics/p5-Cairo \
devel/p5-Pango \
-   x11/gtk+4,-guic \
devel/desktop-file-utils
 
 CONFIGURE_STYLE=   gnu
Index: distinfo
===
RCS file: /cvs/ports/misc/remind/distinfo,v
retrieving revision 1.40
diff -u -p -r1.40 distinfo
--- distinfo4 Mar 2024 10:22:45 -   1.40
+++ distinfo20 Mar 2024 08:05:21 -
@@ -1,2 +1,2 @@
-SHA256 (remind-04.03.02.tar.gz) = tL5Ntb/RIoT9mKcdU1ndBo/pGwhtIsRnTV0lL6Sg1Vw=
-SIZE (remind-04.03.02.tar.gz) = 523684
+SHA256 (remind-04.03.03.tar.gz) = +/vX6Nu0F84mZcEnd9jFlaVKbJIQQOJiPsxspKF+klQ=
+SIZE (remind-04.03.03.tar.gz) = 528047
Index: pkg/PLIST
===
RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
retrieving revision 1.16
diff -u -p -r1.16 PLIST
--- pkg/PLIST   4 Mar 2024 10:22:45 -   1.16
+++ pkg/PLIST   20 Mar 2024 08:05:21 -
@@ -55,4 +55,3 @@ share/remind/seasons.rem
 share/remind/site/
 share/remind/site/README
 @tag update-desktop-database
-@tag gtk-update-icon-cache %D/share/icons/tkremind



Re: [fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-19 Thread Klemens Nanni
18.03.2024 16:37, Stefan Hagen пишет:
> Hi,
> 
> $ pkg_add remind
> quirks-7.14 signed on 2024-03-17T12:22:05Z
> remind-4.3.2:[..snip the deps..]
> remind-4.3.2:p5-JSON-MaybeXS-1.004005: ok
> remind-4.3.2:tcl-8.6.13: ok
> remind-4.3.2:tk-8.6.13: ok
> remind-4.3.2:p5-Cairo-1.109: ok
> remind-4.3.2:p5-Glib2-1.3294: ok
> remind-4.3.2:p5-Pango-1.227p3: ok
> remind-4.3.2:tcl-8.5.19p6: ok
> remind-4.3.2:tcllib-1.21pl0p0: ok
> remind-4.3.2: ok
> Running 
> tags||100%
> gtk-update-icon-cache: Failed to open file 
> /usr/local/share/icons/tkremind/.icon-theme.cache : No such file or directory
> system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t 
> /usr/local/share/icons/tkremind) failed:  exit(1)
> Running tags: ok
> New and changed readme(s):
> /usr/local/share/doc/pkg-readmes/tcl-8.5
> /usr/local/share/doc/pkg-readmes/tcl-8.6
> 
> This is because:
> 
> cat pkg/PLIST:
> @tag gtk-update-icon-cache %D/share/icons/tkremind
> 
> But nothing was installed to ../share/icons/..
> 
> I think we can remove this line.
> 
> OK?

Yes, when you remove the x11/gtk+4,-guic RDEP for it as well.

> 
> Best Regards,
> Stefan
> 
> Index: misc/remind/Makefile
> ===
> RCS file: /cvs/ports/misc/remind/Makefile,v
> diff -u -p -u -p -r1.71 Makefile
> --- misc/remind/Makefile  4 Mar 2024 10:22:45 -   1.71
> +++ misc/remind/Makefile  18 Mar 2024 13:29:27 -
> @@ -2,6 +2,7 @@ COMMENT=  scripting language for reminder
>  
>  DISTNAME=remind-04.03.02
>  PKGNAME= remind-4.3.2
> +REVISION=0
>  
>  CATEGORIES=  misc
>  
> Index: misc/remind/pkg/PLIST
> ===
> RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
> diff -u -p -u -p -r1.16 PLIST
> --- misc/remind/pkg/PLIST 4 Mar 2024 10:22:45 -   1.16
> +++ misc/remind/pkg/PLIST 18 Mar 2024 13:29:27 -
> @@ -55,4 +55,3 @@ share/remind/seasons.rem
>  share/remind/site/
>  share/remind/site/README
>  @tag update-desktop-database
> -@tag gtk-update-icon-cache %D/share/icons/tkremind
> 



Re: [fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-18 Thread Martin Ziemer
Am Mon, Mar 18, 2024 at 02:37:28PM +0100 schrieb Stefan Hagen:
> Hi,
> 
> $ pkg_add remind
> quirks-7.14 signed on 2024-03-17T12:22:05Z
> remind-4.3.2:[..snip the deps..]
> remind-4.3.2:p5-JSON-MaybeXS-1.004005: ok
> remind-4.3.2:tcl-8.6.13: ok
> remind-4.3.2:tk-8.6.13: ok
> remind-4.3.2:p5-Cairo-1.109: ok
> remind-4.3.2:p5-Glib2-1.3294: ok
> remind-4.3.2:p5-Pango-1.227p3: ok
> remind-4.3.2:tcl-8.5.19p6: ok
> remind-4.3.2:tcllib-1.21pl0p0: ok
> remind-4.3.2: ok
> Running 
> tags||100%
> gtk-update-icon-cache: Failed to open file 
> /usr/local/share/icons/tkremind/.icon-theme.cache : No such file or directory
> system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t 
> /usr/local/share/icons/tkremind) failed:  exit(1)
> Running tags: ok
> New and changed readme(s):
> /usr/local/share/doc/pkg-readmes/tcl-8.5
> /usr/local/share/doc/pkg-readmes/tcl-8.6
> 
> This is because:
> 
> cat pkg/PLIST:
> @tag gtk-update-icon-cache %D/share/icons/tkremind
> 
> But nothing was installed to ../share/icons/..
> 
> I think we can remove this line.
> 
> OK?
Yes, you are right.

> 
> Best Regards,
> Stefan
> 
> Index: misc/remind/Makefile
> ===
> RCS file: /cvs/ports/misc/remind/Makefile,v
> diff -u -p -u -p -r1.71 Makefile
> --- misc/remind/Makefile  4 Mar 2024 10:22:45 -   1.71
> +++ misc/remind/Makefile  18 Mar 2024 13:29:27 -
> @@ -2,6 +2,7 @@ COMMENT=  scripting language for reminder
>  
>  DISTNAME=remind-04.03.02
>  PKGNAME= remind-4.3.2
> +REVISION=0
>  
>  CATEGORIES=  misc
>  
> Index: misc/remind/pkg/PLIST
> ===
> RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
> diff -u -p -u -p -r1.16 PLIST
> --- misc/remind/pkg/PLIST 4 Mar 2024 10:22:45 -   1.16
> +++ misc/remind/pkg/PLIST 18 Mar 2024 13:29:27 -
> @@ -55,4 +55,3 @@ share/remind/seasons.rem
>  share/remind/site/
>  share/remind/site/README
>  @tag update-desktop-database
> -@tag gtk-update-icon-cache %D/share/icons/tkremind
> 



[fix] misc/remind: gtk-update-icon-cache: Failed to open file

2024-03-18 Thread Stefan Hagen
Hi,

$ pkg_add remind
quirks-7.14 signed on 2024-03-17T12:22:05Z
remind-4.3.2:[..snip the deps..]
remind-4.3.2:p5-JSON-MaybeXS-1.004005: ok
remind-4.3.2:tcl-8.6.13: ok
remind-4.3.2:tk-8.6.13: ok
remind-4.3.2:p5-Cairo-1.109: ok
remind-4.3.2:p5-Glib2-1.3294: ok
remind-4.3.2:p5-Pango-1.227p3: ok
remind-4.3.2:tcl-8.5.19p6: ok
remind-4.3.2:tcllib-1.21pl0p0: ok
remind-4.3.2: ok
Running 
tags||100%
gtk-update-icon-cache: Failed to open file 
/usr/local/share/icons/tkremind/.icon-theme.cache : No such file or directory
system(/bin/sh, -c, /usr/local/bin/gtk-update-icon-cache -q -t 
/usr/local/share/icons/tkremind) failed:  exit(1)
Running tags: ok
New and changed readme(s):
/usr/local/share/doc/pkg-readmes/tcl-8.5
/usr/local/share/doc/pkg-readmes/tcl-8.6

This is because:

cat pkg/PLIST:
@tag gtk-update-icon-cache %D/share/icons/tkremind

But nothing was installed to ../share/icons/..

I think we can remove this line.

OK?

Best Regards,
Stefan

Index: misc/remind/Makefile
===
RCS file: /cvs/ports/misc/remind/Makefile,v
diff -u -p -u -p -r1.71 Makefile
--- misc/remind/Makefile4 Mar 2024 10:22:45 -   1.71
+++ misc/remind/Makefile18 Mar 2024 13:29:27 -
@@ -2,6 +2,7 @@ COMMENT=scripting language for reminder
 
 DISTNAME=  remind-04.03.02
 PKGNAME=   remind-4.3.2
+REVISION=  0
 
 CATEGORIES=misc
 
Index: misc/remind/pkg/PLIST
===
RCS file: /cvs/ports/misc/remind/pkg/PLIST,v
diff -u -p -u -p -r1.16 PLIST
--- misc/remind/pkg/PLIST   4 Mar 2024 10:22:45 -   1.16
+++ misc/remind/pkg/PLIST   18 Mar 2024 13:29:27 -
@@ -55,4 +55,3 @@ share/remind/seasons.rem
 share/remind/site/
 share/remind/site/README
 @tag update-desktop-database
-@tag gtk-update-icon-cache %D/share/icons/tkremind