Re: Windows build

Nils Durner <[email protected]>
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <[email protected]>
Because konqueror3-embedded-0.2-20060121/konq-embed/konq.pro is outdated
(refers to missing files), building using MinGW (www.mingw.org, set up as
described on http://www.gnunet.org/hacking_win32_build.php3) seems to be the
only way to build Konqueror Embedded.

However, my project was cancelled, so there will be no further actions from
my side.

I have attached two patches to get past the ./configure stage.


Regards,

Nils Durner

_______________________________________________
konq-e mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/konq-e
acinclude.diff (application/octet-stream, 5.3 KB)
--- konqueror3-embedded-0.2-20060121.org/acinclude.m4	Sat Jan 21 11:49:38 2006
+++ konqueror3-embedded-0.2-20060121/acinclude.m4	Thu Apr  6 14:14:20 2006
@@ -560,84 +560,7 @@
 
 AC_DEFUN([KDE_SUBST_PROGRAMS],
 [
-    AC_ARG_WITH(arts,
-        AC_HELP_STRING([--without-arts],[build without aRts [default=no]]),
-        [build_arts=$withval],
-        [build_arts=yes]
-    )
-    AM_CONDITIONAL(include_ARTS, test "$build_arts" '!=' "no")
-    if test "$build_arts" = "no"; then
-        AC_DEFINE(WITHOUT_ARTS, 1, [Defined if compiling without arts])
-    fi
-
-        KDE_SET_DEFAULT_BINDIRS
-        kde_default_bindirs="$exec_prefix/bin $prefix/bin $kde_libs_prefix/bin $kde_default_bindirs"
-        KDE_FIND_PATH(dcopidl, DCOPIDL, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl)])
-        KDE_FIND_PATH(dcopidl2cpp, DCOPIDL2CPP, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidl2cpp)])
-        if test "$build_arts" '!=' "no"; then
-          KDE_FIND_PATH(mcopidl, MCOPIDL, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(mcopidl)])
-          KDE_FIND_PATH(artsc-config, ARTSCCONFIG, [$kde_default_bindirs], [KDE_MISSING_ARTS_ERROR(artsc-config)])
-        fi
-        KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs])
-
-        kde32ornewer=1
-        kde33ornewer=1
-        if test -n "$kde_qtver" && test "$kde_qtver" -lt 3; then
-            kde32ornewer=
-            kde33ornewer=
-        else
-            if test "$kde_qtver" = "3"; then
-              if test "$kde_qtsubver" -le 1; then
-                kde32ornewer=
-              fi
-              if test "$kde_qtsubver" -le 2; then
-                kde33ornewer=
-              fi
-              if test "$KDECONFIG" != "compiled"; then
-                if test `$KDECONFIG --version | grep KDE | sed 's/KDE: \(...\).*/\1/'` = 3.2; then
-                  kde33ornewer=
-                fi
-              fi
-            fi
-        fi
-
-        if test -n "$kde32ornewer"; then
-            KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)])
-            KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
-        fi
-        if test -n "$kde33ornewer"; then
-            KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)])
-            AC_SUBST(MAKEKDEWIDGETS)
-        fi
-        KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
-
-        if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
- 	    kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
-            test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
-            AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
-	    if test "$KDE_XSL_STYLESHEET" = "NO"; then
-		KDE_XSL_STYLESHEET=""
-	    else
-                KDE_XSL_STYLESHEET="$KDE_XSL_STYLESHEET/apps/ksgmltools2/customization/kde-chunk.xsl"
-	    fi
-        fi
 
-        DCOP_DEPENDENCIES='$(DCOPIDL)'
-        if test -n "$kde32ornewer"; then
-            KCFG_DEPENDENCIES='$(KCONFIG_COMPILER)'
-            DCOP_DEPENDENCIES='$(DCOPIDL) $(DCOPIDLNG)'
-            AC_SUBST(KCONFIG_COMPILER)
-            AC_SUBST(KCFG_DEPENDENCIES)
-            AC_SUBST(DCOPIDLNG)
-        fi
-        AC_SUBST(DCOPIDL)
-        AC_SUBST(DCOPIDL2CPP)
-        AC_SUBST(DCOP_DEPENDENCIES)
-        AC_SUBST(MCOPIDL)
-        AC_SUBST(ARTSCCONFIG)
-	AC_SUBST(MEINPROC)
- 	AC_SUBST(KDE_XSL_STYLESHEET)
-	AC_SUBST(XMLLINT)
 ])dnl
 
 AC_DEFUN([AC_CREATE_KFSSTND],
@@ -953,13 +876,13 @@
   kde_x_libraries=$ac_x_libraries
 fi
 
-if test "$kde_x_includes" = NO; then
-  AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!])
-fi
-
-if test "$kde_x_libraries" = NO; then
-  AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!])
-fi
+#if test "$kde_x_includes" = NO; then
+#  AC_MSG_ERROR([Can't find X includes. Please check your installation and add the correct paths!])
+#fi
+
+#if test "$kde_x_libraries" = NO; then
+#  AC_MSG_ERROR([Can't find X libraries. Please check your installation and add the correct paths!])
+#fi
 
 # Record where we found X for the cache.
 kde_cv_have_x="have_x=yes \
@@ -1036,11 +959,11 @@
 
 AC_MSG_RESULT($kde_cv_have_libXext)
 
