pkgsrc-WIP-changes archive

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

A few gambas3 packages



Module Name:	pkgsrc-wip
Committed By:	bgermann <bastiangermann%fishpost.de@localhost>
Pushed By:	bgermann
Date:		Mon Sep 3 12:44:50 2018 +0200
Changeset:	681ad6fad8e16b83fd60dd7a33dea78b230bdd33

Added Files:
	gambas3-devel/DESCR
	gambas3-devel/Makefile
	gambas3-devel/PLIST
	gambas3-gb-inotify/DESCR
	gambas3-gb-inotify/Makefile
	gambas3-gb-inotify/PLIST
	gambas3-gb-openal/DESCR
	gambas3-gb-openal/Makefile
	gambas3-gb-openal/PLIST
	gambas3-gb-v4l/DESCR
	gambas3-gb-v4l/Makefile
	gambas3-gb-v4l/PLIST
	gambas3-runtime/DESCR
	gambas3-runtime/Makefile
	gambas3-runtime/PLIST
	gambas3-runtime/TODO
	gambas3/DESCR
	gambas3/Makefile
	gambas3/Makefile.common
	gambas3/PLIST
	gambas3/TODO
	gambas3/distinfo
	gambas3/patches/patch-gb.v4l_configure.ac

Log Message:
A few gambas3 packages

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

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

diffstat:
 gambas3-devel/DESCR                       |  5 ++++
 gambas3-devel/Makefile                    | 16 ++++++++++
 gambas3-devel/PLIST                       |  4 +++
 gambas3-gb-inotify/DESCR                  |  5 ++++
 gambas3-gb-inotify/Makefile               | 15 ++++++++++
 gambas3-gb-inotify/PLIST                  |  5 ++++
 gambas3-gb-openal/DESCR                   |  5 ++++
 gambas3-gb-openal/Makefile                | 12 ++++++++
 gambas3-gb-openal/PLIST                   |  5 ++++
 gambas3-gb-v4l/DESCR                      |  7 +++++
 gambas3-gb-v4l/Makefile                   | 14 +++++++++
 gambas3-gb-v4l/PLIST                      |  5 ++++
 gambas3-runtime/DESCR                     |  5 ++++
 gambas3-runtime/Makefile                  | 27 +++++++++++++++++
 gambas3-runtime/PLIST                     | 43 +++++++++++++++++++++++++++
 gambas3-runtime/TODO                      |  1 +
 gambas3/DESCR                             |  3 ++
 gambas3/Makefile                          | 11 +++++++
 gambas3/Makefile.common                   | 49 +++++++++++++++++++++++++++++++
 gambas3/PLIST                             |  1 +
 gambas3/TODO                              |  1 +
 gambas3/distinfo                          |  7 +++++
 gambas3/patches/patch-gb.v4l_configure.ac | 17 +++++++++++
 23 files changed, 263 insertions(+)

