]> git.armaanb.net Git - asd-repo.git/commitdiff
ncurses, dvtm: reduce size of terminfo db
authorArmaan Bhojwani <me@armaanb.net>
Thu, 8 Jul 2021 19:13:06 +0000 (15:13 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 8 Jul 2021 19:13:06 +0000 (15:13 -0400)
core/ncurses/build [new file with mode: 0755]
core/ncurses/checksums [new file with mode: 0644]
core/ncurses/sources [new file with mode: 0644]
core/ncurses/version [new file with mode: 0644]
extra/dvtm/build
extra/dvtm/patches/terminfo.patch [deleted file]
extra/dvtm/sources

diff --git a/core/ncurses/build b/core/ncurses/build
new file mode 100755 (executable)
index 0000000..ff59a7e
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh -e
+
+./configure \
+    --prefix=/usr \
+    --mandir=/usr/share/man \
+    --enable-pc-files \
+    --disable-rpath-hack \
+    --with-pkg-config-libdir=/usr/lib/pkgconfig \
+    --with-shared \
+    --enable-widec \
+    --without-ada \
+    --without-tests \
+    --without-debug \
+    --without-cxx-binding \
+    --with-fallbacks=xterm,xterm-256color,dvtm,dvtm-256color,ansi,vt100,vt220
+
+make
+make DESTDIR="$1" install
+
+# Force ncurses to link against wide-character ncurses library.
+for lib in ncurses form panel menu; do
+    rm -f "$1/usr/lib/lib${lib}.so"
+    printf '%s\n' "INPUT(-l${lib}w)" > "$1/usr/lib/lib${lib}.so"
+    chmod 755 "$1/usr/lib/lib${lib}.so"
+    ln -sf "lib${lib}w.a" "$1/usr/lib/lib${lib}.a"
+done
+
+# Some packages look for libcurses instead of libncurses when building.
+printf '%s\n' "INPUT(-lncursesw)" > "$1/usr/lib/libcursesw.so"
+ln -s libncurses.so "$1/usr/lib/libcurses.so"
+
+# Fix pkgconfig file.
+ln -s ncursesw.pc "$1/usr/lib/pkgconfig/ncurses.pc"
+
+rm -rf \
+    "$1/usr/share/terminfo" \
+    "$1/usr/bin/clear" \
+    "$1/usr/bin/reset"
+
diff --git a/core/ncurses/checksums b/core/ncurses/checksums
new file mode 100644 (file)
index 0000000..3d3b37b
--- /dev/null
@@ -0,0 +1 @@
+30306e0c76e0f9f1f0de987cf1c82a5c21e1ce6568b9227f7da5b71cbea86c9d  ncurses-6.2.tar.gz
diff --git a/core/ncurses/sources b/core/ncurses/sources
new file mode 100644 (file)
index 0000000..e1e0d6a
--- /dev/null
@@ -0,0 +1 @@
+https://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
diff --git a/core/ncurses/version b/core/ncurses/version
new file mode 100644 (file)
index 0000000..724191a
--- /dev/null
@@ -0,0 +1 @@
+6.2 5
index b3b3a155158414e30174b73dd2addc54be28e645..88032b7b57444a36aa7c7b73349b33d3f29b062d 100755 (executable)
@@ -1,6 +1,4 @@
 #!/bin/sh -e
 
-patch -p1 < terminfo.patch
-
 make PREFIX=/usr
 make PREFIX=/usr DESTDIR="$1" install
diff --git a/extra/dvtm/patches/terminfo.patch b/extra/dvtm/patches/terminfo.patch
deleted file mode 100644 (file)
index de68162..0000000
+++ /dev/null
@@ -1,295 +0,0 @@
-
-<!DOCTYPE html>
-
-<html lang="en">
-<head>
-<meta charset="utf8"/>
-<meta content="width=device-width, initial-scale=1" name="viewport"/>
-<meta content="#ffffff" name="theme-color"/>
-<title>
-
-0001-Decoupled-installation-of-terminfo-profile-from-make.patch — paste.sr.ht
-
-</title>
-<link href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QIGCC8n92KyhQAAAj1QTFRFAAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////anIwUQAAAL50Uk5TAAECAwQFBgcICQoLDA4PEB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3J2nbtNCZ82Xc7LxH8mbs2b3DycbW9qDwfaWxpPf71o9exSGDBky5P/pX9F6dsCMuJp+AAAAAElFTkSuQmCC" rel="icon" type="image/png"/>
-<link href="/static/main.min.118fcaf4.css" rel="stylesheet"/>
-</head>
-<body>
-<nav class="navbar navbar-light navbar-expand-sm">
-<span class="navbar-brand">
-<span class="icon icon-circle"><svg viewbox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"></path></svg>
-</span>
-<a href="https://sr.ht">
-    sourcehut
-  </a>
-</span>
-<ul class="navbar-nav">
-</ul>
-<div class="login">
-<span class="navbar-text">
-<a href="https://meta.sr.ht/oauth/authorize?client_id=1c1ad452ce596d6c&amp;scopes=profile&amp;state=%2F~arivigo%2Fcb6529bdb4e1d3f19752eb57506cd38924b8c5a5%3F" rel="nofollow">Log in</a>
-    —
-    <a href="https://meta.sr.ht">Register</a>
-</span>
-</div>
-</nav>
-<div class="header-tabbed">
-<div class="container-fluid">
-<ul class="nav nav-tabs">
-<h2>
-<a href="/~arivigo">~arivigo</a>/<wbr/>0001-Decoupled-installation-of-terminfo-profile-from-make.patch
-        
-        <small class="text-muted">
-          unlisted
-        </small>
-</h2>
-<li class="nav-item">
-<a class="nav-link active" href="/~arivigo/cb6529bdb4e1d3f19752eb57506cd38924b8c5a5">view paste</a>
-</li>
-</ul>
-</div>
-</div>
-<div class="header-extension" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch" style="margin-bottom: 0;">
-<div class="container-fluid">
-<span style="display: inline-block; width: 1rem">
-<a class="filename" href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch">#</a>
-</span>
-<span>0001-Decoupled-installation-of-terminfo-profile-from-make.patch</span>
-<span class="text-muted" style="margin-left: 1rem">
-<span title="100644">
-        -rw-r--r--
-      </span>
-</span>
-<span class="text-muted" style="margin-left: 1rem">
-<span title="2727 bytes">
-        2.7 KiB
-      </span>
-</span>
-<span class="text-muted" style="margin-left: 1rem">
-<a href="/blob/deb13b65c6b385366a681827af072ac82dc67f24">
-        View raw
-      </a>
-</span>
-</div>
-</div>
-<div class="container-fluid other-content">
-<div class="row">
-<div class="col-md-12 code-view">
-<pre class="ruler"><span>                                                                                </span></pre>
-<pre class="lines"><a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L1" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L1">1</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L2" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L2">2</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L3" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L3">3</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L4" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L4">4</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L5" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L5">5</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L6" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L6">6</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L7" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L7">7</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L8" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L8">8</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L9" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L9">9</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L10" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L10">10</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L11" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L11">11</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L12" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L12">12</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L13" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L13">13</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L14" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L14">14</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L15" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L15">15</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L16" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L16">16</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L17" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L17">17</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L18" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L18">18</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L19" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L19">19</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L20" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L20">20</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L21" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L21">21</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L22" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L22">22</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L23" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L23">23</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L24" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L24">24</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L25" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L25">25</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L26" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L26">26</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L27" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L27">27</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L28" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L28">28</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L29" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L29">29</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L30" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L30">30</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L31" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L31">31</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L32" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L32">32</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L33" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L33">33</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L34" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L34">34</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L35" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L35">35</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L36" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L36">36</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L37" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L37">37</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L38" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L38">38</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L39" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L39">39</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L40" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L40">40</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L41" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L41">41</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L42" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L42">42</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L43" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L43">43</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L44" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L44">44</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L45" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L45">45</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L46" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L46">46</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L47" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L47">47</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L48" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L48">48</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L49" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L49">49</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L50" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L50">50</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L51" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L51">51</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L52" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L52">52</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L53" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L53">53</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L54" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L54">54</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L55" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L55">55</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L56" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L56">56</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L57" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L57">57</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L58" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L58">58</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L59" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L59">59</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L60" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L60">60</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L61" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L61">61</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L62" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L62">62</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L63" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L63">63</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L64" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L64">64</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L65" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L65">65</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L66" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L66">66</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L67" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L67">67</a>
-<a href="#0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L68" id="0001-Decoupled-installation-of-terminfo-profile-from-make.patch-L68">68</a></pre>
-<style>pre { line-height: 125%; }
-td.linenos pre { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
-span.linenos { color: #000000; background-color: #f0f0f0; padding-left: 5px; padding-right: 5px; }
-td.linenos pre.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
-span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
-.highlight .hll { background-color: #ffffcc }
-.highlight { background: #f8f8f8; }
-.highlight .c { color: #408080; font-style: italic } /* Comment */
-.highlight .err { border: 1px solid #FF0000 } /* Error */
-.highlight .k { color: #008000; font-weight: bold } /* Keyword */
-.highlight .o { color: #666666 } /* Operator */
-.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */
-.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
-.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
-.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */
-.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
-.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
-.highlight .gd { color: #A00000 } /* Generic.Deleted */
-.highlight .ge { font-style: italic } /* Generic.Emph */
-.highlight .gr { color: #FF0000 } /* Generic.Error */
-.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.highlight .gi { color: #00A000 } /* Generic.Inserted */
-.highlight .go { color: #888888 } /* Generic.Output */
-.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
-.highlight .gs { font-weight: bold } /* Generic.Strong */
-.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.highlight .gt { color: #0044DD } /* Generic.Traceback */
-.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
-.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
-.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
-.highlight .kp { color: #008000 } /* Keyword.Pseudo */
-.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
-.highlight .kt { color: #B00040 } /* Keyword.Type */
-.highlight .m { color: #666666 } /* Literal.Number */
-.highlight .s { color: #BA2121 } /* Literal.String */
-.highlight .na { color: #7D9029 } /* Name.Attribute */
-.highlight .nb { color: #008000 } /* Name.Builtin */
-.highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */
-.highlight .no { color: #880000 } /* Name.Constant */
-.highlight .nd { color: #AA22FF } /* Name.Decorator */
-.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
-.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
-.highlight .nf { color: #0000FF } /* Name.Function */
-.highlight .nl { color: #A0A000 } /* Name.Label */
-.highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
-.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
-.highlight .nv { color: #19177C } /* Name.Variable */
-.highlight .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
-.highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mb { color: #666666 } /* Literal.Number.Bin */
-.highlight .mf { color: #666666 } /* Literal.Number.Float */
-.highlight .mh { color: #666666 } /* Literal.Number.Hex */
-.highlight .mi { color: #666666 } /* Literal.Number.Integer */
-.highlight .mo { color: #666666 } /* Literal.Number.Oct */
-.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
-.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
-.highlight .sc { color: #BA2121 } /* Literal.String.Char */
-.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
-.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
-.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
-.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
-.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
-.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
-.highlight .sx { color: #008000 } /* Literal.String.Other */
-.highlight .sr { color: #BB6688 } /* Literal.String.Regex */
-.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
-.highlight .ss { color: #19177C } /* Literal.String.Symbol */
-.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
-.highlight .fm { color: #0000FF } /* Name.Function.Magic */
-.highlight .vc { color: #19177C } /* Name.Variable.Class */
-.highlight .vg { color: #19177C } /* Name.Variable.Global */
-.highlight .vi { color: #19177C } /* Name.Variable.Instance */
-.highlight .vm { color: #19177C } /* Name.Variable.Magic */
-.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */</style><div class="highlight"><pre><span></span>From 36ae564dbeae08b761541790ae7cf69c75a690bf Mon Sep 17 00:00:00 2001
-From: Ariadna Vigo &lt;arivigodr@gmail.com&gt;
-Date: Sat, 27 Feb 2021 12:15:47 +0100
-Subject: [PATCH] Decoupled installation of terminfo profile from 'make
- install' target
-
-Installation of terminfo profiles is now left as a manual operation to
-the user's discretion. This fixes path issues: /usr/local/share/terminfo is not
-a standard search path location, according to terminfo(5). The only standard
-locations are /usr/share/terminfo and $HOME/.terminfo. The problem with the
-former is that it risks overwriting the dvtm profile files that some distros
-ship with their curses package (Arch Linux). The problem with the latter is
-that leaving TERMINFO blank on config.mk and running 'make install' as root
-(the usual case) may install the profiles under /root/.terminfo, which is
-incorrect. In other cases, as in Debian(-based) systems, the search paths are
-completely non-standard: Debian requires installing local, system-wide terminfo
-profiles under /etc/terminfo and has tic patched to do so when running as root.
-
-So, as many distros already include the profiles by themselves under curses,
-some use completely non-standard approaches to terminfo, and installation under
-$HOME/.terminfo is affected whether you use su or sudo, etc. The best approach
-to solve all these issues is to leave the decision to the user, so that tic
-does whatever the system wants it to do. Decoupling it from 'make install'
-makes it possible to run it as your regular user without any issues, installing
-the profile under $HOME/.terminfo for sure.
-<span class="gd">---</span>
- Makefile  | 6 ++++--
- config.mk | 3 ---
- 2 files changed, 4 insertions(+), 5 deletions(-)
-
-<span class="gh">diff --git a/Makefile b/Makefile</span>
-<span class="gh">index 818ca0a..0b84b5b 100644</span>
-<span class="gd">--- a/Makefile</span>
-<span class="gi">+++ b/Makefile</span>
-<span class="gu">@@ -50,8 +50,10 @@ install: all</span>
-               sed -e "s/VERSION/${VERSION}/" &lt; "$$m" &gt;  "${DESTDIR}${MANPREFIX}/man1/$$m" &amp;&amp; \
-               chmod 644 "${DESTDIR}${MANPREFIX}/man1/$$m"; \
-       done
-<span class="gi">+</span>
-<span class="gi">+install-terminfo:</span>
-       @echo installing terminfo description
-<span class="gd">-     @TERMINFO=${TERMINFO} tic -s dvtm.info</span>
-<span class="gi">+     @tic -s dvtm.info</span>
-
- uninstall:
-       @for b in ${BIN}; do \
-<span class="gu">@@ -61,4 +63,4 @@ uninstall:</span>
-       @echo removing manual page from ${DESTDIR}${MANPREFIX}/man1
-       @rm -f ${DESTDIR}${MANPREFIX}/man1/dvtm.1
-
-<span class="gd">-.PHONY: all clean dist install uninstall debug</span>
-<span class="gi">+.PHONY: all clean dist install install-terminfo uninstall debug</span>
-<span class="gh">diff --git a/config.mk b/config.mk</span>
-<span class="gh">index db25e8a..cd4d9f7 100644</span>
-<span class="gd">--- a/config.mk</span>
-<span class="gi">+++ b/config.mk</span>
-<span class="gu">@@ -2,9 +2,6 @@</span>
-
- PREFIX ?= /usr/local
- MANPREFIX = ${PREFIX}/share/man
-<span class="gd">-# specify your systems terminfo directory</span>
-<span class="gd">-# leave empty to install into your home folder</span>
-<span class="gd">-TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo</span>
-
- INCS = -I.
- LIBS = -lc -lutil -lncursesw
-<span class="gd">--</span>
-2.32.0
-</pre></div>
-</div>
-</div>
-</div>
-<!-- https://bugs.chromium.org/p/chromium/issues/detail?id=332189 -->
-<script> </script>
-</body>
-</html>
\ No newline at end of file
index dabbb451a9fa0132ee5d5008a7413c56399aeba3..14933520412043599cd5b5568192aa67caa94490 100644 (file)
@@ -1,2 +1 @@
 https://git.sr.ht/~kaction/dvtm/archive/v0.15.1.tar.gz
-patches/terminfo.patch