[Gambas-devel] Cygwin patch
Bastian Germann
bastiangermann at ...754...
Sat Apr 16 18:25:19 CEST 2016
Hi,
With the patch enclosed applied to SVN trunk, I am able to build most
of the Gambas packages on current Cygwin version. If you include it in
the next version and like the idea, I will try to package Gambas as
cygport and get the packages in the default repository.
Regards,
Bastian
-------------- next part --------------
Index: acinclude.m4
===================================================================
--- acinclude.m4 (Revision 7747)
+++ acinclude.m4 (Arbeitskopie)
@@ -575,7 +575,7 @@
case "${host}" in
*-*-cygwin* )
- SHLIBEXT="la"
+ SHLIBEXT="dll.a"
AC_DEFINE(SHARED_LIBRARY_EXT, "dll", [Shared library extension is '.dll'])
;;
*-*-darwin* )
Index: gb.gtk3/configure.ac
===================================================================
--- gb.gtk3/configure.ac (Revision 7747)
+++ gb.gtk3/configure.ac (Arbeitskopie)
@@ -11,7 +11,7 @@
GB_COMPONENT_PKG_CONFIG(
gtk3, GTK3, gb.gtk3, [src],
- 'gtk+-3.0 >= 3.4' 'librsvg-2.0 >= 2.14.3' 'cairo >= 1.6.0' 'cairo-ft >= 1.6.0' 'gtk+-unix-print-3.0 >= 3.4' sm ice
+ 'gtk+-3.0 >= 3.4' 'librsvg-2.0 >= 2.14.3' 'cairo >= 1.6.0' 'cairo-ft >= 1.6.0' 'gtk+-unix-print-3.0 >= 3.4' sm ice x11
)
AC_OUTPUT( \
Index: gb.qt4/configure.ac
===================================================================
--- gb.qt4/configure.ac (Revision 7747)
+++ gb.qt4/configure.ac (Arbeitskopie)
@@ -23,7 +23,7 @@
GB_COMPONENT_PKG_CONFIG(
qt, QT, gb.qt4, [src],
- 'QtCore >= 4.5.0' QtGui QtSvg
+ 'QtCore >= 4.5.0' QtGui QtSvg x11
)
GB_COMPONENT_PKG_CONFIG(
@@ -38,7 +38,7 @@
GB_COMPONENT_PKG_CONFIG(
qtopengl, QTOPENGL, gb.qt4.opengl, [opengl],
- 'QtCore >= 4.5.0' QtGui QtOpenGL
+ 'QtCore >= 4.5.0' QtGui QtOpenGL gl
)
MOC=`pkg-config --variable=moc_location QtCore`
Index: gb.qt5/configure.ac
===================================================================
--- gb.qt5/configure.ac (Revision 7747)
+++ gb.qt5/configure.ac (Arbeitskopie)
@@ -12,7 +12,7 @@
GB_COMPONENT_PKG_CONFIG(
qt5, QT5, gb.qt5, [src],
- 'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Svg Qt5PrintSupport Qt5X11Extras
+ 'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Svg Qt5PrintSupport Qt5X11Extras x11
)
## GB_COMPONENT_PKG_CONFIG(
More information about the Devel
mailing list