Giter Site home page Giter Site logo

Comments (7)

nekr0z avatar nekr0z commented on August 22, 2024 1

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.

nekr0z avatar nekr0z commented on August 22, 2024

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.

n3vu0r avatar n3vu0r commented on August 22, 2024

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.

nekr0z avatar nekr0z commented on August 22, 2024

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.

nekr0z avatar nekr0z commented on August 22, 2024

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.

n3vu0r avatar n3vu0r commented on August 22, 2024

@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.

nekr0z avatar nekr0z commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.