Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch package list #115

Open
Xananax opened this issue Feb 1, 2019 · 4 comments
Open

Arch package list #115

Xananax opened this issue Feb 1, 2019 · 4 comments

Comments

@Xananax
Copy link

Xananax commented Feb 1, 2019

It seems that on Arch, the packages needed are:

sudo pacman -S python-pyqt5 qt5-declarative qt5-quickcontrols

I was able to run QtodoTxt2 after that, albeit with pixellated fonts and icons, not sure what it is due to.

@topas-rec
Copy link

Can you try to add this in the dependencies for the DEbian packaging and see if the package created with these dependencies installs fine in arch?

Depends: python3 (>=3.2), python3-pyqt5, python3-dateutil, qtdeclarative5-models-plugin, python3-pyqt5.qtquick, qml-module-qtquick-controls, qml-module-qtquick-dialogs, qml-module-qt-labs-settings, qml-module-qt-labs-folderlistmodel

@Xananax
Copy link
Author

Xananax commented Feb 14, 2019

I think I already do. If I understand correctly:

  • Arch's python-pyqt5 provides Debian's python3-pyqt5, python3-dateutil
  • Arch's qt5-declarative provides Debian's qtdeclarative5-models-plugin, qml-module-qt-labs-settings, qml-module-qt-labs-folderlistmodel
  • Arch's qt5-quickcontrols provides Debian's python3-pyqt5.qtquick, qml-module-qtquick-controls, qml-module-qtquick-dialogs

I looked up the files provided by each Debian package, and then looked for which Arch package provides them. I don't think I missed anything. The pixellated stuff might be because of HiDPI (I have a 4k screen).

Here is a screenshot with some surroundings so you can see the difference:

image

As you can see, the menu items work fine, it's the sidebar that looks weird

image

I should probably open a different issue with that, but as long as there isn't official support for Arch, I can't rule out something specific to Arch packages.

@topas-rec
Copy link

I wanted to point out that we should create a new Debian package that already knows about these dependencies for arch. For this we need to add the dependencies in the control.tpl file.

I just searched the possibility to install .deb files in arch. That seems not ideal:
https://unix.stackexchange.com/questions/83540/installing-a-deb-package-on-arch-is-it-possible
Better would be to create a pacman package with all dependencies. Can you try to create an arch package?

@Xananax
Copy link
Author

Xananax commented Feb 16, 2019

I've never done that, but I gave it a shot:

https://github.com/Xananax/qtodotxt2-package

It seems to be... Working? I'm not sure how to test it; it works for me. A few things of note:

  1. I couldn't find an icon in the repo, so I am downloading the .ico file from the previous version's repo
  2. ...but the .desktop file refers to a .png, so I'm renaming it. It's not very clean. Is there a better alternative?
  3. The desktop file calls the qtodotxt executable. Since I wanted people to still be able to install qtodotxt2 and 1 side by side, I'm modifying the .desktop

Lastly, I have literally no time these days, and I am not sure I would be able to maintain a package, even one as simple as this one; I'm willing to try, but if it takes too much investment, I unfortunately won't be able to.

How would you like to proceed? Should I PR with the package build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants