summaryrefslogtreecommitdiff
path: root/notepadpp/debian/README.Debian
diff options
context:
space:
mode:
Diffstat (limited to 'notepadpp/debian/README.Debian')
-rw-r--r--notepadpp/debian/README.Debian33
1 files changed, 33 insertions, 0 deletions
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 <bgstack15@gmail.com> Fri, 27 Dec 2019 13:49:15 -0500
bgstack15