[arch-commits] Commit in gambas3/repos (7 files)

Felix Yan felixonmars at archlinux.org
Thu Mar 21 21:35:00 UTC 2019


    Date: Thursday, March 21, 2019 @ 21:34:59
  Author: felixonmars
Revision: 443094

archrelease: copy trunk to community-staging-x86_64

Added:
  gambas3/repos/community-staging-x86_64/
  gambas3/repos/community-staging-x86_64/0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch
    (from rev 443093, gambas3/trunk/0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch)
  gambas3/repos/community-staging-x86_64/PKGBUILD
    (from rev 443093, gambas3/trunk/PKGBUILD)
  gambas3/repos/community-staging-x86_64/gambas-poppler-0.71.patch
    (from rev 443093, gambas3/trunk/gambas-poppler-0.71.patch)
  gambas3/repos/community-staging-x86_64/gambas-poppler-0.72.patch
    (from rev 443093, gambas3/trunk/gambas-poppler-0.72.patch)
  gambas3/repos/community-staging-x86_64/gambas-poppler-0.73.patch
    (from rev 443093, gambas3/trunk/gambas-poppler-0.73.patch)
  gambas3/repos/community-staging-x86_64/sdl2_mixer.diff
    (from rev 443093, gambas3/trunk/sdl2_mixer.diff)

--------------------------------------------------------------+
 0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch |   32 
 PKGBUILD                                                     | 1168 ++++++++++
 gambas-poppler-0.71.patch                                    |   63 
 gambas-poppler-0.72.patch                                    |   72 
 gambas-poppler-0.73.patch                                    |   17 
 sdl2_mixer.diff                                              |   11 
 6 files changed, 1363 insertions(+)

