Mapivi tries to execute "gimp-remote -n $img" but the "-n" option is not avaliable on gimp-remote.
 Cheers
   Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/mapivi/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile    15 Sep 2007 20:09:42 -0000      1.4
+++ Makefile    22 Dec 2007 14:33:21 -0000
@@ -5,7 +5,7 @@
 COMMENT=       image viewer and organizer
 
 DISTNAME=      mapivi091
-PKGNAME=       mapivi-0.91p1
+PKGNAME=       mapivi-0.91p2
 CATEGORIES=    graphics x11
 
 HOMEPAGE=      http://mapivi.de.vu/
Index: patches/patch-mapivi
===================================================================
RCS file: /cvs/ports/graphics/mapivi/patches/patch-mapivi,v
retrieving revision 1.2
diff -u -r1.2 patch-mapivi
--- patches/patch-mapivi        31 May 2007 06:52:24 -0000      1.2
+++ patches/patch-mapivi        22 Dec 2007 14:33:21 -0000
@@ -1,6 +1,6 @@
 $OpenBSD: patch-mapivi,v 1.2 2007/05/31 06:52:24 ajacoutot Exp $
 --- mapivi.orig        Tue Oct 31 04:21:59 2006
-+++ mapivi     Tue May 29 18:56:03 2007
++++ mapivi     Fri Dec 21 22:35:08 2007
 @@ -341,7 +341,7 @@ my $nrToConvert     = 0;
  my $maxCommentLength = 2**16 - 3; # a comment block may have max 64kB
  
@@ -93,3 +93,12 @@
  
    # ###############  button frame  ########################
  
+@@ -24417,7 +24406,7 @@ sub GIMPedit {
+       # check if file is a link and get the real target
+       next if (!getRealFile(\$dpic));
+ 
+-      my $command = "gimp-remote -n      \"$dpic\" ";
++      my $command = "gimp-remote \"$dpic\" ";
+       #$command    = "gimp-win-remote \"$dpic\" " if $EvilOS;   # GIMP <= 2.0
+       $command    = "gimp-win-remote gimp-2.2.exe \"$dpic\" " if $EvilOS; # 
GIMP > 2.0
+       $command .= "2>&1 1>/dev/null &" if (!$EvilOS);

Reply via email to