diffs:
diff --git a/gambas3-devel/DESCR b/gambas3-devel/DESCR
new file mode 100644
index 0000000000..6c97cf7182
--- /dev/null
+++ b/gambas3-devel/DESCR
@@ -0,0 +1,5 @@
+Gambas is a free development environment and a full powerful development
+platform based on a Basic interpreter with object extensions, as easy as Visual
+Basic.
+
+This package includes the Gambas compiler, archiver and informer.
diff --git a/gambas3-devel/Makefile b/gambas3-devel/Makefile
new file mode 100644
index 0000000000..50149c5696
--- /dev/null
+++ b/gambas3-devel/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+BUILD_DIRS=	main/gbc
+.include "../../wip/gambas3/Makefile.common"
+
+PKGNAME=	gambas3-devel-${GB_VERSION}
+MAINTAINER=	bastiangermann%fishpost.de@localhost
+COMMENT=	Gambas compilation tools
+
+USE_TOOLS+=	make
+
+pre-build:
+	set -e; cd ${WRKSRC}/main; \
+	make trunk_version.h
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-devel/PLIST b/gambas3-devel/PLIST
new file mode 100644
index 0000000000..47c63c1a07
--- /dev/null
+++ b/gambas3-devel/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/gba3
+bin/gbc3
+bin/gbi3
diff --git a/gambas3-gb-inotify/DESCR b/gambas3-gb-inotify/DESCR
new file mode 100644
index 0000000000..8a03b8c346
--- /dev/null
+++ b/gambas3-gb-inotify/DESCR
@@ -0,0 +1,5 @@
+Gambas is a free development environment and a full powerful development
+platform based on a Basic interpreter with object extensions, as easy as Visual
+Basic.
+
+This component enables you to catch filesystem events using Linux' inotify API.
diff --git a/gambas3-gb-inotify/Makefile b/gambas3-gb-inotify/Makefile
new file mode 100644
index 0000000000..318af6764a
--- /dev/null
+++ b/gambas3-gb-inotify/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILD_DIRS=	main/lib/inotify
+.include "../../wip/gambas3/Makefile.common"
+
+PKGNAME=	gambas3-gb-inotify-${GB_VERSION}
+MAINTAINER=	bastiangermann%fishpost.de@localhost
+COMMENT=	Filesystem event monitoring for Gambas
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "Linux"
+.include "../../devel/libinotify/buildlink3.mk"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-gb-inotify/PLIST b/gambas3-gb-inotify/PLIST
new file mode 100644
index 0000000000..5dce8012ae
--- /dev/null
+++ b/gambas3-gb-inotify/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+lib/gambas3/gb.inotify.component
+lib/gambas3/gb.inotify.la
+share/gambas3/info/gb.inotify.info
+share/gambas3/info/gb.inotify.list
diff --git a/gambas3-gb-openal/DESCR b/gambas3-gb-openal/DESCR
new file mode 100644
index 0000000000..6bbbf820c3
--- /dev/null
+++ b/gambas3-gb-openal/DESCR
@@ -0,0 +1,5 @@
+Gambas is a free development environment and a full powerful development
+platform based on a Basic interpreter with object extensions, as easy as Visual
+Basic.
+
+This component implements an interface to the OpenAL library.
diff --git a/gambas3-gb-openal/Makefile b/gambas3-gb-openal/Makefile
new file mode 100644
index 0000000000..7219ffd164
--- /dev/null
+++ b/gambas3-gb-openal/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILD_DIRS=	gb.openal
+.include "../../wip/gambas3/Makefile.common"
+
+PKGNAME=	gambas3-gb-openal-${GB_VERSION}
+MAINTAINER=	bastiangermann%fishpost.de@localhost
+COMMENT=	OpenAL library interface for Gambas
+
+.include "../../audio/openal-soft/buildlink3.mk"
+.include "../../wip/alure/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-gb-openal/PLIST b/gambas3-gb-openal/PLIST
new file mode 100644
index 0000000000..280fb281d0
--- /dev/null
+++ b/gambas3-gb-openal/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+lib/gambas3/gb.openal.component
+lib/gambas3/gb.openal.la
+share/gambas3/info/gb.openal.info
+share/gambas3/info/gb.openal.list
diff --git a/gambas3-gb-v4l/DESCR b/gambas3-gb-v4l/DESCR
new file mode 100644
index 0000000000..16f9de31d0
--- /dev/null
+++ b/gambas3-gb-v4l/DESCR
@@ -0,0 +1,7 @@
+Gambas is a free development environment and a full powerful development
+platform based on a Basic interpreter with object extensions, as easy as Visual
+Basic.
+
+This component enables video capturing based on Video4Linux.
+
+This component is deprecated.
diff --git a/gambas3-gb-v4l/Makefile b/gambas3-gb-v4l/Makefile
new file mode 100644
index 0000000000..b2081417bd
--- /dev/null
+++ b/gambas3-gb-v4l/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILD_DIRS=	gb.v4l
+.include "../../wip/gambas3/Makefile.common"
+
+PKGNAME=		gambas3-gb-v4l-${GB_VERSION}
+MAINTAINER=		bastiangermann%fishpost.de@localhost
+COMMENT=		Video capture for Gambas (deprecated)
+ONLY_FOR_PLATFORM=	Linux-*-*
+
+.include "../../graphics/libv4l/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../mk/jpeg.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-gb-v4l/PLIST b/gambas3-gb-v4l/PLIST
new file mode 100644
index 0000000000..2bd575f012
--- /dev/null
+++ b/gambas3-gb-v4l/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+lib/gambas3/gb.v4l.component
+lib/gambas3/gb.v4l.la
+share/gambas3/info/gb.v4l.info
+share/gambas3/info/gb.v4l.list
diff --git a/gambas3-runtime/DESCR b/gambas3-runtime/DESCR
new file mode 100644
index 0000000000..f8f5ac7f7b
--- /dev/null
+++ b/gambas3-runtime/DESCR
@@ -0,0 +1,5 @@
+Gambas is a free development environment and a full powerful development
+platform based on a Basic interpreter with object extensions, as easy as Visual
+Basic.
+
+This package includes the Gambas interpreter needed to run Gambas applications.
diff --git a/gambas3-runtime/Makefile b/gambas3-runtime/Makefile
new file mode 100644
index 0000000000..1ab1a50eda
--- /dev/null
+++ b/gambas3-runtime/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+BUILD_DIRS=	main
+.include "../../wip/gambas3/Makefile.common"
+
+PKGNAME=	gambas3-runtime-${GB_VERSION}
+MAINTAINER=	bastiangermann%fishpost.de@localhost
+COMMENT=	Gambas interpreter and basic runtime
+
+CHECK_FILES_SKIP+=	${PREFIX}/lib/gambas3/gb.a
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.clipper.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.complex.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.compress.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.data.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.db.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.image.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.inotify.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.jit.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.la
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.option.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.signal.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.so.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.term.*
+CHECK_FILES_SKIP+=	${PREFIX}/.*/gambas3/.*gb.vb.*
+
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3-runtime/PLIST b/gambas3-runtime/PLIST
new file mode 100644
index 0000000000..6496c1e373
--- /dev/null
+++ b/gambas3-runtime/PLIST
@@ -0,0 +1,43 @@
+@comment $NetBSD$
+bin/gbh3
+bin/gbh3.gambas
+bin/gbr3
+bin/gbx3
+lib/gambas3/gb.component
+lib/gambas3/gb.debug.component
+lib/gambas3/gb.debug.la
+lib/gambas3/gb.draw.la
+lib/gambas3/gb.eval.component
+lib/gambas3/gb.eval.la
+lib/gambas3/gb.geom.la
+lib/gambas3/gb.gui.component
+lib/gambas3/gb.gui.la
+lib/gambas3/gb.gui.opengl.component
+lib/gambas3/gb.gui.opengl.la
+lib/gambas3/gb.gui.qt.component
+lib/gambas3/gb.gui.qt.la
+lib/gambas3/gb.gui.qt.opengl.component
+lib/gambas3/gb.gui.qt.opengl.la
+lib/gambas3/gb.gui.qt.webkit.component
+lib/gambas3/gb.gui.qt.webkit.la
+lib/gambas3/gb.gui.trayicon.component
+lib/gambas3/gb.gui.trayicon.la
+share/gambas3/icons/application-x-gambas3.png
+share/gambas3/info/gb.debug.info
+share/gambas3/info/gb.debug.list
+share/gambas3/info/gb.eval.info
+share/gambas3/info/gb.eval.list
+share/gambas3/info/gb.gui.info
+share/gambas3/info/gb.gui.list
+share/gambas3/info/gb.gui.opengl.info
+share/gambas3/info/gb.gui.opengl.list
+share/gambas3/info/gb.gui.qt.info
+share/gambas3/info/gb.gui.qt.list
+share/gambas3/info/gb.gui.qt.opengl.info
+share/gambas3/info/gb.gui.qt.opengl.list
+share/gambas3/info/gb.gui.qt.webkit.info
+share/gambas3/info/gb.gui.qt.webkit.list
+share/gambas3/info/gb.gui.trayicon.info
+share/gambas3/info/gb.gui.trayicon.list
+share/gambas3/info/gb.info
+share/gambas3/info/gb.list
diff --git a/gambas3-runtime/TODO b/gambas3-runtime/TODO
new file mode 100644
index 0000000000..d122a2fbd2
--- /dev/null
+++ b/gambas3-runtime/TODO
@@ -0,0 +1 @@
+Add the xdg resources.
diff --git a/gambas3/DESCR b/gambas3/DESCR
new file mode 100644
index 0000000000..37aa24f3ad
--- /dev/null
+++ b/gambas3/DESCR
@@ -0,0 +1,3 @@
+Gambas is a free development environment and a full powerful development
+platform based on a Basic interpreter with object extensions, as easy as Visual
+Basic.
diff --git a/gambas3/Makefile b/gambas3/Makefile
new file mode 100644
index 0000000000..f3b8fc9f37
--- /dev/null
+++ b/gambas3/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD$
+
+NO_CONFIGURE=	yes
+NO_BUILD=	yes
+.include "../../wip/gambas3/Makefile.common"
+
+PKGNAME=	gambas3-${GB_VERSION}
+MAINTAINER=	bastiangermann%fishpost.de@localhost
+COMMENT=	Complete Gambas development environment
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gambas3/Makefile.common b/gambas3/Makefile.common
new file mode 100644
index 0000000000..be72730afa
--- /dev/null
+++ b/gambas3/Makefile.common
@@ -0,0 +1,49 @@
+# $NetBSD$
+# used by wip/gambas3/Makefile
+# used by wip/gambas3-devel/Makefile
+# used by wip/gambas3-gb-inotify/Makefile
+# used by wip/gambas3-gb-openal/Makefile
+# used by wip/gambas3-gb-v4l/Makefile
+# used by wip/gambas3-runtime/Makefile
+
+GB_VERSION=		a24dc9807f3d8342a67db051ade89e23ca79d8fc
+DISTNAME=		gambas-${GB_VERSION}
+CATEGORIES=		lang
+MASTER_SITES=		https://gitlab.com/gambas/gambas/-/archive/${GB_VERSION}/
+
+HOMEPAGE=		http://gambas.sourceforge.net/
+LICENSE=		gnu-gpl-v2
+
+DISTINFO_FILE=		${.CURDIR}/../../wip/gambas3/distinfo
+PATCHDIR=		${.CURDIR}/../../wip/gambas3/patches
+
+GNU_CONFIGURE=		yes
+USE_LIBTOOL=		yes
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		autoreconf automake aclocal pkg-config
+CONFIGURE_DIRS!=	echo ${BUILD_DIRS} | cut -d/ -f1
+
+.if "${BUILD_DIRS}" != "main/gbc"
+BUILD_DEPENDS+=		gambas3-devel-${GB_VERSION}:../../wip/gambas3-devel
+
+pre-install:
+	cd ${DESTDIR}${PREFIX}; \
+	mkdir -p bin; \
+	ln -s ${PREFIX}/bin/gba3 bin/gba3; \
+	ln -s ${PREFIX}/bin/gbc3 bin/gbc3; \
+	ln -s ${PREFIX}/bin/gbi3 bin/gbi3
+
+post-install:
+	cd ${DESTDIR}${PREFIX}; \
+	rm bin/gba3; \
+	rm bin/gbc3; \
+	rm bin/gbi3; \
+	rmdir bin || true
+.endif
+
+pre-configure:
+.for d in ${CONFIGURE_DIRS}
+	cd ${WRKSRC}/${d}; \
+	./reconf
+.endfor
diff --git a/gambas3/PLIST b/gambas3/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/gambas3/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/gambas3/TODO b/gambas3/TODO
new file mode 100644
index 0000000000..536642506d
--- /dev/null
+++ b/gambas3/TODO
@@ -0,0 +1 @@
+Add all gambas3-* components as DEPENDS when they are done.
diff --git a/gambas3/distinfo b/gambas3/distinfo
new file mode 100644
index 0000000000..d63cd8b8e4
--- /dev/null
+++ b/gambas3/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = 280594f72c4cefb999aa6085f54f83f88251328f
+RMD160 (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = 3a1a2824ca9dd30e304ae6507718da0c38c3f789
+SHA512 (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = f488f7dcc00f89fddb55aef046f989a4a812a32cd81ab81187d9c9164ae2cacc2f6768e59ef530d934698ff2be5822acb70d6c10eda82bbba2c5490c84d9d9f3
+Size (gambas-a24dc9807f3d8342a67db051ade89e23ca79d8fc.tar.gz) = 14971800 bytes
+SHA1 (patch-gb.v4l_configure.ac) = c03073a9e9db26145ef05674019d7aaa572901c5
diff --git a/gambas3/patches/patch-gb.v4l_configure.ac b/gambas3/patches/patch-gb.v4l_configure.ac
new file mode 100644
index 0000000000..ce2441f089
--- /dev/null
+++ b/gambas3/patches/patch-gb.v4l_configure.ac
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Find libpng16.so instead of libpng.so
+
+--- gb.v4l/configure.ac.orig	2018-09-01 10:28:18.000000000 +0000
++++ gb.v4l/configure.ac
+@@ -14,8 +14,8 @@ GB_COMPONENT_PKG_CONFIG(
+ GB_COMPONENT(
+   v4l, V4L, gb.v4l, [src],
+   [GB_FIND(png.h jpeglib.h linux/videodev2.h, $prefix /usr/local/lib /usr/local /usr/lib /usr, include)],
+-  [GB_FIND(libpng.$SHLIBEXT libjpeg.$SHLIBEXT, $prefix /usr/local /usr, lib)],
+-  [$C_LIB -ljpeg -lpng])
++  [GB_FIND(libpng16.$SHLIBEXT libjpeg.$SHLIBEXT, $prefix /usr/local /usr, lib)],
++  [$C_LIB -ljpeg -lpng16])
+ 
+ AC_OUTPUT( \
+ Makefile \


Home | Main Index | Thread Index | Old Index