Copied: gambas3/repos/community-staging-x86_64/0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch (from rev 443093, gambas3/trunk/0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch)
===================================================================
--- community-staging-x86_64/0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch	                        (rev 0)
+++ community-staging-x86_64/0001-GB.SDL2-fix-detection-with-at-least-pkgconf-2.4.2.patch	2019-03-21 21:34:59 UTC (rev 443094)
@@ -0,0 +1,32 @@
+From b041e381e6f2a952383bafe7812df7287754ff27 Mon Sep 17 00:00:00 2001
+From: Laurent Carlier <lordheavym at gmail.com>
+Date: Tue, 5 Jun 2018 17:40:28 +0200
+Subject: [PATCH] [GB.SDL2] fix detection with at least pkgconf 2.4.2
+
+Signed-off-by: Laurent Carlier <lordheavym at gmail.com>
+---
+ gb.sdl2/configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gb.sdl2/configure.ac b/gb.sdl2/configure.ac
+index c22addebc..2406d49f1 100644
+--- a/gb.sdl2/configure.ac
++++ b/gb.sdl2/configure.ac
+@@ -9,12 +9,12 @@ AC_PROG_LIBTOOL
+ 
+ GB_COMPONENT_PKG_CONFIG(
+    sdl2, SDL2, gb.sdl2, [src],
+-   sdl2 ">= 2.0.2" SDL2_image ">= 2.0.0" SDL2_ttf ">= 2.0.12"
++   'sdl2 >= 2.0.2' 'SDL2_image >= 2.0.0' 'SDL2_ttf >= 2.0.12'
+ )
+ 
+ GB_COMPONENT_PKG_CONFIG(
+    sdl2audio, SDL2AUDIO, gb.sdl2.audio, [audio],
+-   sdl2 ">= 2.0.2" SDL2_mixer ">= 2.0.0"
++   'sdl2 >= 2.0.2' 'SDL2_mixer >= 2.0.0'
+ )
+ 
+ AC_OUTPUT( \
+-- 
+2.17.1
+

Copied: gambas3/repos/community-staging-x86_64/PKGBUILD (from rev 443093, gambas3/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-03-21 21:34:59 UTC (rev 443094)
@@ -0,0 +1,1168 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor : sebikul <sebikul at gmail.com>
+
+pkgbase=gambas3
+pkgname=('gambas3-gb-args'
+         'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-clipper' 'gambas3-gb-complex' 'gambas3-gb-compress' 'gambas3-gb-crypt'
+         'gambas3-gb-dbus' 'gambas3-gb-data'
+         'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite3' 'gambas3-gb-db'
+         'gambas3-gb-desktop-gnome' 'gambas3-gb-desktop-x11' 'gambas3-gb-desktop'
+         'gambas3-gb-eval-highlight' 'gambas3-gb-httpd'
+         'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' 'gambas3-gb-form-terminal' 'gambas3-gb-form-stock' 'gambas3-gb-form-editor' 'gambas3-gb-form'
+         'gambas3-gb-gmp' 'gambas3-gb-gsl' 'gambas3-gb-gtk-opengl' 'gambas3-gb-gtk' 'gambas3-gb-gtk3'
+         'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-image' 'gambas3-gb-inotify'
+         'gambas3-gb-libxml' 'gambas3-gb-logging'
+         'gambas3-gb-map' 'gambas3-gb-markdown' 'gambas3-gb-media-form' 'gambas3-gb-media' 'gambas3-gb-memcached' 'gambas3-gb-mime' 'gambas3-gb-mysql'
+         'gambas3-gb-ncurses' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' 'gambas3-gb-net-smtp' 'gambas3-gb-net'
+         'gambas3-gb-openal' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-glsl' 'gambas3-gb-opengl-sge' 'gambas3-gb-opengl' 'gambas3-gb-option'
+         'gambas3-gb-pcre' 'gambas3-gb-pdf'
+         'gambas3-gb-qt4-ext' 'gambas3-gb-qt4' 'gambas3-gb-qt5-opengl' 'gambas3-gb-qt5-webkit' 'gambas3-gb-qt5'
+         'gambas3-gb-openssl'
+         'gambas3-gb-report'
+         'gambas3-gb-scanner' 'gambas3-gb-sdl2-audio' 'gambas3-gb-sdl2' 'gambas3-gb-sdl-sound' 'gambas3-gb-sdl' 'gambas3-gb-settings' 'gambas3-gb-signal'
+         'gambas3-gb-term'
+         'gambas3-gb-util-web' 'gambas3-gb-util'
+         'gambas3-gb-v4l' 'gambas3-gb-vb'
+         'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-xml'
+         'gambas3-gb-web-feed' 'gambas3-gb-web-form' 'gambas3-gb-web'
+         'gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-script')
+pkgver=3.12.2
+pkgrel=3
+pkgdesc="A free development environment based on a Basic interpreter."
+arch=('x86_64')
+url="http://gambas.sourceforge.net/"
+license=('GPL2')
+groups=('gambas3')
+makedepends=('intltool' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils'
+         'zlib' 'mesa' 'glew' 'xdg-utils' 'gtk2' 'imlib2' 'gdk-pixbuf2' 'gtk3'
+         'postgresql-libs' 'mariadb-libs' 'unixodbc' 'sqlite' 'librsvg'
+         'curl' 'poppler-glib' 'sdl_mixer' 'sdl_ttf' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_ttf' 'libxtst'
+         'pcre' 'qt4' 'qt5-webkit' 'qt5-x11extras' 'qt5-svg' 'libxcursor' 'libsm' 'dbus' 'libxml2'
+         'libxslt' 'libgnome-keyring' 'gsl' 'gst-plugins-base-libs' 'alure' 'gtkglext' 'ncurses'
+	 'gmime3')
+options=('!emptydirs' 'libtool')
+source=("https://gitlab.com/gambas/gambas/-/archive/${pkgver}/gambas-${pkgver}.tar.bz2"
+        gambas-poppler-0.73.patch)
+sha512sums=('b6c7cae4b953b4303bf4b7856fd17611c1b2ea0d3253f3d2c19c04cb7836a08da49b50f1d0412353e5fc869935b8a24c4b9a93b1893ecd290bfa54774ad01270'
+            'de829f45c874958dc0f60649b13605d67d9173c8676a2accb518131520e366aaf724fd7a817ee69be0c9280f27bef339df6d973e718580754737c3c4640fa37d')
+
+create_dirs() {
+  install -dm755 ${pkgdir}/usr/lib/gambas3
+  install -dm755 ${pkgdir}/usr/share/gambas3/info/control
+}
+
+prepare() {
+  cd ${srcdir}/gambas-${pkgver}
+
+ patch -Np1 -i ../gambas-poppler-0.73.patch
+  ./reconf-all
+}
+
+build() {
+  cd ${srcdir}/gambas-${pkgver}
+
+  ./configure --prefix=/usr
+
+  make bindir=${pkgdir}/usr/bin
+
+  mkdir -p ${srcdir}/fakeinstall
+  make -j1 XDG_UTILS='' DESTDIR=${srcdir}/fakeinstall install
+}
+
+package_gambas3-gb-args() {
+  depends=('gambas3-runtime')
+  pkgdesc="Command-line options analyzer component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.args.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.args.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-cairo() {
+  depends=('gambas3-runtime' 'cairo')
+  pkgdesc="Cairo component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.cairo.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.cairo.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-chart() {
+  depends=('gambas3-gb-form')
+  pkgdesc="Chart component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.chart.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.chart.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-clipper() {
+  depends=('gambas3-runtime')
+  pkgdesc="Polygon clipping component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.clipper.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.clipper.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-complex() {
+  depends=('gambas3-runtime')
+  pkgdesc="Complex numbers component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.complex.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.complex.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-compress() {
+  depends=('gambas3-runtime' 'bzip2' 'zlib')
+  provides=('gambas3-gb-compress-bzlib2' 'gambas3-gb-compress-zlib')
+  pkgdesc="Compression support component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.compress.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.compress.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-crypt() {
+  depends=('gambas3-runtime')
+  pkgdesc="MD5/DES crypting component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.crypt.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.crypt.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-data() {
+  depends=('gambas3-runtime')
+  pkgdesc="Data containers component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.data.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.data.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-db-form() {
+  depends=('gambas3-gb-db' 'gambas3-gb-form')
+  pkgdesc="Database form component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.db.form
+
+  mv -v usr/lib/gambas3/gb.db.form.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.db.form.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.db.form/* ${pkgdir}/usr/share/gambas3/control/gb.db.form
+}
+
+package_gambas3-gb-db-mysql() {
+  depends=('gambas3-gb-db' 'mariadb-libs')
+  pkgdesc="MySQL database access component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.db.mysql.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.db.mysql.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-db-odbc() {
+  depends=('gambas3-gb-db' 'unixodbc')
+  pkgdesc="ODBC database access component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.db.odbc.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.db.odbc.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-db-postgresql() {
+  depends=('gambas3-gb-db' 'postgresql-libs')
+  pkgdesc="PostgreSQL database access component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.db.postgresql.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.db.postgresql.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-db-sqlite3() {
+  depends=('gambas3-gb-db' 'sqlite' 'gcc-libs')
+  pkgdesc="Sqlite3 database access component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.db.sqlite3.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.db.sqlite3.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-db() {
+  depends=('gambas3-runtime')
+  pkgdesc="Database access component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.db.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.db.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-dbus() {
+  depends=('gambas3-gb-image' 'dbus')
+  provides=('gambas3-gb-dbus-trayicon')
+  pkgdesc="DBUS component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.dbus.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.dbus.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-desktop-gnome() {
+  depends=('libgnome-keyring')
+  pkgdesc="Desktop component for Gnome"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.desktop.gnome.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.desktop.gnome.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-desktop-x11() {
+  depends=('libsm' 'libxtst')
+  pkgdesc="X-Window library support component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.desktop.x11.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.desktop.x11.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-desktop() {
+  depends=('gambas3-gb-image')
+  pkgdesc="Desktop component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.desktop
+
+  mv -v usr/lib/gambas3/gb.desktop.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.desktop.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.desktop/* ${pkgdir}/usr/share/gambas3/control/gb.desktop
+}
+
+package_gambas3-gb-eval-highlight() {
+  depends=('gambas3-runtime')
+  pkgdesc="Expression evaluator highlight component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.eval.highlight.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.eval.highlight.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-form-dialog() {
+  depends=('gambas3-gb-form')
+  pkgdesc="Form dialog component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.form.dialog.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.form.dialog.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-form-mdi() {
+  depends=('gambas3-gb-form')
+  pkgdesc="Form MDI component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.form.midi
+
+  mv -v usr/lib/gambas3/gb.form.mdi.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.form.mdi.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.form.mdi/* ${pkgdir}/usr/share/gambas3/control/gb.form.midi
+}
+
+package_gambas3-gb-form-stock() {
+  depends=('gambas3-runtime')
+  pkgdesc="Default stock icons component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.form.stock.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.form.stock.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-form-editor() {
+  depends=('gambas3-gb-eval-highlight')
+  pkgdesc="Editor component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.form.editor.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.form.editor.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-form-terminal() {
+  depends=('gambas3-runtime')
+  pkgdesc="Terminal component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.form.terminal.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.form.terminal.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-form() {
+  depends=('gambas3-runtime')
+  pkgdesc="Form component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.form
+
+  mv -v usr/lib/gambas3/gb.form.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.form.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.form/* ${pkgdir}/usr/share/gambas3/control/gb.form
+}
+
+package_gambas3-gb-gmp() {
+  depends=('gambas3-runtime' 'gmp')
+  pkgdesc="Arbitrary precision arithmetic component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.gmp.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.gmp.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-gsl() {
+  depends=('gambas3-runtime' 'gsl')
+  pkgdesc="The GNU Scientific Library component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.gsl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.gsl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-gtk-opengl() {
+  depends=('gambas3-gb-gtk' 'gambas3-gb-opengl' 'gtkglext')
+  pkgdesc="GTK+ toolkit OpenGL component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.gtk.opengl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.gtk.opengl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-gtk() {
+  depends=('gambas3-gb-image' 'gtk2' 'librsvg')
+  pkgdesc="GTK+ toolkit component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.gtk.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.gtk.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-gtk3() {
+  depends=('gambas3-gb-image' 'gtk3')
+  pkgdesc="GTK3 toolkit component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.gtk3.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.gtk3.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-httpd() {
+  depends=('gambas3-runtime')
+  pkgdesc="Embedded HTTP server for the interpreter"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.httpd.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.httpd.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-image-effect() {
+  depends=('gambas3-gb-image' 'gcc-libs')
+  pkgdesc="Image effect component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.image.effect.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.image.effect.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-image-imlib() {
+  depends=('gambas3-gb-image' 'imlib2')
+  pkgdesc="Imlib component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.image.imlib.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.image.imlib.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-image-io() {
+  depends=('gambas3-gb-image' 'gdk-pixbuf2')
+  pkgdesc="Input/Output image component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.image.io.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.image.io.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-image() {
+  depends=('gambas3-runtime')
+  pkgdesc="Image component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.image.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.image.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-inotify() {
+  depends=('gambas3-runtime')
+  pkgdesc="Filesystem events monitoring component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.inotify.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.inotify.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-libxml() {
+  depends=('gambas3-runtime' 'libxml2')
+  pkgdesc="libxml2 component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.libxml.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.libxml.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-logging() {
+  depends=('gambas3-runtime')
+  pkgdesc="Flexible log message handling component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.logging.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.logging.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-map() {
+  depends=('gambas3-gb-image-io' 'gambas3-gb-form')
+  pkgdesc="Display maps component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.map
+
+  mv -v usr/lib/gambas3/gb.map.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.map.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.map/* ${pkgdir}/usr/share/gambas3/control/gb.map
+}
+
+package_gambas3-gb-markdown() {
+  depends=('gambas3-gb-image-io' 'gambas3-gb-form')
+  pkgdesc="Convert the Gambas markdown syntax to HTML"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.markdown.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.markdown.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-media-form() {
+  depends=('gambas3-runtime' 'gambas3-gb-media')
+  pkgdesc="Media player control component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.media.form
+
+  mv -v usr/lib/gambas3/gb.media.form* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.media.form* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.media.form/* ${pkgdir}/usr/share/gambas3/control/gb.media.form
+}
+
+package_gambas3-gb-media() {
+  depends=('gambas3-runtime' 'gst-plugins-base-libs')
+  pkgdesc="Simplified interface to the GStreamer library component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.media.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.media.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-memcached() {
+  depends=('gambas3-gb-net')
+  pkgdesc="Memcached client component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.memcached.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.memcached.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-mime() {
+  depends=('gambas3-runtime' 'gmime')
+  pkgdesc="MIME message component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.mime.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.mime.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-mysql() {
+  depends=('gambas3-runtime' 'gambas3-gb-db-mysql')
+  pkgdesc="Mysql extra component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.mysql.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.mysql.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-ncurses() {
+  depends=('gambas3-runtime' 'ncurses')
+  pkgdesc="Ncurses component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.ncurses.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.ncurses.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-net-curl() {
+  depends=('gambas3-gb-net' 'curl')
+  pkgdesc="Curl component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.net.curl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.net.curl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-net-pop3() {
+  depends=('gambas3-gb-net' 'gambas3-gb-mime')
+  pkgdesc="POP3 component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.net.pop3
+
+  mv -v usr/lib/gambas3/gb.net.pop3.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.net.pop3.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.net.pop3/* ${pkgdir}/usr/share/gambas3/control/gb.net.pop3
+}
+
+package_gambas3-gb-net-smtp() {
+  depends=('gambas3-runtime' 'glib2')
+  pkgdesc="SMTP component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.net.smtp
+
+  mv -v usr/lib/gambas3/gb.net.smtp.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.net.smtp.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.net.smtp/* ${pkgdir}/usr/share/gambas3/control/gb.net.smtp
+}
+
+package_gambas3-gb-net() {
+  depends=('gambas3-runtime')
+  pkgdesc="Network component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.net.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.net.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-openal() {
+  depends=('gambas3-runtime' 'alure')
+  pkgdesc="OpenAL 3D audio component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.openal.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.openal.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-opengl-glu() {
+  depends=('gambas3-gb-opengl')
+  pkgdesc="GL Utility component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.opengl.glu.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.opengl.glu.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-opengl-glsl() {
+  depends=('gambas3-gb-opengl')
+  pkgdesc="GLSL component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.opengl.glsl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.opengl.glsl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-opengl-sge() {
+  depends=('gambas3-gb-opengl')
+  pkgdesc="Simple OpenGL game engine component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.opengl.sge* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.opengl.sge* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-opengl() {
+  depends=('gambas3-runtime' 'glew')
+  pkgdesc="OpenGL component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.opengl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.opengl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-openssl() {
+  depends=('gambas3-runtime' 'openssl')
+  pkgdesc="Openssl component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.openssl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.openssl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-option() {
+  depends=('gambas3-runtime')
+  pkgdesc="Getopt component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.option.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.option.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-pcre() {
+  depends=('gambas3-runtime' 'pcre')
+  pkgdesc="PCRE component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.pcre.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.pcre.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-pdf() {
+  depends=('gambas3-runtime' 'poppler')
+  pkgdesc="PDF component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.pdf.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.pdf.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-qt4-ext() {
+  depends=('gambas3-gb-qt4')
+  pkgdesc="Qt4 toolkit extended component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.qt4.ext.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.qt4.ext.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-qt4() {
+  depends=('gambas3-gb-image' 'qt4')
+  pkgdesc="Qt4 toolkit component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.qt4.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.qt4.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-qt5-opengl() {
+  depends=('gambas3-gb-qt5' 'gambas3-gb-opengl')
+  pkgdesc="Qt5 toolkit OpenGL component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.qt5.opengl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.qt5.opengl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-qt5-webkit() {
+  depends=('gambas3-gb-qt5' 'qt5-webkit')
+  pkgdesc="Qt5 toolkit webkit component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.qt5.webkit.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.qt5.webkit.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-qt5() {
+  depends=('gambas3-gb-image' 'qt5-base' 'qt5-svg' 'qt5-x11extras')
+  pkgdesc="Qt5 toolkit component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.qt5.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.qt5.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-report() {
+  depends=('gambas3-gb-form' 'gambas3-gb-image-io')
+  pkgdesc="Report component"
+  provides=("gambas3-gb-report2=${pkgver}")
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.report{,2}
+
+  mv -v usr/lib/gambas3/gb.report{,2}.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.report{,2}.* ${pkgdir}/usr/share/gambas3/info/
+  mv -v usr/share/gambas3/control/gb.report/* ${pkgdir}/usr/share/gambas3/control/gb.report
+  mv -v usr/share/gambas3/control/gb.report2/* ${pkgdir}/usr/share/gambas3/control/gb.report2
+}
+
+package_gambas3-gb-scanner() {
+  depends=('gambas3-gb-image' 'gambas3-gb-settings' 'sane')
+  pkgdesc="Scanimage frontend component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.scanner.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.scanner.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-sdl-sound() {
+  depends=('gambas3-runtime' 'sdl_mixer')
+  pkgdesc="SDL sound component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.sdl.sound.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.sdl.sound.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-sdl() {
+  depends=('gambas3-gb-image-io' 'sdl_ttf' 'libxcursor' 'glew')
+  pkgdesc="SDL component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.sdl.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.sdl.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-sdl2-audio() {
+  depends=('gambas3-runtime' 'sdl2_mixer')
+  pkgdesc="SDL2 audio component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.sdl2.audio.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.sdl2.audio.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-sdl2() {
+  depends=('gambas3-gb-image-io' 'sdl2_ttf' 'sdl2_image' 'glew')
+  pkgdesc="SDL2 component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.sdl2.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.sdl2.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-settings() {
+  depends=('gambas3-runtime')
+  pkgdesc="Setting component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.settings.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.settings.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-signal() {
+  depends=('gambas3-runtime')
+  pkgdesc="POSIX Signals component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.signal.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.signal.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-term() {
+  depends=('gambas3-runtime')
+  pkgdesc="Terminal management component"
+  provides=("gambas3-gb-term-form=${pkgver}")
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.term.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.term.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-util-web() {
+  depends=('gambas3-runtime')
+  pkgdesc="Miscellaneous web utility functions component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.util.web.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.util.web.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-util() {
+  depends=('gambas3-runtime')
+  pkgdesc="Miscellaneous utility functions component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.util.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.util.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-v4l() {
+  depends=('gambas3-runtime' 'v4l-utils' 'libjpeg' 'libpng')
+  pkgdesc="Video4linux component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.v4l.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.v4l.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-vb() {
+  depends=('gambas3-runtime')
+  pkgdesc="Visual Basic transitional component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.vb.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.vb.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-web-feed() {
+  depends=('gambas3-gb-xml')
+  pkgdesc="Web feed parser and generator component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.web.feed.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.web.feed.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-web-form() {
+  depends=('gambas3-gb-web' 'gambas3-gb-util-web')
+  pkgdesc="web form component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.web.form.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.web.form.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-web() {
+  depends=('gambas3-runtime')
+  pkgdesc="CGI component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.web.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.web.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-xml-html() {
+  depends=('gambas3-gb-xml')
+  pkgdesc="HTML generator component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.xml.html.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.xml.html.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-xml-rpc() {
+  depends=('gambas3-gb-xml' 'gambas3-gb-net-curl')
+  pkgdesc="XML-RPC component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.xml.rpc.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.xml.rpc.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-xml-xslt() {
+  depends=('gambas3-gb-xml' 'libxslt')
+  pkgdesc="XML-XSLT component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.xml.xslt.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.xml.xslt.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-gb-xml() {
+  depends=('gambas3-runtime' 'gcc-libs')
+  pkgdesc="XML component"
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  mv -v usr/lib/gambas3/gb.xml.* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/gb.xml.* ${pkgdir}/usr/share/gambas3/info/
+}
+
+package_gambas3-runtime() {
+  depends=('libffi' 'xdg-utils')
+  pkgdesc="Runtime environment"
+  conflicts=('gambas3-gb-gui')
+  replaces=('gambas3-gb-gui')
+  provides=("gambas3-gb-gui=${pkgver}" 'gambas3-gb-jit')
+
+  cd ${srcdir}/fakeinstall
+
+  create_dirs
+
+  install -dm755 ${pkgdir}/usr/bin
+  install -dm755 ${pkgdir}/usr/share/gambas3/{icons,mime}
+
+  mv -v usr/bin/gb{r,x}3 ${pkgdir}/usr/bin
+  mv -v usr/lib/gambas3/* ${pkgdir}/usr/lib/gambas3/
+  mv -v usr/share/gambas3/info/* ${pkgdir}/usr/share/gambas3/info/
+  install -m644 ${srcdir}/gambas-${pkgver}/main/mime/* ${pkgdir}/usr/share/gambas3/mime/
+  install -m644 ${pkgdir}/usr/share/gambas3/mime/application-x-gambas3.png ${pkgdir}/usr/share/gambas3/icons/
+}
+
+package_gambas3-devel() {
+  depends=('gambas3-runtime')
+  pkgdesc="Development environment"
+
+  cd ${srcdir}/fakeinstall
+
+  install -dm755 ${pkgdir}/usr/bin
+
+  mv -v usr/bin/gb{a,c,i}3 ${pkgdir}/usr/bin
+}
+
+package_gambas3-ide() {
+  depends=('gambas3-devel' 'gambas3-gb-clipper' 'gambas3-gb-db-form' 'gambas3-gb-desktop' 'gambas3-gb-desktop-x11'
+           'gambas3-gb-eval-highlight' 'gambas3-gb-form-dialog' 'gambas3-gb-form-editor' 'gambas3-gb-form-stock'
+           'gambas3-gb-markdown' 'gambas3-gb-settings' 'gambas3-gb-form-mdi' 'gambas3-gb-image-effect' 'gambas3-gb-qt5'
+           'gambas3-gb-qt5-webkit' 'gambas3-gb-net-curl' 'gambas3-gb-form-terminal'  'gambas3-gb-signal'
+           'gambas3-gb-term' 'gambas3-gb-util')
+  pkgdesc="Integrated Development Environment"
+  conflicts=('gambas3-examples')
+  replaces=('gambas3-examples')
+
+  cd ${srcdir}/fakeinstall
+
+  install -dm755 ${pkgdir}/usr/{bin,share/{applications,gambas3,pixmaps}}
+
+  mv -v usr/bin/gambas3* ${pkgdir}/usr/bin/
+  mv -v usr/share/appdata ${pkgdir}/usr/share/
+  mv -v usr/share/gambas3/template ${pkgdir}/usr/share/gambas3/
+
+  install -m644 ${srcdir}/gambas-${pkgver}/app/desktop/gambas3.desktop ${pkgdir}/usr/share/applications/
+  install -m644 ${srcdir}/gambas-${pkgver}/app/desktop/gambas3.png ${pkgdir}/usr/share/pixmaps/
+}
+
+package_gambas3-script() {
+  depends=('gambas3-devel')
+  pkgdesc="Scripter and server programs support"
+
+  cd ${srcdir}/fakeinstall
+
+  install -dm755 ${pkgdir}/usr/bin
+  install -dm755 ${pkgdir}/usr/share/gambas3/mime
+
+  mv -v usr/bin/gb{s,w}3* ${pkgdir}/usr/bin/
+  install -m644 ${srcdir}/gambas-${pkgver}/app/mime/* ${pkgdir}/usr/share/gambas3/mime/
+}

Copied: gambas3/repos/community-staging-x86_64/gambas-poppler-0.71.patch (from rev 443093, gambas3/trunk/gambas-poppler-0.71.patch)
===================================================================
--- community-staging-x86_64/gambas-poppler-0.71.patch	                        (rev 0)
+++ community-staging-x86_64/gambas-poppler-0.71.patch	2019-03-21 21:34:59 UTC (rev 443094)
@@ -0,0 +1,63 @@
+--- gambas-3.11.4/gb.pdf/src/CPdfDocument.cpp.orig	2018-11-01 20:05:27.379728413 +0000
++++ gambas-3.11.4/gb.pdf/src/CPdfDocument.cpp	2018-11-01 20:05:51.586459136 +0000
+@@ -478,7 +478,7 @@
+ 	THIS->len=len;
+ 
+ 	white[0] = 0xFF; white[1] = 0xFF; white[2] = 0xFF;
+-	THIS->dev=new SplashOutputDev(splashModeRGB8, 3, gFalse, white);
++	THIS->dev=new SplashOutputDev(splashModeRGB8, 3, false, white);
+ 
+ 	#if POPPLER_VERSION_0_20
+ 	THIS->dev->startDoc(THIS->doc);
+@@ -922,17 +922,17 @@
+ 	#if POPPLER_VERSION_0_20
+ 	THIS->page->displaySlice(THIS->dev,72.0*scale,72.0*scale,
+ 			   rotation,
+-			   gFalse,
+-			   gTrue,
++			   false,
++			   true,
+ 			   x,y,w,h,
+-			   gFalse);
++			   false);
+ 	#else
+ 	THIS->page->displaySlice(THIS->dev,72.0*scale,72.0*scale,
+ 			   rotation,
+-			   gFalse,
+-			   gTrue,
++			   false,
++			   true,
+ 			   x,y,w,h,
+-			   gFalse,
++			   false,
+ 			   THIS->doc->getCatalog ());
+ 	#endif
+ 	
+@@ -994,11 +994,11 @@
+ 	h = VARGOPT(H, (int32_t)THIS->page->getMediaHeight());
+ 
+ 	#if POPPLER_VERSION_0_20
+-	dev = new TextOutputDev (NULL, gTrue, 0, gFalse, gFalse);
+-	gfx = THIS->page->createGfx(dev,72.0,72.0,0,gFalse,gTrue,-1, -1, -1, -1, gFalse, NULL, NULL);
++	dev = new TextOutputDev (NULL, true, 0, false, false);
++	gfx = THIS->page->createGfx(dev,72.0,72.0,0,false,true,-1, -1, -1, -1, false, NULL, NULL);
+ 	#else
+-	dev = new TextOutputDev (NULL, gTrue, gFalse, gFalse);
+-	gfx = THIS->page->createGfx(dev,72.0,72.0,0,gFalse,gTrue,-1, -1, -1, -1, gFalse,THIS->doc->getCatalog (),NULL, NULL, NULL, NULL);
++	dev = new TextOutputDev (NULL, true, false, false);
++	gfx = THIS->page->createGfx(dev,72.0,72.0,0,false,true,-1, -1, -1, -1, false,THIS->doc->getCatalog (),NULL, NULL, NULL, NULL);
+ 	#endif
+ 
+ 	THIS->page->display(gfx);
+@@ -1226,9 +1226,9 @@
+ 
+ 	count = 0;
+ 	#if POPPLER_VERSION_0_20
+-	while (textdev->findText (block,nlen,gFalse,gTrue,gTrue,gFalse,sensitive,gFalse,gFalse,&x0,&y0,&x1,&y1))
++	while (textdev->findText (block,nlen,false,true,true,false,sensitive,false,false,&x0,&y0,&x1,&y1))
+ 	#else
+-	while (textdev->findText (block,nlen,gFalse,gTrue,gTrue,gFalse,sensitive,gFalse,&x0,&y0,&x1,&y1))
++	while (textdev->findText (block,nlen,false,true,true,false,sensitive,false,&x0,&y0,&x1,&y1))
+ 	#endif
+ 	{
+ 		if (!THIS->Found)

Copied: gambas3/repos/community-staging-x86_64/gambas-poppler-0.72.patch (from rev 443093, gambas3/trunk/gambas-poppler-0.72.patch)
===================================================================
--- community-staging-x86_64/gambas-poppler-0.72.patch	                        (rev 0)
+++ community-staging-x86_64/gambas-poppler-0.72.patch	2019-03-21 21:34:59 UTC (rev 443094)
@@ -0,0 +1,72 @@
+diff --git a/gb.pdf/src/CPdfDocument.cpp b/gb.pdf/src/CPdfDocument.cpp
+index 64cc92796..6a0654bb8 100644
+--- a/gb.pdf/src/CPdfDocument.cpp
++++ b/gb.pdf/src/CPdfDocument.cpp
+@@ -120,7 +120,7 @@ static void return_unicode_string(const Unicode *unicode, int len)
+ 		gstr.append(buf, n);
+ 	}
+ 
+-	GB.ReturnNewZeroString(gstr.getCString());
++	GB.ReturnNewZeroString(gstr.c_str());
+ }
+ 
+ 
+@@ -151,11 +151,11 @@ static void aux_return_string_info(void *_object, const char *key)
+ 
+ 		if (goo_value->hasUnicodeMarker())
+ 		{
+-			GB.ConvString (&tmpstr,goo_value->getCString()+2,goo_value->getLength()-2,"UTF-16BE","UTF-8");
++			GB.ConvString (&tmpstr,goo_value->c_str()+2,goo_value->getLength()-2,"UTF-16BE","UTF-8");
+ 			GB.ReturnNewZeroString(tmpstr);		
+ 		}		
+ 		else
+-			GB.ReturnNewString(goo_value->getCString(),goo_value->getLength());		
++			GB.ReturnNewString(goo_value->c_str(),goo_value->getLength());		
+ 	}
+ 	#if ! POPPLER_VERSION_0_58
+ 	dst.free();
+@@ -194,10 +194,10 @@ static void aux_return_date_info(void *_object, const char *key)
+ 	{
+ 		goo = dst.getString();
+ 		if (goo->hasUnicodeMarker())
+-			GB.ConvString (&datestr,goo->getCString()+2,goo->getLength()-2,"UTF-16BE","UTF-8");
++			GB.ConvString (&datestr,goo->c_str()+2,goo->getLength()-2,"UTF-16BE","UTF-8");
+ 		else
+ 		{
+-			datestr = GB.NewString(goo->getCString(),goo->getLength());
++			datestr = GB.NewString(goo->c_str(),goo->getLength());
+ 			tofree=datestr;		
+ 		}
+ 
+@@ -333,11 +333,11 @@ static char* aux_get_target_from_action(const_LinkAction *act)
+ 
+ 	if (tmp->hasUnicodeMarker())
+ 	{
+-			GB.ConvString (&uni,tmp->getCString()+2,tmp->getLength()-2,"UTF-16BE","UTF-8");
++			GB.ConvString (&uni,tmp->c_str()+2,tmp->getLength()-2,"UTF-16BE","UTF-8");
+ 			vl = GB.AddString(vl, uni, 0);	
+ 	}	
+ 	else
+-			vl = GB.AddString(vl,tmp->getCString(),tmp->getLength());
++			vl = GB.AddString(vl,tmp->c_str(),tmp->getLength());
+ 	
+ 
+ 	return vl;
+@@ -1015,7 +1015,7 @@ BEGIN_METHOD(PDFPAGE_select, GB_INTEGER X; GB_INTEGER Y; GB_INTEGER W; GB_INTEGE
+ 		return;
+ 	}
+ 	
+-	GB.ReturnNewString(str->getCString(),str->getLength());	
++	GB.ReturnNewString(str->c_str(),str->getLength());	
+ 	delete str;
+ 
+ END_METHOD
+@@ -1081,7 +1081,7 @@ BEGIN_PROPERTY (PDFPAGELINKDATA_parameters)
+ 		return;	
+ 	}
+ 
+-	GB.ReturnNewZeroString(((LinkLaunch*)THIS->action)->getParams()->getCString());
++	GB.ReturnNewZeroString(((LinkLaunch*)THIS->action)->getParams()->c_str());
+ 
+ END_PROPERTY
+ 

Copied: gambas3/repos/community-staging-x86_64/gambas-poppler-0.73.patch (from rev 443093, gambas3/trunk/gambas-poppler-0.73.patch)
===================================================================
--- community-staging-x86_64/gambas-poppler-0.73.patch	                        (rev 0)
+++ community-staging-x86_64/gambas-poppler-0.73.patch	2019-03-21 21:34:59 UTC (rev 443094)
@@ -0,0 +1,17 @@
+diff --git a/gb.pdf/src/CPdfDocument.cpp b/gb.pdf/src/CPdfDocument.cpp
+index 3162f0deb..75a4057e5 100644
+--- a/gb.pdf/src/CPdfDocument.cpp
++++ b/gb.pdf/src/CPdfDocument.cpp
+@@ -457,10 +457,10 @@ int32_t open_document (void *_object, char *sfile, int32_t lfile)
+ 	if ( GB.LoadFile(sfile,lfile,&buf,&len) ) return -1;
+ 
+ 	#if POPPLER_VERSION_0_58
+-	stream=new MemStream(buf,0,(Guint)len,std::move(obj));
++	stream=new MemStream(buf,0,(unsigned int)len,std::move(obj));
+ 	#else
+ 	obj.initNull();
+-	stream=new MemStream(buf,0,(Guint)len,&obj);
++	stream=new MemStream(buf,0,(unsigned int)len,&obj);
+ 	#endif
+ 	test=new PDFDoc (stream,0,0);
+ 

Copied: gambas3/repos/community-staging-x86_64/sdl2_mixer.diff (from rev 443093, gambas3/trunk/sdl2_mixer.diff)
===================================================================
--- community-staging-x86_64/sdl2_mixer.diff	                        (rev 0)
+++ community-staging-x86_64/sdl2_mixer.diff	2019-03-21 21:34:59 UTC (rev 443094)
@@ -0,0 +1,11 @@
+--- a/gb.sdl2/src/audio/main.c	2017-07-18 17:48:44.000000000 +0200
++++ b/gb.sdl2/src/audio/main.c.new	2017-11-09 21:33:11.442013948 +0100
+@@ -58,7 +58,7 @@
+ 	init_mixer(MIX_INIT_OGG, "OGG");
+ 	init_mixer(MIX_INIT_MOD, "MOD");
+ 	init_mixer(MIX_INIT_FLAC, "FLAC");
+-	init_mixer(MIX_INIT_FLUIDSYNTH, "FLUIDSYNTH");
++	init_mixer(MIX_INIT_MID, "MID");
+ 
+ 	if (Mix_OpenAudio(AUDIO_frequency, MIX_DEFAULT_FORMAT, 2, AUDIO_buffer_size))
+ 	{


More information about the arch-commits mailing list