Re: Next Gen CI Will Be Moving to Production Shortly: Upcoming Changes

2017-05-13 Thread Andrea Scarpino
On Sat, May 6, 2017 at 11:37 AM, Ben Cooksley  wrote:
> Which brings me to the third point of attention. We'll only be adding
> projects to the Next Gen CI system at their request going forward. For
> Frameworks, Applications and Plasma this is something which we're
> essentially assuming we're going to receive from their release
> managers, so we'll take care of defining the initial Products for
> those. For Extragear projects, please respond to this thread if you'd
> like CI coverage (to continue) to be provided to you.

Please keep Choqok CI.

Thank you Ben & co.

--
Andrea


Re: kde-open5 bug help needed

2017-05-13 Thread Andrea Scarpino
On Tue, May 9, 2017 at 3:14 PM, Albert Astals Cid  wrote:
> The problem I think is that you need to make the slave aware that it should
> not do the redirection, i.e.
>   void redirection(const QUrl &_url);
> should turn into
>   bool redirection(const QUrl &_url);
>
> And then on http.cpp set m_isRedirection to false if redirection(u); returns
> false so that mimeType(m_mimeType); is called down that function because we're
> not doing redirection anymore.

Aaah, great!

> Do you feel like trying to hack that on?

Yes, I'll hack on it and let you know. Thank you Albert!

-- 
Andrea


Fwd: KF5 CMake usage question

2017-05-13 Thread Shaheed Haque
Hi,

On 13 May 2017 at 22:04, Sven Brauch  wrote:
> Hi,
>
> On 05/13/2017 06:06 PM, Shaheed Haque wrote:
>> The printed output shows that the variable KF5KIO_INCLUDE_DIRS is not
>> set. In poking around, I see references to a (new-to-me) target-based
>> system, and using that like this:
> The question is, why do you need to do that?

I'm continuing to experiment with trying to build Python bindings for
KF5. As part of that, the SIP tooling creates C++ wrapper code which
must be compiled for each framework, and for that I need to know the
header file directories. So far, I have simply been hardcoding the
needed paths on my own system, but I now want to move to using
standard CMake-based logic instead.

(In some sense, this might be seen as similar to the stuff that was
added to ECM, but I'm trying for a significantly more automated
approach).

Also, I am trying to feel my way towards a Pythonic build system for
the KF5 bindings (as, roughly speaking, PyQt seems to be doing): in
other words I'm interested in using CMake as a stepping stone, not the
actual build system.

Thus, I'm after the moral equivalents of:

Foo_INCLUDE_DIRS
Foo_COMPILE_FLAGS

Thanks, Shaheed


> The usual way is to simply call
>
>   target_link_libraries(mybinary KF5::KIOCore)
>
> and include paths etc. will be set up for your target automatically.
>
> Best,
> Sven
>


signature.asc
Description: PGP signature


Re: kdereview: ksmtp

2017-05-13 Thread Daniel Vrátil
On Thursday, May 11, 2017 11:11:11 PM CEST Albert Astals Cid wrote:
> El dijous, 11 de maig de 2017, a les 17:03:01 CEST, Daniel Vrátil va 
escriure:
> > Hi,
> > 
> > please review ksmtp, which is now in kdereview.
> 
> Are tests supposed to pass?
> 
> 2: QFATAL : SmtpTest::testLoginJob(Plain auth ok) Received signal 11

Hmm, it passes here. Must be some timing issue. I'll see if I can reproduce it 
on my other system.

Dan


> 
> Cheers,
>   Albert
> 
> > KSMTP is a small simple library with a KJob-based API similar to KIMAP or
> > KDAV to send mime messages via SMTP. It was initially written in 2011 by
> > Gregory Schlomoff but since then it's been lying around in playground
> > without any interest or use. I have recently picked it up, ported to
> > Frameworks and improved the job handling and authentication to make the
> > library ussable for KDE PIM and would like to have it released as part of
> > KDE Applications 17.08.
> > 
> > KDE PIM currently uses a custom KIO Slave to send messages via SMTP, which
> > is hard to maintain and extend. Having a Job-based library like KSmtp will
> > make it much easier for us to introduce support for example for Google
> > XOAUTH2 authentication mechanism.
> > 
> > Thanks,
> > Dan


-- 
Daniel Vrátil
www.dvratil.cz | dvra...@kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

signature.asc
Description: This is a digitally signed message part.


KF5 CMake usage question

2017-05-13 Thread Shaheed Haque
Hi,

I'm a bit confused as to how the current KF5 CMake support works. I
have a small fragment that looks like this:

find_package(KF5KIO REQUIRED)
message(STATUS "KF5KIO includes = ${KF5KIO_INCLUDE_DIRS}")

The printed output shows that the variable KF5KIO_INCLUDE_DIRS is not
set. In poking around, I see references to a (new-to-me) target-based
system, and using that like this:

find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
find_package(KF5 MODULE REQUIRED COMPONENTS KIO)
get_target_property(hello KF5::KIOCore INTERFACE_INCLUDE_DIRECTORIES)
message(STATUS "KF5KIO includes = ${hello}")

I now see some useful output. However, note that here I did a
find_package() on KF5 and KIO, but that I had to do a
get_target_property() on KF5::KIOCore. I don't see a programmatic way
to get from (KF5, KIO) to (KF5::KIOCore).

Is there some other way programmatically to get to the include
directories and compile flags for each framework in KF5?

Thanks, Shaheed

