pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/libobjc2



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Apr 16 17:35:47 UTC 2020

Added Files:
        pkgsrc/lang/libobjc2: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Import libobjc2-2.0, a modern version of devel/gnustep-objc for use with
clang.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/libobjc2/DESCR \
    pkgsrc/lang/libobjc2/Makefile pkgsrc/lang/libobjc2/PLIST \
    pkgsrc/lang/libobjc2/buildlink3.mk pkgsrc/lang/libobjc2/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/lang/libobjc2/DESCR
diff -u /dev/null pkgsrc/lang/libobjc2/DESCR:1.1
--- /dev/null   Thu Apr 16 17:35:47 2020
+++ pkgsrc/lang/libobjc2/DESCR  Thu Apr 16 17:35:47 2020
@@ -0,0 +1,15 @@
+The GNUstep Objective-C runtime was designed as a drop-in replacement for
+the GCC runtime. It supports three ABIs:
+
+- The old GCC ABI, which provides support for Objective-C 1.0 features.
+  This can be selected via the -fobjc-runtime=gcc flag in Clang or by
+  compiling with GCC.
+
+- The initial GNUstep non-fragile ABI, which was intended to be
+  compatible with the GCC ABI, but provide support for modern Objective-C
+  features. This can be selected with the -fobjc-runtime=gnustep-1.9 flag
+  in Clang.
+
+- The modern (v2) ABI, which provides richer reflection metadata, smaller
+  binaries and reduced memory usage. This is selected with the
+  -fobjc-runtime=gnustep-2.0 flag in Clang 7.0 or later.
Index: pkgsrc/lang/libobjc2/Makefile
diff -u /dev/null pkgsrc/lang/libobjc2/Makefile:1.1
--- /dev/null   Thu Apr 16 17:35:47 2020
+++ pkgsrc/lang/libobjc2/Makefile       Thu Apr 16 17:35:47 2020
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2020/04/16 17:35:47 joerg Exp $
+#
+
+GITHUB_PROJECT=        libobjc2
+DISTNAME=      ${GITHUB_PROJECT}-2.0
+CATEGORIES=    lang
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=gnustep/}
+GITHUB_TAG=    v2.0
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/gnustep/libobjc2
+COMMENT=       Objective-C runtime library
+LICENSE=       mit
+
+ONLY_FOR_COMPILER=     clang
+
+USE_LANGUAGES= c c++
+
+USE_CMAKE=     yes
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/libobjc2/PLIST
diff -u /dev/null pkgsrc/lang/libobjc2/PLIST:1.1
--- /dev/null   Thu Apr 16 17:35:47 2020
+++ pkgsrc/lang/libobjc2/PLIST  Thu Apr 16 17:35:47 2020
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1 2020/04/16 17:35:47 joerg Exp $
+include/Block.h
+include/Block_private.h
+include/objc/Availability.h
+include/objc/Object.h
+include/objc/Protocol.h
+include/objc/blocks_private.h
+include/objc/blocks_runtime.h
+include/objc/capabilities.h
+include/objc/developer.h
+include/objc/encoding.h
+include/objc/hooks.h
+include/objc/message.h
+include/objc/objc-api.h
+include/objc/objc-arc.h
+include/objc/objc-auto.h
+include/objc/objc-class.h
+include/objc/objc-runtime.h
+include/objc/objc-visibility.h
+include/objc/objc.h
+include/objc/runtime-deprecated.h
+include/objc/runtime.h
+include/objc/slot.h
+lib/libobjc.so
+lib/libobjc.so.4.6
Index: pkgsrc/lang/libobjc2/buildlink3.mk
diff -u /dev/null pkgsrc/lang/libobjc2/buildlink3.mk:1.1
--- /dev/null   Thu Apr 16 17:35:47 2020
+++ pkgsrc/lang/libobjc2/buildlink3.mk  Thu Apr 16 17:35:47 2020
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/04/16 17:35:47 joerg Exp $
+#
+
+BUILDLINK_TREE+=       libobjc2
+
+.if !defined(LIBOBJC2_BUILDLINK3_MK)
+LIBOBJC2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libobjc2+=       libobjc2>=2.0
+BUILDLINK_ABI_DEPENDS.libobjc2+=       libobjc2>=2.0
+BUILDLINK_PKGSRCDIR.libobjc2?= ../../lang/libobjc2
+.endif # LIBOBJC2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libobjc2
Index: pkgsrc/lang/libobjc2/distinfo
diff -u /dev/null pkgsrc/lang/libobjc2/distinfo:1.1
--- /dev/null   Thu Apr 16 17:35:47 2020
+++ pkgsrc/lang/libobjc2/distinfo       Thu Apr 16 17:35:47 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/04/16 17:35:47 joerg Exp $
+
+SHA1 (libobjc2-2.0.tar.gz) = 6831e337ca19d9c9dc0f6daf15f606e1514b3fce
+RMD160 (libobjc2-2.0.tar.gz) = b47821918b831842db618c47c36052afd5452809
+SHA512 (libobjc2-2.0.tar.gz) = 2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748
+Size (libobjc2-2.0.tar.gz) = 191800 bytes



Home | Main Index | Thread Index | Old Index