Hi,

the new updated version of Gorm 1.2.18 has some serious flaws and is therefore 
of not much use.
Fixing this by actually reverting some patches from their SVN between 1.2.16 
and 1.2.18.
Already reported upstream.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnustep/gorm/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile    8 Jul 2012 13:41:52 -0000       1.7
+++ Makefile    12 Jul 2012 12:48:14 -0000
@@ -3,6 +3,7 @@
 COMMENT=       GNUstep graphical object relationship modeller
 
 DISTNAME=      gorm-1.2.18
+REVISION =     0
 HOMEPAGE=      http://www.gnustep.org/experience/Gorm.html
 MASTER_SITES=  ${MASTER_SITE_GNUSTEP}dev-apps/
 
Index: patches/patch-GormCore_GormDocument_m
===================================================================
RCS file: patches/patch-GormCore_GormDocument_m
diff -N patches/patch-GormCore_GormDocument_m
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-GormCore_GormDocument_m       12 Jul 2012 12:48:14 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Fix editing .gorm's with many views, i.e. AddressManager 
+or Fisicalab
+
+--- GormCore/GormDocument.m.orig       Tue Jun 19 06:47:30 2012
++++ GormCore/GormDocument.m    Thu Jul 12 12:34:16 2012
+@@ -1915,13 +1915,6 @@ static void _real_close(GormDocument *self,
+       {
+         [[self openEditorForObject: obj] activate];
+       }
+-      else if([obj isKindOfClass: [NSView class]])
+-      {
+-        if([obj superview] == nil)
+-          {
+-            [[self openEditorForObject: obj] activate];
+-          }
+-      }
+     }
+ }
+ 
Index: patches/patch-GormLib_IBObjectAdditions_m
===================================================================
RCS file: patches/patch-GormLib_IBObjectAdditions_m
diff -N patches/patch-GormLib_IBObjectAdditions_m
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-GormLib_IBObjectAdditions_m   12 Jul 2012 12:48:14 -0000
@@ -0,0 +1,47 @@
+$OpenBSD$
+
+Fix the Connection Inspector
+
+--- GormLib/IBObjectAdditions.m.orig   Tue Jul 10 20:39:09 2012
++++ GormLib/IBObjectAdditions.m        Tue Jul 10 20:39:24 2012
+@@ -71,40 +71,5 @@
+   return nil;
+ }
+ 
+-- (NSImage *) imageForViewer
+-{
+-  return nil;
+-}
+-
+-- (NSString*) connectInspectorClassName
+-{
+-  return nil;
+-}
+-
+-- (NSString*) sizeInspectorClassName
+-{
+-  return nil;
+-}
+-
+-- (NSString*) helpInspectorClassName
+-{
+-  return nil;
+-}
+-
+-- (NSString*) classInspectorClassName
+-{
+-  return nil;
+-}
+-
+-- (NSString*) inspectorClassName;
+-{
+-  return nil;
+-}
+-
+-- (NSString*) editorClassName;
+-{
+-  return nil;
+-}
+-
+ @end
+ 

Reply via email to