Giter Site home page Giter Site logo

Arch Linux package about nixnote2 HOT 11 CLOSED

robert7 avatar robert7 commented on July 20, 2024
Arch Linux package

from nixnote2.

Comments (11)

robert7 avatar robert7 commented on July 20, 2024 1

I updated it.

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

OK. Thank you very much.
I'll update the readme later.

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

@HaleTom
hi, there is still some problem with your packaging at https://aur.archlinux.org/packages/nixnote2-git/
see comment from ljubacanoa .. make: /usr/bin/lrelease: Command not found

I think there is missing dependency. No idea about Arch, but on Ubuntu the pkg name would be qttools5-dev-tools.

from nixnote2.

HaleTom avatar HaleTom commented on July 20, 2024

Thanks for the heads-up. I believe it is now fixed. It turned out I needed both qt5-base and qt5-tools.

While this issue is open... I'm looking into creating a -bin version of the package.

I'd prefer to rip open the AppImage to not install 127MB of libraries which are already installed on the system.

The only issue I'm having is libhunspell-1.3.so.0. Arch has /usr/lib/libhunspell-1.6.so.0 and I'd prefer not to install an older version.

Is there any way to link to just libhunspell.so which is generally a symlink to the current numbered version?

Also, any reason you don't strip the nixnote2 executable to save about 120MB?

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

Also, any reason you don't strip the nixnote2 executable to save about 120MB?

Ok.i'll recheck (although as the AppImage is compressed, this doesn't make so much difference in reality - althouth the binary is 120M the AppImage all together is 98M... but anyway i'll fix)

I'd prefer to rip open the AppImage to not install 127MB of libraries which are already installed on the system.

I don't think this is good idea. You can use the AppImage 1:1 as it is - or optionally unpack it (in case you don't have FUSE installed), it should work out of the box on ArchLinux, but to "rip it" - you asking for unneeded problems.

The whole idea of the AppImage is: that everything is includes - therefore eliminates the potential differences. This has of course drawback, that the binary is bigger - but I don't think the people today care whenever the binary is 10M or 98M. More important is, that it works.

The only issue I'm having is libhunspell-1.3.so.0. Arch has /usr/lib/libhunspell-1.6.so.0 and I'd prefer not to install an older version.

I can't change that so easily and I won't. The AppImage is build with "Ubuntu Xenial 16.04" - and this is how it is there compiled.

If you want to build binary package for Arch Linux. I suggest to build from source. And then create binary pkg out of that build. Sorry I have no idea how the packaging works on Arch Linux and I have no time to study it now..

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

@HaleTom
unfortunately there is new error in the AUR pkg: No such file or directory #include <boost shared_ptr.hpp=""> - https://aur.archlinux.org/packages/nixnote2-git/
Boost libraries are missing.
For Ubuntu the pkg names are libboost-dev libboost-test-dev libboost-program-options-dev see https://github.com/robert7/nixnote2/blob/master/.travis.yml

Pls test the package on a clean system (e.g. with virtualbox) before publishing it.

from nixnote2.

HaleTom avatar HaleTom commented on July 20, 2024

Doh. I'll get on to it tomorrow morning. I appreciate your attention to detail.

I found something about package checking the build deps in a chroot today. It seems I'll need to update their wiki on that best practice... It's the open source world... You get the world you build ;)

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

I added the missing "strip" - this actually makes a lot of difference (the AppImage is now 52M from former 98M).
Thanks for pointing this out! The latest development build (beta-4i) already has the strip applied.

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

@HaleTom :
I got email suggesting that you should try to replace

depends=(hunspell java-runtime hicolor-icon-theme poppler-qt5 tidy qt5-webkit)
makedepends=(git qt5-base qt5-tools)
with
depends=(opencv hunspell java-runtime hicolor-icon-theme poppler-qt5 tidy qt5-webkit)
makedepends=(git qt5-base qt5-tools boost)

can't verify it now, but try :)

from nixnote2.

HaleTom avatar HaleTom commented on July 20, 2024

I worked out how to build in a chroot, got the correct makedepends and a user has confirmed that the package now builds correctly.

Cheers re strip.

from nixnote2.

robert7 avatar robert7 commented on July 20, 2024

perfect. thanks!

from nixnote2.

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.