pkgsrc-WIP-changes archive

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

Added libgit2-glib



Module Name:	pkgsrc-wip
Committed By:	Jay Patel <jaypatel.ani%gmail.com@localhost>
Pushed By:	jaypatelani
Date:		Sat Jul 11 17:40:09 2020 +0530
Changeset:	9d993e5059894b6aed1e9a6ec296fdae4431e826

Modified Files:
	Makefile
Added Files:
	libgit2-glib/DESCR
	libgit2-glib/Makefile
	libgit2-glib/PLIST
	libgit2-glib/TODO
	libgit2-glib/distinfo

Log Message:
Added libgit2-glib

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

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

diffstat:
 Makefile              |  1 +
 libgit2-glib/DESCR    |  1 +
 libgit2-glib/Makefile | 30 +++++++++++++++++++++++++
 libgit2-glib/PLIST    |  4 ++++
 libgit2-glib/TODO     | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++
 libgit2-glib/distinfo |  6 +++++
 6 files changed, 103 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 81afa5200b..02deeed631 100644
--- a/Makefile
+++ b/Makefile
@@ -1845,6 +1845,7 @@ SUBDIR+=	libgda-xbase
 SUBDIR+=	libgda4
 SUBDIR+=	libghemical
 SUBDIR+=	libginac
+SUBDIR+=	libgit2-glib
 SUBDIR+=	libglade-java
 SUBDIR+=	libgnome-java
 SUBDIR+=	libgnomekbd
diff --git a/libgit2-glib/DESCR b/libgit2-glib/DESCR
new file mode 100644
index 0000000000..ca633fabf2
--- /dev/null
+++ b/libgit2-glib/DESCR
@@ -0,0 +1 @@
+libgit2-glib is a glib wrapper library around the libgit2 git access library.
diff --git a/libgit2-glib/Makefile b/libgit2-glib/Makefile
new file mode 100644
index 0000000000..059dd2b93b
--- /dev/null
+++ b/libgit2-glib/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	libgit2-glib
+GITHUB_TAG=	v0.99.0.1
+DISTNAME=	v0.99.0.1
+PKGNAME=	${GITHUB_PROJECT}-${DISTNAME:S,^v,,}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=GNOME/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/GNOME/libgit2-glib/
+COMMENT=	Glib wrapper library around the libgit2 git access library
+LICENSE=	gnu-lgpl-v2.1
+
+WRKSRC=			${WRKDIR}/libgit2-glib-0.99.0.1
+LD_LIBRARY_PATH=	${WRKSRC}/output/git2-glib
+USE_PKGLOCALEDIR=	yes
+USE_TOOLS=		pkg-config
+USE_CMAKE=		yes
+USE_LANGUAGES=		c c++
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/libgit2/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../security/libssh2/buildlink3.mk"
+.include "../../devel/py-pygit2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/libgit2-glib/PLIST b/libgit2-glib/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/libgit2-glib/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/libgit2-glib/TODO b/libgit2-glib/TODO
new file mode 100644
index 0000000000..bdf3c5d97a
--- /dev/null
+++ b/libgit2-glib/TODO
@@ -0,0 +1,61 @@
+Getting below error when making libgit2-glib :
+[80/86] Generating Ggit-1.0.gir with a custom command.
+FAILED: libgit2-glib/Ggit-1.0.gir
+/usr/pkg/bin/g-ir-scanner --no-libtool --namespace=Ggit
+--nsversion=1.0 --warn-all --output libgit2-glib/Ggit-1.0.gir
+--c-include=libgit2-glib/ggit.h
+-I/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/libgit2-glib
+-I/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/libgit2-glib
+-I./. -I../. --filelist=/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/libgit2-glib/5746dcd@@git2-glib-1.0@sha/Ggit_1.0_gir_filelist
+--include=GObject-2.0 --include=GLib-2.0 --include=Gio-2.0
+--symbol-prefix=ggit --identifier-prefix=Ggit
+--pkg-export=libgit2-glib-1.0 --cflags-begin -ffast-math
+-fstrict-aliasing -Wpointer-arith -Wmissing-declarations -Wformat=2
+-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
+-Wold-style-definition -Wdeclaration-after-statement -Wunused
+-Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute
+-Wredundant-decls -Wlogical-op -Wcast-align -Wno-unused-local-typedefs
+-Werror=implicit -Werror=init-self -Werror=main -Werror=missing-braces
+-Werror=return-type -Werror=array-bounds -Werror=write-strings
+-DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -I./. -I../.
+-I/usr/pkg/include -I/usr/pkg/include/glib-2.0
+-I/usr/pkg/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -I/usr/include
+-I/usr/pkg/include/python3.7 -I/usr/pkg/include
+-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
+-I/usr/pkg/lib/glib-2.0/include -I/usr/include
+-I/usr/pkg/include/python3.7 -I/usr/pkg/include
+-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
+-I/usr/pkg/lib/glib-2.0/include --cflags-end --library git2-glib-1.0
+-L/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/libgit2-glib
+-L/usr/lib -L/usr/pkg/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=git2 --sources-top-dirs
+/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/subprojects/
+--sources-top-dirs
+/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/subprojects/
+g-ir-scanner: link: gcc -o
+/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/tmp-introspect4jjmxgu9/Ggit-1.0
+-I/usr/include -I/usr/pkg/include/python3.7 -I/usr/pkg/include
+-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
+-I/usr/pkg/lib/glib-2.0/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include
+-I/usr/pkg/include/python3.7 -I/usr/pkg/include
+-I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0
+-I/usr/pkg/lib/glib-2.0/include
+/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/tmp-introspect4jjmxgu9/Ggit-1.0.o
+-L. -Wl,-rpath,. -Wl,--no-as-needed
+-L/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/libgit2-glib
+-Wl,-rpath,/usr/pkgsrc/wip/libgit2-glib/work/libgit2-glib-0.99.0.1/output/libgit2-glib
+-L/usr/lib -Wl,-rpath,/usr/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib
+-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lgit2-glib-1.0 -lgio-2.0
+-lgobject-2.0 -lglib-2.0 -lintl -lgit2 -L/usr/pkg/lib -lgio-2.0
+-lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
+-Wl,-R/usr/pkg/lib -lglib-2.0 -lintl -L/usr/lib -Wl,-R/usr/lib
+-L/usr/pkg/lib -Wl,-R/usr/pkg/lib
+ERROR: can't resolve libraries to shared libraries: git2-glib-1.0
+ninja: build stopped: subcommand failed.
+
+found something similar happed with :
+
+json-glib-1.0 [ https://gitlab.gnome.org/GNOME/json-glib/-/issues/35 ]
+
+so tried work around with LD_LIBRARY_PATH but it doesn't seem to solve error.
diff --git a/libgit2-glib/distinfo b/libgit2-glib/distinfo
new file mode 100644
index 0000000000..2bf731af00
--- /dev/null
+++ b/libgit2-glib/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libgit2-glib/v0.99.0.1.tar.gz) = 324af13301a53d135d5f85e94ecbdb8e94a4821b
+RMD160 (libgit2-glib/v0.99.0.1.tar.gz) = 5759b4e81925396752b691b0f12174b6f226a333
+SHA512 (libgit2-glib/v0.99.0.1.tar.gz) = a344a090a104aa78ba3fd9e270fb603423a67c6bf38c10d4eae92eab79197cb23ae0d77af9dd151b2bac2c55d54a7a05ea1a86d4b28b1a95ffb758b73f04b85d
+Size (libgit2-glib/v0.99.0.1.tar.gz) = 184081 bytes


Home | Main Index | Thread Index | Old Index