mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
devel/deforaos-libsystem: Update to 0.4.3
This commit is contained in:
parent
e6d90349a7
commit
456691df15
@ -1,8 +1,7 @@
|
||||
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}
|
||||
|
||||
@ -10,7 +9,7 @@ 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
|
||||
@ -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
|
||||
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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).
|
||||
|
@ -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
|
||||
|
11
x11/deforaos-libdesktop/files/patch-src_mimehandler.c
Normal file
11
x11/deforaos-libdesktop/files/patch-src_mimehandler.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user