pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/deforaos-libsystem Update devel/deforaos-libsyst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a4d45979e38
branches:  trunk
changeset: 402403:6a4d45979e38
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Oct 09 01:58:55 2019 +0000

description:
Update devel/deforaos-libsystem to version 0.4.2

Among the changes upstream:
- re-licensing to the 2-clause BSD license
- improved build system
- extended Array and String API
- extended tests

This package no longer ships the API documentation; it will be included
in a separate package.

diffstat:

 devel/deforaos-libsystem/Makefile                     |  15 +++----
 devel/deforaos-libsystem/PLIST                        |  27 +--------------
 devel/deforaos-libsystem/distinfo                     |  13 +++---
 devel/deforaos-libsystem/patches/patch-doc_Makefile   |  21 +++++++++++
 devel/deforaos-libsystem/patches/patch-tests_tests.sh |  34 ++++++++++++------
 5 files changed, 58 insertions(+), 52 deletions(-)

diffs (166 lines):

diff -r 0e2b717763de -r 6a4d45979e38 devel/deforaos-libsystem/Makefile
--- a/devel/deforaos-libsystem/Makefile Tue Oct 08 23:43:03 2019 +0000
+++ b/devel/deforaos-libsystem/Makefile Wed Oct 09 01:58:55 2019 +0000
@@ -1,16 +1,15 @@
-# $NetBSD: Makefile,v 1.20 2017/12/28 13:45:24 dholland Exp $
+# $NetBSD: Makefile,v 1.21 2019/10/09 01:58:55 khorben Exp $
 #
 
-DISTNAME=      libSystem-0.3.1
-PKGNAME=       deforaos-libsystem-0.3.1
-PKGREVISION=   1
+DISTNAME=      libSystem-0.4.2
+PKGNAME=       deforaos-libsystem-0.4.2
 CATEGORIES=    devel
-MASTER_SITES=  https://www.defora.org/os/download/download/4446/
+MASTER_SITES=  https://ftp.defora.org/pub/DeforaOS/System/src/libSystem/
 
 MAINTAINER=    khorben%defora.org@localhost
 HOMEPAGE=      https://www.defora.org/
 COMMENT=       DeforaOS core system library
-LICENSE=       gnu-lgpl-v3
+LICENSE=       2-clause-bsd
 
 MAKE_FLAGS+=   PREFIX=${PREFIX}
 MAKE_FLAGS+=   DESTDIR=${DESTDIR}
@@ -19,6 +18,8 @@
 MAKE_FLAGS+=   INSTALL=${INSTALL:Q}
 AUTO_MKDIRS=   yes
 
+#TEST_TARGET=  tests
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${PKGMANDIR} != "share/man"
@@ -34,6 +35,4 @@
 
 DL_AUTO_VARS=  yes
 .include "../../mk/dlopen.buildlink3.mk"
-BUILDLINK_API_DEPENDS.gtk-doc+=        gtk-doc>=1.20
-.include "../../textproc/gtk-doc/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0e2b717763de -r 6a4d45979e38 devel/deforaos-libsystem/PLIST
--- a/devel/deforaos-libsystem/PLIST    Tue Oct 08 23:43:03 2019 +0000
+++ b/devel/deforaos-libsystem/PLIST    Wed Oct 09 01:58:55 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/12/28 13:45:24 dholland Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/10/09 01:58:55 khorben Exp $
 bin/configctl
 include/System.h
 include/System/array.h
@@ -24,28 +24,3 @@
 man/html1/configctl.html
 man/man1/configctl.1
 share/doc/libSystem/README.md
-share/gtk-doc/html/libSystem/api-index-full.html
-share/gtk-doc/html/libSystem/ch01.html
-share/gtk-doc/html/libSystem/deprecated-api-index.html
-share/gtk-doc/html/libSystem/home.png
-share/gtk-doc/html/libSystem/index.html
-share/gtk-doc/html/libSystem/left-insensitive.png
-share/gtk-doc/html/libSystem/left.png
-share/gtk-doc/html/libSystem/libSystem-array.html
-share/gtk-doc/html/libSystem/libSystem-buffer.html
-share/gtk-doc/html/libSystem/libSystem-config.html
-share/gtk-doc/html/libSystem/libSystem-error.html
-share/gtk-doc/html/libSystem/libSystem-event.html
-share/gtk-doc/html/libSystem/libSystem-file.html
-share/gtk-doc/html/libSystem/libSystem-hash.html
-share/gtk-doc/html/libSystem/libSystem-object.html
-share/gtk-doc/html/libSystem/libSystem-parser.html
-share/gtk-doc/html/libSystem/libSystem-plugin.html
-share/gtk-doc/html/libSystem/libSystem-string.html
-share/gtk-doc/html/libSystem/libSystem-token.html
-share/gtk-doc/html/libSystem/libSystem.devhelp2
-share/gtk-doc/html/libSystem/right-insensitive.png
-share/gtk-doc/html/libSystem/right.png
-share/gtk-doc/html/libSystem/style.css
-share/gtk-doc/html/libSystem/up-insensitive.png
-share/gtk-doc/html/libSystem/up.png
diff -r 0e2b717763de -r 6a4d45979e38 devel/deforaos-libsystem/distinfo
--- a/devel/deforaos-libsystem/distinfo Tue Oct 08 23:43:03 2019 +0000
+++ b/devel/deforaos-libsystem/distinfo Wed Oct 09 01:58:55 2019 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.12 2017/04/13 00:41:02 khorben Exp $
+$NetBSD: distinfo,v 1.13 2019/10/09 01:58:55 khorben Exp $
 
