pkgsrc-WIP-changes archive

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

libdazzle: Import libdazzle-3.30.2 as wip/libdazzle



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Fri Dec 21 15:34:57 2018 +0100
Changeset:	3153608b48e982cc292cbac2f1587d659ffdec0b

Modified Files:
	Makefile
Added Files:
	libdazzle/DESCR
	libdazzle/Makefile
	libdazzle/PLIST
	libdazzle/TODO
	libdazzle/distinfo

Log Message:
libdazzle: Import libdazzle-3.30.2 as wip/libdazzle

The libdazzle library is a companion library to GObject and Gtk+.
It provides various features that we wish were in the underlying
library but cannot for various reasons.
In most cases, they are wildly out of scope for those libraries.
In other cases, our design isn't quite generic enough to work for everyone.

TODO: Fails to link with:
TODO: `ERROR: can't resolve libraries to shared libraries: dazzle-1.0'
TODO: For complete error log please give a look to the TODO file.

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

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

diffstat:
 Makefile           |  1 +
 libdazzle/DESCR    |  5 +++++
 libdazzle/Makefile | 21 +++++++++++++++++++++
 libdazzle/PLIST    |  1 +
 libdazzle/TODO     | 10 ++++++++++
 libdazzle/distinfo |  6 ++++++
 6 files changed, 44 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 90767ee778..6ac003847e 100644
--- a/Makefile
+++ b/Makefile
@@ -1785,6 +1785,7 @@ SUBDIR+=	libcue
 SUBDIR+=	libcxx-git
 SUBDIR+=	libcxx-netbsd
 SUBDIR+=	libcxxabi-netbsd
+SUBDIR+=	libdazzle
 SUBDIR+=	libdbglog
 SUBDIR+=	libdbh2
 SUBDIR+=	libdialog
diff --git a/libdazzle/DESCR b/libdazzle/DESCR
new file mode 100644
index 0000000000..b879b6f968
--- /dev/null
+++ b/libdazzle/DESCR
@@ -0,0 +1,5 @@
+The libdazzle library is a companion library to GObject and Gtk+.
+It provides various features that we wish were in the underlying
+library but cannot for various reasons.
+In most cases, they are wildly out of scope for those libraries.
+In other cases, our design isn't quite generic enough to work for everyone.
diff --git a/libdazzle/Makefile b/libdazzle/Makefile
new file mode 100644
index 0000000000..140a64dbbd
--- /dev/null
+++ b/libdazzle/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=	libdazzle-3.30.2
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/libdazzle/3.30/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://gitlab.gnome.org/GNOME/libdazzle/
+COMMENT=	Companion library to GObject and Gtk+
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	pkg-config
+
+MESON_ARGS+=	-D enable_tests=false
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../devel/py-meson/build.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libdazzle/PLIST b/libdazzle/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/libdazzle/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/libdazzle/TODO b/libdazzle/TODO
new file mode 100644
index 0000000000..aee3ad90ab
--- /dev/null
+++ b/libdazzle/TODO
@@ -0,0 +1,10 @@
+Build fails with:
+
+[161/163] Generating Dazzle-1.0.gir with a custom command.
+FAILED: src/Dazzle-1.0.gir
+/usr/pkg/bin/g-ir-scanner -I/usr/pkg/include/gobject-introspection-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -pthread --no-libtool --namespace=Dazzle --nsversion=1.0 --warn-all --output src/Dazzle-1.0.gir --c-include=dazzle.h --quiet -I/tmp/pkgsrc/wip/libdazzle/work/libdazzle-3.30.2/src -I/tmp/pkgsrc/wip/libdazzle/work/libdazzle-3.30.2/output/src -I./. -I../. -I./src -I../src --filelist=/tmp/pkgsrc/wip/libdazzle/work/libdazzle-3.30.2/output/src/src@@dazzle-1.0@sha/Dazzle_1.0_gir_filelist -L/tmp/pkgsrc/wip/libdazzle/work/libdazzle-3.30.2/output/src --extra-library=dazzle-1.0 --include=Gio-2.0 --include=Gtk-3.0 --symbol-prefix=dzl --identifier-prefix=Dzl --pkg-export=libdazzle-1.0 --cflags-begin -DG_DISABLE_CAST_CHECKS -DHAVE_CONFIG_H -DDAZZLE_COMPILATION -I/tmp/pkgsrc/wip/libdazzle/work/libdazzle-3.30.2/output -Wcast-align -Wdeclaration-after-statement -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=implicit -Werro
r=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=init-self -Werror=int-conversion -Werror=int-to-pointer-cast -Werror=main -Werror=misleading-indentation -Werror=missing-braces -Werror=missing-include-dirs -Werror=nonnull -Werror=overflow -Werror=pointer-arith -Werror=pointer-to-int-cast -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=shadow -Werror=strict-prototypes -Werror=trigraphs -Werror=undef -Werror=write-strings -Wformat-nonliteral -Werror=format-security -Werror=format=2 -Wignored-qualifiers -Wimplicit-function-declaration -Wlogical-op -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wuninitialized -Wunused -fno-strict-aliasing -I./. -I../. -I./src -I../src -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/
 lib/glib-2.0/include -I/usr/pkg/include -pthread -I/usr/pkg/include/gtk-3.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/fribidi -I/usr/pkg/include/cairo -I/usr/X11R7/include/pixman-1 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/gdk-pixbuf-2.0 -D_REENTRANT -I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/pkg/include/atk-1.0 -O2 -pipe -O2 -march=haswell -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include/python3.7 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include/python3.7 -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm --cflags-end -L/tmp/pkgsrc/wip/libdazzle/work/libda
 zzle-3.30.2/output/src --library dazzle-1.0 -L/usr/pkg/lib -L/usr/lib -L/usr/X11R7/lib -L/usr/pkg/lib --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-library=gmodule-2.0 -pthread --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=m --extra-library=rt
+/usr/include/ssp/unistd.h:40: syntax error, unexpected ';' in '                         ;' at ';'
+/usr/include/ssp/unistd.h:43: syntax error, unexpected ';' in '                                                                  ;' at ';'
+/usr/include/ssp/unistd.h:46: syntax error, unexpected ';' in '                                          ;' at ';'
+ERROR: can't resolve libraries to shared libraries: dazzle-1.0
+ninja: build stopped: subcommand failed.
diff --git a/libdazzle/distinfo b/libdazzle/distinfo
new file mode 100644
index 0000000000..628d48da11
--- /dev/null
+++ b/libdazzle/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libdazzle-3.30.2.tar.xz) = c87bb930e95b44e84c1f50d2eb1cab72b9e51674
+RMD160 (libdazzle-3.30.2.tar.xz) = 6396eb29ad38de5e4f763a939d541433df20a108
+SHA512 (libdazzle-3.30.2.tar.xz) = 591c3bb9dd65ae02e6234a1599497dce78d843ee6ca47e8d50656b9f98bab91c7b89424c23eb387184bdb28132e1fbe11ee7c01d4a7f0598bcef92739aa8bff6
+Size (libdazzle-3.30.2.tar.xz) = 432192 bytes


Home | Main Index | Thread Index | Old Index