Thread View: linux.debian.bugs.dist
3 messages
3 total messages
Started by Jeremy Bícha
Mon, 23 Nov 2026 20:50
Bug#1155071: pampi: please switch to pyqt6
Author: Jeremy Bícha
Date: Mon, 23 Nov 2026 20:50
Date: Mon, 23 Nov 2026 20:50
15 lines
2582 bytes
2582 bytes
Source: pampi Version: 1.3+dfsg1-5 Severity: serious Tags: patch X-Debbugs-CC: bage@debian.org Control: forwarded -1 https://gitlab.com/edleh/pampi/-/merge_requests/4 Please consider applying the attached patch. python3-pyqt5.qtwebengine and qtwebengine-opensource-src (Qt 5) are being removed from Testing. It is necessary to fix this bug to get pampi back into Testing. Thank you, Jeremy Bícha
Bug#1155071: pampi: please switch to pyqt6
Author: Georges Khaznadar
Date: Wed, 25 Nov 2026 16:20
Date: Wed, 25 Nov 2026 16:20
184 lines
8835 bytes
8835 bytes
--vMDXsUIb0B+rCMlg
Content-Type: multipart/mixed; boundary="fboa8MZfmwPMeuuS"
Content-Disposition: inline
--fboa8MZfmwPMeuuS
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello Jeremy, thank you for your contribution.
I am uploading a new release of Pampi to Debian, with release number
1.4+dfsg-1
@pascal.peter:
please, when you will commit new code to your repository, tag it with somth=
ing
greater or equal to v1.4 (for example, v2.0, v1.5, v1.4.1 and so on), it wi=
ll
make easier for me to track upstream changes when you author them.
@all:
I have introduced further changes in source files, to comply with Qt6. The =
latest
release in Debian contains changes proposed by Jeremy B=C3=ADcha, and some =
changes
I did on top of them. I attach hereby patches about them.
Best regards, Georges.
Jeremy B=C3=ADcha a =C3=A9crit :
> Source: pampi
> Version: 1.3+dfsg1-5
> Severity: serious
> Tags: patch
> X-Debbugs-CC: bage@debian.org
> Control: forwarded -1 https://gitlab.com/edleh/pampi/-/merge_requests/4
>=20
> Please consider applying the attached patch.
>=20
> python3-pyqt5.qtwebengine and qtwebengine-opensource-src (Qt 5) are
> being removed from Testing. It is necessary to fix this bug to get
> pampi back into Testing.
>=20
> Thank you,
> Jeremy B=C3=ADcha
--fboa8MZfmwPMeuuS
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=other-changes-for-qt6.patch
Content-Transfer-Encoding: quoted-printable
Index: pampi/pampi/libs/utils.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- pampi.orig/pampi/libs/utils.py
+++ pampi/pampi/libs/utils.py
@@ -154,14 +154,14 @@ def loadStyle():
global STYLE
style =3D QtWidgets.QApplication.style()
STYLE =3D {
- 'PM_ToolBarIconSize': style.pixelMetric(QtWidgets.QStyle.PM_ToolBa=
rIconSize),=20
- 'PM_LargeIconSize': style.pixelMetric(QtWidgets.QStyle.PM_LargeIco=
nSize),=20
- #'PM_SmallIconSize': style.pixelMetric(QtWidgets.QStyle.PM_SmallIc=
onSize),=20
- #'PM_IconViewIconSize': style.pixelMetric(QtWidgets.QStyle.PM_Icon=
ViewIconSize),=20
- #'PM_ListViewIconSize': style.pixelMetric(QtWidgets.QStyle.PM_List=
ViewIconSize),=20
- #'PM_TabBarIconSize': style.pixelMetric(QtWidgets.QStyle.PM_TabBar=
IconSize),=20
- #'PM_MessageBoxIconSize': style.pixelMetric(QtWidgets.QStyle.PM_Me=
ssageBoxIconSize),=20
- #'PM_ButtonIconSize': style.pixelMetric(QtWidgets.QStyle.PM_Button=
IconSize),=20
+ 'PM_ToolBarIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMetr=
ic.PM_ToolBarIconSize),
+ 'PM_LargeIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMetric=
=2EPM_LargeIconSize),
+ #'PM_SmallIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMetri=
c.PM_SmallIconSize),
+ #'PM_IconViewIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMe=
tric.PM_IconViewIconSize),
+ #'PM_ListViewIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMe=
tric.PM_ListViewIconSize),
+ #'PM_TabBarIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMetr=
ic.PM_TabBarIconSize),
+ #'PM_MessageBoxIconSize': style.pixelMetric(QtWidgets.QStyle.Pixel=
Metric.PM_MessageBoxIconSize),
+ #'PM_ButtonIconSize': style.pixelMetric(QtWidgets.QStyle.PixelMetr=
ic.PM_ButtonIconSize),
}
=20
=20
Index: pampi/pampi/libs/utils_filesdirs.py
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- pampi.orig/pampi/libs/utils_filesdirs.py
+++ pampi/pampi/libs/utils_filesdirs.py
@@ -303,7 +303,7 @@ def readTextFile(fileName):
inFile =3D QtCore.QFile(fileName)
if inFile.open(QtCore.QIODeviceBase.OpenModeFlag.ReadOnly | QtCore.QIO=
DeviceBase.OpenModeFlag.Text):
stream =3D QtCore.QTextStream(inFile)
- stream.setCodec('UTF-8')
+ stream.setEncoding(QtCore.QStringConverter.Encoding.Utf8)
result =3D stream.readAll()
inFile.close()
return result
Index: pampi/pampi/libs/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- pampi.orig/pampi/libs/Makefile
+++ pampi/pampi/libs/Makefile
@@ -1,5 +1,5 @@
-UIFILES =3D $(shell ls *.ui)
-RCFILES =3D $(shell ls *.rc)
+UIFILES =3D $(wildcard *.ui)
+RCFILES =3D $(wildcard *.rc)
PyUIFILES =3D $(patsubst %.ui, ui_%.py, $(UIFILES))
PyRCFILES =3D $(patsubst %.rc, rc_%.py, $(RCFILES))
=20
@@ -12,7 +12,7 @@ ui_%.py : %.ui
=20
rc_%.py : %.rc
rcc -g python $< -o $@
- sed -i 's/from PySide6/from PyQt6/' $@
+ sed -i 's/from PySide./from PyQt6/' $@
=20
clean:
rm -f *~
Index: pampi/pampi/libs/plugins/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- pampi.orig/pampi/libs/plugins/Makefile
+++ pampi/pampi/libs/plugins/Makefile
@@ -1,5 +1,5 @@
-UIFILES =3D $(shell ls *.ui)
-RCFILES =3D $(shell ls *.rc)
+UIFILES =3D $(wildcard *.ui)
+RCFILES =3D $(wildcard *.rc)
PyUIFILES =3D $(patsubst %.ui, ui_%.py, $(UIFILES))
PyRCFILES =3D $(patsubst %.rc, %_rc.py, $(RCFILES))
=20
@@ -12,7 +12,7 @@ ui_%.py : %.ui
=20
%_rc.py : %.rc
rcc -g python $< -o $@
- sed -i 's/from PySide6/from PyQt6/' $@
+ sed -i 's/from PySide./from PyQt6/' $@
=20
clean:
rm -f *~
--fboa8MZfmwPMeuuS--
--vMDXsUIb0B+rCMlg
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAmsHB3MACgkQHCgWkHE2
rjnp+Q/8DhXIJudU3+mWGqE2f3FJarTbdB8yO/spRDOnFyleDSxcZRkszSug9xZ8
x7ClhMlz0oL7WFrSDM5Z/+Xkk/7eC53QjTPpT9vY0N/qXRPNFYK5VHUvhqW24Yzt
SpvO77WNtbng/KtAz17YGd1NVtyvReI4XqFHbfXmcXtdMMuiPs2ocJhIJGZiCIsh
faP68trSV0Ah4xLtYwsqfYUchAkBPpfTMQ7wSTHUdCWnoKkiGMXZfmXGu0zoNR4w
Wki4MwhqZCsxpBJgpKfoHfcIOx8i6u1lrVWWcy0RjRH9SYZitpaCqB18efOmpYZ5
DApnFKN8SkRM0gfg8DbESGUlQUttPfnEWt/DFGS0pOnyyYO0GrJlbbRfav4VBMR+
8KH1xPzx3BD/CmBsK1pu3MQhRl9Y48IJoIP5Bwsi9gyPraMvXoEWimdBMsa0mCJS
29AlxCcoCXkZBE5/zk7zoLc9YckYneMqEb93OV3N87+rzEIv0+BRt2vkaaeZqbsY
Ch3zniihlyYC7ce9Q2Nk882M/FIFdfrxX91M7RqfbyDi/H3zTxa7tr3R8eK2g84Z
xOSJDoalwpAveMko13kzDBJjg8p+5hrtEP/S3n+XNT8LWY6nXkbCsQaytURqZ84O
69YpwGXvPURf1SGgc5qokQMmGdWE317cC7rl0rL4grIFu+c+YDs=
=8kVW
-----END PGP SIGNATURE-----
--vMDXsUIb0B+rCMlg--
Bug#1155071: pampi: please switch to pyqt6
Author: Jeremy Bícha
Date: Fri, 27 Nov 2026 14:00
Date: Fri, 27 Nov 2026 14:00
30 lines
3751 bytes
3751 bytes
On Wed, Nov 25, 2026 at 5:12 PM Georges Khaznadar <georges@khaznadar.fr> wrote: > I am uploading a new release of Pampi to Debian, with release number > 1.4+dfsg-1 In the future, please don't make an orig tarball with a new upstream version where that version doesn't exist and you aren't the upstream developer. You could have used a patch for the qt6 conversion. From https://gitlab.com/edleh/pampi/-/merge_requests/4 you can add the suffix .patch to get that merge request in patch format. Sometimes it can be helpful to package a git snapshot. You can version that something like 1.3-5 followed by 1.3+20261125-1 or in this case 1.3+dfsg1-5 followed by 1.3+git20261125-1. But you didn't need a git snapshot for one or two commits. > @pascal.peter: > please, when you will commit new code to your repository, tag it with somthing > greater or equal to v1.4 (for example, v2.0, v1.5, v1.4.1 and so on), it will > make easier for me to track upstream changes when you author them. Actually, please skip v1.4 and use a higher version number so that Debian can easily use your release. Thank you, Jeremy Bícha
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads