public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH 1/4] libplist: New package
@ 2022-08-09 10:35 Michael Tremer
  2022-08-09 10:35 ` [PATCH 2/4] libsodium: " Michael Tremer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Tremer @ 2022-08-09 10:35 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 5724 bytes --]

A library to handle Apple Property List format in binary or XML.

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 config/rootfiles/packages/libplist | 31 ++++++++++
 lfs/libplist                       | 91 ++++++++++++++++++++++++++++++
 make.sh                            |  1 +
 3 files changed, 123 insertions(+)
 create mode 100644 config/rootfiles/packages/libplist
 create mode 100644 lfs/libplist

diff --git a/config/rootfiles/packages/libplist b/config/rootfiles/packages/libplist
new file mode 100644
index 000000000..3f3f8e5a7
--- /dev/null
+++ b/config/rootfiles/packages/libplist
@@ -0,0 +1,31 @@
+#usr/bin/plistutil
+#usr/include/plist
+#usr/include/plist/Array.h
+#usr/include/plist/Boolean.h
+#usr/include/plist/Data.h
+#usr/include/plist/Date.h
+#usr/include/plist/Dictionary.h
+#usr/include/plist/Integer.h
+#usr/include/plist/Key.h
+#usr/include/plist/Node.h
+#usr/include/plist/Real.h
+#usr/include/plist/String.h
+#usr/include/plist/Structure.h
+#usr/include/plist/Uid.h
+#usr/include/plist/cython
+#usr/include/plist/cython/plist.pxd
+#usr/include/plist/plist++.h
+#usr/include/plist/plist.h
+#usr/lib/libplist++-2.0.la
+#usr/lib/libplist++-2.0.so
+usr/lib/libplist++-2.0.so.3
+usr/lib/libplist++-2.0.so.3.3.0
+#usr/lib/libplist-2.0.la
+#usr/lib/libplist-2.0.so
+usr/lib/libplist-2.0.so.3
+usr/lib/libplist-2.0.so.3.3.0
+#usr/lib/pkgconfig/libplist++-2.0.pc
+#usr/lib/pkgconfig/libplist-2.0.pc
+#usr/lib/python3.10/site-packages/plist.la
+usr/lib/python3.10/site-packages/plist.so
+#usr/share/man/man1/plistutil.1
diff --git a/lfs/libplist b/lfs/libplist
new file mode 100644
index 000000000..eb53366f9
--- /dev/null
+++ b/lfs/libplist
@@ -0,0 +1,91 @@
+###############################################################################
+#                                                                             #
+# IPFire.org - A linux based firewall                                         #
+# Copyright (C) 2007-2020  IPFire Team  <info(a)ipfire.org>                     #
+#                                                                             #
+# This program is free software: you can redistribute it and/or modify        #
+# it under the terms of the GNU General Public License as published by        #
+# the Free Software Foundation, either version 3 of the License, or           #
+# (at your option) any later version.                                         #
+#                                                                             #
+# This program is distributed in the hope that it will be useful,             #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
+# GNU General Public License for more details.                                #
+#                                                                             #
+# You should have received a copy of the GNU General Public License           #
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# Definitions
+###############################################################################
+
+include Config
+
+SUMMARY    = A library to handle Apple Property List format in binary or XML
+
+VER        = 2.2.0
+
+THISAPP    = libplist-$(VER)
+DL_FILE    = $(THISAPP).tar.bz2
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = $(DIR_SRC)/$(THISAPP)
+TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = libplist
+PAK_VER    = 1
+
+DEPS       =
+
+SERVICES   =
+
+###############################################################################
+# Top-level Rules
+###############################################################################
+
+objects = $(DL_FILE)
+
+$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
+
+$(DL_FILE)_BLAKE2 = d161fc2963d58235a41a9aafcac56f428000a5e95f627163ec73639a5b291d4ba33073f048b5e402107723e7e15c1f7efac7cf9941258caa60eb496ec3696dbb
+
+install : $(TARGET)
+
+check : $(patsubst %,$(DIR_CHK)/%,$(objects))
+
+download :$(patsubst %,$(DIR_DL)/%,$(objects))
+
+b2 : $(subst %,%_BLAKE2,$(objects))
+
+dist:
+	@$(PAK)
+
+###############################################################################
+# Downloading, checking, b2sum
+###############################################################################
+
+$(patsubst %,$(DIR_CHK)/%,$(objects)) :
+	@$(CHECK)
+
+$(patsubst %,$(DIR_DL)/%,$(objects)) :
+	@$(LOAD)
+
+$(subst %,%_BLAKE2,$(objects)) :
+	@$(B2SUM)
+
+###############################################################################
+# Installation Details
+###############################################################################
+
+$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
+	@$(PREBUILD)
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	$(UPDATE_AUTOMAKE)
+	cd $(DIR_APP) && ./configure \
+	                    --prefix=/usr \
+	                    --disable-static
+	cd $(DIR_APP) && make $(MAKETUNING)
+	cd $(DIR_APP) && make install
+	@rm -rf $(DIR_APP)
+	@$(POSTBUILD)
diff --git a/make.sh b/make.sh
index 85f386bce..33adf0b75 100755
--- a/make.sh
+++ b/make.sh
@@ -1704,6 +1704,7 @@ buildipfire() {
   lfsmake2 i2c-tools
   lfsmake2 nss-myhostname
   lfsmake2 dehydrated
+  lfsmake2 libplist
   lfsmake2 shairport-sync
   lfsmake2 borgbackup
   lfsmake2 lmdb
-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-09 10:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 10:35 [PATCH 1/4] libplist: New package Michael Tremer
2022-08-09 10:35 ` [PATCH 2/4] libsodium: " Michael Tremer
2022-08-09 10:35 ` [PATCH 3/4] shairport-sync: Add support for Airplay v2 Michael Tremer
2022-08-09 10:35 ` [PATCH 4/4] nqptp: New package Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox