diff options
author | rh <rh@pkgsrc.org> | 2004-12-30 11:56:01 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2004-12-30 11:56:01 +0000 |
commit | 3ae4a960a6312bb9169f9d293678af2d50eafd39 (patch) | |
tree | 9cdd78ec13439059c0181a837534be680f21a29f /devel/edcommon | |
parent | 7a12a188a1da6924e06e28a46e15f73e2e8e52a6 (diff) | |
download | pkgsrc-3ae4a960a6312bb9169f9d293678af2d50eafd39.tar.gz |
Initial import of edcommon-32, a set of Foundation and AppKit extensions
for GNUstep.
Diffstat (limited to 'devel/edcommon')
-rw-r--r-- | devel/edcommon/DESCR | 12 | ||||
-rw-r--r-- | devel/edcommon/Makefile | 25 | ||||
-rw-r--r-- | devel/edcommon/PLIST | 80 | ||||
-rw-r--r-- | devel/edcommon/buildlink3.mk | 18 | ||||
-rw-r--r-- | devel/edcommon/distinfo | 7 | ||||
-rw-r--r-- | devel/edcommon/patches/patch-aa | 23 | ||||
-rw-r--r-- | devel/edcommon/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/edcommon/patches/patch-ac | 13 |
8 files changed, 191 insertions, 0 deletions
diff --git a/devel/edcommon/DESCR b/devel/edcommon/DESCR new file mode 100644 index 00000000000..8c5af3a3f17 --- /dev/null +++ b/devel/edcommon/DESCR @@ -0,0 +1,12 @@ + The EDCommon framework extends Foundation and AppKit in a natural way. +It contains common methods you always need, like removing whitespace around +a string, special collection classes such as stack or object pair, an +object-oriented API for socket programming, some widgets, the chasing +arrows to indicate background activity for example, an XML parser and +other nifty stuff. + + The origins of the EDCommon und EDMessage frameworks date back to 1997 +and the original NeXT implementation of the OpenStep standard. Most of +their components have been thoroughly tested and refined through years of +use in OpenSource as well as in commercial projects. EDCommon also has +full Apple-style reference documentation for all classes and other APIs. diff --git a/devel/edcommon/Makefile b/devel/edcommon/Makefile new file mode 100644 index 00000000000..87f725474ea --- /dev/null +++ b/devel/edcommon/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ +# + +DISTNAME= ${PKGNAME}-s +PKGNAME= edcommon-32 +CATEGORIES= devel gnustep +MASTER_SITES= http://www.mulle-kybernetik.com/software/EDFrameworks/Downloads/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.mulle-kybernetik.com/software/EDFrameworks/Downloads/ +COMMENT= Foundation and AppKit extensions + +WRKSRC= ${WRKDIR}/ed/EDCommon +USE_BUILDLINK3= yes +USE_X11= yes + +MAKE_ENV+= ADDITIONAL_OBJCFLAGS="-Wno-import -I${WRKSRC}/.." + +.include "../../x11/gnustep-back/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" + +do-configure: + ${LN} -s ${WRKSRC}/*/*.h ${WRKSRC} + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/edcommon/PLIST b/devel/edcommon/PLIST new file mode 100644 index 00000000000..bae10830ff7 --- /dev/null +++ b/devel/edcommon/PLIST @@ -0,0 +1,80 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Headers +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Resources +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/EDCommon +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/CollectionMapping.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDAOMTagProcessor.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDActivityIndicator.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDApplication.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDBitmapCharset.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDCanvas.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDCommon.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDCommonDefines.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDIPSocket.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDIRCObject.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDKeyControlWindow.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDLRUCache.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDLightWeightLock.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDMLParser.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDMLTagProcessorProtocol.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDMLToken.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDMutableObjectPair.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDNumberSet.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDObjcRuntime.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDObjectPair.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDObjectReference.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDObjectWell.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDRange.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDSocket.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDSortedArray+Private.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDSortedArray.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDSparseClusterArray.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDStack.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDStream.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDStringScanner.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDSwapView.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDTCPSocket.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDTVScrollView.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDTableView.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/EDUDPSocket.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSApplication+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSArray+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSAttributedString+AppKitExtensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSAttributedString+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSData+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSDate+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSDictionary+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSFileHandle+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSHost+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSInvocation+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSMatrix+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSObject+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSPasteboard+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSProcessInfo+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSScanner+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSSet+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSString+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSTableColumn+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSTableView+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSWindow+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/NSWorkspace+Extensions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/functions.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers/osdep.h +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Resources/Info-gnustep.plist +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Resources/MIME.plist +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Resources/XMLEntities.plist +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Resources/arrows.tiff +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/libEDCommon.so +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/libEDCommon.so.0.0.1 +share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/Current +share/GNUstep/Local/Library/Headers/EDCommon +share/GNUstep/Local/Library/Libraries/libEDCommon.so +share/GNUstep/Local/Library/Libraries/libEDCommon.so.0.0.1 +@comment in devel/gnustep-make: @dirrm share/GNUstep/Local/Library/Libraries +@comment in devel/gnustep-make: @dirrm share/GNUstep/Local/Library/Headers +@dirrm share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Resources +@dirrm share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A/Headers +@dirrm share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions/A +@dirrm share/GNUstep/Local/Library/Frameworks/EDCommon.framework/Versions +@dirrm share/GNUstep/Local/Library/Frameworks/EDCommon.framework +@comment in devel/gnustep-make: @dirrm share/GNUstep/Local/Library/Frameworks diff --git a/devel/edcommon/buildlink3.mk b/devel/edcommon/buildlink3.mk new file mode 100644 index 00000000000..860a70bab8b --- /dev/null +++ b/devel/edcommon/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +EDCOMMON_BUILDLINK3_MK:= ${EDCOMMON_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= edcommon +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nedcommon} +BUILDLINK_PACKAGES+= edcommon + +.if !empty(EDCOMMON_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.edcommon+= edcommon>=32 +BUILDLINK_PKGSRCDIR.edcommon?= ../../devel/edcommon +.endif # EDCOMMON_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/edcommon/distinfo b/devel/edcommon/distinfo new file mode 100644 index 00000000000..bb9054e17c7 --- /dev/null +++ b/devel/edcommon/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ + +SHA1 (edcommon-32-s.tar.gz) = b189c4ff52ea4ef1cf5bcd65b5f0e7fd7da3e1a0 +Size (edcommon-32-s.tar.gz) = 188718 bytes +SHA1 (patch-aa) = d6dc8e945e23eaf2c8d67649e611fdff79f56f42 +SHA1 (patch-ab) = b020a7f62739015624f3b267d680cd55b2d29fb1 +SHA1 (patch-ac) = ede7d137943f8ee5fbf622eca06d82c2677c19fa diff --git a/devel/edcommon/patches/patch-aa b/devel/edcommon/patches/patch-aa new file mode 100644 index 00000000000..11a3b5409b4 --- /dev/null +++ b/devel/edcommon/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ + +--- DataStructures.subproj/GNUmakefile.orig 2003-01-04 02:08:59.000000000 +1000 ++++ DataStructures.subproj/GNUmakefile +@@ -23,15 +23,15 @@ EDAOMTagProcessor.h EDNumber + EDBitmapCharset.h EDObjectPair.h \ + EDIRCObject.h EDObjectReference.h \ + EDLRUCache.h EDRange.h \ +-EDLightWeightLock.h EDRedBlackTree+Private.h \ +-EDMLParser.h EDRedBlackTree.h \ ++EDLightWeightLock.h EDSortedArray+Private.h \ ++EDMLParser.h EDSortedArray.h \ + EDMLTagProcessorProtocol.h EDSparseClusterArray.h \ + EDMLToken.h EDStack.h \ + EDMutableObjectPair.h EDStringScanner.h + + + DataStructures.subproj_OBJC_FILES = \ +-EDBitmapCharset.m EDMLToken.m EDRedBlackTree.m \ ++EDBitmapCharset.m EDMLToken.m EDSortedArray.m \ + EDIRCObject.m EDNumberSet.m EDSparseClusterArray.m \ + EDLRUCache.m EDObjectPair.m EDStack.m \ + EDAOMTagProcessor.m EDObjectReference.m EDStringScanner.m \ diff --git a/devel/edcommon/patches/patch-ab b/devel/edcommon/patches/patch-ab new file mode 100644 index 00000000000..4014d41dc43 --- /dev/null +++ b/devel/edcommon/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ + +--- osdep.h.orig 2002-08-29 08:09:58.000000000 +1000 ++++ osdep.h +@@ -169,7 +169,7 @@ extern int gethostname(char *name, int n + #endif + + +-#elif defined(__FreeBSD__) ++#elif defined(__FreeBSD__) || defined(__NetBSD__) + + //--------------------------------------------------------------------------------------- + // FreeBSD diff --git a/devel/edcommon/patches/patch-ac b/devel/edcommon/patches/patch-ac new file mode 100644 index 00000000000..25d217efbcd --- /dev/null +++ b/devel/edcommon/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2004/12/30 11:56:01 rh Exp $ + +--- FoundationExtensions.subproj/NSFileHandle+Extensions.m.orig 2002-08-17 04:12:48.000000000 +1000 ++++ FoundationExtensions.subproj/NSFileHandle+Extensions.m +@@ -144,7 +144,7 @@ + format: @"PeekNamedPipe() NT Error # %d", GetLastError()]; + + return lpTotalBytesAvail; +-#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux) ++#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(linux) || defined(__NetBSD__) + int numBytes; + + if(ioctl(EDSOCKETHANDLE, FIONREAD, (char *) &numBytes) == -1) |