Bug#1056549: grantlee5: Is there intention to port the lib to Qt6 ?

2023-11-23 Thread Filippo Rusconi



On Thu, Nov 23, 2023 at 11:24:39AM +0100, Sune Stolborg Vuorela wrote:

On Thursday, November 23, 2023 10:52:56 AM CET Filippo Rusconi wrote:

include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(KDEGitCommitHooks)


KDEInstallDirs is basicalyl just GNUInstallDirs slightly improved and extended
KDEFrameworkCompilerSettings is just shared setup of c++ standards and default
warnings
KDECMakeSettings is setting a series of cmake policies and such
KDECommitHooks is just setting up git to commit reject certain changes

All of these are are part of extra-cmake-modules and is in general well tested
for cross platform functionality and it makes writing modern c++ and cmake
code simpler and easier.
In general, other than an extra line in your build scripts, shouldn't make
much of a difference.


That seems convincing, I'll test that and when I'm done I'll close the bug.

Thank you!

Sincerely,
Filippo

--

⢀⣴⠾⠻⢶⣦⠀  Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁   Researcher at CNRS
⢿⡄⠘⠷⠚⠋⠀   Debian Developer
⠈⠳⣄  http://msxpertsuite.org
  http://www.debian.org



Bug#1056549: grantlee5: Is there intention to port the lib to Qt6 ?

2023-11-23 Thread Sune Stolborg Vuorela
On Thursday, November 23, 2023 10:52:56 AM CET Filippo Rusconi wrote:
> include(KDEInstallDirs)
> include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
> include(KDECMakeSettings)
> include(KDEGitCommitHooks)

KDEInstallDirs is basicalyl just GNUInstallDirs slightly improved and extended
KDEFrameworkCompilerSettings is just shared setup of c++ standards and default 
warnings
KDECMakeSettings is setting a series of cmake policies and such
KDECommitHooks is just setting up git to commit reject certain changes

All of these are are part of extra-cmake-modules and is in general well tested 
for cross platform functionality and it makes writing modern c++ and cmake 
code simpler and easier. 
In general, other than an extra line in your build scripts, shouldn't make 
much of a difference.

/Sune
-- 
I didn’t stop pretending when I became an adult, it’s just that when I was a 
kid I was pretending that I fit into the rules and structures of this world. 
And now that I’m an adult, I pretend that those rules and structures exist.
   - zefrank



Bug#1056549: grantlee5: Is there intention to port the lib to Qt6 ?

2023-11-23 Thread Filippo Rusconi

Greetings, Sune

Thank you for your response,

On Thu, Nov 23, 2023 at 09:22:21AM +0100, Sune Stolborg Vuorela wrote:

On Wednesday, November 22, 2023 3:49:57 PM CET Filippo Rusconi wrote:


There appears to be an effort upstream to port Grantlee to Qt6. Is there any
intention downstream to actually create binary packages for Qt6 ?


Grantlee has been ported to Qt6 and renamed to KTextTemplate https://
invent.kde.org/frameworks/ktexttemplate and will be released in february
together with the rest of KDE's frameworks based on Qt6 (and plasma and ...)


I see. What we use to do is create packages for Debian but also for MS  Windows
(our users are biologists and often are not fluent in GNU/Linux...). Looking at
the CMakeLists.txt file in the repos, it looks like the Grantlee code in there
will depend on KDE, or not ? 




include(KDEInstallDirs)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(KDECMakeSettings)
include(KDEGitCommitHooks)

~~~

I thus wonder if this port is going to actually solve our portability-related
requirements. Any thoughts ?

Sincerely,
Filippo

--

⢀⣴⠾⠻⢶⣦⠀  Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁   Researcher at CNRS
⢿⡄⠘⠷⠚⠋⠀   Debian Developer
⠈⠳⣄  http://msxpertsuite.org
  http://www.debian.org



Bug#1056549: grantlee5: Is there intention to port the lib to Qt6 ?

2023-11-23 Thread Sune Stolborg Vuorela
On Wednesday, November 22, 2023 3:49:57 PM CET Filippo Rusconi wrote:

> There appears to be an effort upstream to port Grantlee to Qt6. Is there any
> intention downstream to actually create binary packages for Qt6 ?

Grantlee has been ported to Qt6 and renamed to KTextTemplate https://
invent.kde.org/frameworks/ktexttemplate and will be released in february 
together with the rest of KDE's frameworks based on Qt6 (and plasma and ...)

/Sune
-- 
I didn’t stop pretending when I became an adult, it’s just that when I was a 
kid I was pretending that I fit into the rules and structures of this world. 
And now that I’m an adult, I pretend that those rules and structures exist.
   - zefrank



Bug#1056549: grantlee5: Is there intention to port the lib to Qt6 ?

2023-11-22 Thread Filippo Rusconi
Source: grantlee5
Version: 5.3.1-3
Severity: wishlist

Greetings,

There appears to be an effort upstream to port Grantlee to Qt6. Is there any
intention downstream to actually create binary packages for Qt6 ?

Thank you,
Sincerely,
Filippo


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-4-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 

⢀⣴⠾⠻⢶⣦⠀  Filippo Rusconi, PhD
⣾⠁⢠⠒⠀⣿⡁   Researcher at CNRS
⢿⡄⠘⠷⠚⠋⠀   Debian Developer
⠈⠳⣄  http://msxpertsuite.org
  http://www.debian.org