From e91826c52adadc90dcb12c10df19a7cf60ca3ac4 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sun, 29 Dec 2019 13:06:46 +0000 Subject: Add notepad++ as notepadpp --- notepadpp/build-orig-tarball.sh | 81 ++ notepadpp/debian/README.Debian | 33 + notepadpp/debian/app32/config.xml | 58 + notepadpp/debian/app32/plugins/ComparePlugin.dll | Bin 0 -> 215040 bytes .../app32/plugins/ComparePlugin/ComparePlugin.dll | Bin 0 -> 215040 bytes .../plugins/ComparePlugin/ComparePlugin/git2.dll | Bin 0 -> 817664 bytes .../ComparePlugin/ComparePlugin/sqlite3.dll | Bin 0 -> 838887 bytes .../debian/app32/plugins/Config/NppTextFX.ini | 29 + .../debian/app32/plugins/Config/converter.ini | 10 + .../debian/app32/plugins/Config/nppPluginList.dll | Bin 0 -> 169616 bytes .../app32/plugins/NppConverter/NppConverter.dll | Bin 0 -> 135312 bytes .../debian/app32/plugins/NppExport/NppExport.dll | Bin 0 -> 113296 bytes notepadpp/debian/app32/plugins/NppTextFX.dll | Bin 0 -> 229376 bytes .../debian/app32/plugins/NppTextFX/NppTextFX.dll | Bin 0 -> 229376 bytes .../debian/app32/plugins/mimeTools/mimeTools.dll | Bin 0 -> 98448 bytes notepadpp/debian/app32/session.xml | 6 + notepadpp/debian/app32/shortcuts.xml | 20 + notepadpp/debian/app32/stylers.xml | 1391 ++++++++++++++++++++ notepadpp/debian/app64/config.xml | 58 + notepadpp/debian/app64/plugins/ComparePlugin.dll | Bin 0 -> 268800 bytes .../app64/plugins/ComparePlugin/ComparePlugin.dll | Bin 0 -> 268800 bytes .../plugins/ComparePlugin/ComparePlugin/git2.dll | Bin 0 -> 1078784 bytes .../ComparePlugin/ComparePlugin/sqlite3.dll | Bin 0 -> 1701376 bytes .../debian/app64/plugins/Config/converter.ini | 10 + .../debian/app64/plugins/Config/nppPluginList.dll | Bin 0 -> 155280 bytes .../app64/plugins/NppConverter/NppConverter.dll | Bin 0 -> 157328 bytes .../debian/app64/plugins/NppExport/NppExport.dll | Bin 0 -> 133264 bytes .../debian/app64/plugins/mimeTools/mimeTools.dll | Bin 0 -> 120464 bytes notepadpp/debian/app64/stylers.xml | 1391 ++++++++++++++++++++ notepadpp/debian/bin/notepadpp-common | 81 ++ notepadpp/debian/changelog | 20 + notepadpp/debian/compat | 1 + notepadpp/debian/control | 34 + notepadpp/debian/copyright | 355 +++++ notepadpp/debian/icons/128/notepadpp.png | Bin 0 -> 23441 bytes notepadpp/debian/icons/16/notepadpp.png | Bin 0 -> 852 bytes notepadpp/debian/icons/256/notepadpp.png | Bin 0 -> 71834 bytes notepadpp/debian/icons/32/notepadpp.png | Bin 0 -> 1519 bytes notepadpp/debian/icons/48/notepadpp.png | Bin 0 -> 4070 bytes notepadpp/debian/icons/64/notepadpp.png | Bin 0 -> 6794 bytes notepadpp/debian/notepadpp-bin32.conffiles | 4 + notepadpp/debian/notepadpp-bin32.install | 3 + notepadpp/debian/notepadpp-bin32.postinst | 7 + notepadpp/debian/notepadpp-bin32.prerm | 7 + notepadpp/debian/notepadpp-bin64.conffiles | 4 + notepadpp/debian/notepadpp-bin64.install | 3 + notepadpp/debian/notepadpp-bin64.postinst | 7 + notepadpp/debian/notepadpp-bin64.prerm | 7 + notepadpp/debian/notepadpp-common.install | 8 + notepadpp/debian/notepadpp.desktop | 13 + notepadpp/debian/notepadpp32 | 21 + notepadpp/debian/notepadpp64 | 21 + notepadpp/debian/patches/series | 1 + notepadpp/debian/rules | 43 + notepadpp/debian/source/format | 1 + notepadpp/debian/source/include-binaries | 24 + notepadpp/debian/source/local-options | 2 + notepadpp/debian/watch | 2 + 58 files changed, 3756 insertions(+) create mode 100755 notepadpp/build-orig-tarball.sh create mode 100644 notepadpp/debian/README.Debian create mode 100644 notepadpp/debian/app32/config.xml create mode 100644 notepadpp/debian/app32/plugins/ComparePlugin.dll create mode 100644 notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin.dll create mode 100644 notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/git2.dll create mode 100644 notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/sqlite3.dll create mode 100644 notepadpp/debian/app32/plugins/Config/NppTextFX.ini create mode 100644 notepadpp/debian/app32/plugins/Config/converter.ini create mode 100644 notepadpp/debian/app32/plugins/Config/nppPluginList.dll create mode 100644 notepadpp/debian/app32/plugins/NppConverter/NppConverter.dll create mode 100644 notepadpp/debian/app32/plugins/NppExport/NppExport.dll create mode 100644 notepadpp/debian/app32/plugins/NppTextFX.dll create mode 100644 notepadpp/debian/app32/plugins/NppTextFX/NppTextFX.dll create mode 100644 notepadpp/debian/app32/plugins/mimeTools/mimeTools.dll create mode 100644 notepadpp/debian/app32/session.xml create mode 100644 notepadpp/debian/app32/shortcuts.xml create mode 100644 notepadpp/debian/app32/stylers.xml create mode 100644 notepadpp/debian/app64/config.xml create mode 100644 notepadpp/debian/app64/plugins/ComparePlugin.dll create mode 100644 notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin.dll create mode 100644 notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/git2.dll create mode 100644 notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/sqlite3.dll create mode 100644 notepadpp/debian/app64/plugins/Config/converter.ini create mode 100644 notepadpp/debian/app64/plugins/Config/nppPluginList.dll create mode 100644 notepadpp/debian/app64/plugins/NppConverter/NppConverter.dll create mode 100644 notepadpp/debian/app64/plugins/NppExport/NppExport.dll create mode 100644 notepadpp/debian/app64/plugins/mimeTools/mimeTools.dll create mode 100644 notepadpp/debian/app64/stylers.xml create mode 100755 notepadpp/debian/bin/notepadpp-common create mode 100644 notepadpp/debian/changelog create mode 100644 notepadpp/debian/compat create mode 100644 notepadpp/debian/control create mode 100644 notepadpp/debian/copyright create mode 100644 notepadpp/debian/icons/128/notepadpp.png create mode 100644 notepadpp/debian/icons/16/notepadpp.png create mode 100644 notepadpp/debian/icons/256/notepadpp.png create mode 100644 notepadpp/debian/icons/32/notepadpp.png create mode 100644 notepadpp/debian/icons/48/notepadpp.png create mode 100644 notepadpp/debian/icons/64/notepadpp.png create mode 100644 notepadpp/debian/notepadpp-bin32.conffiles create mode 100644 notepadpp/debian/notepadpp-bin32.install create mode 100644 notepadpp/debian/notepadpp-bin32.postinst create mode 100644 notepadpp/debian/notepadpp-bin32.prerm create mode 100644 notepadpp/debian/notepadpp-bin64.conffiles create mode 100644 notepadpp/debian/notepadpp-bin64.install create mode 100644 notepadpp/debian/notepadpp-bin64.postinst create mode 100644 notepadpp/debian/notepadpp-bin64.prerm create mode 100644 notepadpp/debian/notepadpp-common.install create mode 100644 notepadpp/debian/notepadpp.desktop create mode 100644 notepadpp/debian/notepadpp32 create mode 100644 notepadpp/debian/notepadpp64 create mode 100644 notepadpp/debian/patches/series create mode 100755 notepadpp/debian/rules create mode 100644 notepadpp/debian/source/format create mode 100644 notepadpp/debian/source/include-binaries create mode 100644 notepadpp/debian/source/local-options create mode 100644 notepadpp/debian/watch diff --git a/notepadpp/build-orig-tarball.sh b/notepadpp/build-orig-tarball.sh new file mode 100755 index 0000000..f5210f1 --- /dev/null +++ b/notepadpp/build-orig-tarball.sh @@ -0,0 +1,81 @@ +#!/bin/sh +# Package: notepadpp +# Startdate: 2019-12-28 11:01 +# Dependencies: +# sudo apt-get install jq wget curl p7zip + +currdir="${PWD}" +tmpfile1="$( mktemp )" + +# FUNCTIONS +ferror() { + printf "%s\n" "$@" 1>&2 +} + +get() { + # get "https://example.com/example.zip" + # get "https://example.com/example.zip" "outputname.zip" + ___get_url="${1}" + ___get_outfile="${2}" + ___wget_options="" + test -n "${___get_outfile}" && ___wget_options="-o ${___get_outfile}" + + test -n "${DEBUG}" && ferror "wget --quiet --content-disposition \"${___get_url}\" ${___wget_options}" + test -z "${DRYRUN}" && wget --quiet --content-disposition "${___get_url}" ${___wget_options} +} + +to_filename() { + # call: to_filename "https://example.com/filename.ext" + # returns: "filename.ext" + printf "${1##*/}" +} + +### Flow + +## 1. learn latest version +latest_version="$( curl -s "https://notepad-plus-plus.org/downloads/" | grep -oiE "Current Version [0-9\.]+" | grep -oE "[0-9\.a-zA-Z]+$" )" +ferror "USING VERSION ${latest_version}" + +## 2. dl npp main version, 32 and 64 +get "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v${latest_version}/npp.${latest_version}.bin.7z" +get "https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v${latest_version}/npp.${latest_version}.bin.x64.7z" + +## 3. dl 32 plugins +# fetch master list of plugins +curl -L -s https://github.com/notepad-plus-plus/nppPluginList/raw/master/src/pl.x86.json > "${tmpfile1}" + +# Compare plugin +url_current_plugin_32_Compare="$( cat "${tmpfile1}" | jq '.["npp-plugins"][] | select(."display-name" == "Compare") | .repository' -r )" +file_current_plugin_32_Compare="$( to_filename "${url_current_plugin_32_Compare}" )" +get "${url_current_plugin_32_Compare}" +# TextFX plugin +url_current_plugin_32_TextFX="$( cat "${tmpfile1}" | jq '.["npp-plugins"][] | select(."display-name" == "TextFX Characters") | .repository' -r )" +file_current_plugin_32_TextFX="$( to_filename "${url_current_plugin_32_TextFX}" )" +get "${url_current_plugin_32_TextFX}" + +## 4. dl 64 plugins +curl -L -s https://github.com/notepad-plus-plus/nppPluginList/raw/master/src/pl.x64.json > "${tmpfile1}" + +# Compare plugin +url_current_plugin_64_Compare="$( cat "${tmpfile1}" | jq '.["npp-plugins"][] | select(."display-name" == "Compare") | .repository' -r )" +file_current_plugin_64_Compare="$( to_filename "${url_current_plugin_64_Compare}" )" +get "${url_current_plugin_64_Compare}" + +## 5. assemble orig tarball +test -n "${DEBUG}" && ferror "mkdir -p \"notepadpp-${latest_version}\" ; cd \"notepadpp-${latest_version}\"" +test -z "${DRYRUN}" && { mkdir -p "notepadpp-${latest_version}" ; cd "notepadpp-${latest_version}" ; } + +test -n "${DEBUG}" && ferror "mkdir -p notepadpp-bin32 notepadpp-bin64" +test -z "${DRYRUN}" && { mkdir -p notepadpp-bin32 notepadpp-bin64 ; } + +test -n "${DEBUG}" && ferror "cd notepadpp-bin32 ; 7za -bd -aoa x ../../\"npp.${latest_version}.bin.7z\" ; cd plugins ; 7za -bd -aoa x ../../../\"${file_current_plugin_32_Compare}\" ; 7za -bd -aoa x ../../../\"${file_current_plugin_32_TextFX}\" ; cd ../.. " +test -z "${DRYRUN}" && { cd notepadpp-bin32 ; 7za -bd -aoa x ../../"npp.${latest_version}.bin.7z" ; cd plugins ; 7za -bd -aoa x ../../../"${file_current_plugin_32_Compare}" ; 7za -bd -aoa x ../../../"${file_current_plugin_32_TextFX}" ; cd ../..; } +test -n "${DEBUG}" && ferror "cd notepadpp-bin64 ; 7za -bd -aoa x ../../\"npp.${latest_version}.bin.x64.7z\" ; cd plugins ; 7za -bd -aoa x ../../../\"${file_current_plugin_64_Compare}\" ; cd ../.. " +test -z "${DRYRUN}" && { cd notepadpp-bin64 ; 7za -bd -aoa x ../../"npp.${latest_version}.bin.x64.7z" ; cd plugins ; 7za -bd -aoa x ../../../"${file_current_plugin_64_Compare}" ; cd ../.. ; } +test -n "${DEBUG}" && ferror "cd .." +test -z "${DRYRUN}" && cd .. +test -n "${DEBUG}" && ferror "tar -zcf \"notepadpp_${latest_version}.orig.tar.gz\" \"notepadpp-${latest_version}\"" +test -z "${DRYRUN}" && tar -zcf "notepadpp_${latest_version}.orig.tar.gz" "notepadpp-${latest_version}" + +# CLEAN UP +rm -rf "${tmpfile1}" "notepadpp-${latest_version}/" "${file_current_plugin_32_Compare}" "${file_current_plugin_32_TextFX}" "${file_current_plugin_64_Compare}" "npp.${latest_version}.bin.7z" "npp.${latest_version}.bin.x64.7z" diff --git a/notepadpp/debian/README.Debian b/notepadpp/debian/README.Debian new file mode 100644 index 0000000..ffaca23 --- /dev/null +++ b/notepadpp/debian/README.Debian @@ -0,0 +1,33 @@ +notepadpp (7.8.2-1+devuan) + +If the build-orig-tarball.sh is unavailable, you can perform these steps manually to build notepadpp_7.8.2.orig.tar.gz: + +cd ~/deb +nppver=7.8.2 +# x86 +wget --content-disposition https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v${nppver}/npp.${nppver}.bin.7z +wget --content-disposition https://github.com/pnedev/compare-plugin/releases/download/v2.0.0_npp7.7/ComparePlugin_v2.0.0_npp7.7_x86.zip +wget --content-disposition https://downloads.sourceforge.net/project/npp-plugins/TextFX/TextFX%20v0.26/TextFX.v0.26.unicode.bin.zip +# x86_64 +wget --content-disposition https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v${nppver}/npp.${nppver}.bin.x64.7z +wget --content-disposition https://github.com/pnedev/compare-plugin/releases/download/v2.0.0_npp7.7/ComparePlugin_v2.0.0_npp7.7_X64.zip + +mkdir -p "notepadpp-${nppver}" ; cd "notepadpp-${nppver}" +mkdir -p notepadpp-bin32 notepadpp-bin64 +cd notepadpp-bin32 ; 7za -aoa x ../../npp.${nppver}.bin.7z ; cd plugins ; 7za -aoa x ../../../ComparePlugin_v2.0.0_npp7.7_x86.zip ; 7za -aoa x ../../../TextFX.v0.26.unicode.bin.zip ; cd ../.. +cd notepadpp-bin64 ; 7za -aoa x ../../npp.${nppver}.bin.x64.7z ; cd plugins ; 7za -aoa x ../../../ComparePlugin_v2.0.0_npp7.7_X64.zip ; cd ../.. +cd .. +tar -zcf "notepadpp_${nppver}.orig.tar.gz" "notepadpp-${nppver}" + +# Regenerate icons +To regenerate the png icons: +wrestool -x -t 14 notepad++.exe -o /tmp/foo +convert /tmp/foo/notepad++.exe_14_100.ico notepadpp.png +And then manually choose which files go to which png icon file. + +# References +## Weblinks +1. Master list of plugins, [64-bit](https://github.com/notepad-plus-plus/nppPluginList/blob/master/src/pl.x64.json) and [32-bit](https://github.com/notepad-plus-plus/nppPluginList/blob/master/src/pl.x86.json) +2. Icons from exe [Extract icons from .exe files | Knowledge Base](https://bgstack15.wordpress.com/2018/07/24/extract-icons-from-exe-files/) + + -- B Stack Fri, 27 Dec 2019 13:49:15 -0500 diff --git a/notepadpp/debian/app32/config.xml b/notepadpp/debian/app32/config.xml new file mode 100644 index 0000000..4865720 --- /dev/null +++ b/notepadpp/debian/app32/config.xml @@ -0,0 +1,58 @@ + + + + + + standard + show + + vertical + hide + + + yes + yes + no + no + yes + yes + yes + yes + + + + + yes + yes + 2 + + + + + + show + + + + + + + + + + + yes + + + + + + + + + + + + + + diff --git a/notepadpp/debian/app32/plugins/ComparePlugin.dll b/notepadpp/debian/app32/plugins/ComparePlugin.dll new file mode 100644 index 0000000..339c950 Binary files /dev/null and b/notepadpp/debian/app32/plugins/ComparePlugin.dll differ diff --git a/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin.dll b/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin.dll new file mode 100644 index 0000000..339c950 Binary files /dev/null and b/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin.dll differ diff --git a/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/git2.dll b/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/git2.dll new file mode 100644 index 0000000..1ce2a2d Binary files /dev/null and b/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/git2.dll differ diff --git a/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/sqlite3.dll b/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/sqlite3.dll new file mode 100644 index 0000000..8f6b637 Binary files /dev/null and b/notepadpp/debian/app32/plugins/ComparePlugin/ComparePlugin/sqlite3.dll differ diff --git a/notepadpp/debian/app32/plugins/Config/NppTextFX.ini b/notepadpp/debian/app32/plugins/Config/NppTextFX.ini new file mode 100644 index 0000000..5769c7c --- /dev/null +++ b/notepadpp/debian/app32/plugins/Config/NppTextFX.ini @@ -0,0 +1,29 @@ +[FindReplace] +RepositoryFolders=TextFX Original:%CSIDLX_TEXTFXDATA%\ReplaceSets;Most Recent Folder:;My Documents:%CSIDL_PERSONAL% +RepositorySelected=0 +[Settings] +SeparateQuickMenus=0 +BlockOverwrite=0 +AutoCloseBrace=0 +AutoCloseHTMLtag=0 +AutoSpace2Tab=0 +AutoConvertHTML=0 +SortAscending=1 +SortLinesUnique=0 +MarkWordFindCaseSensitive=0 +MarkWordFindWholeWord=0 +DisableSubclassing=0 +CaptureCutCopyPaste=0 +CtrlDAlsoDupsBlock=0 +[Viz] +VizCaseSensitive=0 +VizWholeWords=0 +VizRegex=0 +VizCutCopyAppend=0 +VizClipboardAlwaysCRLF=1 +VizClipboardReplaceNulls=0 +VizClipboardCopyAlsoUTF8=0 +VizClipboardNotUnicode=0 +VizPasteRetainsPosition=0 +VizPasteBinary=0 +VizPasteToEditorEOL=1 diff --git a/notepadpp/debian/app32/plugins/Config/converter.ini b/notepadpp/debian/app32/plugins/Config/converter.ini new file mode 100644 index 0000000..2fdb027 --- /dev/null +++ b/notepadpp/debian/app32/plugins/Config/converter.ini @@ -0,0 +1,10 @@ +; This section contains the paremters for command ASCII -> Hex +; If you modify directly this file, please restart your Notepad++ to take effect. +; * insertSpace: this parameter allows you to insert a white space between the generated hex codes. Set the value to 1 to enable it, 0 otherwise. +; * uppercase: this parameter allows you to make a-f in UPPERCASE (ie. A-F). Set the value to 1 to enable it , 0 otherwise. +; * nbCharPerLine:this parameter allows you to break line. The value you set is the number of ascii character per line. Set the value from 0 to whatever you want. +[ascii2Hex] +insertSpace=0 +uppercase=1 +nbCharPerLine=16 + diff --git a/notepadpp/debian/app32/plugins/Config/nppPluginList.dll b/notepadpp/debian/app32/plugins/Config/nppPluginList.dll new file mode 100644 index 0000000..959488f Binary files /dev/null and b/notepadpp/debian/app32/plugins/Config/nppPluginList.dll differ diff --git a/notepadpp/debian/app32/plugins/NppConverter/NppConverter.dll b/notepadpp/debian/app32/plugins/NppConverter/NppConverter.dll new file mode 100644 index 0000000..bfbbd4a Binary files /dev/null and b/notepadpp/debian/app32/plugins/NppConverter/NppConverter.dll differ diff --git a/notepadpp/debian/app32/plugins/NppExport/NppExport.dll b/notepadpp/debian/app32/plugins/NppExport/NppExport.dll new file mode 100644 index 0000000..1e5c05c Binary files /dev/null and b/notepadpp/debian/app32/plugins/NppExport/NppExport.dll differ diff --git a/notepadpp/debian/app32/plugins/NppTextFX.dll b/notepadpp/debian/app32/plugins/NppTextFX.dll new file mode 100644 index 0000000..8fc2309 Binary files /dev/null and b/notepadpp/debian/app32/plugins/NppTextFX.dll differ diff --git a/notepadpp/debian/app32/plugins/NppTextFX/NppTextFX.dll b/notepadpp/debian/app32/plugins/NppTextFX/NppTextFX.dll new file mode 100644 index 0000000..8fc2309 Binary files /dev/null and b/notepadpp/debian/app32/plugins/NppTextFX/NppTextFX.dll differ diff --git a/notepadpp/debian/app32/plugins/mimeTools/mimeTools.dll b/notepadpp/debian/app32/plugins/mimeTools/mimeTools.dll new file mode 100644 index 0000000..2d2f7f0 Binary files /dev/null and b/notepadpp/debian/app32/plugins/mimeTools/mimeTools.dll differ diff --git a/notepadpp/debian/app32/session.xml b/notepadpp/debian/app32/session.xml new file mode 100644 index 0000000..80c8575 --- /dev/null +++ b/notepadpp/debian/app32/session.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/notepadpp/debian/app32/shortcuts.xml b/notepadpp/debian/app32/shortcuts.xml new file mode 100644 index 0000000..626ad55 --- /dev/null +++ b/notepadpp/debian/app32/shortcuts.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + https://www.php.net/$(CURRENT_WORD) + https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD) + $(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst + + + + + + diff --git a/notepadpp/debian/app32/stylers.xml b/notepadpp/debian/app32/stylers.xml new file mode 100644 index 0000000..403b86d --- /dev/null +++ b/notepadpp/debian/app32/stylers.xml @@ -0,0 +1,1391 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/notepadpp/debian/app64/config.xml b/notepadpp/debian/app64/config.xml new file mode 100644 index 0000000..b8c64c1 --- /dev/null +++ b/notepadpp/debian/app64/config.xml @@ -0,0 +1,58 @@ + + + + + + standard + show + + vertical + hide + + + yes + yes + no + no + yes + yes + yes + yes + + + + + yes + yes + 2 + + + + + + show + + + + + + + + + + + yes + + + + + + + + + + + + + + diff --git a/notepadpp/debian/app64/plugins/ComparePlugin.dll b/notepadpp/debian/app64/plugins/ComparePlugin.dll new file mode 100644 index 0000000..1cdc453 Binary files /dev/null and b/notepadpp/debian/app64/plugins/ComparePlugin.dll differ diff --git a/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin.dll b/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin.dll new file mode 100644 index 0000000..1cdc453 Binary files /dev/null and b/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin.dll differ diff --git a/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/git2.dll b/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/git2.dll new file mode 100644 index 0000000..83acd33 Binary files /dev/null and b/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/git2.dll differ diff --git a/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/sqlite3.dll b/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/sqlite3.dll new file mode 100644 index 0000000..1afcff4 Binary files /dev/null and b/notepadpp/debian/app64/plugins/ComparePlugin/ComparePlugin/sqlite3.dll differ diff --git a/notepadpp/debian/app64/plugins/Config/converter.ini b/notepadpp/debian/app64/plugins/Config/converter.ini new file mode 100644 index 0000000..2fdb027 --- /dev/null +++ b/notepadpp/debian/app64/plugins/Config/converter.ini @@ -0,0 +1,10 @@ +; This section contains the paremters for command ASCII -> Hex +; If you modify directly this file, please restart your Notepad++ to take effect. +; * insertSpace: this parameter allows you to insert a white space between the generated hex codes. Set the value to 1 to enable it, 0 otherwise. +; * uppercase: this parameter allows you to make a-f in UPPERCASE (ie. A-F). Set the value to 1 to enable it , 0 otherwise. +; * nbCharPerLine:this parameter allows you to break line. The value you set is the number of ascii character per line. Set the value from 0 to whatever you want. +[ascii2Hex] +insertSpace=0 +uppercase=1 +nbCharPerLine=16 + diff --git a/notepadpp/debian/app64/plugins/Config/nppPluginList.dll b/notepadpp/debian/app64/plugins/Config/nppPluginList.dll new file mode 100644 index 0000000..d1ad1ea Binary files /dev/null and b/notepadpp/debian/app64/plugins/Config/nppPluginList.dll differ diff --git a/notepadpp/debian/app64/plugins/NppConverter/NppConverter.dll b/notepadpp/debian/app64/plugins/NppConverter/NppConverter.dll new file mode 100644 index 0000000..0149474 Binary files /dev/null and b/notepadpp/debian/app64/plugins/NppConverter/NppConverter.dll differ diff --git a/notepadpp/debian/app64/plugins/NppExport/NppExport.dll b/notepadpp/debian/app64/plugins/NppExport/NppExport.dll new file mode 100644 index 0000000..c239647 Binary files /dev/null and b/notepadpp/debian/app64/plugins/NppExport/NppExport.dll differ diff --git a/notepadpp/debian/app64/plugins/mimeTools/mimeTools.dll b/notepadpp/debian/app64/plugins/mimeTools/mimeTools.dll new file mode 100644 index 0000000..ee1dbac Binary files /dev/null and b/notepadpp/debian/app64/plugins/mimeTools/mimeTools.dll differ diff --git a/notepadpp/debian/app64/stylers.xml b/notepadpp/debian/app64/stylers.xml new file mode 100644 index 0000000..347eda9 --- /dev/null +++ b/notepadpp/debian/app64/stylers.xml @@ -0,0 +1,1391 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/notepadpp/debian/bin/notepadpp-common b/notepadpp/debian/bin/notepadpp-common new file mode 100755 index 0000000..7c1c2f8 --- /dev/null +++ b/notepadpp/debian/bin/notepadpp-common @@ -0,0 +1,81 @@ +#!/bin/sh +# File: notepadpp-common +# Locations: /usr/bin +# Author: bgstack15@gmail.com +# Startdate: 2019-12-27 +# Title: Common Elements for Wrapper script for passing files to notepadpp +# Purpose: Converts file paths to a wine format +# History: +# Usage: +# called from notepadpp (which is symlink to notepadpp32 or notepadpp64) +# Do not use this by itself. +# Reference: +# irfanview-common +# Improve: + +if ! test "${NPP_VALID_CALL:-nothing}" = "do_not_set_this_manually" ; +then + printf "%s\n" "Do not call this script by itself! Use \"notepadpp\". Aborted." + false +else + +NPP_VERSION="2019-12-27a" + +# Define functions +expandword() { + # call: expandword "${word}" + # if file, add it + # if directory, expand it + # if tarball, extract it and operate on the directory like normal + local _word="$( echo "${@}" | sed -e 'sF\/\/F\/Fg;' )" + if test -d "${_word}"; + then + # loop through all files in the directory + for _newword in "${_word}"/*; + do + expandword "${_newword}"; + done + elif test -f "${_word}"; + then + # file exists so check if tarball + case "${_word}" in + *) + # assume it is readable and add it to list of files to open + echo "File ${_word}" + thisfile="$( getwinepath "${_word}" )" + wineappfiles="${wineappfiles} ${thisfile}" + ;; + esac + fi +} + +getwinepath() { + # call: getwinepath "$foo" + wine winepath.exe -w "${@}" +} + +# Define variables +alltempdirs="" + +# prepare files +wineappargs= +wineappfiles= + +for word in "${@}"; +do + expandword "${word}" +done +wineappfiles="${wineappfiles## }" + +# run wine +cd $WINEPREFIX +printf wine "${NPP_EXEC_PATH}" ${wineappargs} ${wineappfiles} +wine "${NPP_EXEC_PATH}" ${wineappargs} ${wineappfiles} & + +wait %1 +for thistempdir in ${alltempdirs}; +do + rm -rf "${thistempdir}" +done + +fi diff --git a/notepadpp/debian/changelog b/notepadpp/debian/changelog new file mode 100644 index 0000000..5f7887e --- /dev/null +++ b/notepadpp/debian/changelog @@ -0,0 +1,20 @@ +notepadpp (7.8.2-1+devuan) obs; urgency=low + + - Initial release for Devuan + - Use custom orig.tar.gz that combines the upstream 7z files and some plugins + * 32-bit and 64-bit Compare + * 32-bit TextFX Characters + - Enhancements and bug-fixes + * Add key shortcuts in Save or not dialog. + * Add find in files filter excluding ability. + * Add “Open UDL folder” command. + * Fix issue of showing save dialog twice while cloned file is dirty. + * Enhance “Open Explorer” command in Folder as workspace with expected path. + * Fix tab dragging issues. + * Enhance “Close all but This” and “Close all to the left/right” commands while files are dirty. + * Enhance “In Selection” option in Find dialog. + * Fix Notepad++ blocked in notification zone issue. + * Make end-of-line conversion operations macroable. + * Fix “View Current File In” commands disabled problem in some situations. + + -- B Stack Fri, 27 Dec 2019 13:49:15 -0500 diff --git a/notepadpp/debian/compat b/notepadpp/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/notepadpp/debian/compat @@ -0,0 +1 @@ +12 diff --git a/notepadpp/debian/control b/notepadpp/debian/control new file mode 100644 index 0000000..3985f5e --- /dev/null +++ b/notepadpp/debian/control @@ -0,0 +1,34 @@ +Source: notepadpp +Section: editors +Priority: optional +Maintainer: B Stack +Build-Depends: debhelper (>=12~) +Standards-Version: 4.1.4 +Homepage: https://notepad-plus-plus.org/ + +Package: notepadpp-common +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: common elements for notepadpp + Basic components that are arch-independent. + +Package: notepadpp-bin32 +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends}, + wine | wine-staging | winehq | winehq-staging | wine-stable, + notepadpp-common +Provides: notepadpp, x-editor +Description: editor from a non-free OS + The 32-bit release, which also includes TextFX + +Package: notepadpp-bin64 +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends}, + wine64 | wine-staging | winehq | winehq-staging | wine-stable, + notepadpp-common +Provides: notepadpp, x-editor +Description: editor from a non-free OS + The 64-bit release diff --git a/notepadpp/debian/copyright b/notepadpp/debian/copyright new file mode 100644 index 0000000..0605f03 --- /dev/null +++ b/notepadpp/debian/copyright @@ -0,0 +1,355 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: notepadpp +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: notepadpp-bin32/change.log + notepadpp-bin32/doLocalConf.xml + notepadpp-bin32/plugins/ComparePlugin.dll + notepadpp-bin32/plugins/ComparePlugin/git2.dll + notepadpp-bin32/plugins/ComparePlugin/sqlite3.dll + notepadpp-bin32/plugins/Config/nppPluginList.dll + notepadpp-bin32/plugins/NppConverter/NppConverter.dll + notepadpp-bin32/plugins/NppExport/NppExport.dll + notepadpp-bin32/plugins/NppTextFX.dll + notepadpp-bin32/plugins/mimeTools/mimeTools.dll + notepadpp-bin32/readme.txt + notepadpp-bin32/updater/GUP.exe + notepadpp-bin32/updater/README.md + notepadpp-bin32/updater/libcurl.dll + notepadpp-bin64/change.log + notepadpp-bin64/doLocalConf.xml + notepadpp-bin64/plugins/Config/nppPluginList.dll + notepadpp-bin64/plugins/NppConverter/NppConverter.dll + notepadpp-bin64/plugins/NppExport/NppExport.dll + notepadpp-bin64/plugins/mimeTools/mimeTools.dll + notepadpp-bin64/readme.txt + notepadpp-bin64/updater/GUP.exe + notepadpp-bin64/updater/README.md + notepadpp-bin64/updater/libcurl.dll +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: notepadpp-bin32/license.txt + notepadpp-bin64/license.txt +Copyright: 2016 Don HO . This program is free software; you may redistribute and/or modify it under the terms of the +License: GPL-2.0 with unknown exception + GNU General Public License as published by the Free Software + Foundation; Version 2 with the clarifications and exceptions described + below. This guarantees your right to use, modify, and redistribute + this software under certain conditions. + . + Note that we consider an application to constitute a "derivative work" + for the purpose of this license if it integrates/includes/aggregates + Notepad++ into a proprietary executable installer, such as those + produced by InstallShield. Our interpretation applies only to Notepad++ + - we don't speak for other people's GPL works. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + On Debian systems, the complete text of the GNU General Public License + Version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +#---------------------------------------------------------------------------- +# xml and html files (skipped): +# notepadpp-bin64/shortcuts.xml +# notepadpp-bin64/stylers.model.xml +# notepadpp-bin64/contextMenu.xml +# notepadpp-bin64/functionList.xml +# notepadpp-bin64/config.xml +# notepadpp-bin64/langs.model.xml +# notepadpp-bin64/userDefineLangs/userDefinedLang-markdown.default.modern.xml +# notepadpp-bin64/localization/spanish.xml +# notepadpp-bin64/localization/uzbek.xml +# notepadpp-bin64/localization/macedonian.xml +# notepadpp-bin64/localization/swedish.xml +# notepadpp-bin64/localization/portuguese.xml +# notepadpp-bin64/localization/urdu.xml +# notepadpp-bin64/localization/romanian.xml +# notepadpp-bin64/localization/lithuanian.xml +# notepadpp-bin64/localization/estonian.xml +# notepadpp-bin64/localization/hungarian.xml +# notepadpp-bin64/localization/croatian.xml +# notepadpp-bin64/localization/ligurian.xml +# notepadpp-bin64/localization/belarusian.xml +# notepadpp-bin64/localization/kyrgyz.xml +# notepadpp-bin64/localization/spanish_ar.xml +# notepadpp-bin64/localization/uzbekCyrillic.xml +# notepadpp-bin64/localization/italian.xml +# notepadpp-bin64/localization/tatar.xml +# notepadpp-bin64/localization/latvian.xml +# notepadpp-bin64/localization/welsh.xml +# notepadpp-bin64/localization/kazakh.xml +# notepadpp-bin64/localization/russian.xml +# notepadpp-bin64/localization/danish.xml +# notepadpp-bin64/localization/japanese.xml +# notepadpp-bin64/localization/telugu.xml +# notepadpp-bin64/localization/georgian.xml +# notepadpp-bin64/localization/english_customizable.xml +# notepadpp-bin64/localization/afrikaans.xml +# notepadpp-bin64/localization/chineseSimplified.xml +# notepadpp-bin64/localization/serbian.xml +# notepadpp-bin64/localization/luxembourgish.xml +# notepadpp-bin64/localization/catalan.xml +# notepadpp-bin64/localization/kabyle.xml +# notepadpp-bin64/localization/sinhala.xml +# notepadpp-bin64/localization/tajikCyrillic.xml +# notepadpp-bin64/localization/finnish.xml +# notepadpp-bin64/localization/friulian.xml +# notepadpp-bin64/localization/greek.xml +# notepadpp-bin64/localization/occitan.xml +# notepadpp-bin64/localization/slovenian.xml +# notepadpp-bin64/localization/slovak.xml +# notepadpp-bin64/localization/extremaduran.xml +# notepadpp-bin64/localization/farsi.xml +# notepadpp-bin64/localization/bengali.xml +# notepadpp-bin64/localization/breton.xml +# notepadpp-bin64/localization/aragonese.xml +# notepadpp-bin64/localization/kurdish.xml +# notepadpp-bin64/localization/corsican.xml +# notepadpp-bin64/localization/chinese.xml +# notepadpp-bin64/localization/czech.xml +# notepadpp-bin64/localization/english.xml +# notepadpp-bin64/localization/bulgarian.xml +# notepadpp-bin64/localization/serbianCyrillic.xml +# notepadpp-bin64/localization/german.xml +# notepadpp-bin64/localization/ukrainian.xml +# notepadpp-bin64/localization/polish.xml +# notepadpp-bin64/localization/dutch.xml +# notepadpp-bin64/localization/bosnian.xml +# notepadpp-bin64/localization/sardinian.xml +# notepadpp-bin64/localization/thai.xml +# notepadpp-bin64/localization/gujarati.xml +# notepadpp-bin64/localization/norwegian.xml +# notepadpp-bin64/localization/aranese.xml +# notepadpp-bin64/localization/albanian.xml +# notepadpp-bin64/localization/korean.xml +# notepadpp-bin64/localization/kannada.xml +# notepadpp-bin64/localization/tamil.xml +# notepadpp-bin64/localization/vietnamese.xml +# notepadpp-bin64/localization/samogitian.xml +# notepadpp-bin64/localization/hindi.xml +# notepadpp-bin64/localization/zulu.xml +# notepadpp-bin64/localization/turkish.xml +# notepadpp-bin64/localization/brazilian_portuguese.xml +# notepadpp-bin64/localization/indonesian.xml +# notepadpp-bin64/localization/nynorsk.xml +# notepadpp-bin64/localization/punjabi.xml +# notepadpp-bin64/localization/basque.xml +# notepadpp-bin64/localization/arabic.xml +# notepadpp-bin64/localization/piglatin.xml +# notepadpp-bin64/localization/esperanto.xml +# notepadpp-bin64/localization/tagalog.xml +# notepadpp-bin64/localization/uyghur.xml +# notepadpp-bin64/localization/azerbaijani.xml +# notepadpp-bin64/localization/galician.xml +# notepadpp-bin64/localization/mongolian.xml +# notepadpp-bin64/localization/malay.xml +# notepadpp-bin64/localization/marathi.xml +# notepadpp-bin64/localization/hebrew.xml +# notepadpp-bin64/localization/french.xml +# notepadpp-bin64/autoCompletion/batch.xml +# notepadpp-bin64/autoCompletion/nsis.xml +# notepadpp-bin64/autoCompletion/javascript.xml +# notepadpp-bin64/autoCompletion/xml.xml +# notepadpp-bin64/autoCompletion/BaanC.xml +# notepadpp-bin64/autoCompletion/sql.xml +# notepadpp-bin64/autoCompletion/cobol.xml +# notepadpp-bin64/autoCompletion/c.xml +# notepadpp-bin64/autoCompletion/cpp.xml +# notepadpp-bin64/autoCompletion/perl.xml +# notepadpp-bin64/autoCompletion/java.xml +# notepadpp-bin64/autoCompletion/vb.xml +# notepadpp-bin64/autoCompletion/lua.xml +# notepadpp-bin64/autoCompletion/coffee.xml +# notepadpp-bin64/autoCompletion/php.xml +# notepadpp-bin64/autoCompletion/rc.xml +# notepadpp-bin64/autoCompletion/cmake.xml +# notepadpp-bin64/autoCompletion/css.xml +# notepadpp-bin64/autoCompletion/cs.xml +# notepadpp-bin64/autoCompletion/vhdl.xml +# notepadpp-bin64/autoCompletion/lisp.xml +# notepadpp-bin64/autoCompletion/autoit.xml +# notepadpp-bin64/autoCompletion/tex.xml +# notepadpp-bin64/autoCompletion/actionscript.xml +# notepadpp-bin64/autoCompletion/python.xml +# notepadpp-bin64/autoCompletion/html.xml +# notepadpp-bin64/themes/Solarized-light.xml +# notepadpp-bin64/themes/vim Dark Blue.xml +# notepadpp-bin64/themes/HotFudgeSundae.xml +# notepadpp-bin64/themes/Zenburn.xml +# notepadpp-bin64/themes/Deep Black.xml +# notepadpp-bin64/themes/Mono Industrial.xml +# notepadpp-bin64/themes/Vibrant Ink.xml +# notepadpp-bin64/themes/Obsidian.xml +# notepadpp-bin64/themes/Plastic Code Wrap.xml +# notepadpp-bin64/themes/Twilight.xml +# notepadpp-bin64/themes/Choco.xml +# notepadpp-bin64/themes/Bespin.xml +# notepadpp-bin64/themes/Navajo.xml +# notepadpp-bin64/themes/Ruby Blue.xml +# notepadpp-bin64/themes/Black board.xml +# notepadpp-bin64/themes/khaki.xml +# notepadpp-bin64/themes/Monokai.xml +# notepadpp-bin64/themes/Solarized.xml +# notepadpp-bin64/themes/Hello Kitty.xml +# notepadpp-bin64/themes/MossyLawn.xml +# notepadpp-bin64/updater/gup.xml +# notepadpp-bin32/shortcuts.xml +# notepadpp-bin32/stylers.model.xml +# notepadpp-bin32/contextMenu.xml +# notepadpp-bin32/functionList.xml +# notepadpp-bin32/config.xml +# notepadpp-bin32/langs.model.xml +# notepadpp-bin32/userDefineLangs/userDefinedLang-markdown.default.modern.xml +# notepadpp-bin32/localization/spanish.xml +# notepadpp-bin32/localization/uzbek.xml +# notepadpp-bin32/localization/macedonian.xml +# notepadpp-bin32/localization/swedish.xml +# notepadpp-bin32/localization/portuguese.xml +# notepadpp-bin32/localization/urdu.xml +# notepadpp-bin32/localization/romanian.xml +# notepadpp-bin32/localization/lithuanian.xml +# notepadpp-bin32/localization/estonian.xml +# notepadpp-bin32/localization/hungarian.xml +# notepadpp-bin32/localization/croatian.xml +# notepadpp-bin32/localization/ligurian.xml +# notepadpp-bin32/localization/belarusian.xml +# notepadpp-bin32/localization/kyrgyz.xml +# notepadpp-bin32/localization/spanish_ar.xml +# notepadpp-bin32/localization/uzbekCyrillic.xml +# notepadpp-bin32/localization/italian.xml +# notepadpp-bin32/localization/tatar.xml +# notepadpp-bin32/localization/latvian.xml +# notepadpp-bin32/localization/welsh.xml +# notepadpp-bin32/localization/kazakh.xml +# notepadpp-bin32/localization/russian.xml +# notepadpp-bin32/localization/danish.xml +# notepadpp-bin32/localization/japanese.xml +# notepadpp-bin32/localization/telugu.xml +# notepadpp-bin32/localization/georgian.xml +# notepadpp-bin32/localization/english_customizable.xml +# notepadpp-bin32/localization/afrikaans.xml +# notepadpp-bin32/localization/chineseSimplified.xml +# notepadpp-bin32/localization/serbian.xml +# notepadpp-bin32/localization/luxembourgish.xml +# notepadpp-bin32/localization/catalan.xml +# notepadpp-bin32/localization/kabyle.xml +# notepadpp-bin32/localization/sinhala.xml +# notepadpp-bin32/localization/tajikCyrillic.xml +# notepadpp-bin32/localization/finnish.xml +# notepadpp-bin32/localization/friulian.xml +# notepadpp-bin32/localization/greek.xml +# notepadpp-bin32/localization/occitan.xml +# notepadpp-bin32/localization/slovenian.xml +# notepadpp-bin32/localization/slovak.xml +# notepadpp-bin32/localization/extremaduran.xml +# notepadpp-bin32/localization/farsi.xml +# notepadpp-bin32/localization/bengali.xml +# notepadpp-bin32/localization/breton.xml +# notepadpp-bin32/localization/aragonese.xml +# notepadpp-bin32/localization/kurdish.xml +# notepadpp-bin32/localization/corsican.xml +# notepadpp-bin32/localization/chinese.xml +# notepadpp-bin32/localization/czech.xml +# notepadpp-bin32/localization/english.xml +# notepadpp-bin32/localization/bulgarian.xml +# notepadpp-bin32/localization/serbianCyrillic.xml +# notepadpp-bin32/localization/german.xml +# notepadpp-bin32/localization/ukrainian.xml +# notepadpp-bin32/localization/polish.xml +# notepadpp-bin32/localization/dutch.xml +# notepadpp-bin32/localization/bosnian.xml +# notepadpp-bin32/localization/sardinian.xml +# notepadpp-bin32/localization/thai.xml +# notepadpp-bin32/localization/gujarati.xml +# notepadpp-bin32/localization/norwegian.xml +# notepadpp-bin32/localization/aranese.xml +# notepadpp-bin32/localization/albanian.xml +# notepadpp-bin32/localization/korean.xml +# notepadpp-bin32/localization/kannada.xml +# notepadpp-bin32/localization/tamil.xml +# notepadpp-bin32/localization/vietnamese.xml +# notepadpp-bin32/localization/samogitian.xml +# notepadpp-bin32/localization/hindi.xml +# notepadpp-bin32/localization/zulu.xml +# notepadpp-bin32/localization/turkish.xml +# notepadpp-bin32/localization/brazilian_portuguese.xml +# notepadpp-bin32/localization/indonesian.xml +# notepadpp-bin32/localization/nynorsk.xml +# notepadpp-bin32/localization/punjabi.xml +# notepadpp-bin32/localization/basque.xml +# notepadpp-bin32/localization/arabic.xml +# notepadpp-bin32/localization/piglatin.xml +# notepadpp-bin32/localization/esperanto.xml +# notepadpp-bin32/localization/tagalog.xml +# notepadpp-bin32/localization/uyghur.xml +# notepadpp-bin32/localization/azerbaijani.xml +# notepadpp-bin32/localization/galician.xml +# notepadpp-bin32/localization/mongolian.xml +# notepadpp-bin32/localization/malay.xml +# notepadpp-bin32/localization/marathi.xml +# notepadpp-bin32/localization/hebrew.xml +# notepadpp-bin32/localization/french.xml +# notepadpp-bin32/autoCompletion/batch.xml +# notepadpp-bin32/autoCompletion/nsis.xml +# notepadpp-bin32/autoCompletion/javascript.xml +# notepadpp-bin32/autoCompletion/xml.xml +# notepadpp-bin32/autoCompletion/BaanC.xml +# notepadpp-bin32/autoCompletion/sql.xml +# notepadpp-bin32/autoCompletion/cobol.xml +# notepadpp-bin32/autoCompletion/c.xml +# notepadpp-bin32/autoCompletion/cpp.xml +# notepadpp-bin32/autoCompletion/perl.xml +# notepadpp-bin32/autoCompletion/java.xml +# notepadpp-bin32/autoCompletion/vb.xml +# notepadpp-bin32/autoCompletion/lua.xml +# notepadpp-bin32/autoCompletion/coffee.xml +# notepadpp-bin32/autoCompletion/php.xml +# notepadpp-bin32/autoCompletion/rc.xml +# notepadpp-bin32/autoCompletion/cmake.xml +# notepadpp-bin32/autoCompletion/css.xml +# notepadpp-bin32/autoCompletion/cs.xml +# notepadpp-bin32/autoCompletion/vhdl.xml +# notepadpp-bin32/autoCompletion/lisp.xml +# notepadpp-bin32/autoCompletion/autoit.xml +# notepadpp-bin32/autoCompletion/tex.xml +# notepadpp-bin32/autoCompletion/actionscript.xml +# notepadpp-bin32/autoCompletion/python.xml +# notepadpp-bin32/autoCompletion/html.xml +# notepadpp-bin32/themes/Solarized-light.xml +# notepadpp-bin32/themes/vim Dark Blue.xml +# notepadpp-bin32/themes/HotFudgeSundae.xml +# notepadpp-bin32/themes/Zenburn.xml +# notepadpp-bin32/themes/Deep Black.xml +# notepadpp-bin32/themes/Mono Industrial.xml +# notepadpp-bin32/themes/Vibrant Ink.xml +# notepadpp-bin32/themes/Obsidian.xml +# notepadpp-bin32/themes/Plastic Code Wrap.xml +# notepadpp-bin32/themes/Twilight.xml +# notepadpp-bin32/themes/Choco.xml +# notepadpp-bin32/themes/Bespin.xml +# notepadpp-bin32/themes/Navajo.xml +# notepadpp-bin32/themes/Ruby Blue.xml +# notepadpp-bin32/themes/Black board.xml +# notepadpp-bin32/themes/khaki.xml +# notepadpp-bin32/themes/Monokai.xml +# notepadpp-bin32/themes/Solarized.xml +# notepadpp-bin32/themes/Hello Kitty.xml +# notepadpp-bin32/themes/MossyLawn.xml +# notepadpp-bin32/updater/gup.xml + +#---------------------------------------------------------------------------- +# huge files (skipped): +# notepadpp-bin64/SciLexer.dll +# notepadpp-bin64/notepad++.exe +# notepadpp-bin32/SciLexer.dll +# notepadpp-bin32/notepad++.exe + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/notepadpp/debian/icons/128/notepadpp.png b/notepadpp/debian/icons/128/notepadpp.png new file mode 100644 index 0000000..405d624 Binary files /dev/null and b/notepadpp/debian/icons/128/notepadpp.png differ diff --git a/notepadpp/debian/icons/16/notepadpp.png b/notepadpp/debian/icons/16/notepadpp.png new file mode 100644 index 0000000..3464c9e Binary files /dev/null and b/notepadpp/debian/icons/16/notepadpp.png differ diff --git a/notepadpp/debian/icons/256/notepadpp.png b/notepadpp/debian/icons/256/notepadpp.png new file mode 100644 index 0000000..8684592 Binary files /dev/null and b/notepadpp/debian/icons/256/notepadpp.png differ diff --git a/notepadpp/debian/icons/32/notepadpp.png b/notepadpp/debian/icons/32/notepadpp.png new file mode 100644 index 0000000..084a2a4 Binary files /dev/null and b/notepadpp/debian/icons/32/notepadpp.png differ diff --git a/notepadpp/debian/icons/48/notepadpp.png b/notepadpp/debian/icons/48/notepadpp.png new file mode 100644 index 0000000..845c4bc Binary files /dev/null and b/notepadpp/debian/icons/48/notepadpp.png differ diff --git a/notepadpp/debian/icons/64/notepadpp.png b/notepadpp/debian/icons/64/notepadpp.png new file mode 100644 index 0000000..182e2a4 Binary files /dev/null and b/notepadpp/debian/icons/64/notepadpp.png differ diff --git a/notepadpp/debian/notepadpp-bin32.conffiles b/notepadpp/debian/notepadpp-bin32.conffiles new file mode 100644 index 0000000..91060d0 --- /dev/null +++ b/notepadpp/debian/notepadpp-bin32.conffiles @@ -0,0 +1,4 @@ +debian/app32/config.xml usr/share/notepadpp32/ +debian/app32/session.xml usr/share/notepadpp32/ +debian/app32/shortcuts.xml usr/share/notepadpp32/ +debian/app32/stylers.xml usr/share/notepadpp32/ diff --git a/notepadpp/debian/notepadpp-bin32.install b/notepadpp/debian/notepadpp-bin32.install new file mode 100644 index 0000000..6939988 --- /dev/null +++ b/notepadpp/debian/notepadpp-bin32.install @@ -0,0 +1,3 @@ +notepadpp-bin32/* usr/share/notepadpp32/ +debian/notepadpp32 usr/bin/ +debian/app32/* usr/share/notepadpp32/ diff --git a/notepadpp/debian/notepadpp-bin32.postinst b/notepadpp/debian/notepadpp-bin32.postinst new file mode 100644 index 0000000..93da936 --- /dev/null +++ b/notepadpp/debian/notepadpp-bin32.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e +case "$1" in + configure|abort-upgrade|abort-remove) + update-alternatives --install /usr/bin/notepadpp notepadpp /usr/bin/notepadpp32 70 + update-alternatives --install /usr/bin/x-editor x-editor /usr/bin/notepadpp32 70 + ;; +esac diff --git a/notepadpp/debian/notepadpp-bin32.prerm b/notepadpp/debian/notepadpp-bin32.prerm new file mode 100644 index 0000000..d915573 --- /dev/null +++ b/notepadpp/debian/notepadpp-bin32.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e +case "$1" in + remove|deconfigure) + update-alternatives --remove notepadpp /usr/bin/notepadpp32 + update-alternatives --remove x-editor /usr/bin/notepadpp32 + ;; +esac diff --git a/notepadpp/debian/notepadpp-bin64.conffiles b/notepadpp/debian/notepadpp-bin64.conffiles new file mode 100644 index 0000000..463ef92 --- /dev/null +++ b/notepadpp/debian/notepadpp-bin64.conffiles @@ -0,0 +1,4 @@ +debian/app64/config.xml usr/share/notepadpp64/ +debian/app64/session.xml usr/share/notepadpp64/ +debian/app64/shortcuts.xml usr/share/notepadpp64/ +debian/app64/stylers.xml usr/share/notepadpp64/ diff --git a/notepadpp/debian/notepadpp-bin64.install b/notepadpp/debian/notepadpp-bin64.install new file mode 100644 index 0000000..a452e3c --- /dev/null +++ b/notepadpp/debian/notepadpp-bin64.install @@ -0,0 +1,3 @@ +notepadpp-bin64/* usr/share/notepadpp64/ +debian/notepadpp64 usr/bin/ +debian/app64/* usr/share/notepadpp64/ diff --git a/notepadpp/debian/notepadpp-bin64.postinst b/notepadpp/debian/notepadpp-bin64.postinst new file mode 100644 index 0000000..67a443d --- /dev/null +++ b/notepadpp/debian/notepadpp-bin64.postinst @@ -0,0 +1,7 @@ +#!/bin/sh -e +case "$1" in + configure|abort-upgrade|abort-remove) + update-alternatives --install /usr/bin/notepadpp notepadpp /usr/bin/notepadpp64 60 + update-alternatives --install /usr/bin/x-editor x-editor /usr/bin/notepadpp64 60 + ;; +esac diff --git a/notepadpp/debian/notepadpp-bin64.prerm b/notepadpp/debian/notepadpp-bin64.prerm new file mode 100644 index 0000000..2476429 --- /dev/null +++ b/notepadpp/debian/notepadpp-bin64.prerm @@ -0,0 +1,7 @@ +#!/bin/sh -e +case "$1" in + remove|deconfigure) + update-alternatives --remove notepadpp /usr/bin/notepadpp64 + update-alternatives --remove x-editor /usr/bin/notepadpp64 + ;; +esac diff --git a/notepadpp/debian/notepadpp-common.install b/notepadpp/debian/notepadpp-common.install new file mode 100644 index 0000000..b49a717 --- /dev/null +++ b/notepadpp/debian/notepadpp-common.install @@ -0,0 +1,8 @@ +debian/notepadpp.desktop usr/share/applications/ +debian/bin/notepadpp-common usr/bin/ +debian/icons/16/notepadpp.png usr/share/icons/hicolor/16x16/apps/ +debian/icons/32/notepadpp.png usr/share/icons/hicolor/32x32/apps/ +debian/icons/48/notepadpp.png usr/share/icons/hicolor/48x48/apps/ +debian/icons/64/notepadpp.png usr/share/icons/hicolor/64x64/apps/ +debian/icons/128/notepadpp.png usr/share/icons/hicolor/128x128/apps/ +debian/icons/256/notepadpp.png usr/share/icons/hicolor/256x256/apps/ diff --git a/notepadpp/debian/notepadpp.desktop b/notepadpp/debian/notepadpp.desktop new file mode 100644 index 0000000..fc40542 --- /dev/null +++ b/notepadpp/debian/notepadpp.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Categories=TextEditor;Development; +Comment=Edit your source files +Exec=/usr/bin/notepadpp %F +GenericName=Text Editor +Icon=notepadpp +Keywords=TextEditor; +MimeType=text/plain; +Name=Notepadpp +StartupNotify=true +Terminal=false +Type=Application +Version=1.0 diff --git a/notepadpp/debian/notepadpp32 b/notepadpp/debian/notepadpp32 new file mode 100644 index 0000000..d78dbe0 --- /dev/null +++ b/notepadpp/debian/notepadpp32 @@ -0,0 +1,21 @@ +#!/bin/sh +# File: /usr/bin/notepadpp32 +# Locations: symlink /usr/bin/notepadpp +# Author: bgstack15@gmail.com +# Startdate: 2019-12-27 +# Title: Wrapper script for passing files to notepadpp +# Purpose: Converts file paths to a wine format and also handles compressed files +# History: +# Usage: notepadpp /path/to/file +# Reference: +# irfanview32 script from irfanview dpkg +# Improve: + +# load variables +test -z "${NPP_WINEPREFIX}" && export NPP_WINEPREFIX="$HOME/.wine" +test -n "${NPP_WINEPREFIX}" && export WINEPREFIX="${NPP_WINEPREFIX}" || export WINEPREFIX=$HOME/.wine +test -z "${NPP_EXEC_NAME}" && export NPP_EXEC_NAME="notepad++.exe" +test -z "${NPP_EXEC_PATH}" && export NPP_EXEC_PATH="/usr/share/notepadpp32/notepad++.exe" +export NPP_VALID_CALL=do_not_set_this_manually + +. notepadpp-common "$@" diff --git a/notepadpp/debian/notepadpp64 b/notepadpp/debian/notepadpp64 new file mode 100644 index 0000000..169973e --- /dev/null +++ b/notepadpp/debian/notepadpp64 @@ -0,0 +1,21 @@ +#!/bin/sh +# File: /usr/bin/notepadpp64 +# Locations: symlink /usr/bin/notepadpp +# Author: bgstack15@gmail.com +# Startdate: 2019-12-27 +# Title: Wrapper script for passing files to notepadpp +# Purpose: Converts file paths to a wine format and also handles compressed files +# History: +# Usage: notepadpp /path/to/file +# Reference: +# irfanview64 script from irfanview dpkg +# Improve: + +# load variables +test -z "${NPP_WINEPREFIX}" && export NPP_WINEPREFIX="$HOME/.wine" +test -n "${NPP_WINEPREFIX}" && export WINEPREFIX="${NPP_WINEPREFIX}" || export WINEPREFIX=$HOME/.wine +test -z "${NPP_EXEC_NAME}" && export NPP_EXEC_NAME="notepad++.exe" +test -z "${NPP_EXEC_PATH}" && export NPP_EXEC_PATH="/usr/share/notepadpp64/notepad++.exe" +export NPP_VALID_CALL=do_not_set_this_manually + +. notepadpp-common "$@" diff --git a/notepadpp/debian/patches/series b/notepadpp/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/notepadpp/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/notepadpp/debian/rules b/notepadpp/debian/rules new file mode 100755 index 0000000..99bae2a --- /dev/null +++ b/notepadpp/debian/rules @@ -0,0 +1,43 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +#export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + +export _prefix=/usr +export _datadir="${_prefix}/share" +export appname=notepadpp +export appname_32=notepadpp-bin32 +export appname_64=notepadpp-bin64 +export appname_common=notepadpp-common +export appdir_32=notepadpp32 +export appdir_64=notepadpp64 +export debuilddir="debian" +export buildroot="${debuilddir}/${appname}" +export buildroot_common="${debuilddir}/${appname_common}" +export buildroot_32="${debuilddir}/${appname_32}" +export buildroot_64="${debuilddir}/${appname_64}" + +%: + dh $@ + +override_dh_fixperms: + dh_fixperms + chmod 0666 ${buildroot_32}${_datadir}/${appdir_32}/config.xml || : + chmod 0666 ${buildroot_32}${_datadir}/${appdir_32}/session.xml || : + chmod 0666 ${buildroot_32}${_datadir}/${appdir_32}/shortcuts.xml || : + chmod 0666 ${buildroot_32}${_datadir}/${appdir_32}/stylers.xml || : + chmod 0777 ${buildroot_32}${_datadir}/${appdir_32}/backup || : + chmod 0666 ${buildroot_64}${_datadir}/${appdir_64}/config.xml || : + chmod 0666 ${buildroot_64}${_datadir}/${appdir_64}/session.xml || : + chmod 0666 ${buildroot_64}${_datadir}/${appdir_64}/shortcuts.xml || : + chmod 0666 ${buildroot_64}${_datadir}/${appdir_64}/stylers.xml || : + chmod 0777 ${buildroot_64}${_datadir}/${appdir_64}/backup || : + +override_dh_auto_install: + dh_auto_install + # fix the *model.xml files + mkdir -p ${buildroot_32}${_datadir}/${appdir_32}/backup ${buildroot_64}${_datadir}/${appdir_64}/backup + install -m0644 ${appname_32}/langs.model.xml ${buildroot_32}${_datadir}/${appdir_32}/langs.xml + install -m0644 ${appname_64}/langs.model.xml ${buildroot_64}${_datadir}/${appdir_64}/langs.xml diff --git a/notepadpp/debian/source/format b/notepadpp/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/notepadpp/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/notepadpp/debian/source/include-binaries b/notepadpp/debian/source/include-binaries new file mode 100644 index 0000000..92e8733 --- /dev/null +++ b/notepadpp/debian/source/include-binaries @@ -0,0 +1,24 @@ +debian/icons/16/notepadpp.png +debian/icons/32/notepadpp.png +debian/icons/48/notepadpp.png +debian/icons/64/notepadpp.png +debian/icons/128/notepadpp.png +debian/icons/256/notepadpp.png +debian/app32/plugins/ComparePlugin/ComparePlugin.dll +debian/app32/plugins/ComparePlugin/ComparePlugin/git2.dll +debian/app32/plugins/ComparePlugin/ComparePlugin/sqlite3.dll +debian/app32/plugins/ComparePlugin.dll +debian/app32/plugins/Config/nppPluginList.dll +debian/app32/plugins/mimeTools/mimeTools.dll +debian/app32/plugins/NppConverter/NppConverter.dll +debian/app32/plugins/NppExport/NppExport.dll +debian/app32/plugins/NppTextFX.dll +debian/app32/plugins/NppTextFX/NppTextFX.dll +debian/app64/plugins/ComparePlugin/ComparePlugin.dll +debian/app64/plugins/ComparePlugin/ComparePlugin/git2.dll +debian/app64/plugins/ComparePlugin/ComparePlugin/sqlite3.dll +debian/app64/plugins/ComparePlugin.dll +debian/app64/plugins/Config/nppPluginList.dll +debian/app64/plugins/mimeTools/mimeTools.dll +debian/app64/plugins/NppConverter/NppConverter.dll +debian/app64/plugins/NppExport/NppExport.dll diff --git a/notepadpp/debian/source/local-options b/notepadpp/debian/source/local-options new file mode 100644 index 0000000..00131ee --- /dev/null +++ b/notepadpp/debian/source/local-options @@ -0,0 +1,2 @@ +#abort-on-upstream-changes +#unapply-patches diff --git a/notepadpp/debian/watch b/notepadpp/debian/watch new file mode 100644 index 0000000..76575dc --- /dev/null +++ b/notepadpp/debian/watch @@ -0,0 +1,2 @@ +# You must remove unused comment lines for the released package. +version=3 -- cgit