Package Details: notepadnext 0.11-2

Git Clone URL: https://aur.archlinux.org/notepadnext.git (read-only, click to copy)
Package Base: notepadnext
Description: Cross-platform reimplementation of Notepad++
Upstream URL: https://github.com/dail8859/NotepadNext
Licenses: GPL-3.0-only
Submitter: lmartinez-mirror
Maintainer: SoBC
Last Packager: SoBC
Votes: 11
Popularity: 0.000347
First Submitted: 2022-04-22 06:10 (UTC)
Last Updated: 2025-05-12 14:28 (UTC)

Latest Comments

kreijstal commented on 2025-05-11 12:45 (UTC)

If you have gcc15 errors:

# Maintainer: gemini2.5pro <gemini@google.com>
# Contributor: Max Luebke <maxluebke(at)gmail.com> (for structure inspiration)
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: bitwave <aur [aT] oomlu {d.0t} de>
# Contributor: yochananmarqos

pkgname=notepadnext
pkgver=0.11
pkgrel=1
pkgdesc="A cross-platform, reimplementation of Notepad++"
arch=('x86_64')
url="https://github.com/dail8859/NotepadNext"
license=('GPL-3.0-or-later')
depends=('qt6-base' 'qt6-5compat' 'hicolor-icon-theme')
makedepends=('git' 'base-devel' 'qt6-tools')
source=("${pkgname}::git+https://github.com/dail8859/NotepadNext.git#tag=v${pkgver}"
        "qsimpleupdater::git+https://github.com/alex-spataru/QSimpleUpdater.git#commit=3cc832cbe55b70c54f56a0b9b6f2cdd3c43c2337"
        "ads::git+https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git#commit=df1fa271274be04f9704f6d67eb2294c03256208"
        "editorconfig::git+https://github.com/editorconfig/editorconfig-core-qt.git#commit=52820d59769fcba6d0ed94f685406c0383fe1a30"
        "singleapp::git+https://github.com/itay-grudev/SingleApplication.git#commit=8c48163c4d3fbba603cfe8a5b94046c9dad71825"
        "uchardet::git+https://gitlab.freedesktop.org/uchardet/uchardet.git#commit=59f68dbe5709d708b53ad5ea95c7349d7ee6ebe4")
sha256sums=('SKIP' # For $pkgname
            'SKIP' # For qsimpleupdater
            'SKIP' # For ads
            'SKIP' # For editorconfig
            'SKIP' # For singleapp
            'SKIP' # For uchardet
            )

prepare() {
  cd "$srcdir/$pkgname" # Use $pkgname for consistency

  # Link submodules to explicitly downloaded sources
  git submodule init
  git config submodule.src/QSimpleUpdater.url "$srcdir/qsimpleupdater"
  git config submodule.src/ads.url "$srcdir/ads" # Path in .gitmodules is src/ads
  git config submodule.src/editorconfig-core-qt.url "$srcdir/editorconfig"
  git config submodule.src/singleapplication.url "$srcdir/singleapp"
  git config submodule.src/uchardet.url "$srcdir/uchardet"
  git -c protocol.file.allow=always submodule update

  sed -i '1i #include <cstdint>' src/scintilla/include/ScintillaTypes.h
}

build() {
  cd "$srcdir/$pkgname"
  mkdir -p build
  cd build
  /usr/bin/qmake6 ../src/NotepadNext.pro
  make -j$(nproc)
}

package() {
  cd "$srcdir/$pkgname/build"
  make INSTALL_ROOT="$pkgdir" install
}

yougg commented on 2023-06-16 12:22 (UTC)

v0.6.3 was released 2 weeks ago, please update, thanks.

figue commented on 2022-11-09 22:14 (UTC)

Please, change submodule update to "git -c protocol.file.allow=always submodule update"