Package Base Details: notepadpp

Git Clone URL: https://aur.archlinux.org/notepadpp.git (read-only, click to copy)
Keywords: notepad++ notepad-plus-plus
Submitter: n4r3n
Maintainer: n4r3n
Last Packager: n4r3n
Votes: 5
Popularity: 0.000617
First Submitted: 2018-11-05 22:29 (UTC)
Last Updated: 2024-03-01 23:29 (UTC)

Packages (1)

Pinned Comments

n4r3n commented on 2020-02-25 18:09 (UTC) (edited on 2022-09-03 11:32 (UTC) by n4r3n)

By default it builds the 32-bit package,
to change that you need to uncomment the _arch=x64 variable at the start of the PKGBUILD file

This package uses 'fuse-overlayfs' with id mapping to merge package and user config

Anyone can easily debug both the script and notepadpp/wine:
- For the script start so: SH_TRACE=1 notepadpp
- For notepadpp/wine you need to set the WINEDEBUG variable (see: https://man.archlinux.org/man/wine.1#WINEDEBUG)

Latest Comments

1 2 Next › Last »

ahmedmoselhi commented on 2023-01-26 15:07 (UTC) (edited on 2023-01-26 15:07 (UTC) by ahmedmoselhi)

new version here

ahmedmoselhi commented on 2023-01-19 23:29 (UTC)

please update to latest version 8.4.8

JPaskaruk commented on 2023-01-07 14:42 (UTC) (edited on 2023-01-07 14:42 (UTC) by JPaskaruk)

I was getting extremely ugly code completion popups that blocked the code it was suggesting for - based on a similar suggestion, I ran winecfg and unchecked "Allow the window manager to decorate the windows", and now it works as it should.

It also, obviously, removed the nice KDE styles from the rest of the window as well, but that's a small price to pay for not having to give up one of the very few programs from Windoze that I still love. I do understand that there are many better IDEs, and I also use Code for larger projects, but when I just want to do some quick and dirty work on a text file, nothing beats it. Thank you for the work!

n4r3n commented on 2022-09-03 10:54 (UTC)

@ahmedmoselhi - I added user and group id mapping to fuse-overlayfs (it maps to the user running it) it works now. I suspect that fuse-overlayfs refuses to copy root owned files to the upper fs. Thanks for the report!

ahmedmoselhi commented on 2022-09-02 18:43 (UTC) (edited on 2022-09-02 18:43 (UTC) by ahmedmoselhi)

@n4r3n everytime i close and re-open the program the settings are not saved! any suggestions?

huzhifeng commented on 2022-03-15 12:18 (UTC)

Here is the patch I updated to v8.3.1

[huzhifeng@archlinux notepadpp]$ git diff
diff --git a/.SRCINFO b/.SRCINFO
index dc361cd..2943b79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = notepadpp
        pkgdesc = A free source code editor for Windows (32-bit)
-       pkgver = 8.3
+       pkgver = 8.3.1
        pkgrel = 1
        url = https://notepad-plus-plus.org/
        arch = i686
@@ -13,18 +13,18 @@ pkgbase = notepadpp
        provides = notepadpp
        conflicts = notepadpp-win32
        conflicts = notepadpp-win64
-       noextract = npp.8.3.bin.zip
-       noextract = npp.8.3.bin.x64.zip
+       noextract = npp.8.3.1.bin.zip
+       noextract = npp.8.3.1.bin.x64.zip
        options = !strip
        source = notepadpp
        source = notepadpp.desktop
        source = notepadpp.png
-       source = https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3/npp.8.3.portable.zip
-       source = https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3/npp.8.3.portable.x64.zip
+       source = https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3.1/npp.8.3.1.portable.zip
+       source = https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3.1/npp.8.3.1.portable.x64.zip
        sha256sums = d4352139a459f532b807262b5b1933c98142fc772de713abc39e6073d291b200
        sha256sums = a1c34d444893d56ae165c8457260e11b729ea2afc10bb9e2690bc89e1f523238
        sha256sums = 04c8ad254a41350078bba4d56ad54f7b4c0df125029aee021ea0ac632971ebad
-       sha256sums = 0457ccbc82978a917944283fdad7416bf6ed9d7e5dd37c5b02404168a8bad745
-       sha256sums = 1a5c01fc3fbb0f0a99daef7ca25b8c6aa30f34bd52e1ac9f645c189efc173e53
+       sha256sums = a75368f2a072931077b6ebfc7dffbb950cbd20196e08081f21a6f307f991fe80
+       sha256sums = 99382154344d7268dfd8612b684456868d97896f2bd23c6bed644bbc0a17739d

 pkgname = notepadpp
diff --git a/PKGBUILD b/PKGBUILD
index cf3314e..9f16f8c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=notepadpp
 _pkgname=notepad-plus-plus
-pkgver=8.3
+pkgver=8.3.1
 pkgrel=1
 pkgdesc="A free source code editor for Windows"
 arch=('x86_64')
@@ -22,8 +22,8 @@ source=(notepadpp
 sha256sums=('d4352139a459f532b807262b5b1933c98142fc772de713abc39e6073d291b200'
             'a1c34d444893d56ae165c8457260e11b729ea2afc10bb9e2690bc89e1f523238'
             '04c8ad254a41350078bba4d56ad54f7b4c0df125029aee021ea0ac632971ebad'
-            '0457ccbc82978a917944283fdad7416bf6ed9d7e5dd37c5b02404168a8bad745'
-            '1a5c01fc3fbb0f0a99daef7ca25b8c6aa30f34bd52e1ac9f645c189efc173e53')
+            'a75368f2a072931077b6ebfc7dffbb950cbd20196e08081f21a6f307f991fe80'
+            '99382154344d7268dfd8612b684456868d97896f2bd23c6bed644bbc0a17739d')

 noextract=("npp.${pkgver}.bin.zip"
            "npp.${pkgver}.bin.x64.zip")
[huzhifeng@archlinux notepadpp]$

huzhifeng commented on 2022-02-21 01:30 (UTC)

Failed to install notepadpp due to broken URL.

https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3/npp.8.3.1.portable.zip is removed and returns 404 error.

As stated in the 8.3 Release Notes

Due to the crash issue & regressions found in v8.3, all the packages are removed. Please download v8.3.1 instead.

please update to 8.3.1

[huzhifeng@archlinux ~]$ yay -S notepadpp
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  notepadpp-8.3-1

  1 notepadpp                                (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/0): notepadpp
  1 notepadpp                                (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: notepadpp
==> Making package: notepadpp 8.3-1 (Mon 21 Feb 2022 09:18:33 AM CST)
==> Retrieving sources...
  -> Found notepadpp
  -> Found notepadpp.desktop
  -> Found notepadpp.png
  -> Downloading npp.8.3.portable.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3/npp.8.3.portable.zip
    Aborting...
 -> error downloading sources: notepadpp 
         context: exit status 1 


==> Making package: notepadpp 8.3-1 (Mon 21 Feb 2022 09:18:35 AM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found notepadpp
  -> Found notepadpp.desktop
  -> Found notepadpp.png
  -> Downloading npp.8.3.portable.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3/npp.8.3.portable.zip
    Aborting...
 -> error making: notepadpp
[huzhifeng@archlinux ~]$
[huzhifeng@archlinux ~]$ curl -I https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3/npp.8.3.portable.zip
HTTP/2 404
[huzhifeng@archlinux ~]$ curl -I https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.3.1/npp.8.3.1.portable.zip

huzhifeng commented on 2021-07-05 12:11 (UTC) (edited on 2021-09-02 09:14 (UTC) by huzhifeng)

The latest 8.1-1 does not work.

[huzhifeng@archlinux ~]$ pacman -Q notepadpp
notepadpp 8.1-1
[huzhifeng@archlinux ~]$ notepadpp 
wine: failed to open "/home/huzhifeng/.local/share/notepadpp/notepadpp": c0000135

I made some changes to fix the problem, here is the patch.

[huzhifeng@archlinux notepadpp]$ git diff
diff --git a/notepadpp b/notepadpp
index d3ce6b1..881eda2 100644
--- a/notepadpp
+++ b/notepadpp
@@ -33,4 +33,4 @@ if [ -n "${1}" ]; then
 fi

 unset WINEPREFIX
-WINEDLLOVERRIDES="${WINEDLLOVERRIDES};mscoree=d;mshtml=d" WINEDEBUG=-all wine "${localdir}/${app_name}" "${argpath}"
+LC_ALL=zh_CN.UTF-8 WINEDLLOVERRIDES="${WINEDLLOVERRIDES};mscoree=d;mshtml=d" WINEDEBUG=-all wine "${localdir}/${app_name}.exe" "${argpath}"
[huzhifeng@archlinux notepadpp]$

electricprism commented on 2020-11-20 09:36 (UTC)

This is cool as a extra backup editor, I used to be fond of N++ back in the day thanks for making this easy.