Package Details: nixnote2-git 2.1.9.r0.gf9cbad25-1

Git Clone URL: https://aur.archlinux.org/nixnote2-git.git (read-only, click to copy)
Package Base: nixnote2-git
Description: Evernote clone (formerly Nevernote) - git checkout
Upstream URL: https://github.com/robert7/nixnote2
Keywords: evernote nixnote notes
Licenses: GPL3
Conflicts: nixnote2-appimage
Provides: nixnote, nixnote2
Replaces: nevernote, nixnote, nixnote-beta
Submitter: twa022
Maintainer: Ataraxy
Last Packager: Ataraxy
Votes: 11
Popularity: 0.000076
First Submitted: 2017-09-02 16:02 (UTC)
Last Updated: 2023-06-27 13:47 (UTC)

Dependencies (15)

Required by (0)

Sources (2)

Pinned Comments

Ataraxy commented on 2022-01-28 14:12 (UTC) (edited on 2023-06-26 17:35 (UTC) by Ataraxy)

For much faster builds, I suggest you use ccache.

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

Ataraxy commented on 2022-01-28 14:12 (UTC) (edited on 2023-06-26 17:35 (UTC) by Ataraxy)

For much faster builds, I suggest you use ccache.

desaparecido commented on 2020-11-08 17:56 (UTC)

hi bing2020, to install from AUR, the basic way is download the PKGBUILD (ex: yay -G nixnote2-git) then go to directory where PKGBUILD is and then

makepkg -sci

read about it in https://wiki.archlinux.org/index.php/Makepkg for all options

when you have a -git package, you need to rebuild to have the latest commits, and if some libs are updated, sometimes is needed rebuild to take the goods libs. I don't use an AUR helper (like yay), but re-install the package surely do a makepkg again. In my case I use chromium like browser.

bing2020 commented on 2020-11-08 15:42 (UTC)

I fixed my problem too. however, I didn't know exactly how i fixed. I did two things in the mean time, 1, used firefox as default browser instead of chromium 2, installed nixnote2 by "yay -S nixnote2", even though i already had it by "yay -S nixnote2-git". I still couldn't log in correctly after these steps, but at some point, i suddenly able to instead of seeing the 418 error or simply no reaction. @desaparecido, how do you rebuild?

desaparecido commented on 2020-11-08 12:05 (UTC)

hi bing2020, I had the same problem, but I re-build the package and after that I had the LOGIN windows, sign-in with google account successfully and after that check to authorize Nixnote to access evernote. Probably is about some updated libs, I don't know, but works for me (I use KDE desktop and testing repo)

bing2020 commented on 2020-11-06 13:49 (UTC) (edited on 2020-11-06 13:52 (UTC) by bing2020)

using the nixnote2-git client on archlinux, click the sync button, a webpage-like window pops up let me log into evernote account.However, CAN NOT LOG IN! when i use chromium as default browser, after fill my email address, click the "continue" button gives no reaction, also no reaction clicking "continue with google" and "continue with apple", after change default browser to firefox, after quite many clicks, it gives me error: HTTP Error 418 Failed to load URL https://www.evernote.com/Login.action. Any one have solution? Thanks

Ataraxy commented on 2020-07-02 12:49 (UTC) (edited on 2020-07-02 12:51 (UTC) by Ataraxy)

Patch updated - thanks for the input. All now builds fine.

I'm looking for a co-maintainer who has a basic working knowledge of git. Please be in touch if you're willing to help out - I'm willing to mentor you if it's your first time.

BlubdiBlub20 commented on 2020-05-20 08:40 (UTC)

This is the patch I needed to build the project in version 2.1.6.r1.gaa5cfeb8. Just update the patch and the checksum in the PKGBUILD file.

From 43769c4bf14d46c4d17c6753a5c3bcc5bb1c944c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20We=C3=9Fel?= <florianwessel@gmx.net>
Date: Wed, 20 May 2020 10:29:11 +0200
Subject: [PATCH] Fix tidy include

