pkgsrc-WIP-changes archive

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

libplist2: package version 2.2.0



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Thu Jul 22 01:38:27 2021 +0200
Changeset:	ead26a386517b69cd5e98e002a902defa732f19f

Modified Files:
	Makefile
Added Files:
	libplist2/DESCR
	libplist2/Makefile
	libplist2/PLIST
	libplist2/buildlink3.mk
	libplist2/distinfo

Log Message:
libplist2: package version 2.2.0

This conflicts with textproc/libplist, which cannot be removed from
pkgsrc upstream at the moment without breaking some packages relying on
libplist 1.x, like audio/libgpod (hence imported here as libplist2).

The project provides an interface to read and write plist files in binary or
XML format alongside a command-line utility named plistutil.

Some key features are:

 * Formats: Supports binary and XML format
 * Utility: Provides a plistutil utility for the command-line
 * Python: Provides Cython based bindings for Python
 * Tested: Uses fuzzing and data compliance tests
 * Efficient: Lean library with performance and resources in mind

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

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

diffstat:
 Makefile                |  1 +
 libplist2/DESCR         | 10 ++++++++++
 libplist2/Makefile      | 32 ++++++++++++++++++++++++++++++++
 libplist2/PLIST         | 23 +++++++++++++++++++++++
 libplist2/buildlink3.mk | 15 +++++++++++++++
 libplist2/distinfo      |  6 ++++++
 6 files changed, 87 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 72d3ba4203..b15b7cca21 100644
--- a/Makefile
+++ b/Makefile
@@ -2115,6 +2115,7 @@ SUBDIR+=	libpar2
 SUBDIR+=	libpare
 SUBDIR+=	libparsifal
 SUBDIR+=	libpatterns
+SUBDIR+=	libplist2
 SUBDIR+=	libpsurface
 SUBDIR+=	libpthread-stubs
 SUBDIR+=	libpusb
diff --git a/libplist2/DESCR b/libplist2/DESCR
new file mode 100644
index 0000000000..c0c409115e
--- /dev/null
+++ b/libplist2/DESCR
@@ -0,0 +1,10 @@
+The project provides an interface to read and write plist files in binary or
+XML format alongside a command-line utility named plistutil.
+
+Some key features are:
+
+ * Formats: Supports binary and XML format
+ * Utility: Provides a plistutil utility for the command-line
+ * Python: Provides Cython based bindings for Python
+ * Tested: Uses fuzzing and data compliance tests
+ * Efficient: Lean library with performance and resources in mind
diff --git a/libplist2/Makefile b/libplist2/Makefile
new file mode 100644
index 0000000000..6fb033b83e
--- /dev/null
+++ b/libplist2/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	libplist-${PKGVERSION_NOREV}
+PKGNAME=	libplist2-2.2.0
+CATEGORIES=	textproc
+MASTER_SITES=	${MASTER_SITE_GITHUB:=libimobiledevice/libplist/releases/download/2.2.0/}
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://www.libimobiledevice.org/
+COMMENT=	Handle Apple Binary and XML Property Lists
+LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1
+
+GNU_CONFIGURE=	yes
+CONFIG_SHELL=	bash
+USE_TOOLS+=	bash gmake pkg-config
+USE_LIBTOOL=	yes
+USE_LANGUAGES=	c c++
+
+PKGCONFIG_OVERRIDE+=		libplist++-2.0.pc.in
+PKGCONFIG_OVERRIDE+=		libplist-2.0.pc.in
+PY_PATCHPLIST=			yes
+
+PYTHON_VERSIONS_ACCEPTED=	27
+
+CONFLICTS+=	libplist-[0-9]*
+
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../devel/py-cython/tool.mk"
+.include "../../lang/python/extension.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libplist2/PLIST b/libplist2/PLIST
new file mode 100644
index 0000000000..80e7068cdf
--- /dev/null
+++ b/libplist2/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD$
+bin/plistutil
+include/plist/Array.h
+include/plist/Boolean.h
+include/plist/Data.h
+include/plist/Date.h
+include/plist/Dictionary.h
+include/plist/Integer.h
+include/plist/Key.h
+include/plist/Node.h
+include/plist/Real.h
+include/plist/String.h
+include/plist/Structure.h
+include/plist/Uid.h
+include/plist/cython/plist.pxd
+include/plist/plist++.h
+include/plist/plist.h
+lib/libplist++-2.0.la
+lib/libplist-2.0.la
+lib/pkgconfig/libplist++-2.0.pc
+lib/pkgconfig/libplist-2.0.pc
+${PYSITELIB}/plist.la
+man/man1/plistutil.1
diff --git a/libplist2/buildlink3.mk b/libplist2/buildlink3.mk
new file mode 100644
index 0000000000..fab05090c2
--- /dev/null
+++ b/libplist2/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	libplist2
+
+.if !defined(LIBPLIST2_BUILDLINK3_MK)
+LIBPLIST2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libplist2+=	libplist2>=2.2.0
+BUILDLINK_ABI_DEPENDS.libplist2+=	libplist2>=2.2.0
+BUILDLINK_PKGSRCDIR.libplist2?=		../../wip/libplist2
+
+.include "../../textproc/libxml2/buildlink3.mk"
+.endif	# LIBPLIST2_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-libplist2
diff --git a/libplist2/distinfo b/libplist2/distinfo
new file mode 100644
index 0000000000..5f6452f621
--- /dev/null
+++ b/libplist2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libplist-2.2.0.tar.bz2) = a92830a3286442f9ea2eac02db81fcfb149a0812
+RMD160 (libplist-2.2.0.tar.bz2) = 43ee77e02b0413564913bb011bf1ca9591b7b3f1
+SHA512 (libplist-2.2.0.tar.bz2) = dcd922ebb28efa3c507253dd4671fdb3e4d367540734765b8d545756f6be2731fc401e7992cc6b06cdbde866fd7e17ff6188895505988b41f738226a004d7291
+Size (libplist-2.2.0.tar.bz2) = 451801 bytes


Home | Main Index | Thread Index | Old Index