linuxmint / python3-xapp Goto Github PK
View Code? Open in Web Editor NEWPython3 Xapp Library
License: Other
Python3 Xapp Library
License: Other
Building the package with current version is failing with the following error:
dpkg-buildpackage: info: source package python3-xapp
dpkg-buildpackage: info: source version 2.4.0-unstable+202211151116~ubuntu22.10.1
dpkg-buildpackage: info: source distribution kinetic
dpkg-buildpackage: info: source changed by Launchpad Package Builder <[email protected]>
dpkg-source -i -I --before-build .
fakeroot debian/rules clean
debian/rules: 1: %:: not found
dh: error: unable to load addon gir: Can't locate Debian/Debhelper/Sequence/gir.pm in @INC (you may need to install the Debian::Debhelper::Sequence::gir module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at (eval 12) line 1.
BEGIN failed--compilation aborted at (eval 12) line 1.
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 25
Detailed build errors can be found here. I think this is happening due to meson packaging format and missing dependencies.
NB: I am open for this fix.
Greetings, more than an issue (unfortunately Github doesn't have something like suggestions), this "issue" may be something that can help you, or can benefit both of us on the long term (if you don't mind my inexperience with python so far, and my failures on english from time to time)
I was checking some of the code in os.py inside the library, as long as I understand (correct me if I am wrong) there is no way that you can run a program with pkexec as long as you don't define a policy file. Your code might be able to check if the polkit agent is running, but if you don't define that file, the program will not run at all.
It might be on very early stages, but I forked a code based on some comments and a forum that should allow you to create some policy file templates for you to use in any application. So far the downside is that it only check on applications that are on /usr/bin, so other applications like blueberry or lightdm-settings whose launcher relies on other directories like /usr/lib are not included
You can [check my repository here] and let me know if something of that is useful for you or if that code doesn't work at all for you (I don't mind if you believe that, you may have your reasons and I respect that), it is written in Bash so porting to Python might take some work (at least for me)
EDIT: I will be reuploading the repository so I can give you the code in a pastebin if you wish
Sorry if I may sound rude, but is not my intention
The update today in LMDE5 fails
dpkg-deb: error: archive python3-xapp_2.2.2_all.deb uses unknown compression for element control.tar.zst
I was working on default applications in linuxmint/cinnamon-control-center#273 when I found that there are no add_gtk.notebook function in the Xapp settings widgets module. Is it obsolete to use Gtk Notebook or is it not necessary in Xapps?
Greetings I have been testing the newer Settings controls on an app, and I have been checking that not all of them have tooltips available when creating them via code, here are some examples:
Button control that has tooltips (lightdm-settings as example):
Button control that doesn't has tooltips (mintdesktop as example):
The "ComboBox" seems that it has tooltips. Am I missing something to declare via code?
Maybe I am missing something or perhaps there is a declaration that I need to do on the code, but it would be great if you can add that support to all the newer controls that you created or may be planning to create
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.