Package Details: notepad++ 8.9.6.4-1

Git Clone URL: https://aur.archlinux.org/notepadpp.git (read-only, click to copy)
Package Base: notepadpp
Description: A free source code editor for Windows
Upstream URL: https://notepad-plus-plus.org/
Keywords: notepad++ notepad-plus-plus
Licenses: GPL2
Provides: notepadpp
Replaces: notepadpp, notepadpp-win32, notepadpp-win64
Submitter: n4r3n
Maintainer: Hubbleexplorer
Last Packager: Hubbleexplorer
Votes: 6
Popularity: 0.000026
First Submitted: 2018-11-05 22:29 (UTC)
Last Updated: 2026-06-14 16:33 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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.

bbx0 commented on 2020-10-18 08:54 (UTC)

Thanks a lot for making this package! I tried to build it in a chroot where the wine dependency could not be resolved (without multilib). After moving the dependencies directly to the package section everything went fine though (as they are just needed to run the software).

--- PKGBUILD.orig   2020-10-18 10:41:19.000000000 +0200
+++ PKGBUILD    2020-10-18 10:45:18.317272056 +0200
@@ -11,7 +11,7 @@
 url="https://${_pkgname}.org/"
 license=('GPL2')
 arch=('i686' 'x86_64')
-depends=('wine' 'sh' 'fuse-overlayfs')
+depends=()
 makedepends=('unzip')
 provides=(notepadpp)
 conflicts=('notepadpp-win32' 'notepadpp-win64')
@@ -41,6 +41,7 @@
 options=('!strip')

 package() {
+    depends=('wine' 'sh' 'fuse-overlayfs')

     install -d -m755 "${pkgdir}/usr/share/${pkgbase}"

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)

n4r3n commented on 2018-11-26 16:36 (UTC)

I think, an own prefix is overkill, maybe a notepadpp-win32 (or lib32-notepadpp) split package would be a solution.