---
 src/html/enmlformatter.cpp | 6 +++---
 src/main.cpp               | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/html/enmlformatter.cpp b/src/html/enmlformatter.cpp
index 155db97d..33ad0fac 100644
--- a/src/html/enmlformatter.cpp
+++ b/src/html/enmlformatter.cpp
@@ -38,8 +38,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #include <tidy.h>
 #include <tidybuffio.h>
 #else
-#include <tidy/tidy.h>
-#include <tidy/tidybuffio.h>
+#include <tidy.h>
+#include <tidybuffio.h>
 #endif

 #define ENML_MODULE_LOGPREFIX "enml-cleanup: "
@@ -916,4 +916,4 @@ bool EnmlFormatter::isFormattingError() const {
 void EnmlFormatter::setContent(QString &contentStr) {
     this->content.clear();
     this->content.append(contentStr.toUtf8());
-}
\ No newline at end of file
+}
diff --git a/src/main.cpp b/src/main.cpp
index c3d5035e..a31ad49c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -50,8 +50,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 #include <tidy.h>
 #include <tidybuffio.h>
 #else
-#include <tidy/tidy.h>
-#include <tidy/tidybuffio.h>
+#include <tidy.h>
+#include <tidybuffio.h>
 #endif


-- 
2.26.2

robert7 commented on 2020-05-14 14:15 (UTC)

@Ataraxy can you pls adapt the patch?

miguelmsoler commented on 2020-05-14 14:08 (UTC) (edited on 2020-05-14 14:13 (UTC) by miguelmsoler)

Hi, I don't know how to fork the repo for the patck, so I'm pasting an update here. You have to update the sha256 checksum too or change it to SKIP in PKGBUILD file.

This is the code for the new tidy-source-dir-location.patch file:

--- b/src/html/enmlformatter.cpp
+++ a/src/html/enmlformatter.cpp
@@ -34,13 +34,8 @@
 #include "src/logger/qslog.h"
 #include "src/utilities/NixnoteStringUtils.h"

-#ifdef Q_OS_MACOS
 #include <tidy.h>
 #include <tidybuffio.h>
-#else
-#include <tidy/tidy.h>
-#include <tidy/tidybuffio.h>
-#endif

 #define ENML_MODULE_LOGPREFIX "enml-cleanup: "

--- b/src/main.cpp
+++ a/src/main.cpp
@@ -46,14 +46,8 @@

 #include "src/application.h"

-#ifdef Q_OS_MACOS
 #include <tidy.h>
 #include <tidybuffio.h>
-#else
-#include <tidy/tidy.h>
-#include <tidy/tidybuffio.h>
-#endif
-

 NixNote *w;

hungryninjah commented on 2020-05-11 05:30 (UTC) (edited on 2020-05-11 05:31 (UTC) by hungryninjah)

I can no longer build this package. I decided to try reinstalling because of the "out of date" warning and because of the recent server problems with nixnote2, and now I am getting this error. The app was working fine before I decided to reinstall.

==> Starting pkgver()... 
==> Updated version: nixnote2-git 2.1.6.r1.gaa5cfeb8-1 
==> Sources are ready. 
==> Making package: nixnote2-git 2.1.6.r1.gaa5cfeb8-1 (Mon 11 May 2020 03:20:36 PM AEST) 
==> Checking runtime dependencies... 
==> Checking buildtime dependencies... 
==> WARNING: Using existing $srcdir/ tree 
==> Starting pkgver()... 
==> Removing existing $pkgdir/ directory... 
==> Starting build()... 
patching file src/html/enmlformatter.cpp 
Hunk #1 FAILED at 23. 
1 out of 1 hunk FAILED -- saving rejects to file src/html/enmlformatter.cpp.rej
patching file src/main.cpp 
Hunk #1 FAILED at 46. 
1 out of 1 hunk FAILED -- saving rejects to file src/main.cpp.rej 
==> ERROR: A failure occurred in build(). 
    Aborting... 
Error making: nixnote2-git
I'm currently using the AppImage.