pkgsrc-WIP-changes archive

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

(time/libical2) New Package imported as libical-2.0.0



Module Name:	pkgsrc-wip
Committed By:	Your Name <you%example.com@localhost>
Pushed By:	mef
Date:		Mon Apr 17 23:33:15 2017 +0900
Changeset:	7925a3a18614170148c9fa01a7891fbdc12b1722

Added Files:
	libical2/DESCR
	libical2/Makefile
	libical2/PLIST
	libical2/buildlink3.mk
	libical2/distinfo
	libical2/patches/patch-as

Log Message:
(time/libical2) New Package imported as libical-2.0.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7925a3a18614170148c9fa01a7891fbdc12b1722

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

diffstat:
 libical2/DESCR            |  1 +
 libical2/Makefile         | 35 +++++++++++++++++++++
 libical2/PLIST            | 79 +++++++++++++++++++++++++++++++++++++++++++++++
 libical2/buildlink3.mk    | 12 +++++++
 libical2/distinfo         |  7 +++++
 libical2/patches/patch-as | 45 +++++++++++++++++++++++++++
 6 files changed, 179 insertions(+)

diffs:
diff --git a/libical2/DESCR b/libical2/DESCR
new file mode 100644
index 0000000000..d708d3e3e6
--- /dev/null
+++ b/libical2/DESCR
@@ -0,0 +1 @@
+LIBICAL -- an implementation of iCalendar protocols and data formats
diff --git a/libical2/Makefile b/libical2/Makefile
new file mode 100644
index 0000000000..8bda3f5d70
--- /dev/null
+++ b/libical2/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.14 2016/07/09 06:39:08 wiz Exp $
+#
+
+VERSION=	2.0.0
+DISTNAME=	libical-${VERSION}
+CATEGORIES=	time
+MASTER_SITES=	${MASTER_SITE_GITHUB:=libical/}
+GITHUB_TAG=	v${VERSION}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://github.com/libical/libical
+COMMENT=	Reference implementation of the iCalendar data type and format
+LICENSE=	gnu-lgpl-v2.1 OR mpl-1.0
+
+USE_TOOLS+=	perl
+USE_LANGUAGES+=	c c++
+USE_CMAKE=	yes
+CMAKE_ARGS+= -DUSE_BUILTIN_TZDATA=false
+MAKE_JOBS_SAFE=	no
+
+PKGCONFIG_OVERRIDE+=	libical.pc.in
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+# zone.tab file in /usr/share/zoneinfo
+DEPENDS+= zonetab-[0-9]*:../../time/zonetab
+.endif
+
+# C++ is only needed for test
+USE_LANGUAGES=	c c++
+#TEST_TARGET=	check
+
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libical2/PLIST b/libical2/PLIST
new file mode 100644
index 0000000000..8e41283c79
--- /dev/null
+++ b/libical2/PLIST
@@ -0,0 +1,79 @@
+@comment $NetBSD$
+include/libical/ical.h
+include/libical/icalarray.h
+include/libical/icalattach.h
+include/libical/icalcalendar.h
+include/libical/icalclassify.h
+include/libical/icalcluster.h
+include/libical/icalcomponent.h
+include/libical/icalderivedparameter.h
+include/libical/icalderivedproperty.h
+include/libical/icalderivedvalue.h
+include/libical/icaldirset.h
+include/libical/icaldirsetimpl.h
+include/libical/icalduration.h
+include/libical/icalenums.h
+include/libical/icalerror.h
+include/libical/icalfileset.h
+include/libical/icalfilesetimpl.h
+include/libical/icalgauge.h
+include/libical/icalgaugeimpl.h
+include/libical/icallangbind.h
+include/libical/icalmemory.h
+include/libical/icalmessage.h
+include/libical/icalmime.h
+include/libical/icalparameter.h
+include/libical/icalparameter_cxx.h
+include/libical/icalparser.h
+include/libical/icalperiod.h
+include/libical/icalproperty.h
+include/libical/icalproperty_cxx.h
+include/libical/icalrecur.h
+include/libical/icalrestriction.h
+include/libical/icalset.h
+include/libical/icalspanlist.h
+include/libical/icalspanlist_cxx.h
+include/libical/icalss.h
+include/libical/icalssyacc.h
+include/libical/icaltime.h
+include/libical/icaltimezone.h
+include/libical/icaltypes.h
+include/libical/icaltz-util.h
+include/libical/icalvalue.h
+include/libical/icalvalue_cxx.h
+include/libical/icalvcal.h
+include/libical/icptrholder_cxx.h
+include/libical/libical_ical_export.h
+include/libical/libical_icalss_export.h
+include/libical/libical_vcal_export.h
+include/libical/pvl.h
+include/libical/sspm.h
+include/libical/vcaltmp.h
+include/libical/vcc.h
+include/libical/vcomponent_cxx.h
+include/libical/vobject.h
+lib/cmake/LibIcal/LibIcalConfig.cmake
+lib/cmake/LibIcal/LibIcalConfigVersion.cmake
+lib/cmake/LibIcal/LibIcalTargets-noconfig.cmake
+lib/cmake/LibIcal/LibIcalTargets.cmake
+lib/libical.a
+lib/libical.so
+lib/libical.so.2
+lib/libical.so.2.0.0
+lib/libical_cxx.a
+lib/libical_cxx.so
+lib/libical_cxx.so.2
+lib/libical_cxx.so.2.0.0
+lib/libicalss.a
+lib/libicalss.so
+lib/libicalss.so.2
+lib/libicalss.so.2.0.0
+lib/libicalss_cxx.a
+lib/libicalss_cxx.so
+lib/libicalss_cxx.so.2
+lib/libicalss_cxx.so.2.0.0
+lib/libicalvcal.a
+lib/libicalvcal.so
+lib/libicalvcal.so.2
+lib/libicalvcal.so.2.0.0
+lib/pkgconfig/libical.pc
diff --git a/libical2/buildlink3.mk b/libical2/buildlink3.mk
new file mode 100644
index 0000000000..11457565f1
--- /dev/null
+++ b/libical2/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.2 2009/03/20 19:25:34 joerg Exp $
+
+BUILDLINK_TREE+=	libical
+
+.if !defined(LIBICAL_BUILDLINK3_MK)
+LIBICAL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libical+=	libical>=0.42
+BUILDLINK_PKGSRCDIR.libical?=	../../time/libical
+.endif # LIBICAL_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libical
diff --git a/libical2/distinfo b/libical2/distinfo
new file mode 100644
index 0000000000..f68c3c9124
--- /dev/null
+++ b/libical2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.6 2015/11/02 23:31:37 agc Exp $
+
+SHA1 (libical-2.0.0.tar.gz) = 11590f667c63845f657ea1f69ad04c936b0f28ea
+RMD160 (libical-2.0.0.tar.gz) = e68455a2a45fab5c5f55741d3346b1c678e0821a
+SHA512 (libical-2.0.0.tar.gz) = 0b80f9aa40e0a485371b5949152c10d7fffb6e0dfe8c2aabc3c6e4e97ba0cdd465ae7093343245be60173bc7b24e80e919c0c0e199ff0bb2b14ed94af7087c4f
+Size (libical-2.0.0.tar.gz) = 699099 bytes
+SHA1 (patch-as) = 945b88af3ae4a00ff88c5a736cb7e2975ce80687
diff --git a/libical2/patches/patch-as b/libical2/patches/patch-as
new file mode 100644
index 0000000000..10ad758f23
--- /dev/null
+++ b/libical2/patches/patch-as
@@ -0,0 +1,45 @@
+$NetBSD: patch-as,v 1.2 2014/02/01 01:44:53 markd Exp $
+
+nonportable, possibly alignment problems
+
+--- src/libical/icaltz-util.c.orig	2015-12-29 06:44:53.000000000 +0900
++++ src/libical/icaltz-util.c	2017-04-17 22:52:21.000000000 +0900
+@@ -29,6 +29,7 @@
+ 
+ #include <stdlib.h>
+ 
++#if 0 /* XXX see below */
+ #if defined(sun) && defined(__SVR4)
+ #include <sys/types.h>
+ #include <sys/byteorder.h>
+@@ -49,6 +50,7 @@
+ #endif
+ #endif
+ #endif
++#endif
+ 
+ #if defined(__OpenBSD__) && !defined(bswap_32)
+ #define bswap_32 swap32
+@@ -127,6 +129,7 @@ typedef struct
+ 
+ static int decode(const void *ptr)
+ {
++#if 0 /* XXX nonportable, possibly alignment problems */
+ #if defined(sun) && defined(__SVR4)
+     if (sizeof(int) == 4) {
+ #if defined(_BIG_ENDIAN)
+@@ -140,10 +143,11 @@ static int decode(const void *ptr)
+     } else if (BYTE_ORDER == LITTLE_ENDIAN && sizeof(int) == 4) {
+         return (int)bswap_32(*(const unsigned int *)ptr);
+ #endif
+-    } else {
++    } else
++#endif
++    {
+         const unsigned char *p = ptr;
+-        int result = *p & (1 << (CHAR_BIT - 1)) ? ~0 : 0;
+-
++		unsigned int result = *p & (1 << (CHAR_BIT - 1)) ? ~0 : 0;
+         result = (result << 8) | *p++;
+         result = (result << 8) | *p++;
+         result = (result << 8) | *p++;


Home | Main Index | Thread Index | Old Index