summaryrefslogtreecommitdiff
path: root/notepadpp/debian/README.Debian
blob: ffaca23f439029a99399d0594789625ac285772c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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