-if test "$kde_cv_have_libXext" = "no"; then
-  AC_MSG_ERROR([We need a working libXext to proceed. Since configure
-can't find it itself, we stop here assuming that make wouldn't find
-them either.])
-fi
+#if test "$kde_cv_have_libXext" = "no"; then
+#  AC_MSG_ERROR([We need a working libXext to proceed. Since configure
+#can't find it itself, we stop here assuming that make wouldn't find
+#them either.])
+#fi
 
 LIB_XEXT="-lXext"
 QTE_NORTTI=""
@@ -1528,9 +1451,9 @@
     fi
   fi
 
-  AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
-For more details about this problem, look at the end of config.log.$missing_qt_mt])
-else
+#  AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
+#For more details about this problem, look at the end of config.log.$missing_qt_mt])
+#else
   have_qt="yes"
 fi
 ])
configure.diff (application/octet-stream, 1.9 KB)
--- konqueror3-embedded-0.2-20060121.org/configure.in	Sat Jan 21 11:49:40 2006
+++ konqueror3-embedded-0.2-20060121/configure.in	Thu Apr  6 14:21:45 2006
@@ -19,7 +19,7 @@
 dnl Automake doc recommends to do this only here. (Janos)
 AM_INIT_AUTOMAKE(konqueror-embedded, 0.2) dnl searches for some needed programs
 
-KDE_SET_PREFIX
+#KDE_SET_PREFIX
 
 dnl generate the config header
 AM_CONFIG_HEADER(config.h) dnl at the distribution this done
@@ -73,16 +73,6 @@
         sys/select.h sys/ioctl.h sys/stropts.h stropts.h \
         sys/socket.h sys/sockio.h paths.h malloc.h limits.h strings.h string.h sys/stat.h )
 
-# XXX compiling the needed tools would be great, but it is quite a difficult
-# thing to do when cross compiling.
-#
-# DCOPIDL2CPP="compiled"
-# DCOPIDL="compiled"
-#
-# AC_SUBST(DCOPIDL, '$(top_builddir)/konq-embed/kdesrc/dcop/dcopidl/dcopidl')
-# AC_SUBST(DCOPIDL2CPP, 
-# 	 '$(top_builddir)/konq-embed/kdesrc/dcop/dcopidl2cpp/dcopidl2cpp')
-
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_LANG_CPLUSPLUS
 AC_HEADER_TIME
@@ -136,13 +126,13 @@
 dnl CXXFLAGS="$CXXFLAGS -DQT_NO_ASCII_CAST"
 
 dnl output files
-AC_SUBST(x_includes)
-AC_SUBST(x_libraries)
-AC_SUBST(LIBSOCKET)
+#AC_SUBST(x_includes)
+#AC_SUBST(x_libraries)
+#AC_SUBST(LIBSOCKET)
 
 
-KDE_INIT_DOXYGEN([The KDE API Reference], [Version $VERSION])
-KDE_CHECK_BINUTILS
+#KDE_INIT_DOXYGEN([The KDE API Reference], [Version $VERSION])
+#KDE_CHECK_BINUTILS
 dnl =======================================================
 dnl FILE: ./konq-embed/configure.in.in
 dnl =======================================================
@@ -232,8 +222,6 @@
 kde_appsdir='${prefix}/apps'
 AC_SUBST(kde_appsdir)
 
-AC_ARG_ENABLE(dynamic-ssl,[  --dynamic-ssl           dlopen the SSL libraries at run-time (default: yes)],
-        want_dynamicssl=$enableval, want_dynamicssl=yes)
  
 if test "x$want_dynamicssl" = "xyes"; then
     AC_DEFINE_UNQUOTED(KONQ_DYNAMIC_SSL, 1, [dlopen the SSL libraries at run-time])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.