D14966: Added support for disabling the loading of translations

2018-08-21 Thread Ralf Habacker
habacker created this revision. habacker added reviewers: aacid, dfaure. Herald added projects: Frameworks, Build System. Herald added subscribers: kde-buildsystem, kde-frameworks-devel. habacker requested review of this revision. REVISION SUMMARY With this commit ecm_create_qm_loader() creates

D14778: Disable loading of translations when using 'C' locale

2018-08-20 Thread Ralf Habacker
habacker created this revision. Restricted Application added projects: Frameworks, Build System. Restricted Application added subscribers: kde-buildsystem, kde-frameworks-devel. habacker requested review of this revision. REVISION SUMMARY kcoreaddons test case 'kformattest' is designed not to

D14778: Disable loading of translations when using 'C' locale

2018-08-14 Thread Ralf Habacker
habacker abandoned this revision. habacker added a comment. How to handle single/plural form then ? QString KFormatPrivate::formatDecimalDuration(quint64 msecs, int decimalPlaces) const { ... //: @item:intext %1 is a whole number //~ singular %n millisecond //~ plural

D14778: Disable loading of translations when using 'C' locale

2018-08-13 Thread Ralf Habacker
habacker added a comment. Just as info: kcoreaddons uses '(s)' suffix in its internal formating methods (https://cgit.kde.org/kcoreaddons.git/commit/src/lib/util/kformatprivate.cpp?id=ffcd094c1f4716a0d91650608e42017886a0a7e3) which is always translated with or without 's' 'not always

D14778: Disable loading of translations when using 'C' locale

2018-08-13 Thread Ralf Habacker
habacker added a comment. No, both LC_ALL=C and LC_ALL=en fetches the same english translation ~/src/kf5/kcoreaddons-build> LC_ALL=en strace -e trace=file bin/kformattest 2>&1 | grep \.qm | grep R_OK access("/usr/share/locale/en/LC_MESSAGES/kcoreaddons5_qt.qm", R_OK) = 0

D9446: WIP: Allow to autogenerate and install categories file

2018-07-02 Thread Ralf Habacker
habacker added a comment. In D9446#284822 , @dfaure wrote: > On the other hand it means that when you add a new category, you get to recompile *everything* :-) I understand what you mean, what can be solved by an additional include file

D9446: WIP: Allow to autogenerate and install categories file

2018-06-28 Thread Ralf Habacker
habacker added a comment. - doc in file header is missing - test case is missing INLINE COMMENTS > ECMQtDeclareLoggingCategory.cmake:68 > set(options) > -set(oneValueArgs HEADER IDENTIFIER CATEGORY_NAME DEFAULT_SEVERITY) > +set(oneValueArgs HEADER IDENTIFIER CATEGORY_NAME

D9446: WIP: Allow to autogenerate and install categories file

2018-06-28 Thread Ralf Habacker
habacker added a comment. In D9446#284272 , @habacker wrote: > In D9446#181785 , @mlaurent wrote: > > > IT's a WIP as I use file(APPEND...) because I want to generate several categories in one file.

D9446: WIP: Allow to autogenerate and install categories file

2018-06-28 Thread Ralf Habacker
habacker added a comment. In D9446#181785 , @mlaurent wrote: > IT's a WIP as I use file(APPEND...) because I want to generate several categories in one file. > But it doesn't work as I don't have idea how to reset file when cmake is

D9446: WIP: Allow to autogenerate and install categories file

2018-06-27 Thread Ralf Habacker
habacker added a comment. Restricted Application edited subscribers, added: kde-buildsystem, kde-frameworks-devel; removed: Frameworks, Build System. Having support for defining multiple debug categories has an additional issue as shown with the following example. As far as I can see there

Re: Review Request 129119: Fix HAVE_TRUNC cmake check

2016-10-19 Thread Ralf Habacker
> On Okt. 19, 2016, 12:12 nachm., Ralf Habacker wrote: > > I had the same issue with gcc 6.2. I can confirm that the patch fixes the > > issue. I would have pushed the related commit into kdelibs repo, but got rejected with the error 'remote: Audit f

Re: Review Request 129119: Fix HAVE_TRUNC cmake check

2016-10-19 Thread Ralf Habacker
that the patch fixes the issue. - Ralf Habacker On Okt. 7, 2016, 11:05 nachm., Albert Astals Cid wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.

Re: Review Request 122135: Add ecm_add_app_icon function.

2015-01-24 Thread Ralf Habacker
trailing whitespace modules/ECMAddAppIcon.cmake https://git.reviewboard.kde.org/r/122135/#comment51734 This should also be ${CMAKE_CURRENT_SOURCE_DIR} windows support otherwise looks good. - Ralf Habacker On Jan. 24, 2015, 11:11 vorm., Alex Merry wrote

Re: Review Request 121448: Introduce ECMAddAppIcon.

2015-01-24 Thread Ralf Habacker
/8b3e226f-a70b-4998-983a-813730a436bf__ECMAddAppIcon.cmake ECMAddAppIcon.cmake https://git.reviewboard.kde.org/media/uploaded/files/2014/12/15/8433995f-b88f-426d-af54-46aba635ae1e__ECMAddAppIcon.cmake Thanks, Ralf Habacker ___ Kde-buildsystem mailing list

Re: Review Request 122135: Add ecm_add_app_icon function.

2015-01-23 Thread Ralf Habacker
if you want. Ralf Habacker wrote: Thanks for this offer, I will come back to this later. I already have a ready to go cross compile environment for umbrello (based on https://build.opensuse.org/package/show/home:rhabacker:branches:windows:mingw:win32:KF5/mingw32-umbrello5

Re: Review Request 121448: Introduce ECMAddAppIcon.

2015-01-16 Thread Ralf Habacker
be empty, and the icon would never be appended to _list. Ralf Habacker wrote: The doc in the origin cmake macro file seems to be out of sync with the official doc located in FindKDE4Internals.cmake, which is: --- # adds

Re: Review Request 121448: Introduce ECMAddAppIcon.

2015-01-16 Thread Ralf Habacker
be empty, and the icon would never be appended to _list. Ralf Habacker wrote: The doc in the origin cmake macro file seems to be out of sync with the official doc located in FindKDE4Internals.cmake, which is: --- # adds

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-18 Thread Ralf Habacker
be empty, and the icon would never be appended to _list. Ralf Habacker wrote: The doc in the origin cmake macro file seems to be out of sync with the official doc located in FindKDE4Internals.cmake, which is: --- # adds

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-15 Thread Ralf Habacker
/uploaded/files/2014/12/15/8b3e226f-a70b-4998-983a-813730a436bf__ECMAddAppIcon.cmake ECMAddAppIcon.cmake https://git.reviewboard.kde.org/media/uploaded/files/2014/12/15/8433995f-b88f-426d-af54-46aba635ae1e__ECMAddAppIcon.cmake Thanks, Ralf Habacker

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-14 Thread Ralf Habacker
://git.reviewboard.kde.org/r/121448/#review71863 --- On Dez. 12, 2014, 2:34 nachm., Ralf Habacker wrote: --- This is an automatically generated e-mail. To reply, visit: https

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-14 Thread Ralf Habacker
://git.reviewboard.kde.org/media/uploaded/files/2014/12/15/8b3e226f-a70b-4998-983a-813730a436bf__ECMAddAppIcon.cmake Thanks, Ralf Habacker ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-12 Thread Ralf Habacker
indentation. WINCE sure, will update the patch Also missing indentation. To which area of the file are you refering ? Looking on other files in the module subdirectory I see 2 or 4 spaces indention for cmake code. The script uses 4 spaces. On Dez. 11, 2014, 5:02 nachm., Ralf Habacker wrote

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-12 Thread Ralf Habacker
/#comment50080 dito set(${appsources} ${${appsources}};${_outfilename}.icns PARENT_SCOPE) - Ralf Habacker On Dez. 11, 2014, 4:40 nachm., Ralf Habacker wrote: --- This is an automatically generated e-mail. To reply, visit: https

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-12 Thread Ralf Habacker
, Ralf Habacker ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem

Re: Review Request 121448: Introduce ECMAddAppIcon.

2014-12-11 Thread Ralf Habacker
tool png2ico, which is provided by the kdewin-tools binary package. Sources are available at https://projects.kde.org/projects/kdesupport/kdewin. Diffs - modules/ECMAddAppIcon.cmake PRE-CREATION Diff: https://git.reviewboard.kde.org/r/121448/diff/ Testing --- Thanks, Ralf

Re: substitution for KDE4_ADD_APP_ICON cmake macro

2014-12-11 Thread Ralf Habacker
Am 11.12.2014 um 16:33 schrieb Laurent Navet: Thanks, please add kdeframeworks and extracmakemodules groups to reviewers. see https://git.reviewboard.kde.org/r/121448/ Ralf Laurent. 2014-12-11 15:20 UTC+01:00, Ralf Habacker r...@habacker.de: Am 02.12.2014 um 15:03 schrieb Laurent Navet

Re: substitution for KDE4_ADD_APP_ICON cmake macro

2014-11-26 Thread Ralf Habacker
from klettres. Is there any news on this ? Or should we remove it ? Append is a related cmake file migrated from KDE 4. Not sure, if it works as expected. Ralf From 050a123f94a84ef625999cd96b6c3df55d270253 Mon Sep 17 00:00:00 2001 From: Ralf Habacker ralf.habac...@freenet.de Date: Mon, 20 Oct

Re: Replacement for kde4_add_app_icon ?

2014-10-11 Thread Ralf Habacker
Am 03.10.2014 um 13:39 schrieb Alex Merry: On 2014-09-01 12:21, Ralf Habacker wrote: Am 29.08.2014 12:05, schrieb Alex Merry: On Friday 15 August 2014 12:31:07 Ralf Habacker wrote: Am 15.08.2014 11:50, schrieb Alex Merry: On Tuesday 12 August 2014 12:52:25 Albert Astals Cid wrote: Hi, i've

Re: Replacement for kde4_add_app_icon ?

2014-09-01 Thread Ralf Habacker
Am 29.08.2014 12:05, schrieb Alex Merry: On Friday 15 August 2014 12:31:07 Ralf Habacker wrote: Am 15.08.2014 11:50, schrieb Alex Merry: On Tuesday 12 August 2014 12:52:25 Albert Astals Cid wrote: Hi, i've been porting some of my apps to KF5 work and I'm noticing there doesn't seem

Re: Replacement for kde4_add_app_icon ?

2014-08-21 Thread Ralf Habacker
Am 15.08.2014 11:50, schrieb Alex Merry: On Tuesday 12 August 2014 12:52:25 Albert Astals Cid wrote: Hi, i've been porting some of my apps to KF5 work and I'm noticing there doesn't seem to be (or i can't find) a replacement for kde4_add_app_icon. This seems like a problem for the support in

Re: add_library NO_PREFIX

2012-11-29 Thread Ralf Habacker
Am 29.11.2012 09:36, schrieb Alexander Neundorf: I just had a look at the gimp plugin dir, those seem to be executables (no prefix, no suffix, and they say compose is a GIMP plug-in and must be run by GIMP to be used when executed. Unusual :) At least that makes the lookup

Re: Strange commit to FindKDE4Internal.cmake

2012-02-19 Thread Ralf Habacker
Am 19.02.2012 22:45, schrieb Pau Garcia i Quiles: On Sun, Feb 19, 2012 at 5:20 PM, Alexander Neundorfneund...@kde.org wrote: CMake searches in a set of self-defined standard locations, as documented in the find_package() section of the man page. I don't have experience with this myself on

Re: Strange commit to FindKDE4Internal.cmake

2012-02-19 Thread Ralf Habacker
Am 19.02.2012 23:12, schrieb Stephen Kelly: Pau Garcia i Quiles wrote: On Sun, Feb 19, 2012 at 5:20 PM, Alexander Neundorfneund...@kde.org wrote: Now try and find a LibFooConfig.cmake somehow. Absolutely impossible. Heck, many times headers and libraries will be under some shared network

Re: Strange commit to FindKDE4Internal.cmake

2012-02-17 Thread Ralf Habacker
Am 17.02.2012 15:07, schrieb Alexander Neundorf: Hi Alex I saw a recent commit from you to FindKDE4Internal.cmake: http://quickgit.kde.org/index.php?p=kdelibs.gita=commitdiffh=ca501aa9f4c1e7adcd42accbd53538502ba50ce3hp=3186e7a5f3acfaa5b5ac1b5cce9315eb53f54655 with the commit message on win32

Re: Strange commit to FindKDE4Internal.cmake

2012-02-17 Thread Ralf Habacker
Am 17.02.2012 17:33, schrieb Alexander Neundorf: On Friday 17 February 2012, Ralf Habacker wrote: Am 17.02.2012 15:07, schrieb Alexander Neundorf: Hi Alex I saw a recent commit from you to FindKDE4Internal.cmake: http://quickgit.kde.org/index.php?p=kdelibs.gita=commitdiffh=ca501aa9f4

dbus service install on windows

2011-11-01 Thread Ralf Habacker
Hi all, with the recent kde-runtime (and other) buildsystems there are problems installing dbus service files, which need to be fixed. In https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/knotify/org.kde.knotify.service.cmake there is

dbus service install on windows

2011-11-01 Thread Ralf Habacker
Hi all, with the recent kde-runtime (and other) buildsystems there are problems installing dbus service files, which need to be fixed. In https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/knotify/org.kde.knotify.service.cmake there is

Re: dbus service install on windows

2011-10-29 Thread Ralf Habacker
Am 25.10.2011 20:18, schrieb Alexander Neundorf: On Tuesday 25 October 2011, Ralf Habacker wrote: Am 24.10.2011 21:33, schrieb Alexander Neundorf: On Tuesday 18 October 2011, Ralf Habacker wrote: Hi all, with the recent kde-runtime (and other) buildsystems there are problems installing dbus

Re: dbus service install on windows

2011-10-25 Thread Ralf Habacker
Am 24.10.2011 21:33, schrieb Alexander Neundorf: On Tuesday 18 October 2011, Ralf Habacker wrote: Hi all, with the recent kde-runtime (and other) buildsystems there are problems installing dbus service files, which need to be fixed. In https://projects.kde.org/projects/kde/kde-runtime

dbus service install on windows

2011-10-18 Thread Ralf Habacker
Hi all, with the recent kde-runtime (and other) buildsystems there are problems installing dbus service files, which need to be fixed. In https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/knotify/org.kde.knotify.service.cmake there is

Re: FindSIP.py

2011-03-24 Thread Ralf Habacker
Am 24.03.2011 02:08, schrieb Wolfgang Rohdewald: I found no cmake command which would convert this path. file(TO_CMAKE_PATH path result) file(TO_NATIVE_PATH path result) Ralf ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org

Re: [ANNOUNCE] CMake 2.6.4 will be required for trunk/ May 1st

2010-04-15 Thread Ralf Habacker
Alexander Neundorf schrieb: Hi, after a short discussion on kde-buildsystem we decided that starting May 1st CMake 2.6.4 will be required to build KDE trunk/, i.e. what will become KDE 4.5. So, you have now two weeks time to update to at least 2.6.4 in case you are still using CMake

Re: -mms-bitfields revisited

2009-06-16 Thread Ralf Habacker
Till Adam schrieb: Guys, ladies, questioning and/or transitioning folk and those who transcend gender categories, please find attached two patches, one against the cmake findkde4internl module in kdelibs, one against kdesupport's top level CMakeLists.txt, which add the use of

rebranding windows only kdelibs kdewin32 cmake module to kdewin

2009-06-10 Thread Ralf Habacker
...@kde.org +# Copyright (c) 2007-2009, Ralf Habacker, ralf.habac...@freenet.de +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + + +if (WIN32) + if (NOT KDEWIN_LIBRARIES) + +find_path(KDEWIN_INCLUDE_DIR

Re: KDE/kdelibs/cmake/modules

2009-05-29 Thread Ralf Habacker
Alexander Neundorf schrieb: On Tuesday 26 May 2009, Ralf Habacker wrote: SVN commit 972974 by habacker: added initial support for fixing windows vista uac problem by adding a specific manifest file to executables. Vista manifest support is disabled by default and could be enabled

vista adding manifest problem

2009-05-13 Thread Ralf Habacker
Hi, on vista applications need the following manifest to be added ?xml version=1.0 encoding=UTF-8 standalone=yes? assembly xmlns=urn:schemas-microsoft-com:asm.v1 manifestVersion=1.0 trustInfo xmlns=urn:schemas-microsoft-com:asm.v3 security requestedPrivileges requestedExecutionLevel

no win32 application icon possible with kde4_add_kdeinit_executable

2008-11-25 Thread Ralf Habacker
Hi, for kwrite (kdebase/apps/kwrite) I tried to add an application icon using the following cmake commands kde4_add_app_icon(${kwrite_KDEINIT_SRCS} pics/hi*-app-kwrite.png) kde4_add_kdeinit_executable(kwrite ${kwrite_KDEINIT_SRCS}) target_link_libraries(kdeinit_kwrite ${KDE4_KTEXTEDITOR_LIBS}

Re: no win32 application icon possible with kde4_add_kdeinit_executable

2008-11-25 Thread Ralf Habacker
Thiago Macieira schrieb: On Tuesday 25 November 2008 19:29:13 Ralf Habacker wrote: kde4_add_app_icon(${kwrite_KDEINIT_SRCS} pics/hi*-app-kwrite.png) I think you meant here kde4_add_app_icon(kwrite_KDEINIT_SRCS pics/hi*-app-kwrite.png) sure, copy and paste error - this fixed my

Re: skipping the kdeinit magic on windows (Re:

2008-04-10 Thread Ralf Habacker
Alexander Neundorf schrieb: On Tuesday 08 April 2008, Ralf Habacker wrote: David Faure schrieb: On Monday 07 April 2008, Ralf Habacker wrote: I do not understand some things: There is a complete platform independent solution which looks nice to the package developer, which

Re: skipping the kdeinit magic on windows (Re: KDE/kdebase/apps/konqueror)

2008-04-06 Thread Ralf Habacker
Ralf Habacker schrieb: David Faure schrieb: On Thursday 03 April 2008, Ralf Habacker wrote: David Faure schrieb: On Wednesday 02 April 2008, Ralf Habacker wrote: SVN commit 793038 by habacker: kdeinit modules are not supported on win32 M +10 -6 client/CMakeLists.txt M

Re: skipping the kdeinit magic on windows (Re: KDE/kdebase/apps/konqueror)

2008-04-04 Thread Ralf Habacker
Alexander Neundorf schrieb: On Thursday 03 April 2008, Ralf Habacker wrote: David Faure schrieb: On Thursday 03 April 2008, Ralf Habacker wrote: David Faure schrieb: On Wednesday 02 April 2008, Ralf Habacker wrote: SVN commit 793038 by habacker

Re: skipping the kdeinit magic on windows (Re: KDE/kdebase/apps/konqueror)

2008-04-03 Thread Ralf Habacker
David Faure schrieb: On Thursday 03 April 2008, Ralf Habacker wrote: David Faure schrieb: On Wednesday 02 April 2008, Ralf Habacker wrote: SVN commit 793038 by habacker: kdeinit modules are not supported on win32 M +10 -6 client/CMakeLists.txt M +11 -5

Re: Fwd: [quanta-devel] Unable build kdewebdev in trunk after windows related build system

2008-03-27 Thread Ralf Habacker
Christian Ehrlicher schrieb: Von: Andras Mantia Hi, does anyone have an idea what is wrong here? svn up kdelibs - this was added some weeks ago and is needed to get the correct install locations on windows christian: I saw two different install versions with DESTINATION and

Re: Getting rid of the LIB_INSTALL_DIR hack on windows

2008-01-12 Thread Ralf Habacker
Michael Pyne schrieb: On Saturday 12 January 2008, Christian Ehrlicher wrote: Hi, I know we discussed this already, but I'm very unhappy with the current solution. The problem is (for all who don't remember) that we want to install the shared libs into /bin on windows. When we install

Re: findKDEWIN32.cmake patch

2007-12-14 Thread Ralf Habacker
Saro Engels schrieb: This is a small patch since it seems the mingw and msvc subfolder of kdewin32 are not included if compiling within the cmake step. It seems to work under mingw, but I would prefer somebody to look over the patch. set(KDEWIN32_INCLUDES ${KDEWIN32_INCLUDE_DIR}

[Patch] support for project specific help-module command

2007-09-18 Thread Ralf Habacker
Hi, the appended patch extends cmake so that it is able to search cmake modules based on the current root dir (subdirectory cmake/Modules) and if in the current directory is a CMakeCache.txt also in the related source root. There may be additional usefull features in cmake like extending

KDE/kdelibs

2007-09-11 Thread Ralf Habacker
SVN commit 711197 by habacker: - win32 fix for KDELibsDependencies.cmake support. On win32 the path of installed kdelibs (KDE4_INSTALL_DIR) is determined by the location of kde4-config, not hardcoded Unfortunally cmake's export_library_dependencies has two problems: 1. it write hardcoded

Re: macro kde4_install_library

2007-07-20 Thread Ralf Habacker
Alexander Neundorf schrieb: Hi PutHuhn, On Monday 16 July 2007 11:49, Nhuh Put wrote: Hello With default calls to install, shared libraries are installed into LIB_INSTALL_DIR. This is fine for linux, but on windows, they should go into BIN_INSTALL_DIR. The install function of cmake

Re: Unexpected behaviour of kde4automoc

2007-07-13 Thread Ralf Habacker
Christian Ehrlicher schrieb: Jarosław Staniek schrieb: Hello, On windows (msvc) kde4automoc executes moc in new window for a quarter of second or so (closes as soon as moc finishes). Have anybody encountered the same for kdelibs updated yesterday? moc is a console app - QProcess spawns a

Re: *** GMX Spamverdacht *** Re: Providing FindFoo.cmake for a kde module foo

2007-07-09 Thread Ralf Habacker
Andreas Pakulat schrieb: On 09.07.07 06:49:23, Thiago Macieira wrote: Andreas Pakulat wrote: As I tried to explain at the start: this is specifically about installing module's in different locations. I think KDEDIRS is the best way. Ok, tried and it works quite well.

Re: Providing FindFoo.cmake for a kde module foo

2007-07-08 Thread Ralf Habacker
Andreas Pakulat schrieb: On 08.07.07 19:31:49, Andreas Pakulat wrote: On 08.07.07 11:06:32, Matt Rogers wrote: On Jul 8, 2007, at 9:35 AM, Andreas Pakulat wrote: due to a problem (I'd call it a bug actually) in cmake its not possible to install 2 kde modules where one

Re: Providing FindFoo.cmake for a kde module foo

2007-07-08 Thread Ralf Habacker
Andreas Pakulat schrieb: On 08.07.07 20:49:23, Ralf Habacker wrote: Andreas Pakulat schrieb: On 08.07.07 19:31:49, Andreas Pakulat wrote: On 08.07.07 11:06:32, Matt Rogers wrote: On Jul 8, 2007, at 9:35 AM, Andreas Pakulat wrote: due

Re: Providing FindFoo.cmake for a kde module foo

2007-07-08 Thread Ralf Habacker
Andreas Pakulat schrieb: On 08.07.07 21:26:42, Ralf Habacker wrote: Andreas Pakulat schrieb: On 08.07.07 20:49:23, Ralf Habacker wrote: I have added the following stuff to a new file in kdelibs-install-dir/lib/kdevplatform/KDevPlatformConfig.cmake if(WIN32) file

win32 build system issue

2007-07-06 Thread Ralf Habacker
Hi, I have installed kdelibs into d:\Programme\kdelibs and I'm going to install kdebase into d:\Programme\kdebase. The separate dirs are used for packaging. At least on win32 i have a problems with the dbus interface directory settings: kdelibs installs dbus interface files into a directory

KDE version string not in build system available

2007-06-20 Thread Ralf Habacker
Hi, for win32 packaging of kdelibs I need the recent KDE version string in the build system which is only available at c++ level yet provided by the file kdecore/util/kdeversion.h which defines some VERSION macros #define KDE_VERSION_STRING 3.90.1 (KDE 4.0 = 20070518) /// @brief Major version of

Re: [patch] fixes for compiling under mingw

2007-06-07 Thread Ralf Habacker
PROTECTED] # Copyright (c) 2007, Ralf Habacker, [EMAIL PROTECTED] # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. if (WIN32) if (NOT KDEWIN32_DIR) if(NOT KDEWIN_FOUND) find_package(KDEWIN REQUIRED

Re: make test doesn't build tests

2007-04-15 Thread Ralf Habacker
Thiago Macieira schrieb: Matt Rogers wrote: On Apr 15, 2007, at 2:52 PM, Andreas Pakulat wrote: Hi, using the kde4_add_test macro works pretty well, except that calling the test target doesn't build the tests. I talked to Thiago about this on IRC and he said that the problem

cmake support for KDEWIN(32)

2007-04-10 Thread Ralf Habacker
Hi all, the kdewin installer makes it able to install all required package from kdesupport and win32libs into one location, which required to merge the gnuwin32 and kdewin32 cmake modules into a common module. My plans are to introduce a KDEWIN.cmake module, which detects valid installations

Re: Qt static libraries - pkgconfig again

2007-02-24 Thread Ralf Habacker
Holger Schröder schrieb: On Friday 23 February 2007 23:18:04 Christian Ehrlicher wrote: Holger Schröder schrieb: On Friday 23 February 2007 21:38:56 Thiago Macieira wrote: Simon Hausmann wrote: Christian is right there, also because qmake does not generate

Re: Standalone qt-dbus in kdesupport

2006-06-09 Thread Ralf Habacker
Ralf Habacker schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo Moura Guedes schrieb: On Thursday 08 June 2006 22:21, Ralf Habacker wrote: It is possible to set a different installation dir for make install ? You mean by default? You can set it explicitly

Re: Standalone qt-dbus in kdesupport

2006-06-09 Thread Ralf Habacker
Ralf Habacker schrieb: Ralf Habacker schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo Moura Guedes schrieb: On Thursday 08 June 2006 22:21, Ralf Habacker wrote: It is possible to set a different installation dir for make install

QTestLib integration into ctest ? was [qt-dbus compilation problem]

2006-06-02 Thread Ralf Habacker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, while porting qt-dbus to cmake, we encountered some problems with test applications result display. qt-dbus uses the QtTestLib framework for test applications, which produces by default output in the following manner

Re: msvc: makekdewidgets

2006-05-14 Thread Ralf Habacker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Ehrlicher schrieb: Peter Kümmel schrieb: Something for the kdewin32 TODO list: makekdewidgets throws an assert in win/src/mmap.c: line 117: hfd = (HANDLE)_get_osfhandle( fd ); When the mmap call is avoided then makekdewidgets

Re: Fwd: How to build static libraries with cmake (and more)? (was: Re: Testing internal classes)

2006-05-12 Thread Ralf Habacker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad King schrieb: This may have problems on windows though because the static mylib.lib will have the same name as the import library mylib.lib that goes with mylib.dll. mingw does not have such problems, gcc on windows uses .a for static

config.h.cmake issue ?

2006-05-03 Thread Ralf Habacker
Hi all, in recent cmake releases it is required to setup two places in case C defines are required. One place is the ...h.cmake and one the related CMakeLists.txt or Find...cmake module. One example: in kdelibs/kjs/CMakeLists.txt there is: macro_optional_find_package(PCRE)

Re: KSharedPixmap::resize()

2006-04-21 Thread Ralf Habacker
Paulo Jorge Guedes schrieb: Hi, KSharedPixmap for non Q_WS_X11 doesn't have resize as it's derived from KPixmap. Thus, kdeui/krootpixmap.cpp:251 gives an error. For now, I can add some dummy resize, until someone solves the problem. Let me know. I saw this too. Ther related x11

Re: MSVC status

2006-04-13 Thread Ralf Habacker
Paulo Jorge Guedes schrieb: -Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 12 de Abril de 2006 15:43 To: kde-buildsystem@kde.org Subject: MSVC status Hi, Except for the QTreeWidgetItem::itemFromIndex error it now builds until

Re: MSVC status

2006-04-13 Thread Ralf Habacker
Paulo Jorge Guedes schrieb: -Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 13 de Abril de 2006 10:24 To: kde-buildsystem@kde.org Subject: RE: MSVC status -Original Message- From: Ralf Habacker [mailto:[EMAIL PROTECTED] Sent

Re: M_PI

2006-04-10 Thread Ralf Habacker
Paulo Moura Guedes schrieb: On Friday 07 April 2006 21:10, Christian Ehrlicher wrote: Paulo Jorge Guedes schrieb: I'm going out for the weekend and I won't have an internet connection. I also send the math.h file that fixes the compilation. Sometimes you have really funny

Re: kdelibs build broken on OS X and Linux

2006-04-10 Thread Ralf Habacker
Jorge Guedes [EMAIL PROTECTED] An: kde-buildsystem@kde.org Betreff: RE: kdelibs build broken on OS X and Linux Datum: Mon, 10 Apr 2006 12:20:07 +0100 -Original Message- From: Ralf Habacker [mailto:[EMAIL PROTECTED] Sent: sábado, 8 de Abril de 2006 23:48 To: kde-buildsystem

Re: dcopidl.bat, perl, and PATH

2006-04-10 Thread Ralf Habacker
Bill Hoffman schrieb: dcopidl.bat expects that perl is in the PATH. Perhaps this file could be configured, and the FindPerl.cmake module could be used to find perl, then a full path to perl could be used. but this will fix the installation path of perl to the build machine. If the

Re: kdewin32 build error

2006-03-22 Thread Ralf Habacker
Paulo Jorge Guedes schrieb: And this other one on kdecore: In file included from d:/kde/kdelibs/kdeui/kaction.h:530, from d:/kde/kdelibs/kdecore/../kdeui/kstdaction_p.h:25, from d:/kde/kdelibs/kdecore/kacceleratormanager.cpp:48:

Re: kdewin32 build error

2006-03-22 Thread Ralf Habacker
Ralf Habacker schrieb: Paulo Jorge Guedes schrieb: And this other one on kdecore: In file included from d:/kde/kdelibs/kdeui/kaction.h:530, from d:/kde/kdelibs/kdecore/../kdeui/kstdaction_p.h:25, from d:/kde/kdelibs/kdecore/kacceleratormanager.cpp:48: d

Re: KDE/kdelibs/cmake/modules

2006-03-21 Thread Ralf Habacker
Alexander Neundorf schrieb: SVN commit 521183 by neundorf: -change FindLibXml2.cmake to the new enhanced cmake style by using PATH_SUFFIXES for linux/bsd/OS X developers this shouldn't change anything ...but for the windows developers it should ! So: for the stuff which comes from

Re: mingw status

2006-03-05 Thread Ralf Habacker
Peter Kümmel schrieb: Ralf Habacker wrote: If you see no problem, I will check this in. The patch by itself is ok for mingw, it now compiles fine with it. But it breaks compiling with msvc, error C2487: 'KJS::UString::{ctor}' : member of dll interface class may

Re: mingw status

2006-03-03 Thread Ralf Habacker
Peter Kümmel schrieb: Harri Porten wrote: class foo { KDE_EXPORT foo(); myFunction(); } Then only the constructor is exported when I'm correct. But this is inverse to the U/Q String problem! THIS: class __declspec(dllimport) UString { /* static linkage */

Re: cmake clean problem

2006-03-01 Thread Ralf Habacker
William A. Hoffman schrieb: At 09:45 AM 3/1/2006, Brad King wrote: Ralf Habacker wrote: Brad King schrieb: Please run make clean VERBOSE=1 clean.log 21 and send me the output (off the list to avoid clutter). here is it. Wow, the clean command line