32 Commits
master ... thud

Author SHA1 Message Date
Andreas Müller
e72f9e14ce Merge pull request #84 from MA-MWO/thud
Changed SRC_URI to https as ftp source was not available on 2021-05-17
2021-05-17 22:05:18 +02:00
Markus Wolf
d48aa6c934 Changed SRC_URI to https as ftp source was not available on 20210517 2021-05-17 16:43:43 +02:00
Andreas Müller
6f5a2513a9 sddm-autologin.pam: remove pam_permit.so
Not the best idea to just trust what people send...

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-05 22:34:38 +01:00
Andreas Müller
48ab2dad10 qtiohelper: upgrade 0.3.994+ -> 0.4.0+
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-10-24 11:46:28 +02:00
Max Krummenacher
641aabf595 sddm: make libpam optional
Rescently pam was added as new setting in DISTRO_FEATURES. If it is not defined sddm
currently fails as it unconditionally depends on pam.

This fixes:
| ERROR: Nothing PROVIDES 'libpam' (but .../sddm_git.bb DEPENDS on or otherwise requires it)
| libpam was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-27 19:07:06 +02:00
Max Krummenacher
c3e6b0c2eb lximage-qt: work around wrong qconfig.h included
qconfig.h from the native sysroot is included which results in the following errors:

| .../0.14.1-r0/git/src/mainwindow.cpp:727:36: error: 'QGraphicsSvgItem' does not name a type; did you mean 'QGraphicsItem'?
| .../0.14.1-r0/git/src/imageview.cpp:329:5: error: 'QGraphicsSvgItem' was not declared in this scope

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-27 19:06:47 +02:00
Max Krummenacher
9346cf05fa qps: fix build failure
| .../qps/1.10.20-r0/git/src/screenshot.cpp:378:10: fatal error: X11/extensions/Xrender.h: No such file or directory

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-27 19:06:29 +02:00
Andreas Müller
cfe91e5789 guitarix: fix build with boost >= 1.69.0
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-25 09:59:17 +01:00
Andreas Müller
2535943408 liri-eglfs: remove screen-recorder code
* it uses OpenGL3 which is not available on common machines
* what is it doing exactly...

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 16:14:37 +01:00
Andreas Müller
81bafc6045 liri-qtgsettings: upgrade sources
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 15:41:07 +01:00
Andreas Müller
d67918a112 liri-shell: upgrade sources
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 15:26:45 +01:00
Andreas Müller
2b7e58e352 liri-cmake-shared: upgrade sources
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 15:26:12 +01:00
Andreas Müller
7f9f0f98a4 sddm: upgrade 0.18.0 -> 0.18.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 15:23:23 +01:00
Andreas Müller
746ed64373 readd our python3-pyqt5 for thud
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 15:09:57 +01:00
Andreas Müller
530170adb5 Revert "menu-cache: remove 1.1.0 in in oe-core master"
menu-cache 1.1.0 came to oe-core after thud

This reverts commit 3f86893963.
2019-03-22 13:24:43 +01:00
Andreas Müller
f9e77021de Revert "kcachegrind: add graphviz to RRECOMMENDS"
On thud there is no graphviz in meta-oe yet

This reverts commit e23602bc38.
2019-03-22 11:09:53 +01:00
Andreas Müller
6c670a475d Revert "pulseview: new package"
sigrock recipes came to meta-oe after thud

This reverts commit d28ed0dea6.
2019-03-22 10:48:32 +01:00
Andreas Müller
99859ac8f2 Revert "ftgl: remove - it is in meta-oe now"
On thud ftgl is not yet in meta-oe

This reverts commit 4bbbb42131.
2019-03-22 10:46:31 +01:00
Andreas Müller
93345ef5d0 Merge commit '68ee7a7d5b8eeb10f56de7d4cbe844ab275deeaf' into thud
This updates many packages from master

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-03-22 10:30:36 +01:00
Andreas Müller
5092528e63 krita: upgrade 4.1.0 -> 4.1.7
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-09 00:42:51 +01:00
Andreas Müller
eedf8d776d libraw: upgrade 0.18.8 -> 0.19.2
Seems they remove old tarballs so move to github repo

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-09 00:42:37 +01:00
Andreas Müller
cfdd7cef66 exiv2: add all CVE patches found ad fedora
see [1]

[1] https://src.fedoraproject.org/cgit/rpms/exiv2.git/

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-04 21:03:28 +01:00
Andreas Müller
c0975ababa exiv2: remove bogus do_install prepend
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-04 21:03:17 +01:00
Andreas Müller
93bf5449fa exiv2: update SRC_URI
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-04 21:03:06 +01:00
Andreas Müller
23d1d614ca Revert "exiv2: updated to version 0.27.0 (#66)"
I breaks most dependent recipes