-SHA1 (libSystem-0.3.1.tar.gz) = e527a54f24d2f1ab350c1e5610ba83cf00c67cdc
-RMD160 (libSystem-0.3.1.tar.gz) = 9b73f5849325fc656763f770e6c516101cd1007e
-SHA512 (libSystem-0.3.1.tar.gz) = 667b6b2bf27be420fea2718b04aa4ce86a87f388a626b21371ec3c39b7e7d8ea4600b340d81b2a51c7317306dce7d4cd0f8a1281f07091ad1ad7b2cc3e28b4e4
-Size (libSystem-0.3.1.tar.gz) = 70735 bytes
-SHA1 (patch-tests_tests.sh) = a8904b992794dea31fb29cef858e17d761f2293f
+SHA1 (libSystem-0.4.2.tar.gz) = a934719e3c564d3823368125f2586577122ed032
+RMD160 (libSystem-0.4.2.tar.gz) = d059436d3d8314e92647f6e4b74fb87eb53fa0df
+SHA512 (libSystem-0.4.2.tar.gz) = 0b67bee0287b5af7ed37342012fa489dcabe06af8d6f393862733b013c2e021c0b990937a14fbf920a69192eb28dcc72eeb469889db2c610c8fba65d419f952c
+Size (libSystem-0.4.2.tar.gz) = 49555 bytes
+SHA1 (patch-doc_Makefile) = 43348660bc1057c2e06f13bb5face9103a64ca30
+SHA1 (patch-tests_tests.sh) = a75251c9b9ae3cf3b54fb8afa6f152ca9601ac31
diff -r 0e2b717763de -r 6a4d45979e38 devel/deforaos-libsystem/patches/patch-doc_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/deforaos-libsystem/patches/patch-doc_Makefile       Wed Oct 09 01:58:55 2019 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-doc_Makefile,v 1.1 2019/10/09 01:58:56 khorben Exp $
+
+Do not generate the API documentation by default.
+
+--- doc/Makefile.orig  2019-09-28 01:45:41.000000000 +0000
++++ doc/Makefile
+@@ -1,5 +1,5 @@
+ SUBDIRS       = gtkdoc
+-TARGETS       = $(OBJDIR)configctl.1 $(OBJDIR)configctl.html $(OBJDIR)configctl.xml $(OBJDIR)gtkdoc/libSystem.types $(OBJDIR)gtkdoc/tmpl.stamp $(OBJDIR)gtkdoc/sgml.stamp $(OBJDIR)gtkdoc/html.stamp
++TARGETS       = $(OBJDIR)configctl.1 $(OBJDIR)configctl.html $(OBJDIR)configctl.xml
+ OBJDIR        =
+ PREFIX        = /usr/local
+ DESTDIR       =
+@@ -73,7 +73,6 @@ install: all
+               else $(MAKE) install; fi) || exit; done
+       ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)configctl.1"
+       ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)configctl.html"
+-      ./gtkdoc.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)gtkdoc/html.stamp"
+ 
+ uninstall:
+       @for i in $(SUBDIRS); do (cd "$$i" && \
diff -r 0e2b717763de -r 6a4d45979e38 devel/deforaos-libsystem/patches/patch-tests_tests.sh
--- a/devel/deforaos-libsystem/patches/patch-tests_tests.sh     Tue Oct 08 23:43:03 2019 +0000
+++ b/devel/deforaos-libsystem/patches/patch-tests_tests.sh     Wed Oct 09 01:58:55 2019 +0000
@@ -1,18 +1,28 @@
-$NetBSD: patch-tests_tests.sh,v 1.5 2017/04/13 00:41:02 khorben Exp $
+$NetBSD: patch-tests_tests.sh,v 1.6 2019/10/09 01:58:56 khorben Exp $
 
 Avoid building the (experimental) Python binding.
-Use LD_LIBRARY_PATH to find pre-installed libraries.
 
---- tests/tests.sh.orig        2017-04-13 00:29:45.000000000 +0000
+--- tests/tests.sh.orig        2019-08-29 00:00:20.000000000 +0000
 +++ tests/tests.sh
-@@ -114,8 +114,8 @@ failures=
+@@ -119,21 +119,6 @@ fi
  
- if $PKGCONFIG --exists python-2.7; then
-       tests="$tests python.sh"
--else
--      failures="$failures python.sh"
-+#else
-+#     failures="$failures python.sh"
- fi
+ tests="array buffer config error event includes parser string variable"
+ failures=
+-$PKGCONFIG --exists "python-2.7"
+-case $? in
+-      127)
+-              failures="pkgconfig.sh python.sh"
+-              ;;
+-      0)
+-              if [ -n "$PKG_CONFIG_SYSROOT_DIR" ]; then
+-                      #XXX cross-compiling
+-                      tests="pkgconfig.sh python.sh"
+-              fi
+-              ;;
+-      *)
+-              failures="$failures python.sh"
+-              ;;
+-esac
  
- $DATE > "$target"
+ while [ $# -ne 0 ]; do
+       target="$1"



Home | Main Index | Thread Index | Old Index