the diff fix an issue with a non existent ctime.pl load, and a script
calling `convert` with a wrong parameter.

Also found a new mirror, the old one doesn't old the file anymore.

Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/wmgrabimage/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    11 Oct 2013 23:49:53 -0000      1.25
+++ Makefile    27 Apr 2018 12:29:20 -0000
@@ -4,7 +4,7 @@ COMMENT=                wm-dockapp; WWW image monitor

 DISTNAME=              wmGrabImage-0.72
 PKGNAME=               ${DISTNAME:L}
-REVISION=              4
+REVISION=              5
 CATEGORIES=            graphics x11 x11/windowmaker
 EXTRACT_SUFX=          .tgz

@@ -13,7 +13,7 @@ HOMEPAGE=             http://nis-www.lanl.gov/~mgh/
 # GPL
 PERMIT_PACKAGE_CDROM=  Yes

-MASTER_SITES=          http://nis-www.lanl.gov/~mgh/WindowMaker/
+MASTER_SITES=          https://www.dockapps.net/download/

 RUN_DEPENDS=           graphics/ImageMagick \
                        graphics/xv
cvs server: Diffing patches
Index: patches/patch-wmGrabImage_GrabImage
===================================================================
RCS file: /cvs/ports/graphics/wmgrabimage/patches/patch-wmGrabImage_GrabImage,v
retrieving revision 1.1
diff -u -p -r1.1 patch-wmGrabImage_GrabImage
--- patches/patch-wmGrabImage_GrabImage 20 Jun 2008 10:49:42 -0000      1.1
+++ patches/patch-wmGrabImage_GrabImage 27 Apr 2018 12:29:20 -0000
@@ -1,6 +1,16 @@
 $OpenBSD: patch-wmGrabImage_GrabImage,v 1.1 2008/06/20 10:49:42 martynas Exp $
---- wmGrabImage/GrabImage.orig Sun May 27 21:02:18 2001
-+++ wmGrabImage/GrabImage      Thu Jun 19 21:08:20 2008
+Index: wmGrabImage/GrabImage
+--- wmGrabImage/GrabImage.orig
++++ wmGrabImage/GrabImage
+@@ -10,7 +10,7 @@
+ #
+
+
+-    require "ctime.pl";
++    use Time::localtime;
+
+
+     #
 @@ -47,13 +47,7 @@
        system("cp $ImagePath $home/.wmGrabImage/$ImageName");

@@ -16,3 +26,15 @@ $OpenBSD: patch-wmGrabImage_GrabImage,v
          system "$GrabCmd";

      }
+@@ -61,9 +55,9 @@
+
+ if (! ($Geometry eq "") ) {
+     system "convert -crop $Geometry $home/.wmGrabImage/${ImageName} 
$home/.wmGrabImage/${ImageName}.tmp.gif" ;
+-    system "convert -geom 54x54 $home/.wmGrabImage/${ImageName}.tmp.gif 
${home}/.wmGrabImage/${ImageName}.tmp.xpm";
++    system "convert -resize 54x54 $home/.wmGrabImage/${ImageName}.tmp.gif 
${home}/.wmGrabImage/${ImageName}.tmp.xpm";
+ } else {
+-    system "convert -geom 54x54 $home/.wmGrabImage/${ImageName} 
${home}/.wmGrabImage/${ImageName}.tmp.xpm";
++    system "convert -resize 54x54 $home/.wmGrabImage/${ImageName} 
${home}/.wmGrabImage/${ImageName}.tmp.xpm";
+ }
+     system "cat ${home}/.wmGrabImage/${ImageName}.tmp.xpm | sed -e 
\"s/Transparent/Black/\" \> ${home}/.wmGrabImage/${ImageName}.xpm; rm 
${home}/.wmGrabImage/${ImageName}.tmp.xpm";
+

Reply via email to