This reverts commit 9a781a7988.
2019-01-04 21:02:55 +01:00
Guillermo
0c85f97c44 exiv2: updated to version 0.27.0 (#66)
* exiv2: updated to version 0.27.0

* exiv2: recipe for version 0.26 removed
2019-01-04 17:08:38 +01:00
Andreas Müller
f808a07052 kdeclarative: Fix build if QML-debugger was not enabled
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2019-01-01 20:55:13 +01:00
Andreas Müller
08e507efbb python(3)-pyqt5: Enable all PACKAGECONFIGs building fine
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 21:15:41 +01:00
Andreas Müller
8dde8f5444 carla: adjust to pyqt changes
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 21:15:41 +01:00
Andreas Müller
5f6e8f07fb python3-pyqt5: align to our needs
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 21:15:41 +01:00
Andreas Müller
610819dace python3-pyqt5: remove - use meta-qt5's recipe
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 21:15:41 +01:00
Andreas Müller
50fb943746 sip3: remove - let's use meta-oe's recipe
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-12-06 21:15:41 +01:00
897 changed files with 29188 additions and 7713 deletions

17
README Normal file
View File

@@ -0,0 +1,17 @@
OE layer to desktop environments based on qt5
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
branch: master
revision: HEAD
URI: git://github.com/meta-qt5/meta-qt5.git
branch: master
revision: HEAD
URI: git://git.openembedded.org/meta-openembedded
branch: master
revision: HEAD
Layer maintainer: Andreas Müller <schnitzeltony@gmail.com>

View File

@@ -1,30 +0,0 @@
OE layer to desktop environments based on Qt5
---------------------------------------------
Layer dependencies:
----------------------
see [layer.conf](conf/layer.conf) for dependencies and [Layer-index](https://layers.openembedded.org/layerindex/branch/master/layers/) where to find layers
Contributing
------------
* Submit any patches against the `meta-qt5-extra` layer by using the GitHub pull-request feature.
Policies
--------
* **Please do not send private emails to maintainer - they will not be answered anymore**. For bug-reports/questions/suggestions.. use [issues](https://github.com/schnitzeltony/meta-qt5-extra/issues).
* Pull requests should follow [OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) with the following additions:
* Use 4 spaces for indentation always (shell and python code)
* For splitting of long list values use four-space indentation on successive lines and prefer the closing quote as the first character ([OE-Styleguide](https://www.openembedded.org/wiki/Styleguide) - second example)
* Pull-requests with patches fixing issues for musl, clang or gold-linker are accepted only if patches have upstream-status "Applied" or "Backport" and contain a link to the upstream patch.
* Be aware that **this layer changes other layer's defaults by bbappends**. Maintainer disagrees with common 'configure to death practice' and won't waste time explaining dozens of knobs that are mandatory to get working/useful builds. See
[extends-meta-oe](extends-meta-oe) / [extends-meta-qt5](extends-meta-qt5) / [extends-oe-core](extends-oe-core).
Pull requests removing appends for sake of magic 'compliant' scripts are not accepted.
Maintainers
-----------
Layer maintainer: Andreas Müller <schnitzeltony@gmail.com>

View File

@@ -0,0 +1,14 @@
CMAKE_ALIGN_FILES_FIND ??= "*Targets.cmake"
do_configure_append() {
# remove absolute paths from exported cmake files
for f in `find ${B} -name '${CMAKE_ALIGN_FILES_FIND}'` ${CMAKE_ADD_ALIGN_FILES} ; do
sed -i 's:${STAGING_INCDIR_NATIVE}:${includedir}:g' "$f"
sed -i 's:${STAGING_INCDIR}:${includedir}:g' "$f"
sed -i 's:${STAGING_LIBDIR_NATIVE}:${libdir}:g' "$f"
sed -i 's:${STAGING_LIBDIR}:${libdir}:g' "$f"
sed -i 's:${STAGING_BASELIBDIR_NATIVE}:${base_libdir}:g' "$f"
sed -i 's:${STAGING_BASELIBDIR}:${base_libdir}:g' "$f"
done
}

View File

@@ -1,15 +1,15 @@
inherit cmake_sysroot
# do_install:append:class-cross does not work so hack
do_install:prepend:class-native() {
# do_install_append_class-cross does not work so hack
do_install_prepend_class-native() {
no_staging_check=true
}
do_install:prepend:class-nativesdk() {
do_install_prepend_class-nativesdk() {
no_staging_check=true
}
do_install:append() {
do_install_append() {
# avoid strange prefixing seen often
old_dir=`pwd`
cd ${D}
@@ -22,7 +22,7 @@ do_install:append() {
# TBD: -> oe-core (1st part - genarated sources - should work with autotools too)
if [ x = x$no_staging_check ] ; then
error=
# check for generated sources
# check for genarated sources
for f in `find ${B} -name '*.h' -o -name '*.cpp'` ; do
if grep -q 'recipe-sysroot' $f ; then
bbwarn "$f contains links to build sysroot!"
@@ -40,7 +40,7 @@ do_install:append() {
done
if [ x != x$error ] ; then
bbfatal "One or more files contain links to build host sysroot ${STAGING_DIR_HOST}(-native)"
bbfatal "One or more files contain links to build host sysroot ${STAGING_DIR}"
fi
fi
}

View File

@@ -42,16 +42,16 @@
#
# Native overriding:
#
# CMAKE_ALIGN_SYSROOT:class-native[<unique-id>] = "<dir>, <search>, <replace>"
# CMAKE_ALIGN_SYSROOT_class-native[<unique-id>] = "<dir>, <search>, <replace>"
#
# Native extended recipe -> no native alignement:
#
# CMAKE_ALIGN_SYSROOT:class-native[<unique-id>] = "ignore"
# CMAKE_ALIGN_SYSROOT_class-native[<unique-id>] = "ignore"
# CMAKE_ALIGN_SYSROOT[<unique-id>] = "<dir>, <search>, <replace>"
#
# Native extended recipe -> no cross alignement:
#
# CMAKE_ALIGN_SYSROOT:class-native[<unique-id>] = "<dir>, <search>, <replace>"
# CMAKE_ALIGN_SYSROOT_class-native[<unique-id>] = "<dir>, <search>, <replace>"
# CMAKE_ALIGN_SYSROOT[<unique-id>] = "ignore"
#
@@ -63,7 +63,7 @@ SSTATE_SYSROOT = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}"
def get_align_flags(d):
ret = {}
if bb.data.inherits_class('native', d):
ret = d.getVarFlags("CMAKE_ALIGN_SYSROOT:class-native") or {}
ret = d.getVarFlags("CMAKE_ALIGN_SYSROOT_class-native") or {}
if ret == {}:
ret = d.getVarFlags("CMAKE_ALIGN_SYSROOT") or {}
return ret
@@ -81,7 +81,7 @@ python () {
if get_flags_ignore(cmakehideflags):
return
pn = d.getVar('PN')
pn = d.getVar('PN', True)
if cmakehideflags:
for flag, flagval in sorted(cmakehideflags.items()):
items = flagval.split(",")
@@ -95,8 +95,8 @@ python () {
# 2. 3. in cmake_sysroot
# 4. Handle CMAKE_ALIGN_SYSROOT
python do_populate_sysroot:append() {
pn = d.getVar('PN')
python do_populate_sysroot_append() {
pn = d.getVar('PN', True)
# parse single parameter in CMAKE_ALIGN_SYSROOT[..] and return array of line strings extracted
def parseparam(param, flag):
@@ -107,7 +107,7 @@ python do_populate_sysroot:append() {
# handle file in WORKDIR
if cmd == '-f' or cmd == '-F':
filename = "%s/%s" % (d.getVar('WORKDIR'), cmdparam)
filename = "%s/%s" % (d.getVar('WORKDIR', True), cmdparam)
if os.path.isfile(filename):
fd = open(filename, 'r')
str = fd.read()
@@ -144,7 +144,7 @@ python do_populate_sysroot:append() {
return
# check if cmake files were installed to sysroot
tmpfile = d.getVar('CMAKEINSTALLED')
tmpfile = d.getVar('CMAKEINSTALLED', True)
if (not os.path.isfile(tmpfile)) or os.path.getsize(tmpfile) == 0:
bb.warn("There were no cmake files installed by %s" % pn)
else:
@@ -157,7 +157,7 @@ python do_populate_sysroot:append() {
if len(cmakedir) == 0:
bb.fatal('Directory in CMAKE_ALIGN_SYSROOT[%s] must not be empty in %s' % (flag, pn))
# check if this directory is created by us
pipe = os.popen('grep %s %s' % (cmakedir, d.getVar('CMAKEINSTALLED')))
pipe = os.popen('grep %s %s' % (cmakedir, d.getVar('CMAKEINSTALLED', True)))
matching_files = pipe.readlines()
pipe.close()
if len(matching_files) == 0:
@@ -201,10 +201,10 @@ python do_populate_sysroot:append() {
bb.warn("No cmake replacements performed in %s for CMAKE_ALIGN_SYSROOT[%s]" % (pn, flag))
}
do_populate_sysroot[vardeps] += "CMAKE_ALIGN_SYSROOT CMAKE_ALIGN_SYSROOT:class-native"
do_populate_sysroot[vardeps] += "CMAKE_ALIGN_SYSROOT CMAKE_ALIGN_SYSROOT_class-native"
# change of CMAKE_ALIGN_SYSROOT causes configure rerun which currently seems
# the only way to force a rebuild at change of CMAKE_ALIGN_SYSROOT for recipes
# depending on this recipe
sysroot_cleansstate[vardeps] += "CMAKE_ALIGN_SYSROOT CMAKE_ALIGN_SYSROOT:class-native"
sysroot_cleansstate[vardeps] += "CMAKE_ALIGN_SYSROOT CMAKE_ALIGN_SYSROOT_class-native"

View File

@@ -4,14 +4,14 @@
CMAKEINSTALLED = "${WORKDIR}/staged_cmake_files"
# 1. remove tmp file from last build
python do_populate_sysroot:prepend() {
tmpfile = d.getVar('CMAKEINSTALLED')
python do_populate_sysroot_prepend() {
tmpfile = d.getVar('CMAKEINSTALLED', True)
if os.path.isfile(tmpfile):
os.remove(tmpfile)
}
# 2. keep cmake files staged to sysroot
sysroot_stage_dir:append() {
sysroot_stage_dir_append() {
# avoid doubles causing double replacement
for file in `find $dest -name '*.cmake'`; do
if ! grep -q "$file" ${CMAKEINSTALLED} ; then

View File

@@ -1,7 +1,7 @@
inherit kde-base
KDE_APP_VERSION = "22.08.3"
KDE_APP_VERSION = "18.12.3"
SRC_URI = "${KDE_MIRROR}/stable/release-service/${PV}/src/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/applications/${PV}/src/${BPN}-${PV}.tar.xz"
RRECOMMENDS:${PN} += "qtbase-plugins"
RRECOMMENDS_${PN} += "qtbase-plugins"

View File

@@ -1,27 +1,29 @@
DEPENDS:prepend:class-nativesdk = "nativesdk-qtbase "
DEPENDS:prepend:class-target = "qtbase "
# Do not pin hard for extra-cmake-modules itself
DEPENDS += "extra-cmake-modules-native "
DEPENDS += "qtbase extra-cmake-modules-native"
KDE_MIRROR = "http://download.kde.org"
MIRRORS += "\
${KDE_MIRROR} http://ftp-stud.fht-esslingen.de/Mirrors/ftp.kde.org/pub/kde \n \
${KDE_MIRROR} http://mirrors.mit.edu/kde \n \
${KDE_MIRROR} http://mirror.cc.columbia.edu/pub/software/kde \n \
${KDE_MIRROR} http://ftp.is.co.za/mirror/ftp.kde.org \n \
${KDE_MIRROR} http://mirror.squ.edu.om/kde \n \
${KDE_MIRROR} http://ftp.fi.muni.cz/pub/kde \n \
${KDE_MIRROR} http://mirrors.fe.up.pt/pub/kde \n \
${KDE_MIRROR} http://mirror.its.dal.ca/kde \n \
${KDE_MIRROR} http://kde.c3sl.ufpr.br \n \
"
SRC_URI = "${KDE_MIRROR}/stable/${BPN}/${PV}/src/${BPN}-${PV}.tar.xz"
# extra-cmake-modules cause dependent to check for python
inherit cmake_qt5_extra pkgconfig python3native
inherit cmake_qt5_extra pythonnative
DEPENDS += "libxml2-native"
do_compile:prepend() {
do_compile_prepend() {
export XDG_DATA_HOME=${STAGING_DATADIR}
}
FILES:${PN} += " \
${datadir}/kf5 \
${datadir}/qlogging-categories5 \
${libdir}/plugins/kf5 \
${libexecdir}/kf5 \
"
FILES_${PN} += "${libdir}/plugins/kf5 ${datadir}/kf5 ${libexecdir}/kf5"
EXTRA_OECMAKE += " \
-DECM_MKSPECS_INSTALL_DIR=${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs/modules \
@@ -33,9 +35,9 @@ EXTRA_OECMAKE += " \
-DKDE_PATH_EXTERNAL_HOST_BINS=${STAGING_BINDIR_NATIVE} \
"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/appdata \
${datadir}/metainfo \
"
FILES:${PN}-dev += "${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs"
FILES_${PN}-dev += "${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs"

View File

@@ -1,3 +1,3 @@
inherit kde-kf5
SRC_URI = "${KDE_MIRROR}/stable/frameworks/${KF5_VERSION_DIR}/portingAids/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/frameworks/5.56/portingAids/${BPN}-${PV}.tar.xz"

View File

@@ -1,10 +1,5 @@
inherit kde-base
KF5_VERSION = "5.101.0"
KF5_VERSION = "5.56.0"
def kde_verdir(v):
return oe.utils.trim_version(v, 2)
KF5_VERSION_DIR = "${@kde_verdir("${KF5_VERSION}")}"
SRC_URI = "${KDE_MIRROR}/stable/frameworks/${KF5_VERSION_DIR}/${BPN}-${PV}.tar.xz"
SRC_URI = "${KDE_MIRROR}/stable/frameworks/5.56/${BPN}-${PV}.tar.xz"

View File

@@ -1,6 +1,7 @@
inherit kde-base
PLASMA_VERSION = "5.26.2"
PLASMA_VERSION = "5.15.3"
PLASMA_FIXUP_VERSION = "5.15.3.2"
SRC_URI = "${KDE_MIRROR}/stable/plasma/${PLASMA_VERSION}/${BPN}-${PV}.tar.xz"

View File

@@ -1,6 +1,6 @@
LIRI_GIT_BRANCH ?= "develop"
SRC_URI = "git://github.com/lirios/${@'${BPN}'.replace('liri-', '')}.git;branch=${LIRI_GIT_BRANCH};protocol=https"
SRC_URI = "git://github.com/lirios/${@'${BPN}'.replace('liri-', '')}.git;protocol=git;branch=${LIRI_GIT_BRANCH}"
DEPENDS += " \
qtwayland-native \
@@ -11,10 +11,9 @@ DEPENDS += " \
qttools \
qtdeclarative \
qtwayland \
qtquickcontrols2 \
"
inherit cmake_qt5_extra pkgconfig
inherit cmake_qt5_extra pkgconfig qt5-translation
EXTRA_OECMAKE += " \
-DINSTALL_LIBDIR:PATH=${baselib} \

View File

@@ -0,0 +1,53 @@
# Helper class to handle ontarget-postinst creation of lv2 turtle files
# File created during compile usually. To create this file makefiles have to be
# aligned - see do_configure_prepend at zynaddsubfx or distrho-ports. The file
# is expected with the following format
# lv2-ttl-generator <path>/plugin.so
LV2-TURTLE-BUILD-DATA = "${WORKDIR}/lv2-ttl-generator-data"
# E.g zynaddsubfx needs to create dummy lv2 turtle files to keep install sane.
# To delete them automatically (see below) the contain a dummy string:
LV2-DUMMY-TURTLE-STR = "lv2-dummy-turtle-string"
# To make ontarget postinst/prerm happen, the names of all plugins with their
# paths as installed on target a stored in a file called lv2-postinst-manifest
LV2-POSTINST-MANIFEST = "${datadir}/${BPN}/lv2-postinst-manifest"
do_install_append() {
# remove dummy lv2-turtles again
cd ${D}/${libdir}/lv2
for tfile in `grep -rl ${LV2-DUMMY-TURTLE-STR}`; do
rm $tfile
done
# create postinst manifest
install -d ${D}`dirname ${LV2-POSTINST-MANIFEST}`
for sofile in `cat ${LV2-TURTLE-BUILD-DATA} | awk '{ print $2 }'`; do
sofile=`basename $sofile`
installed=`find ${D}${libdir}/lv2 -name $sofile | sed 's|${D}||g'`
echo $installed >> ${D}${LV2-POSTINST-MANIFEST}
done
}
pkg_postinst_ontarget_${PN}-lv2() {
oldpath=`pwd`
for sofile in `cat ${LV2-POSTINST-MANIFEST}`; do
cd `dirname "$sofile"`
lv2-ttl-generator "$sofile"
done
cd $oldpath
}
pkg_prerm_${PN}-lv2() {
for sofile in `cat ${LV2-POSTINST-MANIFEST}`; do
path=`dirname "$sofile"`
for turtle in `find $path -name '*.ttl'`; do
rm $turtle
done
done
}
FILES_${PN}-lv2 += "${LV2-POSTINST-MANIFEST}"
RDEPENDS_${PN}-lv2 += "lv2-ttl-generator"

View File

@@ -1,8 +1,8 @@
inherit cmake_qt5_extra pkgconfig
inherit cmake_qt5_extra qt5-translation
HOMEPAGE = "http://lxqt.org/"
DEPENDS += "lxqt-build-tools qtbase qttools-native"
SRC_URI = "git://github.com/lxqt/${BPN}.git;protocol=https;branch=master"
SRC_URI = "git://github.com/lxqt/${BPN}.git;protocol=git;branch=master"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,8 @@
# Auto package audio plugins
PACKAGES =+ "${PN}-dssi ${PN}-ladspa ${PN}-lv2 ${PN}-vst"
FILES_${PN}-dssi += "${libdir}/dssi"
FILES_${PN}-ladspa += "${libdir}/ladspa"
FILES_${PN}-lv2 += "${libdir}/lv2"
FILES_${PN}-vst += "${libdir}/vst"

22
classes/qemu-ext.bbclass Normal file
View File

@@ -0,0 +1,22 @@
inherit qemu
DEPENDS += "qemu-native"
# This is an extended/modified qemu.bbclass tailored four our needs:
#
# * add qemu-native to DEPENDS: we can do that because there is no
# introspection/interception delayed qemu usage here
# * The executable binary is set by absolute path: oe-core's qemu.bbclass
# expects it in sysroot. Here we usually run binaries in builddir which are
# not yet installed.
# * A recipe can set an extra library path in 'QEMU_EXTRA_LIBDIR'. This path is
# an absolute path.
def qemu_run_binary_local(data, rootfs_path, binary):
libdir = rootfs_path + data.getVar("libdir", False)
base_libdir = rootfs_path + data.getVar("base_libdir", False)
extra_libdir = data.getVar("QEMU_EXTRA_LIBDIR", False)
if extra_libdir:
return qemu_wrapper_cmdline(data, rootfs_path, [libdir, base_libdir, extra_libdir]) + binary
else:
return qemu_wrapper_cmdline(data, rootfs_path, [libdir, base_libdir]) + binary

View File

@@ -5,32 +5,34 @@ DEPENDS += "qttools-native"
# default location
QT_TRANSLATION_FILES ??= "${datadir}/*/translations/*.qm ${datadir}/*/translations/*/*.qm ${datadir}/*/translations/*/*/*.qm"
FILES:${PN}-locale = "${datadir}/*/translations"
FILES_${PN}-locale = "${datadir}/*/translations"
# remove ${datadir}/${BPN} set by bitbake.conf
FILES_${PN}_remove = "${datadir}/${BPN}"
python qt_do_split_locales() {
import glob
import collections
if (d.getVar('PACKAGE_NO_LOCALE') == '1'):
if (d.getVar('PACKAGE_NO_LOCALE', True) == '1'):
bb.debug(1, "package requested not splitting locales")
return
packages = collections.deque((d.getVar('PACKAGES') or "").split())
packages = (d.getVar('PACKAGES', True) or "").split()
datadir = d.getVar('datadir')
datadir = d.getVar('datadir', True)
if not datadir:
bb.note("datadir not defined")
return
dvar = d.getVar('PKGD')
pn = d.getVar('LOCALEBASEPN')
dvar = d.getVar('PKGD', True)
pn = d.getVar('LOCALEBASEPN', True)
if pn + '-locale' in packages:
packages.remove(pn + '-locale')
# extract locales from *.qm files into list in locales
locales = []
for transvar in d.getVar('QT_TRANSLATION_FILES').split():
for transvar in d.getVar('QT_TRANSLATION_FILES', True).split():
translocation = '%s%s' % (dvar, transvar)
transfiles = glob.glob(translocation)
for l in sorted(transfiles):
@@ -39,30 +41,30 @@ python qt_do_split_locales() {
locales.append(locale)
if not locales:
bb.warn("No locale files for recipe %s. Remove qt5-translation from inherit?" % d.getVar('PN'))
bb.debug(1, "No locale files in this package")
return
summary = d.getVar('SUMMARY') or pn
description = d.getVar('DESCRIPTION') or ""
locale_section = d.getVar('LOCALE_SECTION')
mlprefix = d.getVar('MLPREFIX') or ""
summary = d.getVar('SUMMARY', True) or pn
description = d.getVar('DESCRIPTION', True) or ""
locale_section = d.getVar('LOCALE_SECTION', True)
mlprefix = d.getVar('MLPREFIX', True) or ""
for l in sorted(locales):
ln = legitimize_package_name(l)
pkg = pn + '-locale-' + ln
packages.appendleft(pkg)
packages.append(pkg)
files = ''
for transvar in d.getVar('QT_TRANSLATION_FILES').split():
for transvar in d.getVar('QT_TRANSLATION_FILES', True).split():
files = '%s %s' % (files, transvar.replace('*.qm', '*_%s.qm' % l))
d.setVar('FILES:' + pkg, files )
d.setVar('RRECOMMENDS:' + pkg, '%svirtual-locale-%s' % (mlprefix, ln))
d.setVar('RPROVIDES:' + pkg, '%s-locale %s%s-translation' % (pn, mlprefix, ln))
d.setVar('SUMMARY:' + pkg, '%s - %s translations' % (summary, l))
d.setVar('DESCRIPTION:' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l))
d.setVar('FILES_' + pkg, files )
d.setVar('RRECOMMENDS_' + pkg, '%svirtual-locale-%s' % (mlprefix, ln))
d.setVar('RPROVIDES_' + pkg, '%s-locale %s%s-translation' % (pn, mlprefix, ln))
d.setVar('SUMMARY_' + pkg, '%s - %s translations' % (summary, l))
d.setVar('DESCRIPTION_' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l))
if locale_section:
d.setVar('SECTION:' + pkg, locale_section)
d.setVar('SECTION_' + pkg, locale_section)
d.setVar('PACKAGES', ' '.join(list(packages)))
d.setVar('PACKAGES', ' '.join(packages))
}
PACKAGESPLITFUNCS:prepend = "qt_do_split_locales "
PACKAGESPLITFUNCS_prepend = "qt_do_split_locales "

37
classes/wafold.bbclass Normal file
View File

@@ -0,0 +1,37 @@
# avoids build breaks when using no-static-libs.inc
DISABLE_STATIC = ""
EXTRA_OECONF_append = " ${PACKAGECONFIG_CONFARGS}"
python waf_preconfigure() {
import subprocess
from distutils.version import StrictVersion
subsrcdir = d.getVar('S')
wafbin = os.path.join(subsrcdir, 'waf')
try:
result = subprocess.check_output([wafbin, '--version'], cwd=subsrcdir, stderr=subprocess.STDOUT)
version = result.decode('utf-8').split()[1]
if StrictVersion(version) >= StrictVersion("1.8.7"):
d.setVar("WAF_EXTRA_CONF", "--bindir=${bindir} --libdir=${libdir}")
except subprocess.CalledProcessError as e:
bb.warn("Unable to execute waf --version, exit code %d. Assuming waf version without bindir/libdir support." % e.returncode)
except FileNotFoundError:
bb.fatal("waf does not exist in %s" % subsrcdir)
}
do_configure[prefuncs] += "waf_preconfigure"
wafold_do_configure() {
${S}/waf configure --prefix=${prefix} ${WAF_EXTRA_CONF} ${EXTRA_OECONF}
}
do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+"
wafold_do_compile() {
${S}/waf build ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)}
}
wafold_do_install() {
${S}/waf install --destdir=${D}
}
EXPORT_FUNCTIONS do_configure do_compile do_install

View File

@@ -2,28 +2,16 @@
BBPATH .= ":${LAYERDIR}"
# recipes
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*/*.bb ${LAYERDIR}/recipes-*/*/*/*/*.bb"
BBFILES += "${LAYERDIR}/recipes-*/*.bb ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*/*.bb ${LAYERDIR}/recipes-*/*/*/*/*.bb"
# appends
BBFILES += "${LAYERDIR}/extends-*/*.bb ${LAYERDIR}/extends-*/*.bbappend"
BBFILES_DYNAMIC += " \
clang-layer:${LAYERDIR}/extends-meta-clang/*/*.bb \
"
BBFILE_COLLECTIONS += "meta-qt5-extra"
BBFILE_PATTERN_meta-qt5-extra := "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-qt5-extra = "20"
LAYERDEPENDS_meta-qt5-extra = " \
core \
qt5-layer \
openembedded-layer \
networking-layer \
multimedia-layer \
gnome-layer \
meta-python \
"
LAYERSERIES_COMPAT_meta-qt5-extra = "honister kirkstone langdale nanbield scarthgap styhead walnascar"
LAYERDEPENDS_meta-qt5-extra = "core qt5-layer openembedded-layer networking-layer multimedia-layer"
LAYERSERIES_COMPAT_meta-qt5-extra = "sumo thud"
LICENSE_PATH += "${LAYERDIR}/files/licenses"

View File

@@ -1,24 +0,0 @@
SUMMARY = "Qt oriented code checker based on clang framework"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING-LGPL2.txt;md5=d31701979430eba03ad0eac6e517dec3"
DEPENDS = "clang"
inherit kde-base
PV = "1.11"
SRC_URI += " \
file://0001-clazy-no-rpath.patch \
file://0002-Build-fixes-for-LLVM_Clang_15.0.0.patch \
"
SRC_URI[sha256sum] = "66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a"
EXTRA_OECMAKE += " \
-DREGEX_RUN_RESULT=0 \
-DFILESYSTEM_RUN_RESULT=0 \
-DFILESYSTEM_RUN_RESULT__TRYRUN_OUTPUT=0 \
"
FILES:${PN} += "${libdir}/ClazyPlugin.so"
BBCLASSEXTEND += "native nativesdk"

View File

@@ -1,33 +0,0 @@
From ab4ef9168d79e5196f4b010bbab9368716509354 Mon Sep 17 00:00:00 2001
From: "FeRD (Frank Dana)" <ferdnyc@gmail.com>
Date: Sat, 1 May 2021 20:31:45 -0400
Subject: [PATCH] clazy no rpath
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 46173fa..c893590 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -237,6 +237,7 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
endif()
# rpath
+if(FALSE) # Disable rpath
set(CMAKE_SKIP_BUILD_RPATH FALSE)
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
@@ -245,6 +246,7 @@ if (NOT CLAZY_BUILD_WITH_CLANG)
if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
endif("${isSystemDir}" STREQUAL "-1")
+endif()
# Build clazy-standalone
add_executable(clazy-standalone ${CLAZY_STANDALONE_SRCS})
--
2.30.2

View File

@@ -1,220 +0,0 @@
From 20fca52da739ebefa47e35f6b338bb99a0da3cfe Mon Sep 17 00:00:00 2001
From: Cristian Adam <cristian.adam@qt.io>
Date: Tue, 6 Sep 2022 16:30:02 +0200
Subject: [PATCH] Build fixes for LLVM/Clang 15.0.0
Change-Id: Icc39a0b1acffb5a6a4798b1259d8ad4e7dd47bc5
---
CMakeLists.txt | 6 ++++++
src/PreProcessorVisitor.cpp | 2 +-
src/PreProcessorVisitor.h | 2 +-
src/SourceCompatibilityHelpers.h | 15 +++++++++++++++
src/Utils.cpp | 3 ++-
src/checkbase.cpp | 4 ++--
src/checkbase.h | 4 ++--
src/checks/manuallevel/qt6-fwd-fixes.cpp | 2 +-
src/checks/manuallevel/qt6-fwd-fixes.h | 2 +-
src/checks/manuallevel/qt6-header-fixes.cpp | 2 +-
src/checks/manuallevel/qt6-header-fixes.h | 2 +-
11 files changed, 33 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3c780b0d..100135af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,6 +114,10 @@ else()
set(clang_tooling_refactoring_lib clangToolingRefactor)
endif()
+if (${LLVM_VERSION} VERSION_GREATER_EQUAL "15.0.0")
+ set(clang_support_lib clangSupport)
+endif()
+
macro(link_to_llvm name is_standalone)
if (CLAZY_LINK_CLANG_DYLIB)
target_link_libraries(${name} clang-cpp)
@@ -131,6 +135,7 @@ macro(link_to_llvm name is_standalone)
target_link_libraries(${name} ${clang_lib})
endforeach()
+ target_link_libraries(${name} ${clang_support_lib})
target_link_libraries(${name} clangTooling)
target_link_libraries(${name} clangToolingCore)
target_link_libraries(${name} ${clang_tooling_refactoring_lib})
@@ -302,6 +307,7 @@ else()
clangFrontendTool
clangRewrite
clangSerialization
+ ${clang_support_lib}
clangTooling
clangStaticAnalyzerCheckers
clangStaticAnalyzerCore
diff --git a/src/PreProcessorVisitor.cpp b/src/PreProcessorVisitor.cpp
index 5e63a131..5fdfe5f3 100644
--- a/src/PreProcessorVisitor.cpp
+++ b/src/PreProcessorVisitor.cpp
@@ -185,7 +185,7 @@ void PreProcessorVisitor::MacroExpands(const Token &MacroNameTok, const MacroDef
void PreProcessorVisitor::InclusionDirective (clang::SourceLocation, const clang::Token &,
clang::StringRef FileName, bool IsAngled, clang::CharSourceRange FilenameRange,
- const clang::FileEntry *, clang::StringRef, clang::StringRef,
+ clazy::OptionalFileEntryRef, clang::StringRef, clang::StringRef,
const clang::Module *, clang::SrcMgr::CharacteristicKind)
{
if (m_ci.getPreprocessor().isInPrimaryFile() && !clazy::endsWith(FileName.str(), ".moc")) {
diff --git a/src/PreProcessorVisitor.h b/src/PreProcessorVisitor.h
index dc80ff36..1bb17a5e 100644
--- a/src/PreProcessorVisitor.h
+++ b/src/PreProcessorVisitor.h
@@ -71,7 +71,7 @@ class PreProcessorVisitor
clang::SourceRange range, const clang::MacroArgs *) override;
void InclusionDirective (clang::SourceLocation HashLoc, const clang::Token &IncludeTok,
clang::StringRef FileName, bool IsAngled, clang::CharSourceRange FilenameRange,
- const clang::FileEntry *File, clang::StringRef SearchPath, clang::StringRef RelativePath,
+ clazy::OptionalFileEntryRef File, clang::StringRef SearchPath, clang::StringRef RelativePath,
const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType) override;
private:
std::string getTokenSpelling(const clang::MacroDefinition &) const;
diff --git a/src/SourceCompatibilityHelpers.h b/src/SourceCompatibilityHelpers.h
index 4ea923a2..c1a23a4b 100644
--- a/src/SourceCompatibilityHelpers.h
+++ b/src/SourceCompatibilityHelpers.h
@@ -144,6 +144,21 @@ inline bool contains_lower(clang::StringRef haystack, clang::StringRef needle)
#endif
}
+#if LLVM_VERSION_MAJOR >= 15
+using OptionalFileEntryRef = clang::Optional<clang::FileEntryRef>;
+#else
+using OptionalFileEntryRef = const clang::FileEntry*;
+#endif
+
+inline bool isAscii(clang::StringLiteral *lt)
+{
+#if LLVM_VERSION_MAJOR >= 15
+ return lt->isOrdinary();
+#else
+ return lt->isAscii();
+#endif
+}
+
}
#endif
diff --git a/src/Utils.cpp b/src/Utils.cpp
index 3cdf7876..70e0577c 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -25,6 +25,7 @@
#include "Utils.h"
#include "StringUtils.h"
#include "HierarchyUtils.h"
+#include "SourceCompatibilityHelpers.h"
#include "StmtBodyRange.h"
#include "clazy_stl.h"
@@ -670,7 +671,7 @@ const CXXRecordDecl *Utils::recordForMemberCall(CXXMemberCallExpr *call, string
bool Utils::isAscii(StringLiteral *lt)
{
// 'é' for some reason has isAscii() == true, so also call containsNonAsciiOrNull
- return lt && lt->isAscii() && !lt->containsNonAsciiOrNull();
+ return lt && clazy::isAscii(lt) && !lt->containsNonAsciiOrNull();
}
bool Utils::isInDerefExpression(Stmt *s, ParentMap *map)
diff --git a/src/checkbase.cpp b/src/checkbase.cpp
index f5936dfd..dcc7c999 100644
--- a/src/checkbase.cpp
+++ b/src/checkbase.cpp
@@ -105,7 +105,7 @@ void ClazyPreprocessorCallbacks::MacroDefined(const Token &macroNameTok, const M
}
void ClazyPreprocessorCallbacks::InclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType)
{
check->VisitInclusionDirective(HashLoc, IncludeTok, FileName, IsAngled, FilenameRange, File, SearchPath, RelativePath, Imported, FileType);
@@ -182,7 +182,7 @@ void CheckBase::VisitEndif(SourceLocation, SourceLocation)
}
void CheckBase::VisitInclusionDirective(clang::SourceLocation , const clang::Token &, clang::StringRef , bool ,
- clang::CharSourceRange , const clang::FileEntry *, clang::StringRef ,
+ clang::CharSourceRange , clazy::OptionalFileEntryRef, clang::StringRef ,
clang::StringRef , const clang::Module *, clang::SrcMgr::CharacteristicKind )
{
// Overriden in derived classes
diff --git a/src/checkbase.h b/src/checkbase.h
index c5db2daf..02f6a6bf 100644
--- a/src/checkbase.h
+++ b/src/checkbase.h
@@ -91,7 +91,7 @@ class ClazyPreprocessorCallbacks
void Else(clang::SourceLocation loc, clang::SourceLocation ifLoc) override;
void Endif(clang::SourceLocation loc, clang::SourceLocation ifLoc) override;
void InclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType) override;
private:
CheckBase *const check;
@@ -151,7 +151,7 @@ class CheckBase
virtual void VisitElse(clang::SourceLocation loc, clang::SourceLocation ifLoc);
virtual void VisitEndif(clang::SourceLocation loc, clang::SourceLocation ifLoc);
virtual void VisitInclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType);
void enablePreProcessorCallbacks();
diff --git a/src/checks/manuallevel/qt6-fwd-fixes.cpp b/src/checks/manuallevel/qt6-fwd-fixes.cpp
index 83bf81ee..c87d9ca0 100644
--- a/src/checks/manuallevel/qt6-fwd-fixes.cpp
+++ b/src/checks/manuallevel/qt6-fwd-fixes.cpp
@@ -166,7 +166,7 @@ void Qt6FwdFixes::VisitDecl(clang::Decl *decl)
}
void Qt6FwdFixes::VisitInclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType)
{
auto current_file = m_sm.getFilename(HashLoc);
diff --git a/src/checks/manuallevel/qt6-fwd-fixes.h b/src/checks/manuallevel/qt6-fwd-fixes.h
index 37b59d95..bb928ba6 100644
--- a/src/checks/manuallevel/qt6-fwd-fixes.h
+++ b/src/checks/manuallevel/qt6-fwd-fixes.h
@@ -47,7 +47,7 @@ class Qt6FwdFixes
explicit Qt6FwdFixes(const std::string &name, ClazyContext *context);
void VisitDecl(clang::Decl *decl) override;
void VisitInclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType) override;
bool m_including_qcontainerfwd = false;
std::set<clang::StringRef> m_qcontainerfwd_included_in_files;
diff --git a/src/checks/manuallevel/qt6-header-fixes.cpp b/src/checks/manuallevel/qt6-header-fixes.cpp
index d458b77c..aaa28093 100644
--- a/src/checks/manuallevel/qt6-header-fixes.cpp
+++ b/src/checks/manuallevel/qt6-header-fixes.cpp
@@ -270,7 +270,7 @@ Qt6HeaderFixes::Qt6HeaderFixes(const std::string &name, ClazyContext *context)
}
void Qt6HeaderFixes::VisitInclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType)
{
if (shouldIgnoreFile(HashLoc))
diff --git a/src/checks/manuallevel/qt6-header-fixes.h b/src/checks/manuallevel/qt6-header-fixes.h
index ae09f7ad..8ffbb100 100644
--- a/src/checks/manuallevel/qt6-header-fixes.h
+++ b/src/checks/manuallevel/qt6-header-fixes.h
@@ -46,7 +46,7 @@ class Qt6HeaderFixes
public:
explicit Qt6HeaderFixes(const std::string &name, ClazyContext *context);
void VisitInclusionDirective(clang::SourceLocation HashLoc, const clang::Token &IncludeTok, clang::StringRef FileName, bool IsAngled,
- clang::CharSourceRange FilenameRange, const clang::FileEntry *File, clang::StringRef SearchPath,
+ clang::CharSourceRange FilenameRange, clazy::OptionalFileEntryRef File, clang::StringRef SearchPath,
clang::StringRef RelativePath, const clang::Module *Imported, clang::SrcMgr::CharacteristicKind FileType) override;
};

View File

@@ -1,112 +0,0 @@
SUMMARY = "Cross-platform IDE for C, C++, Python, QML/JavaScript and PHP"
LICENSE = "BSD-2-Clause & BSD-3-Clause & GPL-2.0-only & GPL-2.0-or-later & GPL-3.0-only & GPL-3.0-or-later & LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-only & LGPL-2.1-or-later & LGPL-3.0-only & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-2-Clause.txt;md5=4e290b17e3e05732730de37b44abef90 \
file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0 \
file://LICENSES/GPL-2.0-only.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/GPL-2.0-or-later.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/GPL-3.0-only.txt;md5=49fc03046e56a282c0c743b5d3a55b7c \
file://LICENSES/GPL-3.0-or-later.txt;md5=49fc03046e56a282c0c743b5d3a55b7c \
file://LICENSES/LGPL-2.0-only.txt;md5=da48810c4ddf8e49efa031294a26b98c \
file://LICENSES/LGPL-2.0-or-later.txt;md5=da48810c4ddf8e49efa031294a26b98c \
file://LICENSES/LGPL-2.1-only.txt;md5=147a320ed8b16b036829a0c71d424153 \
file://LICENSES/LGPL-2.1-or-later.txt;md5=147a320ed8b16b036829a0c71d424153 \
file://LICENSES/LGPL-3.0-only.txt;md5=8d51f5b5fd447f7a1040c3dc9f0a8de6 \
file://LICENSES/MIT.txt;md5=4dd71a82d66fd9e3ca0cc65b8be370c0 \
"
inherit kde-apps gettext pkgconfig gtk-icon-cache mime mime-xdg bash-completion
DEPENDS += " \
kauth-native \
kconfig-native \
kcoreaddons-native \
kdevelop-pg-qt-native \
kdoctools-native \
ki18n-native \
kpackage-native \
kcmutils-native \
shared-mime-info-native \
\
qtbase \
qtdeclarative \
qtwebengine \
grantlee \
libkomparediff2 \
libksysguard \
karchive \
kcmutils \
kconfig \
kcrash \
kdeclarative \
kdevelop-pg-qt \
kguiaddons \
kiconthemes \
kitemmodels \
kitemviews \
kjobwidgets \
kio \
knewstuff \
knotifications \
knotifyconfig \
kparts \
krunner \
kservice \
ktexteditor \
kxmlgui \
kwindowsystem \
okteta \
purpose \
threadweaver \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "3c3baf212fd6ffd7ccb5b0796c2b43e252235c25275979c1570c44f80821f9d6"
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"
do_configure:append() {
# although the name is missleading I still love cmake_extra_sanity.bbclass...
sed -i \
-e 's:${STAGING_DIR_NATIVE}::g' \
-e 's:${STAGING_DIR_HOST}::g' \
${B}/plugins/clang/libclang_include_path.h
}
# Yeah nasty but...
FILES_SOLIBSDEV = "${libdir}/libKDevC*so ${libdir}/libKDevPlatform*so"
FILES:${PN} += " \
${datadir}/kdev* \
${datadir}/k*5 \
${datadir}/knsrcfiles \
${datadir}/knotifications5 \
${datadir}/mime \
${datadir}/plasma \
${libdir}/libKDevelopSessionsWatch.so \
${OE_QMAKE_PATH_PLUGINS} \
${OE_QMAKE_PATH_QML} \
"
RDEPENDS:${PN} += " \
bash \
zsh \
"
# To give best user experience out of the box..
RRECOMMENDS:${PN} += " \
packagegroup-qt5-toolchain-target \
binutils \
ccache \
make \
gcc-symlinks g++-symlinks cpp-symlinks \
gdb \
cmake \
ninja \
python3-core \
qtwebengine-dev \
qtwebengine-mkspecs \
qtwebengine-plugins \
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtwebengine-qmlplugins', '', d)} \
"

View File

@@ -1,9 +0,0 @@
BBCLASSEXTEND = "native"
DEPENDS:append:class-target = "${BPN}-native"
sysroot_stage_all:append:class-target () {
mkdir -p ${SYSROOT_DESTDIR}${bindir}
cp ${STAGING_BINDIR_NATIVE}/cmark ${SYSROOT_DESTDIR}${bindir}
}

View File

@@ -1 +0,0 @@
PACKAGECONFIG += "cxx"

View File

@@ -1,3 +0,0 @@
PACKAGECONFIG:append = " qt5"
inherit cmake_qt5

View File

@@ -1,5 +0,0 @@
inherit cmake_extra_sanity
# yeah I know yocto does not want us to change this
PACKAGECONFIG:append = " ${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"

View File

@@ -1,9 +1,9 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
# avoid that our sanity check complains about sysroot in created comments
SRC_URI += "file://0002-qdbusxml2cpp-prepare-commandline-string-manipulation.patch"
do_configure:append() {
do_configure_append() {
# strCmdLine.replace(QString("STRING_FULL_PATH"), QString("STRING_PATH"));
sed -i 's:STRING_FULL_PATH:${TMPDIR}:g' ${S}/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
sed -i 's:STRING_PATH:<oe-temp>:g' ${S}/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp

View File

@@ -8,32 +8,29 @@ Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Date: Sat, 18 Jan 2020 16:35:24 +0100
Adjusted to Qt 5.14
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
index ce4232f3e8..d9003f4508 100644
index 76401da..3a712d2 100644
--- a/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
+++ b/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp
@@ -161,9 +161,12 @@ static QString moc(const QString &name)
@@ -289,9 +289,12 @@ static QString moc(const QString &name)
static QTextStream &writeHeader(QTextStream &ts, bool changesWillBeLost)
{
+ QString strCmdLine = commandLine;
+ strCmdLine.replace(QStringLiteral("STRING_FULL_PATH"), QStringLiteral("STRING_PATH"));
+ strCmdLine.replace(QStringLiteral("recipe-sysroot"), QStringLiteral("recipe--sysroot"));
ts << "/*" << Qt::endl
<< " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << Qt::endl
- << " * Command line was: " << commandLine << Qt::endl
+ << " * Command line was: " << strCmdLine << Qt::endl
<< " *" << Qt::endl
<< " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << Qt::endl
<< " *" << Qt::endl
+ QString strCmdLine = commandLine;
+ strCmdLine.replace(QStringLiteral("STRING_FULL_PATH"), QStringLiteral("STRING_PATH"));
+ strCmdLine.replace(QStringLiteral("recipe-sysroot"), QStringLiteral("recipe--sysroot"));
ts << "/*" << endl
<< " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << endl
- << " * Command line was: " << commandLine << endl
+ << " * Command line was: " << strCmdLine << endl
<< " *" << endl
<< " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl
<< " *" << endl
--
2.21.0
2.1.0

View File

@@ -1,21 +1,10 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
PACKAGECONFIG_FONTS = "fontconfig"
# Full (desktop) GL is default in meta-qt5 and qtbase. Some of our recipes
# (AFAICR krita/mixxx) will fail with qt build for GLES.
# Will never understand why a BSP layer changes defaults to make people happy
# not using defaults. Yes it looks like an error but that should have been
# fixed at meta-qt5.
# see https://github.com/Freescale/meta-freescale/pull/379
PACKAGECONFIG_GL:use-mainline-bsp = "${QT5_EXTRA_QTBASE_IMX_MAINLINE_GL} gbm kms"
# If one does not need failing recipes mentioned above and wants gles:
# override QT5_EXTRA_QTBASE_IMX_MAINLINE_GL with 'gles2'
QT5_EXTRA_QTBASE_IMX_MAINLINE_GL ??= ""
PACKAGECONFIG_DISTRO:append = " \
sm \
# session management only for x11 environment
PACKAGECONFIG_DISTRO += " \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "sm", "", d)} \
accessibility \
sql-sqlite \
cups \

View File

@@ -1 +0,0 @@
BBCLASSEXTEND = "native"

View File

@@ -4,17 +4,14 @@ DEPENDS += "${BPN}-native"
# It's really time for us to publish cmake_lib.bbclass
SRC_URI:remove = " \
SRC_URI_remove = " \
file://0002-linguist-tools-cmake-allow-overriding-the-location-f.patch \
"
# native ignore
CMAKE_ALIGN_SYSROOT:class-native[1] = "ignore"
CMAKE_ALIGN_SYSROOT:class-nativesdk[1] = "ignore"
CMAKE_ALIGN_SYSROOT_class-native[1] = "ignore"
CMAKE_ALIGN_SYSROOT_class-nativesdk[1] = "ignore"
# cross -> native binaries
CMAKE_ALIGN_SYSROOT[1] = "Qt5Help, -S${bindir}${QT_DIR_NAME}, -s${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}"
CMAKE_ALIGN_SYSROOT[2] = "Qt5LinguistTools, -S${bindir}${QT_DIR_NAME}, -s${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}"
# yeah I know yocto does not want us to change this
PACKAGECONFIG:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'clang-layer', ' clang', '', d)}"

View File

@@ -1,16 +0,0 @@
# Since Qt5.15 qtwaylandscanner creates a comment as:
# // source file is /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/kwayland/5.70.0-r0/recipe-sysroot/usr/share/wayland-protocols/unstable/tablet/tablet-unstable-v2.xml
# which triggers our make_extra_sanity.bbclass.
# To be compatible with Qt5.14 (dunfell) and >= Qt5.15 (current master) we do
# some sed instead of patching.
do_patch:append:class-native() {
bb.build.exec_func('do_fix_qtwaylandscanner_cpp', d)
}
do_fix_qtwaylandscanner_cpp () {
if [ -f ${S}/src/qtwaylandscanner/qtwaylandscanner.cpp ]; then
sed -i 's:printf("// source file is://printf("// source file is:' ${S}/src/qtwaylandscanner/qtwaylandscanner.cpp
fi
}

View File

@@ -1,15 +0,0 @@
SUMMARY = "Qt/C++ wrapper for ZIP/UNZIP package"
HOMEPAGE = "https://github.com/stachenov/quazip"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=af67f05b2b6abf61e608dcfccb94b3e1"
DEPENDS = "qtbase zlib"
SRC_URI = "git://github.com/stachenov/quazip.git;branch=master;protocol=https"
SRCREV = "6117161af08e366c37499895b00ef62f93adc345"
PV = "1.3"
S = "${WORKDIR}/git"
inherit cmake_qt5
EXTRA_CMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"

View File

@@ -1,20 +0,0 @@
DEPENDS:append:class-target = " libidn"
EXTRA_OECONF:remove:class-target = "--without-libidn"
do_configure:append:class-target() {
# more (so) copy tools from the native ghostscript build
mkdir -p soobj/aux
for i in genarch genconf mkromfs echogs gendev genht packps; do
cp -f ${STAGING_BINDIR_NATIVE}/ghostscript-${PV}/$i soobj/aux/$i
done
}
do_compile:class-target() {
oe_runmake so
}
do_install:class-target() {
oe_runmake 'DESTDIR=${D}' soinstall
mv -f ${D}${bindir}/gsc ${D}${bindir}/gs
}

View File

@@ -1,6 +1,6 @@
inherit cmake_lib
CMAKE_ALIGN_SYSROOT:class-native[1] = "ignore"
CMAKE_ALIGN_SYSROOT_class-native[1] = "ignore"
CMAKE_ALIGN_SYSROOT[1] = "Gpgmepp, -S${includedir}, -s${CMAKE_QT5_EX_PATH_HOST_HEADERS}"
CMAKE_ALIGN_SYSROOT[2] = "Gpgmepp, -S${libdir}, -s${OE_QMAKE_PATH_HOST_LIBS}/"

View File

@@ -1 +0,0 @@
PACKAGECONFIG:append = " qt5"

View File

@@ -1,5 +0,0 @@
Bison Exception
As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception.
This special exception was added by the Free Software Foundation in version 2.2 of Bison.

396
files/licenses/CC-BY-SA-4.0 Normal file
View File

@@ -0,0 +1,396 @@
Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More_considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of
these terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the
Licensed Material available under these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public
licenses. Notwithstanding, Creative Commons may elect to apply one of
its public licenses to material it publishes and in those instances
will be considered the “Licensor.” The text of the Creative Commons
public licenses is dedicated to the public domain under the CC0 Public
Domain Dedication. Except for the limited purpose of indicating that
material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the
public licenses.
Creative Commons may be contacted at creativecommons.org.

View File

@@ -1,103 +0,0 @@
COMMERCIAL LICENSE AGREEMENT
FOR COMMERCIAL VERSIONS
Version 1.0
Copyright of this license text (C) 2001 Trolltech AS and (C) 2002-2016
Klarälvdalens Datakonsult AB. All rights reserved. License text used
with kind permission of Trolltech AS. The software and accompanying
material is Copyright (C) 2010-2019 Klarälvdalens Datakonsult AB.
This non-exclusive non-transferable License Agreement ("Agreement") is
between you ("Licensee") and Klarälvdalens Datakonsult AB (KDAB), and
pertains to the Klarälvdalens Datakonsult AB software product(s)
accompanying this Agreement, which include(s) computer software and
may include "online" or electronic documentation, associated media,
and printed materials, including the source code, example programs and
the documentation ("Software").
COPYRIGHT AND RESTRICTIONS
1. All intellectual property rights in the Software are owned by KDAB
and are protected by Swedish copyright laws, other applicable
copyright laws, and international treaty provisions. KDAB retains all
rights not expressly granted. No title, property rights or copyright
in the Software or in any modifications to the Software shall pass to
the Licensee under any circumstances. The Software is licensed, not
sold.
2. By installing, copying, or otherwise using the Software, you agree
to be bound by the terms of this agreement. If you do not agree to the
terms of this Agreement, do not install, copy, or otherwise use the
Software.
3. Upon your acceptance of the terms and conditions of this Agreement,
KDAB grants you the right to use the Software in the manner provided
below.
4. KDAB grants to you as an individual a personal, nonexclusive,
non-transferable license to make and use copies of the Software for
the sole purposes of designing, developing, testing and distributing
your software product(s) ("Applications"). You may install copies of
the Software on an unlimited number of computers provided that you are
the only individual using the Software. If you are an entity, KDAB
grants you the right to designate one, and only one, individual within
your organization who shall have the sole right to use the Software in
the manner provided above.
5. The license granted in this Agreement for you to create and
distribute your own Applications is subject to all of the following
conditions: (i) all copies of the Applications you create must bear a
valid copyright notice, either your own or the copyright notice that
appears on the Software; (ii) you may not remove or alter any
copyright, trademark or other proprietary rights notice contained in
any portion of the Software; (iii) you will indemnify and hold KDAB, its
related companies and its suppliers, harmless from and against any
claims or liabilities arising out of the use and/or reproduction of
your Applications; (iv) your Applications must be written using a
licensed, registered copy of the Software; (v) your Applications must
add primary and substantial functionality to the Software; (vi) your
Applications may not pass on functionality which in any way makes it
possible for others to create Applications with the Software; (vii)
your Applications may not compete with the Software; (viii) you may
not use KDAB's or any of its suppliers' names, logos, or trademarks to
market your programs, except to state that your program was written
using the Software.
6. LICENSEE'S BREACH OF CONTRACT
In addition to penalties, other sanctions and the like as stated in
the Swedish Copyright Act (1960:729), or successive legislation as it
may appear, the Licensee agrees to pay a Contractual Fine in case of
his/her/their breach of any of the above mentioned obligations,
including but not limited to, the Licensee's obligation to let only
one person per license use the Software as stated under above. The
Contractual Fine is EUR 5000 and is payable by the Licensee to the
Licenser immediately upon the Licenser having reasonably demonstrated
that the Licensee is in breach of his obligations in this Agreement.
7. WARRANTY DISCLAIMER
THE SOFTWARE IS LICENSED TO YOU "AS IS". TO THE MAXIMUM EXTENT
PERMITTED BY APPLICABLE LAW, KDAB ON BEHALF OF ITSELF AND ITS SUPPLIERS,
DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT WITH
REGARD TO THE SOFTWARE.
8. LIMITATION OF LIABILITY
IF, KDAB'S WARRANTY DISCLAIMER NOTWITHSTANDING, KDAB IS HELD LIABLE TO
YOU BASED ON THE SOFTWARE, KDAB'S ENTIRE LIABILITY TO YOU AND YOUR
EXCLUSIVE REMEDY SHALL BE, AT REPAIR OR REPLACEMENT OF THE SOFTWARE,
PROVIDED YOU RETURN TO KDAB ALL COPIES OF THE SOFTWARE AS ORIGINALLY
DELIVERED TO YOU. KDAB SHALL NOT UNDER ANY CIRCUMSTANCES BE LIABLE TO
YOU BASED ON FAILURE OF THE SOFTWARE IF THE FAILURE RESULTED FROM
ACCIDENT, ABUSE OR MISAPPLICATION, NOR SHALL KDAB UNDER ANY
CIRCUMSTANCES BE LIABLE FOR SPECIAL DAMAGES, PUNITIVE OR EXEMPLARY
DAMAGES, DAMAGES FOR LOSS OF PROFITS OR INTERRUPTION OF BUSINESS OR
FOR LOSS OR CORRUPTION OF DATA.
9. This Agreement may only be modified in writing signed by you and an
authorized officer of KDAB. All terms of any purchase order or other
ordering document shall be superseded by this Agreement.
10. This Agreement shall be construed, interpreted and governed by the
laws of Sweden, the venue to be Sunne Tingsratt.

View File

@@ -1,147 +0,0 @@
COMMERCIAL LICENSE AGREEMENT
FOR COMMERCIAL VERSIONS
December 20, 2016
IMPORTANT-READ CAREFULLY: This Klarälvdalens Datakonsult AB End-User
License Agreement ("EULA") is a legal agreement between you (either an
individual or a legal entity) and Klarälvdalens Datakonsult AB
("KDAB") for the Klarälvdalens Datakonsult AB software product(s)
accompanying this EULA, which include(s) computer software and may
include "online" or electronic documentation, associated media, and
printed materials ("Licensed Product").
The Licensed Product is protected by copyright laws and international
copyright treaties, as well as other intellectual property laws and
treaties. The Licensed Product is licensed, not sold.
By installing, copying, or otherwise using the Licensed Product, you
agree to be bound by the terms of this EULA. If you do not agree to
the terms of this EULA, do not install, copy, or otherwise use the
Licensed Product; you may, however, return it to your place of
purchase for a full refund. In addition, by installing, copying, or
otherwise using any updates or other components of the Licensed
Product that you receive separately as part of the Licensed Product
("Updates"), you agree to be bound by any additional license terms
that accompany such Updates. If you do not agree to the additional
license terms that accompany such Updates, you may not install, copy,
or otherwise use such Updates.
Upon your acceptance of the terms and conditions of this EULA, KDAB
grants you the right to use the Licensed Product in the manner
provided below.
KDAB grants to you as an individual a personal, nonexclusive,
nontransferable license to make and use copies of the Licensed Product
for the sole purposes of designing, developing, and testing your
software product(s) ("Applications"). You may install copies of the
Licensed Product on an unlimited number of computers provided that you
are the only individual using the Licensed Product. If you are an
entity, KDAB grants you the right to designate one, and only one,
individual within your organization who shall have the sole right to
use the Licensed Product in the manner provided above. You may at any
time, but not more frequently that once every six (6) months,
designate another individual to replace the current designated user by
notifying KDAB, so long as there is no more than one designated user
at any given time.
GENERAL TERMS THAT APPLY TO APPLICATIONS AND REDISTRIBUTABLES
KDAB grants you a nonexclusive, royalty-free right to reproduce and
distribute the object code form of any portion of the Licensed Product
("Redistributables") for execution on any operating system of a type
listed in the License Certificate ("Platforms"). Copies of
Redistributables may only be distributed with and for the sole purpose
of executing Applications permitted under this License Agreement that
you have created using the Licensed Product. Under no circumstances
may any copies of Redistributables be distributed separately.
The license granted in this EULA for you to create your own
Applications and distribute them and the Redistributables (if any) to
your customers is subject to all of the following conditions: (i) all
copies of the Applications you create must bear a valid copyright
notice, either your own or the copyright notice that appears on the
Licensed Product; (ii) you may not remove or alter any copyright,
trademark or other proprietary rights notice contained in any portion
of the Licensed Product; (iii) Redistributables, if any, shall be
licensed to your customer "as is" (KDAB MAKES NO WARRANTIES OR
REPRESENTATIONS VIS-A-VIS YOUR CUSTOMER WITH RESPECT TO
REDISTRIBUTABLES, AND KDAB EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES
VIS-A-VIS YOUR CUSTOMER, WHETHER EXPRESS OR IMPLIED, ORAL OR WRITTEN,
INCLUDING, BUT NOT LIMITED TO ANY IMPLIED WARRANTY OF MERCHANTABILITY
OR FITNESS FOR ANY PARTICULAR PURPOSE, WHETHER OR NOT KDAB KNOWS, HAS
REASON TO KNOW, HAS BEEN ADVISED OR IS OTHERWISE AWARE OF SUCH
PURPOSE); (iv) you will indemnify and hold KDAB, its related companies
and its suppliers, harmless from and against any claims or liabilities
arising out of the use, reproduction or distribution of your
Applications; (v) your Applications must be written using a licensed,
registered copy of the Licensed Product; (vi) your Applications must
add primary and substantial functionality to the Licensed Product;
(vii) your Applications may not pass on functionality which in any way
makes it possible for others to create Applications with the Software;
(viii) your Applications may not compete with the Licensed Product;
(ix)) you may not use KDAB's or any of its suppliers' names, logos, or
trademarks to market your programs, except to state that your program
was written using the Licensed Product.
LICENSEE'S BREACH OF CONTRACT
In addition to penalties, other sanctions and the like as stated in
the Swedish Copyright Act (1960:729), or successive legislation as it
may appear, the Licensee agrees to pay a Contractual Fine in case of
his/her/their breach of any of the above mentioned obligations,
including but not limited to, the Licensee's obligation to let only
one person per license use the Software as stated under above. The
Contractual Fine is EUR 5000 and is payable by the Licensee to the
Licenser immediately upon the Licenser having reasonably demonstrated
that the Licensee is in breach of his obligations in this Agreement.
WARRANTY DISCLAIMER
THE LICENSED PRODUCT IS LICENSED TO YOU "AS IS". TO THE MAXIMUM
EXTENT PERMITTED BY APPLICABLE LAW, KDAB ON BEHALF OF ITSELF AND ITS
SUPPLIERS, DISCLAIMS ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR
IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
NON-INFRINGEMENT WITH REGARD TO THE LICENSED PRODUCT. THIS WARRANTY
DISCLAIMER NOTWITHSTANDING, YOU MAY HAVE SPECIFIC LEGAL RIGHTS WHICH
MAY VARY FROM STATE/JURISDICTION TO STATE/JURISDICTION.
LIMITATION OF LIABILITY
IF, KDAB'S WARRANTY DISCLAIMER NOTWITHSTANDING, KDAB IS HELD LIABLE TO
YOU, WHETHER IN CONTRACT, TORT OR ANY OTHER LEGAL THEORY, BASED ON THE
LICENSED PRODUCT, KDAB'S ENTIRE LIABILITY TO YOU AND YOUR EXCLUSIVE
REMEDY SHALL BE, AT KDAB'S OPTION, EITHER (A) RETURN OF THE PRICE YOU
PAID FOR THE LICENSED PRODUCT, OR (B) REPAIR OR REPLACEMENT OF THE
LICENSED PRODUCT, PROVIDED YOU RETURN TO KDAB ALL COPIES OF THE
LICENSED PRODUCT AS ORIGINALLY DELIVERED TO YOU. KDAB SHALL NOT UNDER
ANY CIRCUMSTANCES BE LIABLE TO YOU BASED ON FAILURE OF THE LICENSED
PRODUCT IF THE FAILURE RESULTED FROM ACCIDENT, ABUSE OR
MISAPPLICATION, NOR SHALL KDAB UNDER ANY CIRCUMSTANCES BE LIABLE FOR
SPECIAL DAMAGES, PUNITIVE OR EXEMPLARY DAMAGES, DAMAGES FOR LOSS OF
PROFITS OR INTERRUPTION OF BUSINESS OR FOR LOSS OR CORRUPTION OF DATA.
ANY AWARD OF DAMAGES FROM KDAB TO YOU SHALL NOT EXCEED THE TOTAL AMOUNT
YOU HAVE PAID TO KDAB IN CONNECTION WITH THIS EULA.
SUPPORT AND UPDATES
You will receive email based, software developer support and access to
Updates to the Licensed Product for one year from the date of initial
delivery, in accordance with KDAB support policies and procedures.
Such policies and procedures may be changed from time to time.
GENERAL PROVISIONS
This EULA may only be modified in writing signed by you and an
authorized officer of KDAB. All terms of any purchase order or other
ordering document shall be superseded by this EULA. If any provision
of the EULA is found void or unenforceable, the remainder will remain
valid and enforceable according to its terms. If any remedy provided
is determined to have failed for its essential purpose, all
limitations of liability and exclusions of damages set forth in this
EULA shall remain in effect.
This EULA shall be construed, interpreted and governed by the laws of
Sweden, the venue to be Sunne Tingsratt. The EULA gives you specific
legal rights; you may have others, which vary from state to state and
from country to country. KDAB reserves all rights not specifically
granted in this EULA.

View File

@@ -1,17 +0,0 @@
<copyright notice> By obtaining, using, and/or copying this software and/or
its associated documentation, you agree that you have read, understood, and
will comply with the following terms and conditions:
Permission to use, copy, modify, and distribute this software and its associated
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice appears in all copies, and that both that
copyright notice and this permission notice appear in supporting documentation,
and that the name of the copyright holder not be used in advertising or publicity
pertaining to distribution of the software without specific, written permission.
THE COPYRIGHT HOLDER DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT
SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM THE LOSS OF USE, DATA OR
PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@@ -1,21 +0,0 @@
The Qt Company Qt LGPL Exception version 1.1
As an additional permission to the GNU Lesser General Public License version 2.1, the object code form of a "work that uses the Library" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that:
(i) the header files of the Library have not been modified; and
(ii) the incorporated material is limited to numerical parameters, data structure layouts, accessors, macros, inline functions and templates; and
(iii) you comply with the terms of Section 6 of the GNU Lesser General Public License version 2.1.
Moreover, you may apply this exception to a modified version of the Library, provided that such modification does not involve copying material from the Library into the modified Library's header files unless such material is limited to
(i) numerical parameters;
(ii) data structure layouts;
(iii) accessors; and
(iv) small macros, templates and inline functions of five lines or less in length.
Furthermore, you are not required to apply this additional permission to a modified version of the Library.

View File

@@ -1,12 +0,0 @@
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@@ -1,49 +0,0 @@
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
Unicode Data Files include all data files under the directories http://www.unicode.org/Public/,
http://www.unicode.org/reports/, http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
http://www.unicode.org/ivd/data/, and http://www.unicode.org/utility/trac/browser/.
Unicode Data Files do not include PDF online code charts under the directory
http://www.unicode.org/Public/.
Software includes any source code published in the Unicode Standard or under
the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/,
http://www.unicode.org/cldr/data/, http://source.icu-project.org/repos/icu/,
and http://www.unicode.org/utility/trac/browser/.
NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"),
AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND
BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE,
DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
COPYRIGHT AND PERMISSION NOTICE Copyright © 1991-2016 Unicode, Inc. All rights
reserved. Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
Permission is hereby granted, free of charge, to any person obtaining a copy
of the Unicode data files and any associated documentation (the "Data Files")
or Unicode software and any associated documentation (the "Software") to deal
in the Data Files or Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, and/or sell copies
of the Data Files or Software, and to permit persons to whom the Data Files
or Software are furnished to do so, provided that either
(a) this copyright and permission notice appear with all copies of the Data
Files or Software, or
(b) this copyright and permission notice appear in associated Documentation.
THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWARE.
Except as contained in this notice, the name of a copyright holder shall not
be used in advertising or otherwise to promote the sale, use or other dealings
in these Data Files or Software without prior written authorization of the
copyright holder.

View File

@@ -1,13 +0,0 @@
X11 License
Copyright (C) 1996 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium.
X Window System is a trademark of X Consortium, Inc.

View File

@@ -0,0 +1,31 @@
From f583921012ed1f4e853f41d4fd3d95d1a819ac03 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sat, 4 Aug 2018 02:48:14 +0200
Subject: [PATCH] Make sure to find python3 sip code generator
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
configure.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.py b/configure.py
index a263efb..daefc0e 100644
--- a/configure.py
+++ b/configure.py
@@ -522,7 +522,7 @@ class TargetConfiguration:
self.qtconf_prefix = ''
self.qt_shared = False
self.qt_version = 0
- self.sip = self._find_exe('sip5', 'sip')
+ self.sip = self._find_exe('sip3')
self.sip_h_version = None
self.sip_inc_dir = self.py_venv_inc_dir
self.static = False
--
2.14.4

View File

@@ -0,0 +1,76 @@
SUMMARY = "Python Qt5 Bindings"
AUTHOR = "Phil Thomson @ riverbank.co.uk"
HOMEPAGE = "http://riverbankcomputing.co.uk"
SECTION = "devel/python"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "\
https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-${PV}/PyQt5_gpl-${PV}.tar.gz \
file://0001-Make-sure-to-find-python3-sip-code-generator.patch \
"
SRC_URI[md5sum] = "33d6d2ab8183da17ac18b8132a4b278e"
SRC_URI[sha256sum] = "c190dac598c97b0113ca5e7a37c71c623f02d1d713088addfacac4acfa4b8394"
PE = "1"
inherit qmake5 python3native
DEPENDS += "sip3-native sip3 qtbase python3"
DEPENDS_append_class-target = "qtsvg"
S = "${WORKDIR}/PyQt5_gpl-${PV}"
B = "${S}"
DISABLED_FEATURES = "PyQt_Desktop_OpenGL"
DISABLED_FEATURES_append_arm = " PyQt_qreal_double"
PYQT_MODULES = "QtCore QtGui QtNetwork QtWidgets QtSvg"
PYQT_MODULES_class-native = "QtCore"
PYQT_MODULES_aarch64 = "QtCore QtGui QtNetwork QtWidgets QtSvg"
# full paths
SYSROOTDIR = "${STAGING_DIR_HOST}"
SYSROOTDIR_class-native = "${STAGING_DIR_NATIVE}"
INCLUDEDIR = "${STAGING_INCDIR}"
INCLUDEDIR_class-native = "${STAGING_INCDIR_NATIVE}"
LIBDIR = "${STAGING_LIBDIR}"
LIBDIR_class-native = "${STAGING_LIBDIR_NATIVE}"
PYTHONEXEC="${bindir}/${PYTHON_PN}"
PYTHONEXEC_class-native="${PYTHON}"
do_configure() {
echo "py_platform = linux" > pyqt.cfg
echo "py_inc_dir = ${INCLUDEDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
echo "py_pylib_dir = ${LIBDIR}/python${PYTHON_BASEVERSION}" >> pyqt.cfg
echo "py_pylib_lib = python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> pyqt.cfg
echo "pyqt_module_dir = ${D}/${PYTHON_SITEPACKAGES_DIR}" >> pyqt.cfg
echo "pyqt_bin_dir = ${D}/${bindir}" >> pyqt.cfg
echo "pyqt_sip_dir = ${D}/${datadir}/sip/PyQt5" >> pyqt.cfg
echo "pyuic_interpreter = ${PYTHONEXEC}" >> pyqt.cfg
echo "pyqt_disabled_features = ${DISABLED_FEATURES}" >> pyqt.cfg
echo "qt_shared = True" >> pyqt.cfg
QT_VERSION=`${OE_QMAKE_QMAKE} -query QT_VERSION`
echo "[Qt $QT_VERSION]" >> pyqt.cfg
echo "pyqt_modules = ${PYQT_MODULES}" >> pyqt.cfg
echo yes | python3 configure.py --verbose --qmake ${OE_QMAKE_QMAKE} --configuration pyqt.cfg --sysroot ${SYSROOTDIR}
}
do_install() {
oe_runmake install
}
do_install_class-native() {
oe_runmake install
}
RDEPENDS_${PN}_append_class-target = " python3-core python3-sip"
FILES_${PN} += " \
${libdir}/${PYTHON_DIR}/site-packages \
${datadir}/sip/PyQt5 \
"
BBCLASSEXTEND += "native nativesdk"

View File

@@ -0,0 +1,44 @@
SUMMARY = "SIP is a C++/Python Wrapper Generator"
HOMEPAGE = "http://www.riverbankcomputing.co.uk/sip"
SECTION = "devel"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
inherit python3-dir
DEPENDS = "python3"
SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz"
SRC_URI[md5sum] = "0625fb20347d4ff1b5da551539be0727"
SRC_URI[sha256sum] = "7eaf7a2ea7d4d38a56dd6d2506574464bddf7cf284c960801679942377c297bc"
BPN = "sip"
BBCLASSEXTEND = "native"
PACKAGES += "python3-sip"
do_configure_prepend_class-target() {
echo "py_platform = linux" > sip.cfg
echo "py_inc_dir = %(sysroot)/${includedir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> sip.cfg
echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
echo "sip_module_dir = ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages" >> sip.cfg
echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
python3 configure.py --configuration sip.cfg --sysroot ${STAGING_DIR_HOST} CC="${CC}" CXX="${CXX}" LINK="${CXX}" STRIP="" LINK_SHLIB="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LFLAGS="${LDFLAGS}"
}
do_configure_prepend_class-native() {
echo "py_platform = linux" > sip.cfg
echo "py_inc_dir = ${includedir}/python${PYTHON_BASEVERSION}${PYTHON_ABI}" >> sip.cfg
echo "sip_bin_dir = ${D}/${bindir}" >> sip.cfg
echo "sip_inc_dir = ${D}/${includedir}" >> sip.cfg
echo "sip_module_dir = ${D}/${libdir}/python${PYTHON_BASEVERSION}/site-packages" >> sip.cfg
echo "sip_sip_dir = ${D}/${datadir}/sip" >> sip.cfg
python3 configure.py --configuration sip.cfg --sysroot ${STAGING_DIR_NATIVE}
}
do_install() {
oe_runmake install
# avoid conflicts with sip for python2
mv ${D}/${bindir}/sip ${D}/${bindir}/sip3
}
FILES_python3-sip = "${libdir}/${PYTHON_DIR}/site-packages/"

View File

@@ -1,25 +0,0 @@
SUMMARY = "Connectagram is a word unscrambling game"
HOMEPAGE = "https://gottcode.org/connectagram/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "6ec03e98a79b8404a414353a3538aec7"
SRC_URI[sha256sum] = "a711da70bd08383dd06b5f7ccbd92dcd201165426dfd20343c64f584a23f9de1"
PV = "1.2.11"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
${datadir}/metainfo \
"
# WIP: qt5-translation expects *.qm to work properly so pack word data in PN for now
FILES:${PN} += " \
${datadir}/connectagram/data \
"

View File

@@ -1,11 +1,11 @@
SUMMARY = "FocusWriter is a simple, distraction-free writing environment"
HOMEPAGE = "http://gottcode.org/gottet/"
LICENSE = "GPL-3.0-only"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache mime-xdg
inherit qmake5 qt5-translation gtk-icon-cache
DEPENDS += " \
DEPENDS = " \
qttools-native \
qtbase \
qtmultimedia \
@@ -14,17 +14,16 @@ DEPENDS += " \
"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "ba9e316b4bc0c4568d71f7dc3cd64fff"
SRC_URI[sha256sum] = "34f576a49c9fe64aedad66e02efafc29c840b6c3ddc98a42d87dfda499710541"
PV = "1.7.6"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
SRC_URI[md5sum] = "b3bcf028c519b6a6daabfc71055d4ca8"
SRC_URI[sha256sum] = "0190fff4930213b2e32d5d76750af784f45f89046d239da466dc5c9f625ec05b"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/metainfo \
${datadir}/${BPN}/icons \
${datadir}/${BPN}/symbols1000.dat \
${datadir}/${BPN}/icons \
${datadir}/${BPN}/themes \
${datadir}/${BPN}/sounds \
"

View File

@@ -1,20 +0,0 @@
SUMMARY = "A tetris clone using the Qt GUI toolkit"
HOMEPAGE = "http://gottcode.org/gottet/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[sha256sum] = "26647b12258180e46e76413a25b43b2a1c2f9169f0ea039015359ba9fbe4f2f8"
PV = "1.2.0"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
${datadir}/metainfo \
${datadir}/icons \
"

View File

@@ -0,0 +1,19 @@
SUMMARY = "A tetris clone using the Qt GUI toolkit"
HOMEPAGE = "http://gottcode.org/gottet/"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "f5a0a46d4d1c40c98f20be531aacf488"
SRC_URI[sha256sum] = "7cc6c49cb191a264dccf18659b885ead921f01ad496dac9774c7ec49428c8a7d"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES_${PN} += " \
${datadir}/metainfo \
${datadir}/icons \
"

View File

@@ -1,20 +1,19 @@
SUMMARY = "A color matching game"
HOMEPAGE = "http://gottcode.org/hexalate/"
LICENSE = "GPL-3.0-only"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache
inherit qmake5 qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[sha256sum] = "a54aa31c6243ba091f46a6ced17be70e7481cc2af7de94f7e0288864355133bd"
PV = "1.2.0"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
SRC_URI[md5sum] = "0b8d536e87c634471543cfae97b7b1c0"
SRC_URI[sha256sum] = "9dfdaaf802f792dbd539b7e87674f942a773970aa50c298cd395b5d21a9acca3"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/metainfo \
${datadir}/icons \
"

View File

@@ -1,20 +0,0 @@
SUMMARY = "Kapow is a punch clock program to easily keep track of your hours"
HOMEPAGE = "https://gottcode.org/kapow/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "51900b071ef71da4c86ee38bda161e72"
SRC_URI[sha256sum] = "6ba62239f5717422d899573ff50f8a967aea8fbbd79ac57406d6b86a333d027c"
PV = "1.5.10"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
${datadir}/metainfo \
"

View File

@@ -4,12 +4,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
inherit packagegroup
RDEPENDS:${PN} = " \
connectagram \
RDEPENDS_${PN} = " \
focuswriter \
gottet \
hexalate \
kapow \
peg-e \
simsu \
tetzle \

View File

@@ -1,21 +1,19 @@
SUMMARY = "Peg-E is a peg solitaire game"
HOMEPAGE = "http://gottcode.org/peg-e/"
LICENSE = "GPL-3.0-only"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache
inherit qmake5 qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "ea2659e5cf6e0d981189cbe2751588df"
SRC_URI[sha256sum] = "06d6a07c056b82372cdd6ac258dbfedab397ad4f13b70117f548b8218201ff17"
PV = "1.2.8"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
SRC_URI[md5sum] = "001a9d449c47e7dca9c9c93defbaa946"
SRC_URI[sha256sum] = "b7a644397a6e8fd24c5df72a8c5950af8de035c9fafc712fea5eae87eea15d81"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/metainfo \
${datadir}/peg-e/icons \
"

View File

@@ -1,19 +1,18 @@
SUMMARY = "Simsu is a basic Sudoku game"
HOMEPAGE = "http://gottcode.org/simsu/"
LICENSE = "GPL-3.0-only"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache
inherit qmake5 qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[sha256sum] = "6db0c004de67c122ac67f34cc6c1a68cd78be02034eceeab922848f87cb85e87"
PV = "1.4.0"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
SRC_URI[md5sum] = "f7567be498c365b6a2e301346d08659a"
SRC_URI[sha256sum] = "a3c56b6339fd314b198b7ec89d27f1919d4b480e7e0eae03980dda5fec31cd6a"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/metainfo \
"

View File

@@ -1,20 +0,0 @@
SUMMARY = "Tetzle is a jigsaw puzzle game that uses tetrominoes for the pieces"
HOMEPAGE = "https://gottcode.org/tetzle/"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 pkgconfig qt5-translation gtk-icon-cache mime-xdg
DEPENDS += "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "dc3e1545aaba5d7571c84a1a30c04210"
SRC_URI[sha256sum] = "fbc3c86b5bf64187f89379176bd0085c636605d9594c7af8d0c056760d6cf80a"
PV = "2.1.6"
UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\-src\.tar"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES:${PN} += " \
${datadir}/metainfo \
"

View File

@@ -0,0 +1,18 @@
SUMMARY = "Tetzle is a jigsaw puzzle game that uses tetrominoes for the pieces"
HOMEPAGE = "https://gottcode.org/tetzle/"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit qmake5 qt5-translation gtk-icon-cache
DEPENDS = "qttools-native qtbase hicolor-icon-theme"
SRC_URI = "http://gottcode.org/${BPN}/${BPN}-${PV}-src.tar.bz2"
SRC_URI[md5sum] = "df7a1a9174a3802b8738ddb3f423d0da"
SRC_URI[sha256sum] = "ef67083018dc5e22a61d52e3041d6d725753e6ed5bc70b770159d867451c8cb1"
EXTRA_QMAKEVARS_PRE += "PREFIX=${prefix}"
FILES_${PN} += " \
${datadir}/metainfo \
"

View File

@@ -1,17 +0,0 @@
SUMMARY = "Qt based Color Picker with popup menu"
HOMEPAGE = "https://github.com/ksnip/kColorPicker"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
SRC_URI = "git://github.com/ksnip/kColorPicker.git;branch=master;protocol=https"
SRCREV = "15e16374e51153006d3400cb88066d5272698743"
PV = "0.2.0"
S = "${WORKDIR}/git"
DEPENDS = " \
qtbase \
"
inherit cmake_qt5_extra pkgconfig
EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"

View File

@@ -1,19 +0,0 @@
SUMMARY = "A lightweight compositor for X11"
HOMEPAGE = "https://github.com/ksnip/kImageAnnotator"
LICENSE = "LGPL-3.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
SRC_URI = "git://github.com/ksnip/kImageAnnotator.git;branch=master;protocol=https"
SRCREV = "6651dc09ccbf277359669141669ccc9e6a9f2cc2"
PV = "0.6.0"
S = "${WORKDIR}/git"
DEPENDS = " \
qttools-native \
qtsvg \
kcolorpicker \
"
inherit cmake_qt5_extra pkgconfig qt5-translation
EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"

View File

@@ -1,36 +0,0 @@
SUMMARY = "A lightweight compositor for X11"
HOMEPAGE = "https://github.com/yshui/picom"
LICENSE = "MPL-2.0 & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=a9a621b5a1b8f702c605093d657b550c"
SRC_URI = "git://github.com/yshui/picom.git;branch=stable/8;protocol=https"
SRCREV = "dac85eac10082dfc3df463aaa74b811144e22122"
PV = "8.2"
S = "${WORKDIR}/git"
DEPENDS = " \
libxext \
libxdamage \
libxfixes \
xcb-util-renderutil \
libxrender \
libxrandr \
libxcomposite \
xcb-util-image \
libxpresent \
libxinerama \
libdrm \
libev \
pixman \
dbus \
libconfig \
libpcre \
uthash \
"
inherit meson pkgconfig features_check gtk-icon-cache
REQUIRED_DISTRO_FEATURES = "x11"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,virtual/libgl"

View File

@@ -1,33 +0,0 @@
From 04d58fcb669c9d6ee79cdd630f04791b61f417cc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Mon, 8 Jun 2020 17:10:03 +0200
Subject: [PATCH] Fix build with Qt >= 5.15
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
| ../qpdfview-0.4.18/sources/model.h:46:22: error: field 'boundary' has incomplete type 'QPainterPath'
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
sources/model.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sources/model.h b/sources/model.h
index 6363c32..dc10a8c 100644
--- a/sources/model.h
+++ b/sources/model.h
@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http://www.gnu.org/licenses/>.
#include <QtPlugin>
#include <QWidget>
#include <QVector>
+#include <QPainterPath>
class QAbstractItemModel;
class QColor;
--
2.26.2

View File

@@ -1,23 +0,0 @@
SUMMARY = "Light-weight tabbed PDF, DJVU and PostScript viewer"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "cups poppler qtsvg"
SRC_URI = " \
https://launchpad.net/qpdfview/trunk/${PV}/+download/${BPN}-${PV}.tar.gz \
file://0001-Fix-build-with-Qt-5.15.patch \
"
SRC_URI[md5sum] = "4d63ee0095e939602f9bf4759ae57953"
SRC_URI[sha256sum] = "cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c"
inherit qmake5 pkgconfig mime-xdg
QMAKE_PROFILES = "${S}/qpdfview.pro"
EXTRA_QMAKEVARS_PRE += " \
CONFIG+=without_ps \
CONFIG+=without_djvu \
PLUGIN_INSTALL_PATH=${libdir}/${BPN} \
"
FILES:${PN} += "${datadir}"

View File

@@ -1,8 +1,8 @@
SUMMARY = "The Linux perf GUI for performance analysis"
LICENSE = "GPL-2.0-or-later | KDAB-Commercial | KDAB-Commercial-US"
LICENSE = "GPLv2+ | KDAB-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.txt;md5=50a9af6464b390664488e7af1cc5c148 \
file://LICENSE.GPL.txt;md5=8b7a65584aeb92995bcb6066ed0f58f7 \
file://LICENSE.txt;md5=a6b8a64054f1549420f27724acd2337a \
file://LICENSE.GPL.txt;md5=eed541e1ee57f0373b3cb5824dfe6b93 \
file://LICENSE.US.txt;md5=1cf6e30372544be558f7146a7e229cdd \
"
@@ -21,11 +21,11 @@ DEPENDS += " \
kio \
solid \
"
SRC_URI = "gitsm://github.com/KDAB/hotspot.git;protocol=https;branch=master"
SRCREV = "35d1865babf40b9df454810ca8cc09e77b0c349a"
SRC_URI = "gitsm://github.com/KDAB/hotspot.git"
SRCREV = "a41a0a5ba1fead202bfdcb2198f192114d030484"
S = "${WORKDIR}/git"
PV = "1.2.0+git${SRCPV}"
PV = "1.1.0+git${SRCPV}"
FILES:${PN} += "${datadir}/icons"
FILES_${PN} += "${datadir}/icons"
RDEPENDS:${PN} += "perf"
RDEPENDS_${PN} += "perf"

View File

@@ -1,25 +0,0 @@
SUMMARY = "A Qt tool for creating business and scientific charts"
LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=f225922a2c12dfa5218fb70c49db3ea6 \
file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \
"
inherit cmake_qt5_extra
DEPENDS += " \
qtbase \
qtsvg \
"
do_install:append() {
# these have gone wild / qmake was always pain
rm -r ${D}/usr/mkspecs
}
SRC_URI = "git://github.com/KDAB/KDChart.git;branch=master;protocol=https"
SRCREV = "aa9de13376a5e9f4c8802091776584614db8677e"
S = "${WORKDIR}/git"
PV = "3.0.0"
FILES:${PN}-dev += "${datadir}/mkspecs"

View File

@@ -1,25 +0,0 @@
SUMMARY = "Qt library for generating printable and exportable reports"
DESCRIPTION = "Qt library for generating printable and exportable reports from code and from XML descriptions"
LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0 \
file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663 \
"
inherit cmake_qt5_extra
DEPENDS += " \
qtbase \
kdcharts \
"
SRC_URI = "git://github.com/KDAB/KDReports.git;branch=master;protocol=https"
SRCREV = "a5095bd266b5d4697978e1a3042481edd72c2c3f"
S = "${WORKDIR}/git"
PV = "2.2.0"
do_install:append() {
# these have gone wild / qmake was always pain
rm -r ${D}/usr/mkspecs
}

View File

@@ -1,5 +0,0 @@
require ${BPN}.inc
inherit native
SRC_URI += "file://0001-Just-build-bare-kdwsdl2cpp-for-native.patch"

View File

@@ -1,10 +0,0 @@
require ${BPN}.inc
DEPENDS += " \
${BPN}-native \
qtbase \
"
SRC_URI += "file://0002-Do-not-export-kdwsdl2cpp-as-target-it-will-fin-it-s-.patch"
FILES:${PN}-dev += "${datadir}/mkspecs"

View File

@@ -1,15 +0,0 @@
SUMMARY = "A Qt-based client-side and server-side SOAP component"
LICENSE = "(GPL-2.0-only & LGPL-2.1-only & AGPL-3.0-only) | KDAB-Commercial"
LIC_FILES_CHKSUM = " \
file://LICENSE.GPL.txt;md5=63e3028b49eac8f84ab29661f079f159 \
file://LICENSE.LGPL.txt;md5=ce198ec102c2f0b1d13f26967a934670 \
file://LICENSE.AGPL3-modified.txt;md5=6b6dcd83ea786a77851d959c2797f78c \
file://LICENSE.txt;md5=a0def7eadd11e7a9916a16e5d8bc1a82 \
"
inherit cmake_qt5
SRC_URI = "git://github.com/KDAB/KDSoap.git;protocol=https;branch=master"
SRCREV = "fb0e905e242c2044fd25683a406eb6d369db052f"
S = "${WORKDIR}/git"
PV = "1.9.0"

View File

@@ -1,117 +0,0 @@
From 4c0ea920ab34615d3cf83ef018c8485e3c07fa4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Fri, 22 May 2020 09:56:41 +0200
Subject: [PATCH] Just build bare kdwsdl2cpp for native
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
CMakeLists.txt | 4 ++--
kdwsdl2cpp/common/fileprovider.cpp | 2 +-
kdwsdl2cpp/src/main.cpp | 6 +++---
kdwsdl2cpp/src/settings.cpp | 2 +-
kdwsdl2cpp/src/settings.h | 4 ++--
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index addbafe2..596425e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -190,9 +190,9 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
)
endif()
-add_subdirectory(src)
+#add_subdirectory(src)
add_subdirectory(kdwsdl2cpp)
-if(${PROJECT_NAME}_IS_ROOT_PROJECT)
+if(false)
export(TARGETS kdsoap kdsoap-server kdwsdl2cpp NAMESPACE KDSoap::
FILE "${CMAKE_CURRENT_BINARY_DIR}/KDSoap/KDSoapTargets.cmake"
diff --git a/kdwsdl2cpp/common/fileprovider.cpp b/kdwsdl2cpp/common/fileprovider.cpp
index 1f23554d..45124850 100644
--- a/kdwsdl2cpp/common/fileprovider.cpp
+++ b/kdwsdl2cpp/common/fileprovider.cpp
@@ -106,7 +106,7 @@ bool FileProvider::get( const QUrl &url, QString &target )
QNetworkAccessManager manager;
QNetworkRequest request(url);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
if (Settings::self()->certificateLoaded()) {
QSslConfiguration sslConfig = request.sslConfiguration();
sslConfig.setPrivateKey(Settings::self()->sslKey());
diff --git a/kdwsdl2cpp/src/main.cpp b/kdwsdl2cpp/src/main.cpp
index 8905b6dc..8ac65f9e 100644
--- a/kdwsdl2cpp/src/main.cpp
+++ b/kdwsdl2cpp/src/main.cpp
@@ -67,7 +67,7 @@ static void showHelp(const char *appName)
" use of the import-path option\n"
" -help-on-missing When groups or basic types could not be found, display\n"
" available types (helps with wrong namespaces)\n"
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
" -pkcs12file Load a certificate from a PKCS12 file. You can use this option\n"
" if the WSDL file (or files refering to it) is served from a \n"
" location which require certificate based authentication\n"
@@ -217,7 +217,7 @@ int main(int argc, char **argv)
useLocalFilesOnly = true;
} else if (opt == QLatin1String("-help-on-missing")) {
helpOnMissing = true;
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
} else if (opt == QLatin1String("-pkcs12file")) {
++arg;
if (!argv[arg]) {
@@ -288,7 +288,7 @@ int main(int argc, char **argv)
Settings::self()->setHelpOnMissing(helpOnMissing);
KWSDL::Compiler compiler;
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
if (!pkcs12File.isEmpty()) {
if (!Settings::self()->loadCertificate(pkcs12File, pkcs12Password))
return -1;
diff --git a/kdwsdl2cpp/src/settings.cpp b/kdwsdl2cpp/src/settings.cpp
index 2e25e01a..db7b8aab 100644
--- a/kdwsdl2cpp/src/settings.cpp
+++ b/kdwsdl2cpp/src/settings.cpp
@@ -252,7 +252,7 @@ bool Settings::helpOnMissing() const
return mHelpOnMissing;
}
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
bool Settings::loadCertificate(const QString &certPath, const QString & password)
{
QFile certFile(certPath);
diff --git a/kdwsdl2cpp/src/settings.h b/kdwsdl2cpp/src/settings.h
index c5ca846f..f177ea77 100644
--- a/kdwsdl2cpp/src/settings.h
+++ b/kdwsdl2cpp/src/settings.h
@@ -87,7 +87,7 @@ public:
bool helpOnMissing() const;
void setHelpOnMissing(bool b);
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
bool loadCertificate(const QString & certPath, const QString &password = QString());
bool certificateLoaded() const;
QSslKey sslKey() const;
@@ -115,7 +115,7 @@ private:
bool mKeepUnusedTypes;
bool mUseLocalFilesOnly;
bool mHelpOnMissing;
-#if QT_VERSION >= QT_VERSION_CHECK(5, 4, 0)
+#if FALSE
QSslKey mSslKey;
QSslCertificate mCertificate;
QList<QSslCertificate> mCaCertificates;
--
2.21.1

View File

@@ -1,46 +0,0 @@
From 1d666d5c6ea5e3b1633c6692572f480e86531a37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 24 May 2020 00:27:46 +0200
Subject: [PATCH] Do not export kdwsdl2cpp as target - it will fin it's way
into cross sysroot
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
CMakeLists.txt | 2 +-
kdwsdl2cpp/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index addbafe2..3558dd48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -194,7 +194,7 @@ add_subdirectory(src)
add_subdirectory(kdwsdl2cpp)
if(${PROJECT_NAME}_IS_ROOT_PROJECT)
- export(TARGETS kdsoap kdsoap-server kdwsdl2cpp NAMESPACE KDSoap::
+ export(TARGETS kdsoap kdsoap-server NAMESPACE KDSoap::
FILE "${CMAKE_CURRENT_BINARY_DIR}/KDSoap/KDSoapTargets.cmake"
)
diff --git a/kdwsdl2cpp/CMakeLists.txt b/kdwsdl2cpp/CMakeLists.txt
index 82418be3..61c46688 100644
--- a/kdwsdl2cpp/CMakeLists.txt
+++ b/kdwsdl2cpp/CMakeLists.txt
@@ -72,7 +72,7 @@ target_link_libraries(kdwsdl2cpp_lib ${QT_LIBRARIES})
add_executable(kdwsdl2cpp ${SOURCES_EXE})
target_link_libraries(kdwsdl2cpp kdwsdl2cpp_lib ${QT_LIBRARIES})
-install(TARGETS kdwsdl2cpp EXPORT "KDSoapTargets"
+install(TARGETS kdwsdl2cpp
RUNTIME DESTINATION ${INSTALL_RUNTIME_DIR}
BUNDLE DESTINATION .
)
--
2.21.1

View File

@@ -1,9 +1,9 @@
SUMMARY = "Add mathematical features to your program"
LICENSE = "GPL-2.0-only & LGPL-2.0-only & GFDL-1.2"
LICENSE = "GPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
file://COPYING.DOC;md5=28d73eafa40ebd0ccdc6b37df8de10a3 \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
"
inherit kde-apps
@@ -15,9 +15,10 @@ DEPENDS += " \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "beaa65dcc664a1d7cd5320cb07ecce4473b1dc5cd8f42432220460c5fc3f4eea"
SRC_URI[md5sum] = "f8186958405a7ee235ba0bff76c0f126"
SRC_URI[sha256sum] = "c241b6a3d849534ccd50601c0aebd5cd785220bb7957ed7f6b1d3db35ba0f925"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/libanalitza \
${OE_QMAKE_PATH_QML} \
"

View File

@@ -1,21 +1,18 @@
SUMMARY = "Ark is KDE's file archiver"
LICENSE = "BSD-2-Clause & CC0-1.0 & GPL-2.0-or-later & LGPL-3.0-only & MIT"
LICENSE = "GPLv2 & LGPLv3"
LIC_FILES_CHKSUM = " \
file://LICENSES/BSD-2-Clause.txt;md5=4e290b17e3e05732730de37b44abef90 \
file://LICENSES/CC0-1.0.txt;md5=65d3616852dbf7b1a6d4b53b00626032 \
file://LICENSES/GPL-2.0-or-later.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/LGPL-3.0-only.txt;md5=7b8fde44990707e743d3613054065137 \
file://LICENSES/MIT.txt;md5=4dd71a82d66fd9e3ca0cc65b8be370c0 \
file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24 \
file://COPYING.icons;md5=6e01bfa20e899e8ad569d5488923cbd2 \
"
inherit kde-apps gtk-icon-cache mime mime-xdg
inherit kde-apps gtk-icon-cache
DEPENDS += "\
libarchive \
libzip \
karchive \
kauth-native \
kconfig-native \
kcoreaddons-native \
kcrash \
kdbusaddons \
kdoctools-native \
@@ -31,9 +28,11 @@ DEPENDS += "\
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "9cc79811d95eb61e491a8ff6f0aebbab9b38b739ac4a5f66fe3807cd22a78065"
SRC_URI[md5sum] = "72d72ddaa13a10cd8ed6319fe00e51be"
SRC_URI[sha256sum] = "ecf781b5d3691bb967c9170938c1133e2972ee97d71aab2de65487a952700722"
SRC_URI += "file://0001-fix-build-with-QT_NO_SESSIONMANAGER-set.patch"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/config.kcfg \
${datadir}/icons \
${datadir}/mime \

View File

@@ -0,0 +1,48 @@
From b7285c71f5b04bc55441217bf963078b38d6bad4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 11 Oct 2015 21:41:27 +0200
Subject: [PATCH] fix build with QT_NO_SESSIONMANAGER set
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
app/main.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app/main.cpp b/app/main.cpp
index 0396400..5924683 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -206,6 +206,7 @@ int main(int argc, char **argv)
// This is needed to prevent Dolphin from freezing when opening an archive.
KDBusService dbusService(KDBusService::Multiple | KDBusService::NoExitOnFailure);
+#ifndef QT_NO_SESSIONMANAGER
// Session restoring.
if (application.isSessionRestored()) {
if (!KMainWindow::canBeRestored(1)) {
@@ -218,8 +219,9 @@ int main(int argc, char **argv)
delete window;
return -1;
}
- } else { // New ark window (no restored session).
-
+ } else // New ark window (no restored session).
+#endif
+ {
// Open any given URLs.
const QStringList urls = parser.positionalArguments();
--
2.5.5

View File

@@ -1,30 +0,0 @@
SUMMARY = "Artikulate is a pronunciation trainer"
LICENSE = "GPL-2.0-only & CC-BY-SA-4.0"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=93e64b4a83c7e441e48bbdeeea05c977 \
file://COPYING.DOC;md5=4b39cb11ffa11c92d3f7a3431390e0d9 \
"
inherit kde-apps gtk-icon-cache
DEPENDS += " \
qtmultimedia \
kauth-native \
kconfig-native \
kcoreaddons-native \
kdoctools-native \
karchive \
kcrash \
ki18n \
knewstuff \
kirigami2 \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "d207cbbb37869767810277f0a58ee3372f6d7f4513b73c391aee319c107ede4c"
FILES:${PN} += " \
${datadir}/config.kcfg \
${datadir}/knsrcfiles \
${OE_QMAKE_PATH_PLUGINS} \
"

View File

@@ -1,13 +1,8 @@
SUMMARY = "Widgets for Baloo"
LICENSE = "GPL-2.0-only & GPL-3.0-only & LGPL-2.0-only & LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-only & LGPL-2.1-or-later & LGPL-3.0-only"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = " \
file://LICENSES/GPL-2.0-only.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/GPL-3.0-only.txt;md5=49fc03046e56a282c0c743b5d3a55b7c \
file://LICENSES/LGPL-2.0-only.txt;md5=da48810c4ddf8e49efa031294a26b98c \
file://LICENSES/LGPL-2.0-or-later.txt;md5=da48810c4ddf8e49efa031294a26b98c \
file://LICENSES/LGPL-2.1-only.txt;md5=147a320ed8b16b036829a0c71d424153 \
file://LICENSES/LGPL-2.1-or-later.txt;md5=147a320ed8b16b036829a0c71d424153 \
file://LICENSES/LGPL-3.0-only.txt;md5=8d51f5b5fd447f7a1040c3dc9f0a8de6 \
file://COPYING.README;md5=f5d7c5af660f94231a1d4e19501bce8f \
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
"
inherit kde-apps gettext
@@ -24,9 +19,10 @@ DEPENDS += "\
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "0baabcbf277a56f4d7b1fb8f7aff2bddf77d1261bbabd6b717c0d26d2929db5a"
SRC_URI[md5sum] = "d131f6dec4f4e50d52657087403e4c05"
SRC_URI[sha256sum] = "b8475ba1a74f8ebc6a36029b60ac803ab0d2c81c253b8c16bd05b6249454c3e3"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/kservices5 \
${OE_QMAKE_PATH_PLUGINS} \
"

View File

@@ -1,6 +1,6 @@
SUMMARY = "Bovo is a Gomoku like game for two players"
DESCRIPTION = "Bovo is a Gomoku (from Japanese 五目並べ - lit. 'five points') like game for two players, where the opponents alternate in placing their respective pictogram on the game board. (Also known as: Connect Five, Five in a row, X and O, Naughts and Crosses)"
LICENSE = "GPL-2.0-only & GFDL-1.2"
LICENSE = "GPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=3c8ea28d12b8a786603a5394fc50096d \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
@@ -19,9 +19,10 @@ DEPENDS += "\
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "a0b4f72a32d789d72a0d7f3115777c360216952dd24ec822514ee5490a620f18"
SRC_URI[md5sum] = "340d557424fc1ae1defff10a660f39b2"
SRC_URI[sha256sum] = "7fc7ff304cf5b5bf2049fdd53fbb4a819bddefc77fde94702c5118240403d972"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/kxmlgui5 \
${datadir}/icons \
"

View File

@@ -1,31 +0,0 @@
From ac4229126c5e11c21db757565597b5c4ccde062a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Thu, 5 Dec 2019 17:23:36 +0100
Subject: [PATCH] Do not rely on python2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
cmake/modules/KDbCreateSharedDataClasses.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/modules/KDbCreateSharedDataClasses.cmake b/cmake/modules/KDbCreateSharedDataClasses.cmake
index dc5101d..b764cb3 100644
--- a/cmake/modules/KDbCreateSharedDataClasses.cmake
+++ b/cmake/modules/KDbCreateSharedDataClasses.cmake
@@ -23,7 +23,7 @@ macro(KDB_CREATE_SHARED_DATA_CLASSES)
list(GET _args 1 PREFIX)
list(REMOVE_AT _args 0 1)
# message(STATUS "OUTPUT_VAR: ${OUTPUT_VAR} ${_args}")
- find_package(PythonInterp 2.6)
+ find_package(PythonInterp)
set_package_properties(PythonInterp PROPERTIES DESCRIPTION "Python language interpreter"
URL "https://www.python.org" TYPE REQUIRED
PURPOSE "Required by the Shared Data Classes (SDC) tool")
--
2.21.0

View File

@@ -1,71 +0,0 @@
From 3a31ad05fcc7682bf3b65143af99fdb9b2e1e248 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Mon, 16 Nov 2020 16:41:27 +0100
Subject: [PATCH 20/22] Fix build with newer Qt
(cherry picked from commit b36d74f13a1421437a725fb74502c993c359392a)
Upstream-Status: Accepted
---
src/KDb.cpp | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/KDb.cpp b/src/KDb.cpp
index 5c3b601f..ee92c2ee 100644
--- a/src/KDb.cpp
+++ b/src/KDb.cpp
@@ -1635,33 +1635,33 @@ QString KDb::escapeBLOB(const QByteArray& array, BLOBEscapingType type)
for (int i = 0; i < size; i++) {
const unsigned char val = array[i];
if (val < 32 || val >= 127 || val == 39 || val == 92) {
- str[new_length++] = '\\';
- str[new_length++] = '\\';
- str[new_length++] = '0' + val / 64;
- str[new_length++] = '0' + (val % 64) / 8;
- str[new_length++] = '0' + val % 8;
+ str[new_length++] = QLatin1Char('\\');
+ str[new_length++] = QLatin1Char('\\');
+ str[new_length++] = QChar::fromLatin1('0' + val / 64);
+ str[new_length++] = QChar::fromLatin1('0' + (val % 64) / 8);
+ str[new_length++] = QChar::fromLatin1('0' + val % 8);
} else {
- str[new_length++] = val;
+ str[new_length++] = QChar::fromLatin1(val);
}
}
} else {
for (int i = 0; i < size; i++) {
const unsigned char val = array[i];
- str[new_length++] = intToHexDigit(val / 16);
- str[new_length++] = intToHexDigit(val % 16);
+ str[new_length++] = QChar::fromLatin1(intToHexDigit(val / 16));
+ str[new_length++] = QChar::fromLatin1(intToHexDigit(val % 16));
}
}
if (type == BLOBEscapingType::XHex || type == BLOBEscapingType::Octal) {
- str[new_length++] = '\'';
+ str[new_length++] = QLatin1Char('\'');
} else if (type == BLOBEscapingType::ByteaHex) {
- str[new_length++] = '\'';
- str[new_length++] = ':';
- str[new_length++] = ':';
- str[new_length++] = 'b';
- str[new_length++] = 'y';
- str[new_length++] = 't';
- str[new_length++] = 'e';
- str[new_length++] = 'a';
+ str[new_length++] = QLatin1Char('\'');
+ str[new_length++] = QLatin1Char(':');
+ str[new_length++] = QLatin1Char(':');
+ str[new_length++] = QLatin1Char('b');
+ str[new_length++] = QLatin1Char('y');
+ str[new_length++] = QLatin1Char('t');
+ str[new_length++] = QLatin1Char('e');
+ str[new_length++] = QLatin1Char('a');
}
return str;
}
--
2.31.1

View File

@@ -1,6 +1,6 @@
SUMMARY = "Database Connectivity and Creation Framework"
HOMEPAGE = "https://community.kde.org/KDb"
LICENSE = "LGPL-2.0-only & GFDL-1.2 & BSD-3-Clause"
LICENSE = "LGPLv2 & GFDL-1.2 & BSD"
LIC_FILES_CHKSUM = " \
file://COPYING.LIB;md5=a9cc0417b6424a8311f616fa527d0755 \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
@@ -15,11 +15,8 @@ DEPENDS += " \
kcoreaddons \
"
SRC_URI = " \
${KDE_MIRROR}/stable/${BPN}/src/${BPN}-${PV}.tar.xz \
file://0001-Do-not-rely-on-python2.patch \
file://0001-Fix-build-with-newer-Qt.patch \
"
SRC_URI[sha256sum] = "8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069"
SRC_URI = "${KDE_MIRROR}/stable/${BPN}/src/${BPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "25651209050396a76d660856f109cf04"
SRC_URI[sha256sum] = "175645a149ae4d758ff2746900f6eabe4734b2bdac4d8c95893c650be4f929f2"
FILES:${PN} += "${OE_QMAKE_PATH_PLUGINS}"
FILES_${PN} += "${OE_QMAKE_PATH_PLUGINS}"

View File

@@ -1,30 +0,0 @@
From b4e62f10ad907cc3db7adac75e0171e88bb9172d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 18 Aug 2019 15:10:02 +0200
Subject: [PATCH] Fix build with Qt 5.13
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
src/plugins/forms/widgets/kexidbdatepicker.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/plugins/forms/widgets/kexidbdatepicker.cpp b/src/plugins/forms/widgets/kexidbdatepicker.cpp
index 1e0692d..c719964 100644
--- a/src/plugins/forms/widgets/kexidbdatepicker.cpp
+++ b/src/plugins/forms/widgets/kexidbdatepicker.cpp
@@ -24,6 +24,7 @@
#include <QLineEdit>
#include <QInputMethodEvent>
+#include <QDate>
KexiDBDatePicker::KexiDBDatePicker(QWidget *parent)
: KDatePicker(parent)
--
2.21.0

View File

@@ -1,53 +0,0 @@
From 0690fc08719e29d0d026102d54deb6cd667fed2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sat, 1 May 2021 10:47:22 +0200
Subject: [PATCH] Set extern "C" after including common headers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Latest gcc/glibc complains:
| /home/superandy/tmp/oe-core-glibc/work/cortexa72-mortsgna-linux/kexi/3.2.0-r0/recipe-sysroot/usr/include/c++/10.3.0/type_traits:101:3: error: template with C linkage
| 101 | template<typename...>
| | ^~~~~~~~
| In file included from /home/superandy/tmp/oe-core-glibc/work/cortexa72-mortsgna-linux/kexi/3.2.0-r0/kexi-3.2.0/src/migration/mdb/src/keximdb/mdbmigrate.h:24,
| from /home/superandy/tmp/oe-core-glibc/work/cortexa72-mortsgna-linux/kexi/3.2.0-r0/kexi-3.2.0/src/migration/mdb/src/keximdb/mdbmigrate.cpp:21:
| /home/superandy/tmp/oe-core-glibc/work/cortexa72-mortsgna-linux/kexi/3.2.0-r0/kexi-3.2.0/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h:22:3: note: 'extern "C"' linkage started here
| 22 | extern "C" {
| | ^~~~~~~~~~
Upstream-Status: Pending
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h b/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
index 31f48c1..d5e0075 100644
--- a/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
+++ b/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
@@ -18,9 +18,6 @@
#ifndef _mdbtools_h_
#define _mdbtools_h_
-#ifdef __cplusplus
- extern "C" {
-#endif
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
@@ -34,6 +31,10 @@
#include <string.h>
#include <glib.h>
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
#ifdef HAVE_ICONV
#include <iconv.h>
#endif
--
2.30.2

View File

@@ -1,200 +0,0 @@
From 3280c5ec9940f329dc75b2b8d9a52285b20209f0 Mon Sep 17 00:00:00 2001
From: Johannes Zarl-Zierl <johannes@zarl-zierl.at>
Date: Wed, 5 May 2021 00:09:49 +0200
Subject: [PATCH] Use plain Marble package instead of KexiMarble
Marble has shipped with a MarbleConfig.cmake file since ~2016. Kexi
already depends on KF5 versions that are much newer than that.
Upstream-Status: Backport[https://invent.kde.org/office/kexi/-/commit/3280c5ec9940f329dc75b2b8d9a52285b20209f0]
---
CMakeLists.txt | 8 +-
cmake/modules/FindKexiMarble.cmake | 115 ------------------
src/plugins/forms/widgets/CMakeLists.txt | 2 +-
.../forms/widgets/mapbrowser/CMakeLists.txt | 3 +-
4 files changed, 5 insertions(+), 123 deletions(-)
delete mode 100644 cmake/modules/FindKexiMarble.cmake
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 82ebc70..17181b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -199,16 +199,14 @@ endif()
## Test for marble
##
set(MARBLE_MIN_VERSION "0.19.2")
-find_package(KexiMarble ${MARBLE_MIN_VERSION})
-set_package_properties(KexiMarble PROPERTIES
+find_package(Marble ${MARBLE_MIN_VERSION} CONFIG)
+set_package_properties(Marble PROPERTIES
DESCRIPTION "KDE World Globe Widget library"
URL "https://marble.kde.org"
TYPE RECOMMENDED
PURPOSE "Required by Kexi form map widget"
)
-if(NOT MARBLE_FOUND)
- set(MARBLE_INCLUDE_DIR "")
-else()
+if(Marble_FOUND)
set(HAVE_MARBLE TRUE)
endif()
set_package_properties(GLIB2 PROPERTIES TYPE RECOMMENDED PURPOSE "${_REQUIRED_BY_MDB}")
diff --git a/cmake/modules/FindKexiMarble.cmake b/cmake/modules/FindKexiMarble.cmake
deleted file mode 100644
index 4ec1c5195..000000000
--- a/cmake/modules/FindKexiMarble.cmake
+++ /dev/null
@@ -1,115 +0,0 @@
-# - Try to find the Marble Library
-# Once done this will define
-#
-# MARBLE_FOUND - system has Marble
-# MARBLE_INCLUDE_DIR - the Marble include directory
-# MARBLE_LIBRARIES - Libraries needed to use Marble
-# MARBLE_VERSION - This contains combined MAJOR.MINOR.PATCH version (eg. 0.19.2);
-# Can be missing if version could not be found
-#
-# Versions mapping can be found at: https://marble.kde.org/changelog.php
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
-
-#=============================================================================
-# Copyright 2006-2009 Kitware, Inc.
-# Copyright 2006 Alexander Neundorf <neundorf@kde.org>
-# Copyright 2009-2011 Mathieu Malaterre <mathieu.malaterre@gmail.com>
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
-#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
-#=============================================================================
-
-function(from_hex HEX DEC)
- string(TOUPPER "${HEX}" HEX)
- set(_res 0)
- string(LENGTH "${HEX}" _strlen)
-
- while (_strlen GREATER 0)
- math(EXPR _res "${_res} * 16")
- string(SUBSTRING "${HEX}" 0 1 NIBBLE)
- string(SUBSTRING "${HEX}" 1 -1 HEX)
- if (NIBBLE STREQUAL "A")
- math(EXPR _res "${_res} + 10")
- elseif (NIBBLE STREQUAL "B")
- math(EXPR _res "${_res} + 11")
- elseif (NIBBLE STREQUAL "C")
- math(EXPR _res "${_res} + 12")
- elseif (NIBBLE STREQUAL "D")
- math(EXPR _res "${_res} + 13")
- elseif (NIBBLE STREQUAL "E")
- math(EXPR _res "${_res} + 14")
- elseif (NIBBLE STREQUAL "F")
- math(EXPR _res "${_res} + 15")
- else()
- math(EXPR _res "${_res} + ${NIBBLE}")
- endif()
-
- string(LENGTH "${HEX}" _strlen)
- endwhile()
-
- set(${DEC} ${_res} PARENT_SCOPE)
-endfunction()
-
-if ( MARBLE_INCLUDE_DIR AND MARBLE_GLOBAL_HEADER AND MARBLE_LIBRARIES )
- # in cache already
- set( MARBLE_FIND_QUIETLY TRUE )
-endif ()
-
-find_path( MARBLE_INCLUDE_DIR NAMES marble/MarbleMap.h PATH_SUFFIXES marble)
-find_file( MARBLE_GLOBAL_HEADER NAMES marble/MarbleGlobal.h PATH_SUFFIXES marble)
-find_library( MARBLE_LIBRARIES NAMES marblewidget-qt5 )
-
-if(MARBLE_GLOBAL_HEADER)
- file(STRINGS ${MARBLE_GLOBAL_HEADER}
- marble_version_line
- REGEX "^#define[\t ]+MARBLE_VERSION[\t ]+0x([0-9a-fA-F])+.*")
-
- string(REGEX REPLACE
- "^.*MARBLE_VERSION[\t ]+0x([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F])([0-9a-fA-F][0-9a-fA-F]).*$"
- "\\1;\\2;\\3" marble_version_list "${marble_version_line}")
-
- list(GET marble_version_list 0 MARBLE_VERSION_MAJOR)
- from_hex("${MARBLE_VERSION_MAJOR}" MARBLE_VERSION_MAJOR)
-
- list(GET marble_version_list 1 MARBLE_VERSION_MINOR)
- from_hex("${MARBLE_VERSION_MINOR}" MARBLE_VERSION_MINOR)
-
- list(GET marble_version_list 2 MARBLE_VERSION_PATCH)
- from_hex("${MARBLE_VERSION_PATCH}" MARBLE_VERSION_PATCH)
-
- set(MARBLE_VERSION "${MARBLE_VERSION_MAJOR}.${MARBLE_VERSION_MINOR}.${MARBLE_VERSION_PATCH}" CACHE STRING "Found Marble version")
-endif()
-
-include( FindPackageHandleStandardArgs )
-
-if(MARBLE_VERSION)
- if(DEFINED MARBLE_MIN_VERSION AND ${MARBLE_VERSION} VERSION_LESS ${MARBLE_MIN_VERSION})
- set(MARBLE_FOUND FALSE)
- unset(MARBLE_INCLUDE_DIR)
- unset(MARBLE_LIBRARIES)
- else()
- find_package_handle_standard_args( Marble
- REQUIRED_VARS
- MARBLE_INCLUDE_DIR
- MARBLE_LIBRARIES
- VERSION_VAR
- MARBLE_VERSION
- FAIL_MESSAGE
- "Could not find Marble"
- )
- endif()
-else()
- find_package_handle_standard_args( marble
- DEFAULT_MSG
- MARBLE_INCLUDE_DIR
- MARBLE_LIBRARIES )
-endif()
-
-mark_as_advanced(MARBLE_GLOBAL_HEADER MARBLE_VERSION_MAJOR MARBLE_VERSION_MINOR MARBLE_VERSION_PATCH)
diff --git a/src/plugins/forms/widgets/CMakeLists.txt b/src/plugins/forms/widgets/CMakeLists.txt
index 107d578a8..109341fe0 100644
--- a/src/plugins/forms/widgets/CMakeLists.txt
+++ b/src/plugins/forms/widgets/CMakeLists.txt
@@ -11,7 +11,7 @@ endmacro()
# the main widgets plugin
add_subdirectory(main)
-if(MARBLE_FOUND)
+if(Marble_FOUND)
#TODO add_subdirectory(mapbrowser)
endif()
diff --git a/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt b/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
index 3ff7f4fc8..f5be7fd02 100644
--- a/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
+++ b/src/plugins/forms/widgets/mapbrowser/CMakeLists.txt
@@ -1,7 +1,6 @@
include_directories(
${CMAKE_SOURCE_DIR}/src/formeditor
${CMAKE_SOURCE_DIR}/src/core
- ${MARBLE_INCLUDE_DIR}
)
set(kexiforms_mapwidgetplugin_SRCS
@@ -20,8 +19,8 @@ target_link_libraries(kexiforms_mapwidgetplugin
kexiextendedwidgets
kexiformutils
kexidataviewcommon
- ${MARBLE_LIBRARIES}
+ Marble
Qt5::Xml
)
--
2.31.1

View File

@@ -1,6 +1,6 @@
SUMMARY = "Kexi is a visual database applications creator"
HOMEPAGE = "https://www.calligra.org/kexi/"
LICENSE = "GPL-2.0-only & LGPL-2.0-only & GFDL-1.2 & BSD-3-Clause"
LICENSE = "GPLv2 & LGPLv2 & GFDL-1.2 & BSD"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=8608b1f74c58ebcb11718f46e8619749 \
file://COPYING.LIB;md5=7537f2f34ef162007ae9f34b9f256dcb \
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
file://COPYING-CMAKE-SCRIPTS;md5=3775480a712fc46a69647678acb234cb \
"
inherit kde-apps gtk-icon-cache mime-xdg
inherit kde-apps gtk-icon-cache
DEPENDS += " \
qtwebkit \
@@ -33,34 +33,35 @@ DEPENDS += " \
kcompletion \
kio \
ktexteditor \
mariadb \
postgresql \
marble \
"
SRC_URI = " \
${KDE_MIRROR}/stable/${BPN}/src/${BPN}-${PV}.tar.xz \
file://0001-remove-try_run-by-try_compile-in-breeze-icon-check.patch \
file://0002-Add-missing-include-to-fix-build-with-Qt-5.11.patch \
file://0003-Fix-build-with-Qt-5.13.patch \
file://0004-Set-extern-C-after-including-common-headers.patch \
file://0005-Use-plain-Marble-package-instead-of-KexiMarble.patch \
"
SRC_URI[sha256sum] = "7a813f9ea815a09c1e733d0e7dc879c64eee85f075389e87e6aab99cf0c1c1ff"
SRC_URI[md5sum] = "22d6c4739109441f5274da584f67f1c8"
SRC_URI[sha256sum] = "6d55cd4af177bcb060673a0977d52bc91cc2dd1b1420d008a78f9783312152fb"
do_install:append() {
do_install_append() {
install -d "${D}/${datadir}/pixmaps"
install ${S}/src/pics/icons/breeze/apps/48/kexi.svg ${D}/${datadir}/pixmaps/
}
FILES:${PN} += " \
FILES_${PN} += " \
${OE_QMAKE_PATH_PLUGINS} \
"
RDEPENDS:${PN} += "breeze-icons-binres"
RDEPENDS_${PN} += "breeze-icons-binres"
# REVISIT (try marble again once 3.3.x is out)
# REVISIT
#-- The following RECOMMENDED packages have not been found:
#
# * KexiMarble (required version >= 0.19.2), KDE World Globe Widget library, <https://marble.kde.org>
# Required by Kexi form map widget
# * MySQL, MySQL Client Library (libmysqlclient), <http://www.mysql.com>
# Required by Kexi MySQL migration driver
# * PostgreSQL, C API to PostgreSQL (libpq), <http://www.postgresql.org>
# Required by Kexi PostgreSQL migration driver

View File

@@ -1,6 +1,6 @@
SUMMARY = "Property editing framework with editor widget"
HOMEPAGE = "https://community.kde.org/KProperty"
LICENSE = "LGPL-2.0-only & GFDL-1.2 & BSD-3-Clause"
LICENSE = "LGPLv2 & GFDL-1.2 & BSD"
LIC_FILES_CHKSUM = " \
file://COPYING.LIB;md5=3dcc9b0b0118292a0c5d1c18927ef176 \
file://COPYING-CMAKE-SCRIPTS;md5=3775480a712fc46a69647678acb234cb \
@@ -18,9 +18,12 @@ DEPENDS += " \
"
SRC_URI = "${KDE_MIRROR}/stable/${BPN}/src/${BPN}-${PV}.tar.xz"
SRC_URI[sha256sum] = "67af0c2d74715957bd5373a6a30589ff0a996cb1d267dfd0538dccaa9a768dfa"
SRC_URI[md5sum] = "ee888d41a677ddc6b8c63f0f71e82026"
SRC_URI[sha256sum] = "7ede8ee868ba480e4666a32b4b26d279b1e45177f83b0ada32a15fa9cee514a3"
FILES:${PN} += " \
${datadir}/kproperty3 \
FILES_${PN} += " \
${datadir}/kpropertywidgets3 \
${datadir}/kservicetypes5 \
${datadir}/kreport3 \
${OE_QMAKE_PATH_PLUGINS} \
"

View File

@@ -1,122 +0,0 @@
From 5d3053ea78b349b81b7a562974ad78f93d169791 Mon Sep 17 00:00:00 2001
From: Jaroslaw Staniek <staniek@kde.org>
Date: Tue, 16 Jun 2020 21:59:12 +0200
Subject: [PATCH] Fix build with GCC 10 (make KReportGroupTracker use C++ file)
BUG:422886
CCMAIL:adam@piggz.co.uk
FIXED-IN:3.2.1
Upstream-Status: Applied[https://github.com/KDE/kreport/commit/5d3053ea78b349b81b7a562974ad78f93d169791]
---
src/CMakeLists.txt | 5 +---
.../scripting/KReportGroupTracker.cpp | 26 +++++++++++++++++++
src/renderer/scripting/KReportGroupTracker.h | 25 +++++++++++++++---
3 files changed, 48 insertions(+), 8 deletions(-)
create mode 100644 src/renderer/scripting/KReportGroupTracker.cpp
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1cf0b389..65bcf6e5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -106,6 +106,7 @@ set(kreport_TARGET_INCLUDE_DIRS
if(KREPORT_SCRIPTING)
list(APPEND kreport_LIB_SRCS
+ renderer/scripting/KReportGroupTracker.cpp
renderer/scripting/KReportScriptHandler.cpp
renderer/scripting/KReportScriptConstants.cpp
renderer/scripting/KReportScriptDebug.cpp
@@ -133,10 +134,6 @@ if(KREPORT_SCRIPTING)
items/text/KReportScriptText.cpp
)
- qt_wrap_cpp(KReport kreport_LIB_SRCS
- renderer/scripting/KReportGroupTracker.h
- )
-
list(APPEND kreport_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/renderer/scripting
)
diff --git a/src/renderer/scripting/KReportGroupTracker.cpp b/src/renderer/scripting/KReportGroupTracker.cpp
new file mode 100644
index 00000000..9274d4a5
--- /dev/null
+++ b/src/renderer/scripting/KReportGroupTracker.cpp
@@ -0,0 +1,26 @@
+/* This file is part of the KDE project
+ * Copyright (C) 2015 by Adam Pigg (adam@piggz.co.uk)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "KReportGroupTracker.h"
+
+KReportGroupTracker::KReportGroupTracker()
+{
+}
+
+KReportGroupTracker::~KReportGroupTracker()
+{
+}
diff --git a/src/renderer/scripting/KReportGroupTracker.h b/src/renderer/scripting/KReportGroupTracker.h
index e434e05a..4c0852ea 100644
--- a/src/renderer/scripting/KReportGroupTracker.h
+++ b/src/renderer/scripting/KReportGroupTracker.h
@@ -1,3 +1,20 @@
+/* This file is part of the KDE project
+ * Copyright (C) 2015 by Adam Pigg (adam@piggz.co.uk)
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
#ifndef KREPORTGROUPTRACKER_H
#define KREPORTGROUPTRACKER_H
@@ -7,16 +24,16 @@
/*!
* @brief Keeps track of groups as the data for the group changes
*/
-class KREPORT_EXPORT KReportGroupTracker : public QObject {
+class KREPORT_EXPORT KReportGroupTracker : public QObject
+{
Q_OBJECT
protected:
- KReportGroupTracker() {}
- ~KReportGroupTracker() override{}
+ KReportGroupTracker();
+ ~KReportGroupTracker() override;
public:
Q_SLOT virtual void setGroupData(const QMap<QString, QVariant> &groupData) = 0;
};
#endif // KREPORTGROUPTRACKER_H
-
--
2.26.2

View File

@@ -1,6 +1,6 @@
SUMMARY = "Framework for creation and generation of reports"
HOMEPAGE = "https://community.kde.org/KReport"
LICENSE = "LGPL-2.0-only & GFDL-1.2 & BSD-3-Clause"
LICENSE = "LGPLv2 & GFDL-1.2 & BSD"
LIC_FILES_CHKSUM = " \
file://COPYING.LIB;md5=1634220ce20ef95161c3b8401908638c \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
@@ -23,14 +23,11 @@ DEPENDS += " \
qtwebkit \
"
SRC_URI = " \
${KDE_MIRROR}/stable/${BPN}/src/${BPN}-${PV}.tar.xz \
file://0001-Do-not-rely-on-python2.patch \
file://0001-Fix-build-with-GCC-10-make-KReportGroupTracker-use-C.patch \
"
SRC_URI[sha256sum] = "22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7"
SRC_URI = "${KDE_MIRROR}/stable/${BPN}/src/${BPN}-${PV}.tar.xz"
SRC_URI[md5sum] = "48216d8f83a48c93bed9acd0081daa92"
SRC_URI[sha256sum] = "3b6485629b5e4343b7ddf42efb1927310d60b143a22afe79925147d0ddcdf36c"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/kservicetypes5 \
${datadir}/kreport3 \
${OE_QMAKE_PATH_PLUGINS} \

View File

@@ -1,6 +1,6 @@
SUMMARY = "Plugins for Dolphin"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0-or-later.txt;md5=9e2385fe012386d34dcc5c9863070881"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"
inherit kde-apps gettext
@@ -8,6 +8,7 @@ DEPENDS += "\
kauth-native \
kconfig-native \
kcoreaddons-native \
kdesignerplugin-native \
kdelibs4support-native \
kdelibs4support \
sonnet-native \
@@ -18,9 +19,10 @@ DEPENDS += "\
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "703c4666d5fb9a48cca01b52ca5bc4aacbcba3a82c1656487f40334513851517"
SRC_URI[md5sum] = "f4be0f56a4935ef177375ab7f22ce25b"
SRC_URI[sha256sum] = "1bff5f828f11e9b9a527b59f12ec16745fa19fb09392ca1872d6b0c909212427"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/config.kcfg \
${datadir}/kservices5 \
${OE_QMAKE_PATH_PLUGINS} \

View File

@@ -1,21 +1,21 @@
SUMMARY = "KDE File Manager"
LICENSE = "GPL-2.0-only & GFDL-1.2"
LICENSE = "GPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24 \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
"
inherit kde-apps gettext mime-xdg
inherit kde-apps gettext
DEPENDS += " \
kauth-native \
kconfig-native \
kcoreaddons-native \
kdoctools-native \
kcmutils-native \
sonnet-native \
\
kinit \
kcmutils \
knewstuff \
ki18n \
kdbusaddons \
@@ -36,20 +36,19 @@ DEPENDS += " \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "971489a59cdd6b297e2142eb3315847addafbc4e3504e1609fe5e1d119cf15a3"
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"
SRC_URI[md5sum] = "08f6009c452da25828e26608b1191d19"
SRC_URI[sha256sum] = "c4921759bdfec9a96201a5d76a67869f867ec7e3caf92f8e46fa5d853a0741b1"
SRC_URI += " \
file://0001-fix-build-for-qtbase-without-session-management.patch \
file://0002-Revert-Make-target_link_libraries-for-kdeinit_dolphi.patch \
"
FILES_SOLIBSDEV = "${libdir}/libdolphin*${SOLIBSDEV}"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/config.kcfg \
${datadir}/k*5 \
${datadir}/kconf_update \
${datadir}/kglobalaccel \
${datadir}/knsrcfiles \
${datadir}/dbus-1 \
${libdir}/libkdeinit5_dolphin.so \
${OE_QMAKE_PATH_PLUGINS} \
${systemd_user_unitdir} \
"

View File

@@ -0,0 +1,53 @@
From b9abe385e2563d7178fbf982ec6977b9f3e625bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 28 Aug 2015 23:22:18 +0200
Subject: [PATCH] fix build for qtbase without session management
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/dolphinmainwindow.cpp | 2 ++
src/main.cpp | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index f7a7613..127cd85 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -386,9 +386,11 @@ void DolphinMainWindow::closeEvent(QCloseEvent* event)
// Find out if Dolphin is closed directly by the user or
// by the session manager because the session is closed
bool closedByUser = true;
+#ifndef QT_NO_SESSIONMANAGER
if (qApp->isSavingSession()) {
closedByUser = false;
}
+#endif
if (m_tabWidget->count() > 1 && GeneralSettings::confirmClosingMultipleTabs() && closedByUser) {
// Ask the user if he really wants to quit and close all tabs.
diff --git a/src/main.cpp b/src/main.cpp
index b4ca2c6..5c058a9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -156,6 +156,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
mainWindow->show();
+#ifndef QT_NO_SESSIONMANAGER
if (app.isSessionRestored()) {
const QString className = KXmlGuiWindow::classNameOfToplevel(1);
if (className == QLatin1String("DolphinMainWindow")) {
@@ -164,6 +165,7 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
qCWarning(DolphinDebug) << "Unknown class " << className << " in session saved data!";
}
}
+#endif
return app.exec(); // krazy:exclude=crash;
}
--
2.1.0

View File

@@ -0,0 +1,24 @@
From d6c810a4e95af9f4d8c4176eaa622e1507ab5613 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Mon, 29 Oct 2018 22:19:12 +0100
Subject: [PATCH] Revert "Make target_link_libraries for kdeinit_dolphin
PRIVATE"
This reverts commit 8e6f4eecd318041d2e4e6386d1660742dd4ddd89.
---
src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5aff4b0fa..9dc77c3da 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -297,7 +297,7 @@ ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS})
kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS})
-target_link_libraries(kdeinit_dolphin PRIVATE
+target_link_libraries(kdeinit_dolphin
dolphinstatic
dolphinprivate
KF5::Crash

View File

@@ -1,13 +1,11 @@
SUMMARY = "Simple KDE multimedia player"
LICENSE = "GFDL-1.2 & GPL-2.0-only & GPL-2.0-or-later & GPL-3.0-only"
LICENSE = "GPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://LICENSES/GFDL-1.2-or-later.txt;md5=9a4c4207e152ff95aa8539e9c1ed53e9 \
file://LICENSES/GPL-2.0-only.txt;md5=93e64b4a83c7e441e48bbdeeea05c977 \
file://LICENSES/GPL-2.0-or-later.txt;md5=fed54355545ffd980b814dab4a3b312c \
file://LICENSES/GPL-3.0-only.txt;md5=1c76c4cc354acaac30ed4d5eefea7245 \
file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
"
inherit kde-apps gettext mime-xdg
inherit kde-apps gettext
DEPENDS += " \
phonon \
@@ -31,11 +29,12 @@ DEPENDS += " \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "ea699d4c7c780063aa0598a2050f78f3ce93de86c3818f56541e59d20fa9e6ad"
SRC_URI[md5sum] = "fcf5e0ec51b65619fcfe8c7bc59bd162"
SRC_URI[sha256sum] = "115d60bfdef498ea75bc077a7091fb738615b399b03ec2a76a4bf34f19b407f3"
CXXFLAGS += "-isystem ${STAGING_INCDIR}/phonon4qt5/KDE"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/k*5 \
${datadir}/solid \
${datadir}/icons \

View File

@@ -1,12 +1,11 @@
SUMMARY = "KDE graphical diskspace analyser"
LICENSE = "GFDL-1.2 & GPL-2.0-only & GPL-3.0-only"
LICENSE = "GPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://LICENSES/GFDL-1.2-or-later.txt;md5=9f58808219e9a42ff1228309d6f83dc6 \
file://LICENSES/GPL-2.0-only.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/GPL-3.0-only.txt;md5=49fc03046e56a282c0c743b5d3a55b7c \
file://COPYING;md5=e098acff086ea3d1264fc89b51242144 \
file://COPYING-DOCS;md5=ad1419ecc56e060eccf8184a87c4285f \
"
inherit kde-apps gettext mime-xdg
inherit kde-apps gettext
DEPENDS += "\
kauth-native \
@@ -14,9 +13,6 @@ DEPENDS += "\
kcoreaddons-native \
kdoctools-native \
sonnet-native \
kpackage-native \
qtquickcontrols2 \
kdeclarative \
kio \
kparts \
solid \
@@ -25,9 +21,13 @@ DEPENDS += "\
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "d28b9b9e6628bc4f97398e04872f57d9b46c1a7259a5d68f8311e50db3a74f6e"
SRC_URI[md5sum] = "af910a156f817368d2bab2520636f320"
SRC_URI[sha256sum] = "9090bc7c7ac2586e857cdc246a94621c1453e7f65c6d491f2f374f43d3e4af1a"
SRC_URI += " \
file://0001-fix-build-for-qtbase-build-without-session-support-Q.patch \
"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/k*5 \
${datadir}/icons \
${OE_QMAKE_PATH_PLUGINS} \

View File

@@ -0,0 +1,40 @@
From d83637a54457d77687088f45a9036b9a2a7bcf11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Fri, 24 Apr 2015 11:35:45 +0200
Subject: [PATCH] fix build for qtbase build without session support
QT_NO_SESSIONMANAGER
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/main.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/main.cpp b/src/main.cpp
index 2463a29..1709717 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -78,6 +78,7 @@ int main(int argc, char *argv[])
options.process(app);
about.processCommandLine(&options);
+#ifndef QT_NO_SESSIONMANAGER
if (!app.isSessionRestored()) {
MainWindow *mw = new MainWindow();
@@ -89,7 +90,9 @@ int main(int argc, char *argv[])
mw->show();
}
- else RESTORE(MainWindow);
+ else
+#endif
+ RESTORE(MainWindow);
return app.exec();
}
--
1.9.3

View File

@@ -1,10 +1,9 @@
SUMMARY = "Granatier is a clone of the classic Bomberman game"
DESCRIPTION = "Granatier is a clone of the classic Bomberman game, inspired by the work of the Clanbomber clone"
LICENSE = "GFDL-1.2+ & GPL-2.0-or-later & LGPL-2.0-only"
LICENSE = "GPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://LICENSES/GFDL-1.2-or-later.txt;md5=9a4c4207e152ff95aa8539e9c1ed53e9 \
file://LICENSES/GPL-2.0-or-later.txt;md5=9e2385fe012386d34dcc5c9863070881 \
file://LICENSES/LGPL-2.0-only.txt;md5=da48810c4ddf8e49efa031294a26b98c \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
"
inherit kde-apps gtk-icon-cache
@@ -25,9 +24,10 @@ DEPENDS += " \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "16527c0b596de555a19b5f67672bf1a463a4a934c85d578aef23b0bae856d458"
SRC_URI[md5sum] = "e18910bb5e1605ed4c8eafe07ab2a0ad"
SRC_URI[sha256sum] = "ad065e488f9a751423d571f51449e766c625e88ca7d3c30d21ff3b9027fc04af"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/config.kcfg \
${datadir}/icons \
${datadir}/kxmlgui5 \

View File

@@ -0,0 +1,108 @@
From e5170c60d0443d8f50b5bf6a85bea64bea29fbc0 Mon Sep 17 00:00:00 2001
From: "Luis Gustavo S. Barreto" <gustavo@ossystems.com.br>
Date: Wed, 6 Apr 2016 19:42:07 +0000
Subject: [PATCH 3/3] Avoid try_run
When cross compiling, the executable compiled in the first step usually
cannot be run on the build host. For this reason, we use try_compile()
to determine what version of libjpeg is available.
Upstream-Status: Pending
Signed-off-by: Luis Gustavo S. Barreto <gustavo@ossystems.com.br>
---
lib/CMakeLists.txt | 71 ++++++++++++++++++++++++++++++++----------------------
1 file changed, 42 insertions(+), 29 deletions(-)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index d51b80d..db3ac7b 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -10,42 +10,55 @@ message(STATUS "Looking for libjpeg version in ${JPEG_INCLUDE_DIR}/jpeglib.h")
# found in (between libjpeg, libjpeg-turbo and various multilib header
# forwarding schemes seen in distros), have a simple program print out the
# right version.
-set(JPEGLIB_VERSION_CHECK_PATH "${CMAKE_CURRENT_BINARY_DIR}/jpeglib-version-check.c")
-file(WRITE ${JPEGLIB_VERSION_CHECK_PATH} "
-#include <stdio.h>
-#include <stdlib.h>
-#include <jpeglib.h>
+function(JPEGVersionCheck Ret Op Version)
+ set(JPEGLIB_VERSION_CHECK_PATH "${CMAKE_CURRENT_BINARY_DIR}/jpeglib-version-check.c")
+ file(WRITE ${JPEGLIB_VERSION_CHECK_PATH} "
+ #include <stddef.h>
+ #include <stdio.h>
+ #include <jpeglib.h>
+ int main()
+ {
+ #if (JPEG_LIB_VERSION ${Op} ${Version})
+ #error JPEG_LIB_VERSION ${Op} ${Version}
+ #endif
+ return 0;
+ }
+ ")
-int main(void) { printf(\"%d\\\n\", JPEG_LIB_VERSION); }
-")
+try_compile(COMPILE_RESULT_VAR
+ "${CMAKE_BINARY_DIR}" "${JPEGLIB_VERSION_CHECK_PATH}"
+ COMPILE_DEFINITIONS "${COMPILE_DEFINITIONS}"
+ OUTPUT_VARIABLE COMPILE_OUT)
-try_run(JPEGLIB_RUN_RESULT JPEGLIB_COMPILE_RESULT
- ${CMAKE_CURRENT_BINARY_DIR} ${JPEGLIB_VERSION_CHECK_PATH}
- CMAKE_FLAGS -DINCLUDE_DIRECTORIES:PATH=${JPEG_INCLUDE_DIR}
- RUN_OUTPUT_VARIABLE jpeglib_version)
+ set(${Ret} ${COMPILE_OUT} PARENT_SCOPE)
+endfunction()
-if ((${JPEGLIB_COMPILE_RESULT} EQUAL FALSE) OR ("${JPEGLIB_RUN_RESULT}" EQUAL FAILED_TO_RUN) OR "${jpeglib_version}" STREQUAL "")
- message(FATAL_ERROR "Could not find jpeglib.h. This file comes with libjpeg.")
-endif()
+find_package(JPEG REQUIRED)
+if(JPEG_FOUND)
+ JPEGVersionCheck(JPEG_LIB_VERSION < 80)
+ if (${JPEG_LIB_VERSION} MATCHES "#error")
+ set(GV_JPEG_DIR libjpeg-62)
+ endif()
-if ("${jpeglib_version}" LESS 80)
- set(GV_JPEG_DIR libjpeg-62)
-endif()
+ JPEGVersionCheck(JPEG_LIB_VERSION == 80)
+ if (${JPEG_LIB_VERSION} MATCHES "#error")
+ set(GV_JPEG_DIR libjpeg-80)
+ endif()
-if ("${jpeglib_version}" EQUAL 80)
- set(GV_JPEG_DIR libjpeg-80)
-endif()
+ JPEGVersionCheck(JPEG_LIB_VERSION == 90)
+ if (${JPEG_LIB_VERSION} MATCHES "#error")
+ set(GV_JPEG_DIR libjpeg-90)
+ endif()
-if ("${jpeglib_version}" EQUAL 90)
- set(GV_JPEG_DIR libjpeg-90)
-endif()
-
-if ("${GV_JPEG_DIR}" STREQUAL "")
- message(FATAL_ERROR "Unknown libjpeg version: ${jpeglib_version}")
+ if ("${GV_JPEG_DIR}" STREQUAL "")
+ message(FATAL_ERROR "Unknown libjpeg version")
+ else()
+ message(STATUS "using ${GV_JPEG_DIR}")
+ endif()
+else(JPEG_FOUND)
+ message(FATAL_ERROR "Could not find jpeglib.h. This file comes with libjpeg.")
endif()
-
-message(STATUS "libjpeg version: ${jpeglib_version}")
-
+
add_definitions(-Dlibjpeg_EXPORTS)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/${GV_JPEG_DIR}
--
2.5.5

View File

@@ -1,39 +1,40 @@
SUMMARY = "A fast and easy to use image viewer for KDE"
LICENSE = "GPL-2.0-only"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5a3169a2d39a757efd8b7aa66a69d97b"
inherit kde-apps gettext mime-xdg
inherit kde-apps gettext
DEPENDS += " \
kdelibs4support-native \
kdoctools-native \
jpeg \
exiv2 \
lcms \
phonon \
kdelibs4support \
kdelibs4support-native \
kded \
kactivities \
kcoreaddons-native \
kconfig-native \
kauth-native \
kdesignerplugin-native \
sonnet-native \
kxmlgui \
kfilemetadata \
baloo \
libkdcraw \
kimageannotator \
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "f125eb729dd81ea265471c9bbca54fe6a7e87348c9a782b321331da72a02aa6e"
SRC_URI[md5sum] = "93019f12a8b494b22d00d9489832246b"
SRC_URI[sha256sum] = "0b4ff869fc09140e258e894f5169fc6c96f1126891b8ed1a391d4624d6ab0c35"
EXTRA_OECMAKE += " \
-DJPEGLIB_RUN_RESULT=true \
-DJPEGLIB_RUN_RESULT__TRYRUN_OUTPUT=0 \
SRC_URI += " \
file://0001-Avoid-try_run.patch \
"
FILES:${PN} += " \
CXXFLAGS += "-isystem ${STAGING_INCDIR}/phonon4qt5/KDE"
FILES_${PN} += " \
${datadir}/k*5 \
${datadir}/icons \
${datadir}/solid \

View File

@@ -1,12 +1,12 @@
SUMMARY = "2D and 3D Graph Calculator"
LICENSE = "GPL-2.0-only & LGPL-2.0-only & GFDL-1.2"
LICENSE = "GPLv2 & LGPLv2 & GFDL-1.2"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
file://COPYING.DOC;md5=28d73eafa40ebd0ccdc6b37df8de10a3 \
file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
"
inherit kde-apps gettext gtk-icon-cache mime-xdg
inherit kde-apps gettext gtk-icon-cache
DEPENDS += "\
ncurses \
@@ -22,9 +22,10 @@ DEPENDS += "\
"
PV = "${KDE_APP_VERSION}"
SRC_URI[sha256sum] = "82e0007a9a71a1771624410449be4a7c2db13fa9583e917b330270265512f977"
SRC_URI[md5sum] = "6357ca100f9f85ffd9fab69fa4bb9d79"
SRC_URI[sha256sum] = "a93b319c6a3fab3d3a12923f8153a6f38281887e176fffaa37ca6cc677a280b5"
FILES:${PN} += " \
FILES_${PN} += " \
${datadir}/icons \
${datadir}/kalgebramobile \
"

Some files were not shown because too many files have changed in this diff Show More