Building konsole version 24.08.0
Hi,
yesterday someone asked for ktorrent from KDE/Apps version 24.08.0.
Today, afternoon I played with NEW konsole.
Here is my quick mini-howto.
[ PREREQ ]
INFO: You should have some experiences in Debian packaging.
[ BUILD-DIR ]
mkdir $HOME/src/konsole
[ WGET ]
wget http://deb.debian.org/debian/pool/main/k/konsole/konsole_24.05.2-1.dsc
wget http://deb.debian.org/debian/pool/main/k/konsole/konsole_24.05.2-1.debian.tar.xz
wget http://deb.debian.org/debian/pool/main/k/konsole/konsole_24.05.2.orig.tar.xz
wget http://deb.debian.org/debian/pool/main/k/konsole/konsole_24.05.2.orig.tar.xz.asc
wget -O konsole_24.08.0.orig.tar.xz
https://download.kde.org/stable/release-service/24.08.0/src/konsole-24.08.0.tar.xz
wget -O konsole_24.08.0.orig.tar.xz.asc
https://download.kde.org/stable/release-service/24.08.0/src/konsole-24.08.0.tar.xz.sig
[ STEAL DEBIAN-DIR ]
dpkg-source -x *.dsc
tar -xf konsole_24.08.0.orig.tar.xz
cp -av konsole-24.05.2/debian konsole-24.08.0/
[ BUILDDEP - MANUALLY ]
root# apt-get install -t experimental libkf6bookmarks-dev
libkf6config-dev libkf6configwidgets-dev libkf6coreaddons-dev
libkf6crash-dev libkf6dbusaddons-dev libkf6doctools-dev
libkf6globalaccel-dev libkf6guiaddons-dev libkf6i18n-dev
libkf6iconthemes-dev libkf6kio-dev libkf6newstuff-dev
libkf6notifications-dev libkf6notifyconfig-dev libkf6parts-dev
libkf6pty-dev libkf6service-dev libkf6textwidgets-dev
libkf6widgetsaddons-dev libkf6windowsystem-dev libkf6xmlgui-dev
qt6-5compat-dev/unstable qt6-multimedia-dev/unstable
qt6-tools-dev/unstable qt6-wayland-dev/unstable
qt6-declarative-dev/unstable libqt6core5compat6/unstable
qt6-base-private-dev/unstable qt6-declarative-dev-tools/unstable
qt6-qmllint-plugins/unstable qt6-qmltooling-plugins/unstable
libqt6designercomponents6/unstable libqt6help6/unstable
qt6-tools-dev-tools/unstable libkf6dbusaddons-dev/unstable
INFO: QT-6 DEVEL packages from Debian/unstable.
[ DCH ]
export DEBFULLNAME="Sedat Dilek"
export DEBEMAIL="sedat.dilek@gmail.com"
dch -i
konsole (4:24.08.0-1~dileks) experimental; urgency=low
* Non-maintainer upload.
* New upstream release (24.08.0).
* debian/konsole.install:
- Copy data/konsolerc file to /etc/xdg/ directory
- Copy data/konsole.knsrc file to /usr/share/knsrcfiles/ directory
* debian/konsole-kpart.install:
- Copy color-schemes, keyboard-layouts and layouts files from data/
to /usr/share/konsole/ directory
-- Sedat Dilek <sedat.dilek@gmail.com> Sat, 24 Aug 2024 15:21:34 +0200
konsole (4:24.05.2-1) experimental; urgency=medium
...
[ DIFF ]
git diff konsole-24.05.2/debian/konsole.install
konsole-24.08.0/debian/konsole.installdiff --git
a/konsole-24.05.2/debian/konsole.install
b/konsole-24.08.0/debian/konsole.install
index a7fe591e5bbb..970d0c685aca 100644
--- a/konsole-24.05.2/debian/konsole.install
+++ b/konsole-24.08.0/debian/konsole.install
@@ -1,4 +1,4 @@
-etc/xdg/konsolerc
+data/konsolerc etc/xdg/
usr/bin/konsole
usr/bin/konsoleprofile
usr/lib/*/kconf_update_bin/konsole_globalaccel
@@ -11,7 +11,7 @@ usr/share/kconf_update/konsole.upd
usr/share/kconf_update/konsole_add_hamburgermenu_to_toolbar.sh
usr/share/kglobalaccel/org.kde.konsole.desktop
usr/share/kio/servicemenus/konsolerun.desktop
-usr/share/knsrcfiles/konsole.knsrc
+data/konsole.knsrc usr/share/knsrcfiles/
usr/share/locale/
usr/share/metainfo/org.kde.konsole.appdata.xml
usr/share/qlogging-categories6/konsole.categories
git diff konsole-24.05.2/debian/konsole-kpart.install
konsole-24.08.0/debian/konsole-kpart.install
diff --git a/konsole-24.05.2/debian/konsole-kpart.install
b/konsole-24.08.0/debian/konsole-kpart.install
index 1fabd3891ee9..3eba7a3db304 100644
--- a/konsole-24.05.2/debian/konsole-kpart.install
+++ b/konsole-24.08.0/debian/konsole-kpart.install
@@ -1,4 +1,6 @@
usr/lib/*/libkonsoleprivate.so.*
usr/lib/*/qt6/plugins/kf6/parts/konsolepart.so
usr/share/knotifications6/
-usr/share/konsole/
+data/color-schemes/*.colorscheme usr/share/konsole/
+data/keyboard-layouts/*.keytab usr/share/konsole/
+data/layouts/*.json usr/share/konsole/
INFO: Missing files from from data source directory (see above) were
not in the search path of debuild.
[ BUILD ]
LC_ALL=C debuild
[ INSTALL ]
sudo dpkg -i konsole_24.08.0-1~dileks_amd64.deb
konsole-kpart_24.08.0-1~dileks_amd64.deb
-dileks // 24-Aug-2024
[ FILES ]
LC_ALL=C ll
total 28M
drwxrwxr-x 2 dileks dileks 4.0K Aug 24 17:03 .
drwxrwxr-x 4 dileks dileks 4.0K Aug 24 17:03 ..
-rw-r--r-- 1 dileks dileks 5.0M Aug 24 16:36
konsole-dbgsym_24.08.0-1~dileks_amd64.deb
-rw-r--r-- 1 dileks dileks 19M Aug 24 16:36
konsole-kpart-dbgsym_24.08.0-1~dileks_amd64.deb
-rw-r--r-- 1 dileks dileks 700K Aug 24 16:36
konsole-kpart_24.08.0-1~dileks_amd64.deb
-rw-r--r-- 1 dileks dileks 21K Aug 24 16:28
konsole_24.08.0-1~dileks.debian.tar.xz
-rw-r--r-- 1 dileks dileks 2.3K Aug 24 16:28 konsole_24.08.0-1~dileks.dsc
-rw-r--r-- 1 dileks dileks 1.2M Aug 24 16:36
konsole_24.08.0-1~dileks_amd64.build
-rw-r--r-- 1 dileks dileks 25K Aug 24 16:36
konsole_24.08.0-1~dileks_amd64.buildinfo
-rw-r--r-- 1 dileks dileks 3.5K Aug 24 16:36
konsole_24.08.0-1~dileks_amd64.changes
-rw-r--r-- 1 dileks dileks 1.3M Aug 24 16:36 konsole_24.08.0-1~dileks_amd64.deb
-rw-rw-r-- 1 dileks dileks 1.7M Aug 16 13:54 konsole_24.08.0.orig.tar.xz
-rw-rw-r-- 1 dileks dileks 833 Aug 16 13:54 konsole_24.08.0.orig.tar.xz.asc
Have more FUN.
Best regards,
-Sedat-
P.S.: On request I can provide dsc and patch-xz files.
Reply to: