Comments (11)
I updated it.
from nixnote2.
OK. Thank you very much.
I'll update the readme later.
from nixnote2.
@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.
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.
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.
@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.
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.
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.
@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.
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.
perfect. thanks!
from nixnote2.
Related Issues (20)
- Release page: invalid formatting (in one line) HOT 5
- 2.1.8: please update this link https://github.com/robert7/nixnote2/releases/download/continuous-develop/NixNote2-x86_64.AppImage HOT 4
- AppImage file name must contain version number HOT 5
- Shortcuts don't seem to be syncing HOT 2
- regression introduced in sorting code (pull #187) - narrow note list no longer sorted HOT 3
- Clarity on build pipeline, branches, tags HOT 3
- Releases: please provide binary for macOS
- regression since v2.1.9: nixnote2 no longer exiting cleanly (terminated by SIGABRT) HOT 14
- master branch triggers an unhandled exception in EDAMErrorCode::RATE_LIMIT_REACHED exception handling HOT 4
- develop branch - ccache added build dependency for the build-with-qmake.sh script not explicitely documented HOT 4
- debian packaging - wrong debian changelog package name
- Feature Request: add link to the images HOT 1
- Bug reseting background color of a note HOT 1
- Bug: Expanded icon and collapse icon don't change the visual HOT 1
- Need some help for building on Windows HOT 5
- Tags UI: not enough of space
- UI: dark theme: title in unreadable (white on white) when active (after mouse click)
- Windows: quick freezes (2-3 sec) each ~15secs HOT 2
- Feature request: Wayland support & icu 74.2 lib HOT 3
- API Issues with initial sync (RateLimitExceeded) HOT 37
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 nixnote2.