Package Details: notepad++ 8.9.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.000089
First Submitted: 2018-11-05 22:29 (UTC)
Last Updated: 2026-04-28 21:00 (UTC)

Latest Comments

« First ‹ Previous 1 2

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.

xDShot commented on 2018-11-26 15:50 (UTC)

A 64bit prefix is required for x86_64. Mine default one is 32-bit. I suggest using own prefix for the app.

xDShot commented on 2018-11-26 15:47 (UTC) (edited on 2018-11-26 15:47 (UTC) by xDShot)

[xdshot@lenovo-pc ~]$ LANG=en notepadpp
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
wine: Bad EXE format for Z:\home\xdshot\.local\share\notepadpp\notepadpp..
[xdshot@lenovo-pc ~]$