P.S. I do see this thread
https://cmake.org/pipermail/cmake-developers/2013-July/019592.html,
which seems to suggest that there should be a variable called
${Foo_TARGETS}, but I've not been able to work out what "Foo" should
be in either case (plus, it is the include directories and compile
flags I am presently interested in, not the libraries).


KDE Frameworks 5.34.0 released

2017-05-13 Thread David Faure
13th May 2017. KDE today announces the release of KDE Frameworks 5.34.0.

KDE Frameworks are 70 addon libraries to Qt which provide a wide variety of·
commonly needed functionality in mature, peer reviewed and well tested·
libraries with friendly licensing terms. For an introduction see the·
Frameworks 5.0 release announcement.

Baloo

  balooctl, baloosearch, balooshow: Fix order of QCoreApplication object 
creation (bug 378539)

Breeze Icons

  Add icons for hotspot (https://github.com/KDAB/hotspot)
  Better version control system icons (bug 377380)
  Add plasmate icon (bug 376780)
  Update microphone-sensitivity icons (bug 377012)
  Raise default for 'Panel' icons to 48

Extra CMake Modules

  Sanitizers: Don't use GCC-like flags for e.g. MSVC
  KDEPackageAppTemplates: documentation improvements
  KDECompilerSettings: Pass -Wvla & -Wdate-time
  Support older qmlplugindump versions
  Introduce ecm_generate_qmltypes
  Allow projects to include the file twice
  Fix rx that matches project names out of the git uri
  Introduce fetch-translations build command
  Use -Wno-gnu-zero-variadic-macro-arguments more

KActivities

  We are using only Tier 1 frameworks, so move us to Tier 2
  Removed KIO from the deps

KAuth

  Security fix: verify that whoever is calling us is actually who he says he is

KConfig

  Fix relativePath calculation in KDesktopFile::locateLocal() (bug 345100)

KConfigWidgets

  Set the icon for the Donate action
  Relax constraints for processing QGroupBoxes

KDeclarative

  Don't set ItemHasContents in DropArea
  Don't accept hover events in the DragArea

KDocTools

  Workaround for MSVC and catalog loading
  Solve a visibility conflict for meinproc5 (bug 379142)
  Quote few other variables with path (avoid issues with spaces)
  Quote few variables with path (avoid issues with spaces)
  Temporarily disable the local doc on Windows
  FindDocBookXML4.cmake, FindDocBookXSL.cmake - search in homebrew installations

KFileMetaData

  makes KArchive be optional and do not build extractors needing it
  fix duplicated symbols compilation error with mingw on Windows

KGlobalAccel

  build: Remove KService dependency

KI18n

  fix basename handling of po files (bug 379116)
  Fix ki18n bootstrapping

KIconThemes

  Don't even try to create icons with empty sizes

KIO

  KDirSortFilterProxyModel: bring back natural sorting (bug 343452)
  Fill UDS_CREATION_TIME with the value of st_birthtime on FreeBSD
  http slave: send error page after authorization failure (bug 373323)
  kioexec: delegate upload to a kded module (bug 370532)
  Fix KDirlister Gui Test setting URL scheme twice
  Delete kiod modules on exit
  Generate a moc_predefs.h file for KIOCore (bug 371721)
  kioexec: fix support for --suggestedfilename

KNewStuff

  Allow multiple categories with the same name
  KNewStuff: Show file's size information in grid delegate
  If an entry's size is known, show it in the list view
  Register and declare KNSCore::EntryInternal::List as a metatype
  Don't fall through the switch. Double entries? No please
  always close the downloaded file after downloading

KPackage Framework

  Fix include path in KF5PackageMacros.cmake
  Ignore warnings during appdata generation (bug 378529)

KRunner

  Template: Change toplevel template category to "Plasma"

KTextEditor

  KAuth integration in document saving - vol. 2
  Fix assertion when applying code folding that changes cursor position
  Use non-deprecated  root element in ui.rc file
  Add scroll-bar-marks also to the built-in search
  KAuth integration in document saving

KWayland

  Validate surface is valid when sending TextInput leave event

KWidgetsAddons

  KNewPasswordWidget: don't hide visibility action in plaintext mode (bug 
378276)
  KPasswordDialog: don't hide visibility action in plaintext mode (bug 378276)
  Fix KActionSelectorPrivate::insertionIndex()

KXMLGUI

  kcm_useraccount is dead, long live user_manager
  Reproducible builds: drop version from XMLGUI_COMPILING_OS
  Fix: DOCTYPE name must match root element type
  Fix wrong usage of ANY in kpartgui.dtd
  Use non-deprecated  root element
  API dox fixes: replace 0 with nullptr or remove where not applied

NetworkManagerQt

  Fix crash when retrieving active connection list (bug 373993)
  Set default value for auto-negotiation based on running NM version

Oxygen Icons

  Add icon for hotspot (https://github.com/KDAB/hotspot)
  Raise default for 'Panel' icons to 48

Plasma Framework

  reload icon when usesPlasmaTheme changes
  Install Plasma Components 3 so they can be used
  Introduce units.iconSizeHints.* to provide user-configurable icon size hints 
(bug 378443)
  [TextFieldStyle] Fix textField is not defined error
  Update the ungrabMouse hack for Qt 5.8
  Guard against Applet not loading AppletInterface (bug 377050)
  Calendar: Use correct language for month and day names
  Generate plugins.qmltypes files for the plugins we install
  if the user did set an implicit size, keep it

Solid