Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-09-24 05:13:22 +03:00
parent a98bd715fc
commit b5c6ceea86
14 changed files with 17 additions and 35 deletions

View file

@ -7,17 +7,14 @@ code style.
In many cases using immutable static data rather than generating at runtime and In many cases using immutable static data rather than generating at runtime and
caching it is more optimal. If you want to add code that uses data tables use caching it is more optimal. If you want to add code that uses data tables use
naming such as `MIBTbl` which makes it easy to look for and Python script for naming such as `MIBTbl` which makes it easy to look for and Python script for
generating the data tables if possible. Check out the existing scripts generating the data tables if possible. Check out the existing scripts in the
(https://github.com/fluxer/katie/tree/master/scripts) for examples. scripts directory of Katie source code for examples.
## Compatibility ## Compatibility
Neither source nor binary compatibility is guaranteed between releases which Neither source nor binary compatibility is guaranteed between releases which
means hacks for binary compatibility and such are not required. If there is means hacks for binary compatibility and such are not required. If there is
breaking change, the changes that need to be applied to other projects should breaking change, the changes that need to be applied to other projects should
be kept to minimum with backwards compatibility where possible and usually noted be kept to minimum with backwards compatibility where possible.
at the main wiki page (https://github.com/fluxer/katie/wiki). Note your changes
there if necessary once they are accepted, ask for write access if you cannot
edit pages on the wiki.
## Standards ## Standards
All standard and extension requirements for optional feature should be checked All standard and extension requirements for optional feature should be checked
@ -31,9 +28,9 @@ source of information
(https://pubs.opengroup.org/onlinepubs/9699919799/idx/head.html). (https://pubs.opengroup.org/onlinepubs/9699919799/idx/head.html).
## Tests ## Tests
You can import tests and adjust them as needed from stock Qt4 copy You can import tests and adjust them as needed from stock Qt4 copy if there are
(https://github.com/fluxer/qt) if there are no tests in place relevant to the no tests in place relevant to the changes you do. Adding regression tests is
changes you do. Adding regression tests is optional. optional.
## Translations ## Translations
To contribute translations either use the web interface at To contribute translations either use the web interface at

5
README
View file

@ -91,8 +91,3 @@ Katie is mostly source compatible with Qt 4.8.x, compatibility with releases
earlier than that is not a goal. Do note that using libraries that earlier than that is not a goal. Do note that using libraries that
are linked to Qt4 from applications linked to Katie will trigger undefined are linked to Qt4 from applications linked to Katie will trigger undefined
behavior. behavior.
Should you encounter a problem please report it at
https://github.com/fluxer/katie/issues. For more information about changes,
how to handle them and general info please visit
https://github.com/fluxer/katie/wiki.

View file

@ -8,13 +8,13 @@ pkgver=4.12.0.r4681.8f22ea5f
pkgrel=1 pkgrel=1
pkgdesc='C++ toolkit derived from the Qt 4.8 framework' pkgdesc='C++ toolkit derived from the Qt 4.8 framework'
arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm') arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm')
url='https://github.com/fluxer/katie' url='https://osdn.net/projects/kde/'
license=('LGPL' 'BSD') license=('LGPL' 'BSD')
depends=('libsm' 'libxcursor' 'libxinerama' 'libxrandr' 'fontconfig' depends=('libsm' 'libxcursor' 'libxinerama' 'libxrandr' 'fontconfig'
'icu' 'jansson' 'libcups' 'xdg-utils' 'libdeflate') 'icu' 'jansson' 'libcups' 'xdg-utils' 'libdeflate')
makedepends=('cmake' 'git' 'unifdef') makedepends=('cmake' 'git' 'unifdef')
optdepends=('gnu-free-fonts: last resort font') optdepends=('gnu-free-fonts: last resort font')
source=("git+https://github.com/fluxer/katie") source=("git+https://scm.osdn.net/gitroot/kde/Katie.git")
sha1sums=('SKIP') sha1sums=('SKIP')
conflicts=('katie') conflicts=('katie')
# options=('debug') # options=('debug')
@ -34,8 +34,6 @@ build() {
-Wno-dev \ -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DKATIE_LDCONF_PATH=/etc/ld.so.conf.d \
-DKATIE_PROFILE_PATH=/etc/profile.d \
-DKATIE_TOOLS_SUFFIX="-katie" -DKATIE_TOOLS_SUFFIX="-katie"
make make
} }

View file

@ -1,9 +1,9 @@
Source: katie Source: katie
Priority: optional Priority: optional
Maintainer: Ivailo Monev <xakepa10@gmail.com> Maintainer: Ivailo Monev <xakepa10@gmail.com>
Homepage: https://github.com/fluxer/katie Homepage: https://osdn.net/projects/kde/
Vcs-Git: git://github.com/fluxer/katie.git Vcs-Git: git://git.osdn.net/gitroot/kde/Katie.git
Vcs-browser: https://github.com/fluxer/katie Vcs-browser: https://scm.osdn.net/gitroot/kde/Katie.git
Standards-Version: 4.12.0 Standards-Version: 4.12.0
Build-Depends: debhelper (>= 9~), libdeflate-dev, Build-Depends: debhelper (>= 9~), libdeflate-dev,
libc6-dev, libjansson-dev, libpng-dev, libcups2-dev, libfreetype6-dev, libc6-dev, libjansson-dev, libpng-dev, libcups2-dev, libfreetype6-dev,

View file

@ -8,8 +8,8 @@ COMMENT = C++ toolkit derived from the Qt 4.8 framework
LICENSE = BSD3CLAUSE LGPL21+ LICENSE = BSD3CLAUSE LGPL21+
LICENSE_COMB = multi LICENSE_COMB = multi
MASTER_SITES = https://github.com/fluxer/katie/archive/ MASTER_SITES = https//TODO.com
DISTFILES = master.tar.gz DISTFILES = TODO.tar.gz
DIST_SUBDIR = ${PORTNAME} DIST_SUBDIR = ${PORTNAME}
WRKSRC = ${WRKDIR}/katie-master WRKSRC = ${WRKDIR}/katie-master

View file

@ -2,4 +2,4 @@ Katie is continuation of the Qt4 C++ toolkit with the goal to keep it alive,
clean it up, fix some bugs and backport some features from Qt5. It is based clean it up, fix some bugs and backport some features from Qt5. It is based
on the latest Git revision of Qt v4.8. on the latest Git revision of Qt v4.8.
WWW: https://github.com/fluxer/katie WWW: https://osdn.net/projects/kde/

View file

@ -1,7 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
# See https://github.com/fluxer/katie/wiki/Benchmarking-vs-Qt4
import os, sys, subprocess import os, sys, subprocess
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET

View file

@ -44,7 +44,7 @@ dpkg --add-architecture $crossarch
apt-get update apt-get update
apt-get install --yes git crossbuild-essential-$crossarch qemu-user-static apt-get install --yes git crossbuild-essential-$crossarch qemu-user-static
git clone --depth=1 git://github.com/fluxer/katie git clone --depth=1 git://git.osdn.net/gitroot/kde/Katie.git
cd katie cd katie
ln -sv package/debian . ln -sv package/debian .
apt-get build-dep --yes -a $crossarch . apt-get build-dep --yes -a $crossarch .

View file

@ -1,7 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
#-*- coding: UTF-8 -*- #-*- coding: UTF-8 -*-
# See https://github.com/fluxer/katie/wiki/Unicode-support
# Data is from https://unicode.org/Public/cldr/41/core.zip # Data is from https://unicode.org/Public/cldr/41/core.zip
import os, sys, glob, re import os, sys, glob, re

View file

@ -1,6 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
# See https://github.com/fluxer/katie/wiki/Unicode-support
# Data is from https://www.iana.org/assignments/character-sets/character-sets.xml # Data is from https://www.iana.org/assignments/character-sets/character-sets.xml
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET

View file

@ -1,7 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
# See https://github.com/fluxer/katie/wiki/Unicode-support
import sys import sys
def readlines(fromfile): def readlines(fromfile):

View file

@ -1,7 +1,5 @@
#!/usr/bin/python #!/usr/bin/python
# See https://github.com/fluxer/katie/wiki/Namespace-incompatibilities
import os, re import os, re
# generated via find /usr/include/katie/ -name 'Q*' -printf ' "%f",\n' | sort -u # generated via find /usr/include/katie/ -name 'Q*' -printf ' "%f",\n' | sort -u

View file

@ -1453,7 +1453,7 @@ void QMessageBox::aboutQt(QWidget *parent, const QString &title)
"<p>Katie is licensed under the GNU LGPL version 2.1</p>" "<p>Katie is licensed under the GNU LGPL version 2.1</p>"
"<p>Copyright (C) 2015 The Qt Company Ltd and other contributors.</p>" "<p>Copyright (C) 2015 The Qt Company Ltd and other contributors.</p>"
"<p>Copyright (C) 2016 Ivailo Monev</p>" "<p>Copyright (C) 2016 Ivailo Monev</p>"
"<p>See <a href=\"https://github.com/fluxer/katie\">github.com/fluxer/katie</a> for more information.</p>" "<p>See <a href=\"https://osdn.net/projects/kde/\">osdn.net/projects/kde/</a> for more information.</p>"
); );
QMessageBox *msgBox = new QMessageBox(parent); QMessageBox *msgBox = new QMessageBox(parent);
msgBox->setAttribute(Qt::WA_DeleteOnClose); msgBox->setAttribute(Qt::WA_DeleteOnClose);

View file

@ -1251,7 +1251,7 @@ msgid ""
"<p>Katie is a C++ toolkit derived from the Qt 4.8 framework.</p><p>Katie is " "<p>Katie is a C++ toolkit derived from the Qt 4.8 framework.</p><p>Katie is "
"licensed under the GNU LGPL version 2.1</p><p>Copyright (C) 2015 The Qt " "licensed under the GNU LGPL version 2.1</p><p>Copyright (C) 2015 The Qt "
"Company Ltd and other contributors.</p><p>Copyright (C) 2016 Ivailo Monev</" "Company Ltd and other contributors.</p><p>Copyright (C) 2016 Ivailo Monev</"
"p><p>See <a href=\"https://github.com/fluxer/katie\">github.com/fluxer/" "p><p>See <a href=\"https://osdn.net/projects/kde/\">osdn.net/projects/kde/"
"katie</a> for more information.</p>" "katie</a> for more information.</p>"
msgstr "" msgstr ""