Comments (7)
Now that there's code in place for general packaging, someone should figure out list of dependencies for Arch and persuade @n3vu0r to package his systemd/udev/makefile magic so we can depend on that. Building an Arch package shouldn't be a big problem then.
from matebook-applet.
Packaging matebook-applet if made properly (and I see no reason to do otherwise) would require post-installation hooks for all the permissions to be generated correctly. Honestly, I don't know how to do it (yet), and that's why I have not attempted any packaging so far.
That being said, pull requests in that direction are most welcome. Ideally, the build.go script that is already in the repo should build packages for various distros given the corresponding arguments.
from matebook-applet.
I wanted to setup Arch/Debian dual boot anyway for the latest mesa package, so I can try to pack for AUR as well.
In case this is about general packaging, first feedback on the Debian package:
$ lintian matebook-applet_1.3.2-1-g2cb55bb_amd64.deb
E: matebook-applet: unstripped-binary-or-object usr/bin/matebook-applet
W: matebook-applet: hardening-no-pie usr/bin/matebook-applet
E: matebook-applet: missing-dependency-on-libc needed by usr/bin/matebook-applet
E: matebook-applet: debian-changelog-file-missing-or-wrong-name
E: matebook-applet: no-copyright-file
E: matebook-applet: extended-description-is-empty
W: matebook-applet: priority-extra-is-replaced-by-priority-optional
W: matebook-applet: binary-without-manpage usr/bin/matebook-applet
A description of each error/warning tag can be found here.
from matebook-applet.
In case this is about general packaging, first feedback on the Debian package:
Oh, I didn't even attempt to run it through lintian. And a good thing I didn't, too! ;)))
IMO, if lintian is the only one having issues with the package, job's done good. Let's make sure we're on the same page here.
"Proper" Debian packaging (as in "fit to be included in main Debian repositories") is an awful lot of hassle. I would even say it's more hassle than writing the applet in the first place. I'm not up to it. Debianization of source packages, using Debian build chain to build binary packages - no, that's a whole big endeavor in and of itself. If however someone feels the need and has powers to do it, I'd welcome any effort and do my best to help.
What I'm shooting for here is a "good enough" .deb
package that can be installed and used with no hassle and is not too problematic to build for every release. That's mostly done.
So, from my point of view, #9 is indeed a valid issue, libc6
dependency - sure, in master already, but things like unstripped binary complains (and on Go code, mind you)? No, thank you, jumping through those hoops is way beyond my aim. And no, I'm not doing changelogs unless I find a way to autogenerate them from git history (which is a proper changelog anyway).
This is why I opted for packaging using fpm
instead of Debian toolchain.
from matebook-applet.
Before I release and automate all this stuff, could someone having more experience with Arch than me (which should be easy since mine is only half an hour in a VM) please have a look at this PKGBUILD, give it a test and point out the problems?
Also @n3vu0r, any developments regarding your stuff for Arch?
from matebook-applet.
@nekr0z Nothing so far, but I still want a Arch/Debian multi-boot. With half an hour, we have almost the same experience with Arch ;)
from matebook-applet.
Looks like someone has done it for us. Yay, and good job whoever that person is, and I'm closing this issue.
from matebook-applet.
Related Issues (20)
- ERROR: neither a support version of huawei-wmi driver or any of the required scripts are properly installed HOT 5
- [linux 5.5] Driver interface is readable but not writeable. HOT 5
- Fedora HOT 6
- Driver interface is readable but not writeable. HOT 2
- Error setting thresholds on Matebook 14 2020 AMD HOT 22
- Applet Icon HOT 2
- applet not able to change battery settings on matebook-2020 (intel i7) HOT 2
- BP thresholds don't make sense: min 0%, max 0% HOT 8
- Support MacOS HOT 97
- Migrate to the Ayatana (App)Indicator(s) for newer Debian versions HOT 8
- Every time restart, the settings are invalid @Matebook 2020(R5) HOT 4
- error while loading shared libraries: libayatana-appindicator3.so.1 on Fedora 34 HOT 4
- Cannot run last applet on Archlinux HOT 4
- KDE Plasma system tray applet HOT 7
- How is the battery protection different from generic limits? HOT 8
- Unable to locate package matebook-applet HOT 2
- cannot find module providing package embed HOT 2
- Функционал по ограничению порогов заряда/разряда батареи не работает HOT 4
- This application for Windows HOT 1
- Error setting thresholds on Matebook 16 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matebook-applet.