Skip to content

Commit

Permalink
devel/deforaos-libsystem: Update to 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
khorben authored and ocochard committed Nov 23, 2023
1 parent e6d9034 commit 456691d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 17 deletions.
16 changes: 5 additions & 11 deletions devel/deforaos-libsystem/Makefile
@@ -1,16 +1,15 @@
PORTNAME= libsystem
PORTVERSION= 0.3.1
PORTREVISION= 1
PORTVERSION= 0.4.3
CATEGORIES= devel
MASTER_SITES= http://www.defora.org/os/download/download/4446/
MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/System/src/libSystem/
PKGNAMEPREFIX= deforaos-
DISTNAME= libSystem-${PORTVERSION}

MAINTAINER= olivier@FreeBSD.org
COMMENT= DeforaOS core system library
WWW= https://www.defora.org/

LICENSE= LGPL3
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING

USES= pkgconfig ssl
Expand All @@ -30,15 +29,10 @@ DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \
post-patch:
${REINPLACE_CMD} 's|/lib/|/libdata/|g' \
${WRKSRC}/data/pkgconfig.sh
${REINPLACE_CMD} 's|CFLAGS=|CFLAGS+=|' \
${REINPLACE_CMD} 's|CFLAGS =|CFLAGS+=|' \
${WRKSRC}/src/Makefile
${REINPLACE_CMD} 's|CPPFLAGS=|CPPFLAGS+=|' \
${WRKSRC}/src/Makefile
${REINPLACE_CMD} 's|_fail "python.sh"|#_fail "python.sh"|' \
${WRKSRC}/tests/tests.sh
${REINPLACE_CMD} 's|-Wl,-pie||g' \
${WRKSRC}/tools/Makefile \
${WRKSRC}/tests/Makefile
${REINPLACE_CMD} -e 's|$$(INSTALL)|#$${INSTALL}|' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's|$$(MKDIR) $$(DESTDIR)$$(PREFIX)/share/doc/| \
#$$(MKDIR) $$(DESTDIR)$$(PREFIX)/share/doc/|' ${WRKSRC}/Makefile
Expand All @@ -53,6 +47,6 @@ post-patch-DOCS-off:

post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/configctl \
${STAGEDIR}${PREFIX}/lib/libSystem.so.0.0
${STAGEDIR}${PREFIX}/lib/libSystem.so.1.0

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/deforaos-libsystem/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1475616237
SHA256 (libSystem-0.3.1.tar.gz) = 6f82f6fbee516d33e14311bcdc86dae0509c86c8f1e594d4573398b12a2a5b89
SIZE (libSystem-0.3.1.tar.gz) = 70735
TIMESTAMP = 1696803646
SHA256 (libSystem-0.4.3.tar.gz) = 0013da389e01d1aa1918a79de297c375b973c7af46e62e47440a88fd8687f251
SIZE (libSystem-0.4.3.tar.gz) = 55770
3 changes: 2 additions & 1 deletion devel/deforaos-libsystem/pkg-descr
@@ -1 +1,2 @@
DeforaOS system library
libSystem is the most essential library within DeforaOS, with the aim to become
a complete C runtime (thus obsoleting the libc and replacing its API).
8 changes: 6 additions & 2 deletions devel/deforaos-libsystem/pkg-plist
Expand Up @@ -14,13 +14,17 @@ include/System/parser.h
include/System/plugin.h
include/System/string.h
include/System/token.h
include/System/userdata.h
include/System/variable.h
lib/libSystem.a
lib/libSystem.so
lib/libSystem.so.0
lib/libSystem.so.0.0
lib/libSystem.so.1
lib/libSystem.so.1.0
libdata/pkgconfig/libSystem.pc
%%PORTDOCS%%man/man1/configctl.1.gz
%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-license.html
%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-mutator.html
%%PORTDOCS%%share/gtk-doc/html/libSystem/libSystem-variable.html
%%PORTDOCS%%share/gtk-doc/html/libSystem/api-index-full.html
%%PORTDOCS%%share/gtk-doc/html/libSystem/ch01.html
%%PORTDOCS%%share/gtk-doc/html/libSystem/deprecated-api-index.html
Expand Down
11 changes: 11 additions & 0 deletions x11/deforaos-libdesktop/files/patch-src_mimehandler.c
@@ -0,0 +1,11 @@
--- src/mimehandler.c.orig 2023-10-28 13:36:08 UTC
+++ src/mimehandler.c
@@ -597,7 +597,7 @@ int mimehandler_load_by_name(MimeHandler * handler, St
return ret;
/* read through every XDG application folder */
if((path = getenv("XDG_DATA_DIRS")) == NULL || strlen(path) == 0)
- path = "/usr/local/share:" DATADIR ":/usr/share";
+ path = DATADIR ":/usr/share";
if((p = string_new(path)) == NULL)
return -1;
for(q = strtok_r(p, ":", &last); q != NULL;

0 comments on commit 456691d

Please sign in to comment.