mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 00:46:58 +02:00
feat(sys-libs/ncurses): initial import
import and add -256color variants of terminals.
This commit is contained in:
parent
a148ec392d
commit
2c6d7df403
40
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/Manifest
vendored
Normal file
40
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/Manifest
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX ncurses-5.6-build.patch 265 SHA256 51cc2319ad1f854500d76ec978897f6af92d31cebb7f454c1fd649568ad4a251 SHA512 9b3643c1660237332474027293ff8718b02bf8795275b5fabf0efa96ec6dfa0f80c0e6a3a5c7c331456d2b47f1e65f9ccb0b67490ca60285e4fbc97ae5cddad8 WHIRLPOOL ea8d7a6541c1b7b4305bdca22c0bc6ce48bc53a4e1834889ff45bb76d38698559c2392307c4ff8bc9ed1f8812cc6a391155056cf9379fb14a4e9869fe064eddb
|
||||
AUX ncurses-5.6-gfbsd.patch 817 SHA256 d9e94c5068a22d32f52c5db6aadc3793af11bb0c08b006e375921726931e0065 SHA512 e7aca7a38d7ef6c296ff62b4a8e87c71dc4a578126cba679bdea004aa1f284e44b877bd353d71a16cdf9ff0489216852173ebe49b85b53065ffa62ef2cee4097 WHIRLPOOL 0f454cb42f4bc3b6def9b084cddd419a1b0bcb183a3b4b0972e67b7b45ba39b7937da08df63a5e7c2a2b77e5c2f99c516f5f2f0fe0ab542508ffe0def0970b39
|
||||
AUX ncurses-5.7-emacs.patch 1934 SHA256 daf300b7ba0bef6fc685b63f657dc4d864b53da77454129783d767522f1374b0 SHA512 da63905d38370b4758d8aa09ec24025258549a35790016984b968b16b84f40338b8d2aa1d77ff12faa953a4ad22376f597b64545fc859ecc7b155288ea154c1a WHIRLPOOL 1e08aad698d6266d9c250e0406647286037c7cc8b426b9cc9c4298482830a8ac774d1fd8b84eeafe28469392bd7f6fd077c7a82653433ef86f127f71e38abedb
|
||||
AUX ncurses-5.7-hashdb-open.patch 1893 SHA256 f9ab706816b270e06629ace613fcffb8ad78532075dc7ae52e27c77071b2aa66 SHA512 2e9764910c0ec21cb60ccff01977f6e658660aed32717cbc642e001bd8143bbd8d46c09b27fa91d4def1161fc8f14145cd5e34a302ae17541b7f11e12e121378 WHIRLPOOL 1683d75fe4b320ce4b90ade81a5b6d0cb006c104f0cbbc8431eab86754f790db7c3f893345bddca679ad3f11488b768d5af319ad01ad0e9a1bdf7356b85d9e37
|
||||
AUX ncurses-5.7-nongnu.patch 361 SHA256 7efcf3daf57d73e348bea1ea7ee77071aef5338631958fd0db595a011570cec4 SHA512 818a3ac1c68c1a11f23471195a32793c5546c5b37a724989cc58f3fad50fd3c8608762efc5d72e986f3c77ccdfbb72f27224f64ef415a96d71924a9f1d3b1b5f WHIRLPOOL a93e22415092ab51f769e42586813c8fed5b502e1dd86d09844f524876ac025ca81399dde483478087bb6241214f85c29a27f8b4ccadc2aec37be99dc7d6da1b
|
||||
AUX ncurses-5.7-rxvt-unicode-9.09.patch 3724 SHA256 ad8f72dd1b70f1d365e86330238e6ee45bd38587fb01b61e9cdf758ef90ee958 SHA512 7beaf34e885bfd6029e5ac564c11f13afc3506f5ad0ec9424addfda575e7811682b6be739a34aa045adc6929a896cad5d4ea5dae989b5499512e8d6606b52468 WHIRLPOOL da398c48fd9d4d0fb408b5aa6128cf13335f1735c6f77d7fc744f3b7312ebf462b4bb5b2a63b531ff29becf64b2f26dc64d013ab864c0ed85aff3d321ec4111f
|
||||
AUX ncurses-5.7-rxvt-unicode.patch 3339 SHA256 6c1ea8169e9f11de2c598fc0c15cb3814445e5a6d5a2d82bd31fc90634ab4b54 SHA512 73f62a145d99f035d6994626df604ea5d96ab7bab4cbeb791da55c360e8c1ec15e2dfdba0fecdc25cd7609a272eabd675e8792490c627dfa9fb4f76e1fd58714 WHIRLPOOL b275b4e55c04a1b35f84d6521a045d4200e9fc251f0bbe81a68de7b704789cd98d7f3d1ba081af20f3e1deabb66209d4d38aaa2096bb3e8ad124f18fb1cbc152
|
||||
AUX ncurses-5.7-tic-cross-detection.patch 1656 SHA256 afadd1db1530054cb745193723435a3dffceb9de541abc92caace89c2ea429a5 SHA512 7dba9eb4aa07536d34ec87b4c4a1fda47378ecce4b54ecb4681734c6e8e7784848a8491972ef4a89de29e0bfcc7fc9aeb6f912521a50a14031b72220e79317f6 WHIRLPOOL bb6aeecf0ee34b16b10b2ed157b318da8c49cb10b32879dc0036f33a21cd9a5fe082fe33fab550df342e0d3a01ef627ec1031e009467fd542d72bc26179604ce
|
||||
AUX ncurses-5.8-gfbsd.patch 695 SHA256 68c405dcd1b2bbad1d4880d906ba9e02ad62691c63edfb363ad767ee01079e82 SHA512 d4c375107415b7eaf5f8e04b697ef16998855b5f1d745766a14a7e9523d12b24d0841e6559217eccf62535f54e0d240eabaa3da1571964f1bb150b0c0cd102a2 WHIRLPOOL 6c2f865bc22a3932f6f973f7b53c5a50254505c4944c656af95c2399933c31acc5d5536d59fe9fe7c59ef537ce0d39ca19c9d0558e4aaacb7122749a575cadac
|
||||
AUX ncurses-5.8-rxvt-unicode.patch 3724 SHA256 385b6b2afe7b95e3ad172ece63ea60ee2b8db5b5c83f55209fbd319be5edf380 SHA512 bc509b6ff54fd6e90ce236285f90535c09d8a8ae75d42a320c6543214bc3311d850229f222eb8e62c10a47cd47b0e66d175bfcb86ac3c5d099ed2583518771b4 WHIRLPOOL 1787de8aed6bfd7998e7271b23ab133a015ea6264591a7ea293435c89bb1ec186396c7510a1b6b0cb80d79f916d82e0da743e192b1426db46a16121320d3c07c
|
||||
AUX ncurses-5.9-fix-clang-build.patch 1291 SHA256 0ffec4dbc7dc4a2356460c2a001b6ffbd8b060ae0afbdf3551a13575c20830d0 SHA512 d911441e2e2e2a752236f1eee42955b43ffabe37e47c337a86562c3708aca1fc2650ce77fe5aa6197eb8e9a67958a4b4db8f4344d22fe15868e25b933b175bb1 WHIRLPOOL d5d363f6d7cdcc350b195066c8183609bd9351a48603acdae2f374af13afb23a7bd05cbac86b13d2162daf5bd895eb5acce4769fce2f0b4b8da2896e00d1f846
|
||||
AUX ncurses-5.9-rxvt-unicode-9.15.patch 3804 SHA256 ae684be42600ac3bbbf6e7be61e085524f65d86c20da8c453b10c27516e30b27 SHA512 82c0a9600f6ca8f36bbdce6f11a96906983fc9efd6b5f1e17134e12283e29b16d04f5e66c10edbcb7087cc4cb8fc23ddd065f9b6c8b0bf72ca684b68383e5131 WHIRLPOOL 1e2fe441d97671b84f49388555c351b235a93704fb7fcf13c14343db569cc91f21d75b60eb635c4c1c3ad18778bcb50e5aa63d25583224ed644edff35356dd2c
|
||||
DIST ncurses-5.7.tar.gz 2445052 SHA256 0a9bdea5c7de8ded5c9327ed642915f2cc380753f12d4ad120ef7da3ea3498f4 SHA512 9fda7283cd50ab9d8b9181935be7c31c4ae4c974f2eee186a5dbe8c3ce5522e5c200f06af48aa22b44cdab16a22795cfc8dc36a4258e6d826b454216dfcea3c6 WHIRLPOOL 696258b29783b078bd83631fef90388fe2bcd92ed94ace55cfae44cfa08afbf4fb29c3902d17216f3f059ee78cb61f69eed64b05a33332ddd85cecade7af6af3
|
||||
DIST ncurses-5.9.tar.gz 2826473 SHA256 9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b SHA512 d7c5e54b6d4d8b9211f0006ca8786f7609d180cc1aaebf4f25e7e35e12959779cf66447359a602daed625621ca32b0d910d67aef3eb8b6fdc3c373819a88faa1 WHIRLPOOL 069e98c6392ce9aca960c72a20f1a502387d33a4b237aaeaa95548024ce4d47b129eafbe0288d21c590e725fe71aaca21cacb300f11a660b7234cb39a777672a
|
||||
EBUILD ncurses-5.7-r7.ebuild 5156 SHA256 3c1f3374af972166fd9418035accd4b06702aaf4de0880cba7bdfcf3083cd598 SHA512 eb7ad4c6b3e13e46c1be8453bac8e13e2073cc04c2f640e3b776388ae4c031e7f973088a47246f011329bc4a892235f3eecd73fed467f69a47709188252b22ad WHIRLPOOL bfee437aa6d657525df005b3899d4ece1046f20cd57824add4f13200ef4c0a2d0d6e96b016d631b552e3c4cc4cb6a703f4ecc18bf4cacf80cadc6107f53a4bac
|
||||
EBUILD ncurses-5.9-r1.ebuild 5278 SHA256 a0b4642b95cef0e696c65ef4ba12324fe528777a2ee249627d33ea723146928e SHA512 bdacc83bf75a318a260edc1257d473d3200f6cb62e9e5a40f1ac65073b1b2d7fad9e3501ad975d041b32425d4194bed63733eaf743d69120849069f15dc5c234 WHIRLPOOL bd821d341991d98520da5ce4b0f8d0bf2c774ac91ab4af4ff3f318c7ac552d604cfaca23ec678565eef577b254c2d1fcc22f7f00e285ca2783db626c42a729b2
|
||||
EBUILD ncurses-5.9-r2.ebuild 5655 SHA256 3c20943e9c1c4865b52ff0847340e0288daa43cfd06b8ff7e1129c5b12463208 SHA512 c357cada54bb055fc25b4c47f34566875ec2b10cc144728c7bf284a874be33d7bae33bc0db6bd3f4163fdfce5ec36b581db5eab4d16016e229fea40a703364a9 WHIRLPOOL 55e264407ebd804e5f25d288af6740166259ac587671f892e1cded4d68ebde04d521edbb4f740f70dc1eed5b61206ed146dbe3efa4d5c1d071ef081994304385
|
||||
EBUILD ncurses-5.9.ebuild 4910 SHA256 0e95316b82ce63227e20f2653d239b289b527100459ab995efa370beeb798e3b SHA512 40f4db535eaa496460095a276979cda32b30d0f649bf0c2229e07c4ccd94e51d7de2021981474c112cccb1f4636d91ff27eda1599bb9d681d0d15d63dd6c401b WHIRLPOOL 79badbfdbf1b71dbceca73160c2623f97d8b472ff166d905d8a24ef50198e5668a90cf76f7eaa12d5c69a3e78d436e592cd0fe3dbbceaa6770905a1562fb75e3
|
||||
MISC ChangeLog 31011 SHA256 6c8fe0014425af8b311e30b43dbb3d8c9b128d0fa230f60361cc1c6c0c725a39 SHA512 da42132b24499522ae12153aad7dd7cb410a4b0385fbdd5bc084518f3244cf3a5618121d1a4c572309a342aa62eb7954faa799d90d030148099bc3eae0606b16 WHIRLPOOL 8714f37cae33f9a0b103061dce0e8e36e6671ba8efe993374d7b0cc0b4fec66cffe3bb19bd7536e6616b0450702b87bbca0eaa335ac8a7b87b852bee3be93dce
|
||||
MISC metadata.xml 530 SHA256 3a0f1bf7ab8ec067416e6535c3270113b53716b12aac504a581acf5b27f8114f SHA512 27d968272c8d184804d9764bb2ec8fb86eb5826bfe14e7f445c7c5f0b89cc7fe4271546a6994d830cb1270fa93f187ded1c96b4f4f1fe1b5c417c78a2082dfd3 WHIRLPOOL 54ff921a2a89b19d6d75830033b7d18c0f7643af248bea029b1a7ebe201eded0eff54dde04858be08903cb6607e7cbcb8ca100712d4992324dbb757184150d44
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRfbMsAAoJELEHsLL7fEFW4C8P/1n6o9T76V+2d/hxzz7SNNiw
|
||||
KLYoq9HudOlN/qAqhKywvIqlxo09CRuVMztEJdcMqb+RR4zbMRWadNJIiIyvDNen
|
||||
IRJm4qVpWhECB2vmFTOVuLblhOyg/M02+CaSSygIag1U90ENYZkson6HgB5f/8cs
|
||||
1uK7DJdTdSCT2kan7dA6LX5TZv1DfO4FQKE9vj+h+2DMW01Nhi+D6HgJgfA0HElO
|
||||
HrnhKpFu99VzZUFgbNvjYF24ETfBgC/cDPNW3UidQv7Xgw/nWx9rrYmIxwM9pf40
|
||||
Z02IZYuLPzcuwdKljPOD/sJiJqiQON03Y4jTLJt9o60EU8mUTeRmB/yGeQgGKa47
|
||||
xtzRSEZLWUM6YfVKfHr6EyXY1JCwQcYJRsjR8GUdxk5CSP1GNNB5pKtuFFVcJ+Iw
|
||||
kEUML5uzrX/PDrzJ2oe3AJjSon11X4d9qn1HWIG79+TwyVO99RaE9tsuvHesLaM8
|
||||
ce2M4Vk3A1+8t/GCqa8SAAJmVAs8gJeyNDL21lA8cOOcrlcf6sWquDaUuiK5Fs3N
|
||||
fMjEsZHbzlFoFghDC1BHX3aTdbFkEn6ZPm7N8y9tUAyF8gvf4oZVAzGdbtqzjbpb
|
||||
rUShy1mgLO0+0d9g5eMGBEdRSldV4i9cFJzTbTqLzkfA5ADihcCv3svDDGSepFwX
|
||||
fsLosj4FtyBNa8mBQZOq
|
||||
=ZyY2
|
||||
-----END PGP SIGNATURE-----
|
11
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
vendored
Normal file
11
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/files/ncurses-5.7-nongnu.patch
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
--- ncurses-5.7/ncurses/curses.priv.h
|
||||
+++ ncurses-5.7/ncurses/curses.priv.h
|
||||
@@ -1452,6 +1452,8 @@ extern NCURSES_EXPORT(void) _nc_expanded
|
||||
|
||||
/* charable.c */
|
||||
#if USE_WIDEC_SUPPORT
|
||||
+#include <wchar.h>
|
||||
+
|
||||
extern NCURSES_EXPORT(bool) _nc_is_charable(wchar_t);
|
||||
extern NCURSES_EXPORT(int) _nc_to_char(wint_t);
|
||||
extern NCURSES_EXPORT(wint_t) _nc_to_widechar(int);
|
24
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch
vendored
Normal file
24
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
we'll hijack the freebsd* case that comes later
|
||||
|
||||
--- ncurses-5.6/aclocal.m4
|
||||
+++ ncurses-5.6/aclocal.m4
|
||||
@@ -3806,7 +3806,7 @@
|
||||
fi
|
||||
cf_cv_rm_so_locs=yes
|
||||
;;
|
||||
- linux*|gnu*|k*bsd*-gnu) #(vi
|
||||
+ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*) #(vi
|
||||
if test "$DFT_LWR_MODEL" = "shared" ; then
|
||||
LOCAL_LDFLAGS="-Wl,-rpath,\$(LOCAL_LIBDIR)"
|
||||
LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
|
||||
--- ncurses-5.6/configure
|
||||
+++ ncurses-5.6/configure
|
||||
@@ -3806,7 +3806,7 @@
|
||||
fi
|
||||
cf_cv_rm_so_locs=yes
|
||||
;;
|
||||
- linux*|gnu*|k*bsd*-gnu) #(vi
|
||||
+ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*) #(vi
|
||||
if test "$DFT_LWR_MODEL" = "shared" ; then
|
||||
LOCAL_LDFLAGS="-Wl,-rpath,\$(LOCAL_LIBDIR)"
|
||||
LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
|
@ -0,0 +1,44 @@
|
||||
diff --git a/ncurses-5.9/c++/cursesf.h b/ncurses-5.9/c++/cursesf.h
|
||||
index 70a30c3..db38063 100644
|
||||
--- a/ncurses-5.9/c++/cursesf.h
|
||||
+++ b/ncurses-5.9/c++/cursesf.h
|
||||
@@ -677,7 +677,7 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
- NCursesUserForm (NCursesFormField Fields[],
|
||||
+ NCursesUserForm (NCursesFormField* Fields[],
|
||||
const T* p_UserData = STATIC_CAST(T*)(0),
|
||||
bool with_frame=FALSE,
|
||||
bool autoDelete_Fields=FALSE)
|
||||
@@ -686,7 +686,7 @@ public:
|
||||
set_user (const_cast<void *>(p_UserData));
|
||||
};
|
||||
|
||||
- NCursesUserForm (NCursesFormField Fields[],
|
||||
+ NCursesUserForm (NCursesFormField* Fields[],
|
||||
int nlines,
|
||||
int ncols,
|
||||
int begin_y = 0,
|
||||
diff --git a/ncurses-5.9/c++/cursesm.h b/ncurses-5.9/c++/cursesm.h
|
||||
index d9c2273..2d5b79a 100644
|
||||
--- a/ncurses-5.9/c++/cursesm.h
|
||||
+++ b/ncurses-5.9/c++/cursesm.h
|
||||
@@ -635,7 +635,7 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
- NCursesUserMenu (NCursesMenuItem Items[],
|
||||
+ NCursesUserMenu (NCursesMenuItem* Items[],
|
||||
const T* p_UserData = STATIC_CAST(T*)(0),
|
||||
bool with_frame=FALSE,
|
||||
bool autoDelete_Items=FALSE)
|
||||
@@ -644,7 +644,7 @@ public:
|
||||
set_user (const_cast<void *>(p_UserData));
|
||||
};
|
||||
|
||||
- NCursesUserMenu (NCursesMenuItem Items[],
|
||||
+ NCursesUserMenu (NCursesMenuItem* Items[],
|
||||
int nlines,
|
||||
int ncols,
|
||||
int begin_y = 0,
|
@ -0,0 +1,191 @@
|
||||
Add rxvt-unicode terminfo, required by rxvt-unicode to function properly.
|
||||
|
||||
Providing this in ncurses makes it widely available, much better than having to
|
||||
install rxvt-unicode everywhere.
|
||||
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=192083
|
||||
|
||||
This patch uses the updated rxvt-unicode-9.15 terminfo
|
||||
which includes 256 color support and fixes Gentoo bug 383871
|
||||
|
||||
http://bugs.gentoo.org/show_bug.cgi?id=383871
|
||||
|
||||
--- misc/terminfo.src
|
||||
+++ misc/terminfo.src
|
||||
@@ -4208,6 +4208,176 @@
|
||||
rxvt-16color|xterm with 16 colors like aixterm,
|
||||
ncv#32, use=ibm+16color, use=rxvt,
|
||||
|
||||
+# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
|
||||
+# Updated: Özgür Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
|
||||
+# Updated: Marc Lehmann <schmorp@schmorp.de>, 17 Feb 2005
|
||||
+# Updated: Marc Lehmann <schmorp@schmorp.de>, 04 Nov 2008: change init/reset sequences
|
||||
+rxvt-unicode|rxvt-unicode terminal (X Window System),
|
||||
+ am,
|
||||
+ bce,
|
||||
+ eo,
|
||||
+ km,
|
||||
+ msgr,
|
||||
+ xenl,
|
||||
+ hs,
|
||||
+ cols#80,
|
||||
+ it#8,
|
||||
+ lines#24,
|
||||
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~-A.B+C\,D0EhFiG,
|
||||
+ bel=^G,
|
||||
+ blink=\E[5m,
|
||||
+ bold=\E[1m,
|
||||
+ civis=\E[?25l,
|
||||
+ clear=\E[H\E[2J,
|
||||
+ cnorm=\E[?25h,
|
||||
+ cr=^M,
|
||||
+ csr=\E[%i%p1%d;%p2%dr,
|
||||
+ cub=\E[%p1%dD,
|
||||
+ cub1=^H,
|
||||
+ cud=\E[%p1%dB,
|
||||
+ cud1=^J,
|
||||
+ cuf=\E[%p1%dC,
|
||||
+ cuf1=\E[C,
|
||||
+ cup=\E[%i%p1%d;%p2%dH,
|
||||
+ cuu=\E[%p1%dA,
|
||||
+ cuu1=\E[A,
|
||||
+ cvvis=\E[?25h,
|
||||
+ dch=\E[%p1%dP,
|
||||
+ dch1=\E[P,
|
||||
+ dl=\E[%p1%dM,
|
||||
+ dl1=\E[M,
|
||||
+ ed=\E[J,
|
||||
+ el=\E[K,
|
||||
+ el1=\E[1K,
|
||||
+ flash=\E[?5h$<20/>\E[?5l,
|
||||
+ home=\E[H,
|
||||
+ hpa=\E[%i%p1%dG,
|
||||
+ ht=^I,
|
||||
+ hts=\EH,
|
||||
+ ich=\E[%p1%d@,
|
||||
+ ich1=\E[@,
|
||||
+ il=\E[%p1%dL,
|
||||
+ il1=\E[L,
|
||||
+ ind=^J,
|
||||
+ is1=\E[\041p,
|
||||
+ is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l,
|
||||
+ kDC=\E[3$,
|
||||
+ kIC=\E[2$,
|
||||
+ kEND=\E[8$,
|
||||
+ kHOM=\E[7$,
|
||||
+ kLFT=\E[d,
|
||||
+ kNXT=\E[6$,
|
||||
+ kPRV=\E[5$,
|
||||
+ kRIT=\E[c,
|
||||
+ kbs=\177,
|
||||
+ ka1=\EOw,
|
||||
+ ka3=\EOy,
|
||||
+ kb2=\EOu,
|
||||
+ kc1=\EOq,
|
||||
+ kc3=\EOs,
|
||||
+ kcbt=\E[Z,
|
||||
+ kcub1=\E[D,
|
||||
+ kcud1=\E[B,
|
||||
+ kcuf1=\E[C,
|
||||
+ kcuu1=\E[A,
|
||||
+ kdch1=\E[3~,
|
||||
+ kel=\E[8\^,
|
||||
+ kend=\E[8~,
|
||||
+ kent=\EOM,
|
||||
+ kf1=\E[11~,
|
||||
+ kf10=\E[21~,
|
||||
+ kf11=\E[23~,
|
||||
+ kf12=\E[24~,
|
||||
+ kf13=\E[25~,
|
||||
+ kf14=\E[26~,
|
||||
+ kf15=\E[28~,
|
||||
+ kf16=\E[29~,
|
||||
+ kf17=\E[31~,
|
||||
+ kf18=\E[32~,
|
||||
+ kf19=\E[33~,
|
||||
+ kf2=\E[12~,
|
||||
+ kf20=\E[34~,
|
||||
+ kf3=\E[13~,
|
||||
+ kf4=\E[14~,
|
||||
+ kf5=\E[15~,
|
||||
+ kf6=\E[17~,
|
||||
+ kf7=\E[18~,
|
||||
+ kf8=\E[19~,
|
||||
+ kf9=\E[20~,
|
||||
+ kfnd=\E[1~,
|
||||
+ khome=\E[7~,
|
||||
+ kich1=\E[2~,
|
||||
+ kmous=\E[M,
|
||||
+ knp=\E[6~,
|
||||
+ kpp=\E[5~,
|
||||
+ kslt=\E[4~,
|
||||
+ rc=\E8,
|
||||
+ rev=\E[7m,
|
||||
+ ri=\EM,
|
||||
+ rmso=\E[27m,
|
||||
+ rmul=\E[24m,
|
||||
+ rs1=\Ec,
|
||||
+ rs2=\E[r\E[m\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l,
|
||||
+ sgr0=\E[m\E(B,
|
||||
+ enacs=,
|
||||
+ smacs=\E(0,
|
||||
+ rmacs=\E(B,
|
||||
+ smso=\E[7m,
|
||||
+ smul=\E[4m,
|
||||
+ tbc=\E[3g,
|
||||
+ vpa=\E[%i%p1%dd,
|
||||
+ colors#88,
|
||||
+ pairs#7744,
|
||||
+ btns#5,
|
||||
+ lm#0,
|
||||
+ ccc,
|
||||
+ npc,
|
||||
+ mc5i,
|
||||
+ ncv#0,
|
||||
+ mir,
|
||||
+ xon,
|
||||
+ bw,
|
||||
+ ech=\E[%p1%dX,
|
||||
+ mc0=\E[i,
|
||||
+ mc4=\E[4i,
|
||||
+ mc5=\E[5i,
|
||||
+ sitm=\E[3m,
|
||||
+ ritm=\E[23m,
|
||||
+ smam=\E[?7h,
|
||||
+ rmam=\E[?7l,
|
||||
+ smir=\E[4h,
|
||||
+ rmir=\E[4l,
|
||||
+ smcup=\E[?1049h,
|
||||
+ rmcup=\E[r\E[?1049l,
|
||||
+ smkx=\E=,
|
||||
+ rmkx=\E>,
|
||||
+ indn=\E[%p1%dS,
|
||||
+ rin=\E[%p1%dT,
|
||||
+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
|
||||
+ op=\E[39;49m,
|
||||
+ setaf=\E[38;5;%p1%dm,
|
||||
+ setab=\E[48;5;%p1%dm,
|
||||
+ setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;,
|
||||
+ setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;,
|
||||
+ initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\,
|
||||
+ sc=\E7,
|
||||
+ s0ds=\E(B,
|
||||
+ s1ds=\E(0,
|
||||
+ s2ds=\E*B,
|
||||
+ s3ds=\E+B,
|
||||
+ u6=\E[%i%d;%dR,
|
||||
+ u7=\E[6n,
|
||||
+ u8=\E[?1;2c,
|
||||
+ u9=\E[c,
|
||||
+ tsl=\E]2;,
|
||||
+ fsl=\007,
|
||||
+ dsl=\E]2;\007,
|
||||
+
|
||||
+rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System),
|
||||
+ colors#256,
|
||||
+ pairs#32767,
|
||||
+ use=rxvt-unicode,
|
||||
+
|
||||
# mrxvt 0.5.4
|
||||
#
|
||||
# mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which
|
185
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/ncurses-5.9-r3.ebuild
vendored
Normal file
185
sdk_container/src/third_party/coreos-overlay/sys-libs/ncurses/ncurses-5.9-r3.ebuild
vendored
Normal file
@ -0,0 +1,185 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.9-r2.ebuild,v 1.17 2013/01/17 04:19:21 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
MY_PV=${PV:0:3}
|
||||
PV_SNAP=${PV:4}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
DESCRIPTION="console display library"
|
||||
HOMEPAGE="http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/"
|
||||
SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ada +cxx debug doc gpm minimal profile static-libs tinfo trace unicode"
|
||||
|
||||
DEPEND="gpm? ( sys-libs/gpm )"
|
||||
# berkdb? ( sys-libs/db )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<x11-terms/rxvt-unicode-9.06-r3"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
[[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
|
||||
epatch "${FILESDIR}"/${PN}-5.8-gfbsd.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.7-nongnu.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.9-rxvt-unicode-9.15.patch #192083 #383871
|
||||
epatch "${FILESDIR}"/${PN}-5.9-fix-clang-build.patch #417763
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset TERMINFO #115036
|
||||
tc-export_build_env BUILD_{CC,CPP}
|
||||
BUILD_CPPFLAGS+=" -D_GNU_SOURCE" #214642
|
||||
|
||||
# when cross-compiling, we need to build up our own tic
|
||||
# because people often don't keep matching host/target
|
||||
# ncurses versions #249363
|
||||
if tc-is-cross-compiler && ! ROOT=/ has_version ~sys-libs/${P} ; then
|
||||
make_flags="-C progs tic"
|
||||
CHOST=${CBUILD} \
|
||||
CFLAGS=${BUILD_CFLAGS} \
|
||||
CXXFLAGS=${BUILD_CXXFLAGS} \
|
||||
CPPFLAGS=${BUILD_CPPFLAGS} \
|
||||
LDFLAGS="${BUILD_LDFLAGS} -static" \
|
||||
do_compile cross --without-shared --with-normal
|
||||
fi
|
||||
|
||||
make_flags=""
|
||||
do_compile narrowc
|
||||
use unicode && do_compile widec --enable-widec --includedir=/usr/include/ncursesw
|
||||
}
|
||||
do_compile() {
|
||||
ECONF_SOURCE=${S}
|
||||
|
||||
mkdir "${WORKDIR}"/$1
|
||||
cd "${WORKDIR}"/$1
|
||||
shift
|
||||
|
||||
# ncurses is dumb and doesn't install .pc files unless pkg-config
|
||||
# is also installed. Force the tests to go our way. Note that it
|
||||
# doesn't actually use pkg-config ... it just looks for set vars.
|
||||
tc-export PKG_CONFIG
|
||||
export PKG_CONFIG_LIBDIR="/usr/$(get_libdir)/pkgconfig"
|
||||
|
||||
# The chtype/mmask-t settings below are to retain ABI compat
|
||||
# with ncurses-5.4 so dont change em !
|
||||
local conf_abi="
|
||||
--with-chtype=long \
|
||||
--with-mmask-t=long \
|
||||
--disable-ext-colors \
|
||||
--disable-ext-mouse \
|
||||
--without-pthread \
|
||||
--without-reentrant \
|
||||
"
|
||||
# We need the basic terminfo files in /etc, bug #37026. We will
|
||||
# add '--with-terminfo-dirs' and then populate /etc/terminfo in
|
||||
# src_install() ...
|
||||
# $(use_with berkdb hashed-db)
|
||||
econf \
|
||||
--with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
|
||||
--with-shared \
|
||||
--without-hashed-db \
|
||||
$(use_with ada) \
|
||||
$(use_with cxx) \
|
||||
$(use_with cxx cxx-binding) \
|
||||
$(use_with debug) \
|
||||
$(use_with profile) \
|
||||
$(use_with gpm) \
|
||||
--disable-termcap \
|
||||
--enable-symlinks \
|
||||
--with-rcs-ids \
|
||||
--with-manpage-format=normal \
|
||||
--enable-const \
|
||||
--enable-colorfgbg \
|
||||
--enable-echo \
|
||||
--enable-pc-files \
|
||||
$(use_enable !ada warnings) \
|
||||
$(use_with debug assertions) \
|
||||
$(use_enable debug leaks) \
|
||||
$(use_with debug expanded) \
|
||||
$(use_with !debug macros) \
|
||||
$(use_with trace) \
|
||||
$(use_with tinfo termlib) \
|
||||
${conf_abi} \
|
||||
"$@"
|
||||
|
||||
# A little hack to fix parallel builds ... they break when
|
||||
# generating sources so if we generate the sources first (in
|
||||
# non-parallel), we can then build the rest of the package
|
||||
# in parallel. This is not really a perf hit since the source
|
||||
# generation is quite small.
|
||||
emake -j1 sources || die
|
||||
# For some reason, sources depends on pc-files which depends on
|
||||
# compiled libraries which depends on sources which ...
|
||||
# Manually delete the pc-files file so the install step will
|
||||
# create the .pc files we want.
|
||||
rm -f misc/pc-files
|
||||
emake ${make_flags} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# use the cross-compiled tic (if need be) #249363
|
||||
export PATH=${WORKDIR}/cross/progs:${PATH}
|
||||
|
||||
# install unicode version second so that the binaries in /usr/bin
|
||||
# support both wide and narrow
|
||||
cd "${WORKDIR}"/narrowc
|
||||
emake DESTDIR="${D}" install || die
|
||||
if use unicode ; then
|
||||
cd "${WORKDIR}"/widec
|
||||
emake DESTDIR="${D}" install || die
|
||||
fi
|
||||
|
||||
# Move libncurses{,w} into /lib
|
||||
gen_usr_ldscript -a \
|
||||
ncurses \
|
||||
$(usex unicode 'ncursesw' '') \
|
||||
$(use tinfo && usex unicode 'tinfow' '') \
|
||||
$(usev tinfo)
|
||||
ln -sf libncurses.so "${D}"/usr/$(get_libdir)/libcurses.so || die
|
||||
use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*curses++*.a' -delete
|
||||
|
||||
# if ! use berkdb ; then
|
||||
# We need the basic terminfo files in /etc, bug #37026
|
||||
einfo "Installing basic terminfo files in /etc..."
|
||||
for x in ansi console dumb linux rxvt rxvt-256color rxvt-unicode \
|
||||
screen screen-256color sun vt{52,100,102,200,220} \
|
||||
xterm xterm-color xterm-256color xterm-xfree86
|
||||
do
|
||||
local termfile=$(find "${D}"/usr/share/terminfo/ -name "${x}" 2>/dev/null)
|
||||
local basedir=$(basename $(dirname "${termfile}"))
|
||||
|
||||
if [[ -n ${termfile} ]] ; then
|
||||
dodir /etc/terminfo/${basedir}
|
||||
mv ${termfile} "${D}"/etc/terminfo/${basedir}/
|
||||
dosym ../../../../etc/terminfo/${basedir}/${x} \
|
||||
/usr/share/terminfo/${basedir}/${x}
|
||||
fi
|
||||
done
|
||||
|
||||
# Build fails to create this ...
|
||||
dosym ../share/terminfo /usr/$(get_libdir)/terminfo
|
||||
# fi
|
||||
|
||||
echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
|
||||
doenvd "${T}"/50ncurses
|
||||
|
||||
if use minimal ; then
|
||||
rm -r "${D}"/usr/share/terminfo*
|
||||
fi
|
||||
|
||||
# Because ncurses5-config --terminfo returns the directory we keep it
|
||||
keepdir /usr/share/terminfo #245374
|
||||
|
||||
cd "${S}"
|
||||
dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
|
||||
use doc && dohtml -r doc/html/
|
||||
}
|
Loading…
Reference in New Issue
Block a user