Added i3 4.13 and patches
This commit is contained in:
parent
30f120846a
commit
d53906a5eb
@ -2,7 +2,12 @@ AUX i3-4.12-pango.patch 5932 SHA256 fc7c9e1874242a5fe120f9ea45c01b97a50cc0fbe3ca
|
||||
AUX i3-4.12-smart-border.patch 718 SHA256 d1516311f1d58e7d30830f8c64d65b1bdb399ec9e425e6208e894e6c12b63a90 SHA512 c3a5fc3356f379459db47e9473254c3e5dbe2a5e9cc4f20ff2f07a906a0ea5d2c647d4656f6b957af1d376d0ea696a4f17a13164261c2cc0c9ef103cc768e892 WHIRLPOOL 452ce597bd0bb086fc9537bd8b454f854131e1ab0e615fc0fb5d6aab01ef32605bd579d7f306159760b297756af8f2661860724ded31d2ef5108df1f5369ebe7
|
||||
AUX i3-4.12-tiny-bar.patch 555 SHA256 11b650757481b29c85047377bfa0b6b08566b2257cdd785589dc421078ce92ca SHA512 98853fe76856c54666a28150f8137a83a6b11a76e6443bad17574d9479c2d506696911ec830c5ae3b604422286189c858f7a7fe1312a11678cead228a01a8ba7 WHIRLPOOL b40a56268e91d47632dab1a4bd0abce0ce253a670f10d9704d811130fead6cd3e96c8898d818ae3c208157a3c723b0fd7a0cbefa9d9219d4259e4b7fed9ce618
|
||||
AUX i3-4.12-tiny-titles.patch 387 SHA256 af50e52efe4021c2052b6040ade78d7cc2e444858d860e035988bcb27cbe66a9 SHA512 0183749170733eb70e02825fccb1ce45efeff43ce8160b22dbaefd938151cbb35243ab100d5c39eceb4d53ba5e3e7ce25d8c9ec4475b798e83b9b645aa9d219c WHIRLPOOL b671b05f1f8814d118c35f72134aaad152486c5025f883e2afb32937a5eedfe6a73817ead100083061b3c2f8fc00bc7ef3b3a37f4e4e47203a9080cc79c0ecb8
|
||||
AUX i3-4.13-tiny-bar.patch 575 SHA256 72ce50286e74947963f5e3fba3824962a96d04911aad516baeb5cab632507a1a SHA512 ed77ce56b7e4f4c7dad3a3b2ffe62edee1b77a6b9f65c63102957453c46a279e345fbe62877915b3cbaec6f1d7ad52992af63e863396d06803bdb581c023c3dc WHIRLPOOL ef03d719d7c90ab051186ba0de27b72865090c323883f2959be2ee202adb69462551f014823433a8b21c1912334afd64cc12794020200a80591aed03cbb2a2b6
|
||||
AUX i3-4.13-tiny-titles.patch 427 SHA256 4422ceb41cec694c7f2e291757a787f3172a134de7b55c7f9d39f7480ca47c70 SHA512 f21605e738540cd9e8ffd258b3cc552b4631261bc9615282a2cfe871b237150b2c8a5bbc0631056e3caf933c3f3610d2bf2b2e3e280b3533d08c765f5223fefa WHIRLPOOL 2cfd522ad7a3dd57903d6d57b8f4926440dc6b8cf6fb33833a67cfd88be0d7478cb9c2e184a0c61694d7d0dd7225adc4edf85000d9439236a8febfd37ededb06
|
||||
DIST i3-4.12.tar.bz2 988084 SHA256 e19e1ce08c2549cba83e083cc768d487202c41760d5c283f67752e791f1d78b4 SHA512 966f62dbd82c6c70d1344cc61f14f154f3f649ce1b5a5b5168f00f50d598582ef26f5bd5496ea62e13213e45b1c7043f6209c94fcbefe2947fec63284445c1f5 WHIRLPOOL 7cf414de6d375029328edc8d824d2542ccae99ddf48eac9a563e81e0e86db5506f45f851d5af755ebfe8514e9afb5f8394d962fb191f4b0ab4268a81b8397395
|
||||
DIST i3-4.13.tar.bz2 1121298 SHA256 94c13183e527a984132a3b050c8bf629626502a6e133e07b413641aec5f8cf8a SHA512 1bb1044e8d86e78d3ccb79d49f0eb26665dcd05a348058a5e57138151d74f57d77830efc3025893170fe1b8ec612f739f75247a427410f96286b09afd2c5f14c WHIRLPOOL c0e9b205837e30d214d525af6ceb8adcc4cbbba42d9aa0eab4e7639cbd8884d827c5783590eb23a6790e8d8d87fb81884afa369e48a7ae474613392dc6f9b371
|
||||
EBUILD i3-4.12-r1.ebuild 1889 SHA256 5ffaa373a06b4bcff1810450f244a7c2962b1599a72ff1a90a7f3dd40ca8a5ce SHA512 610c8bc497dde9d0469cb14f7a068d5d563830a343445f2baa58f774ed93f6b414c9ab4d79590f459ad10257cc3ac6caeabb3e021bd87553c383b79a71fe5eed WHIRLPOOL c5ae0c29394ad4f8178b0141bf01233bee439a97572f4fbf0cfa0b1c6ba812d6eabde24809d2900f06089b8404fa07ac5de789ef09c55c59fb6b63e3581f35c3
|
||||
EBUILD i3-4.12-r2.ebuild 1934 SHA256 11e04b71c875b3bb6011b3227bbfc0fd18b3764df1b745ff87b365b109e68bb9 SHA512 bf50722d009b8bef9b0a9277691e19f6a86ed076d465370f7504d3233453ee0ac8d1b27b6287ab8e4ebda87293a3717d09f2a8d8b743b4f90596504dbf45e709 WHIRLPOOL 647a95c372f38d0fdb6f9ece8147c308d35771ef420fc33e891631d1ec80978045ee0a73202db8f3aead81b3d2ab65e0eba3ee8fb771f72d05fc96a507069f8e
|
||||
EBUILD i3-4.12-r2.ebuild 1925 SHA256 057f82fadf4c8d2bbc234d67f163ec0d50a07df871c62f7f9adbfc6364150640 SHA512 a5076c174fd24900a9baa15c35270ddf4a6886c5edc8e588ed327c4314d5534b22adebc3cc67cc0bfbe30d7530646d107846051e6e861f1b47def945e6362dca WHIRLPOOL 9bed2ff689725214b0f3fe5a953280586477e4ea2e755b381a3278e1fcf242891d5227c8bc1f2885f281c44dfbe6b0ef23ef6a81d2921b5bddb383c969e44f91
|
||||
EBUILD i3-4.13-r1.ebuild 1800 SHA256 060343432fb1bc491fc408ad9bee927501ddea0f9a014fffb3f9c1f49daeccaa SHA512 a96d850a51b011d37531dc0b61cfca5a3411b827585bcd41225fffc8d988264d24a138b6d7c769872a02adcde4981ce4315bba38e0529d11dcb5c06609b634e2 WHIRLPOOL 0aba93dcc91ad85fd57cfaafb18a24d077c536ad6f8038b9be3d8f26639df9ac48b4ab868d3dd2ff3b7522712f5c1b5c41850133bdbea7e74045a9bf572e2370
|
||||
EBUILD i3-4.13-r3.ebuild 1887 SHA256 918f8571e58c956ba0ba3e0d40760bc43979a4dafc23eef6fd024121d3f0c365 SHA512 08b176aa0f9fcf73b3354738d89925bb8f823cef4e1181f60ec7f69dba0e1f335efca0a91273b2670c2dba5a1988a1a4ddf0f9071f6401ca55a204597685d817 WHIRLPOOL 73bedc72af6be3c81fd4d7e6a82110170006caeca6415d43f5085bb9d615f66d1950526fdf99e4e7fc3396c341f60727b8c98b6255ea9e635bc2f9d9fd0051aa
|
||||
MISC metadata.xml 606 SHA256 7e53dac97b82d6a8815039c5d45bbe3508eb12500255baa39fc7f5a602633511 SHA512 86df03013b8e4e6ad0c0853d51c1858324adb9d8387463321556fc348186df918e18400f7b38504dad21b3e5de7fe206c656dcfe9969978e390d89df1c29f6a5 WHIRLPOOL a27bd1c11d91dc997e1b19c0266d17f8bba65b7783ee00356d39870524a6d081b1151e3ee4ed0bf31c0bb3b0ddc7adcaf3df561f261904979a7adff86d04a2d2
|
||||
|
16
x11-wm/i3/files/i3-4.13-tiny-bar.patch
Normal file
16
x11-wm/i3/files/i3-4.13-tiny-bar.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -Naur a/i3bar/src/xcb.c b/i3bar/src/xcb.c
|
||||
--- a/i3bar/src/xcb.c 2016-11-08 13:54:01.000000000 -0500
|
||||
+++ b/i3bar/src/xcb.c 2016-11-24 23:28:07.384711497 -0500
|
||||
@@ -120,10 +120,10 @@
|
||||
struct xcb_colors_t colors;
|
||||
|
||||
/* Horizontal offset between a workspace label and button borders */
|
||||
-static const int ws_hoff_px = 4;
|
||||
+static const int ws_hoff_px = 2;
|
||||
|
||||
/* Vertical offset between a workspace label and button borders */
|
||||
-static const int ws_voff_px = 3;
|
||||
+static const int ws_voff_px = 2;
|
||||
|
||||
/* Offset between two workspace buttons */
|
||||
static const int ws_spacing_px = 1;
|
15
x11-wm/i3/files/i3-4.13-tiny-titles.patch
Normal file
15
x11-wm/i3/files/i3-4.13-tiny-titles.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff -Naur a/src/render.c b/src/render.c
|
||||
--- a/src/render.c 2016-11-08 13:54:01.000000000 -0500
|
||||
+++ b/src/render.c 2016-11-24 23:24:00.213726032 -0500
|
||||
@@ -23,10 +23,7 @@
|
||||
* Returns the height for the decorations
|
||||
*/
|
||||
int render_deco_height(void) {
|
||||
- int deco_height = config.font.height + 4;
|
||||
- if (config.font.height & 0x01)
|
||||
- ++deco_height;
|
||||
- return deco_height;
|
||||
+ return config.font.height + 2;
|
||||
}
|
||||
|
||||
/*
|
@ -42,9 +42,9 @@ RDEPEND="${CDEPEND}
|
||||
DOCS=( RELEASE-NOTES-${PV} )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/i3-4.12-tiny-titles.patch
|
||||
epatch "${FILESDIR}"/i3-4.12-smart-border.patch
|
||||
epatch "${FILESDIR}"/i3-4.12-tiny-bar.patch
|
||||
epatch "${FILESDIR}"/${P}-tiny-titles.patch
|
||||
epatch "${FILESDIR}"/${P}-smart-border.patch
|
||||
epatch "${FILESDIR}"/${P}-tiny-bar.patch
|
||||
epatch "${FILESDIR}"/${P}-pango.patch
|
||||
|
||||
if ! use pango; then
|
||||
|
82
x11-wm/i3/i3-4.13-r1.ebuild
Normal file
82
x11-wm/i3/i3-4.13-r1.ebuild
Normal file
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="An improved dynamic tiling window manager"
|
||||
HOMEPAGE="http://i3wm.org/"
|
||||
SRC_URI="http://i3wm.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
CDEPEND="dev-libs/libev
|
||||
dev-libs/libpcre
|
||||
>=dev-libs/yajl-2.0.3
|
||||
x11-libs/libxcb[xkb]
|
||||
x11-libs/libxkbcommon[X]
|
||||
x11-libs/startup-notification
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-cursor
|
||||
x11-libs/xcb-util-keysyms
|
||||
x11-libs/xcb-util-wm
|
||||
x11-libs/xcb-util-xrm
|
||||
>=x11-libs/cairo-1.14.4[X,xcb]
|
||||
>=x11-libs/pango-1.30.0[X]"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( app-text/asciidoc app-text/xmlto dev-lang/perl )
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
dev-perl/AnyEvent-I3
|
||||
dev-perl/JSON-XS"
|
||||
|
||||
DOCS=( RELEASE-NOTES-${PV} )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if ! use doc ; then
|
||||
sed -e '/AC_PATH_PROG(\[PATH_ASCIIDOC/d' -i configure.ac || die
|
||||
eautoreconf
|
||||
fi
|
||||
cat <<- EOF > "${T}"/i3wm
|
||||
#!/bin/sh
|
||||
exec /usr/bin/i3
|
||||
EOF
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( --enable-debug=no ) # otherwise injects -O0 -g
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C "${CBUILD}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C "${CBUILD}" DESTDIR="${D}" install
|
||||
if ! use doc ; then
|
||||
# install docs shipped with source tarball
|
||||
# local HTML_DOCS=( docs/. ) # TODO: install unconditionally?
|
||||
doman man/*.1
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
exeinto /etc/X11/Sessions
|
||||
doexe "${T}"/i3wm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "There are several packages that you may find useful with ${PN} and"
|
||||
einfo "their usage is suggested by the upstream maintainers, namely:"
|
||||
einfo " x11-misc/dmenu"
|
||||
einfo " x11-misc/i3status"
|
||||
einfo " x11-misc/i3lock"
|
||||
einfo "Please refer to their description for additional info."
|
||||
}
|
84
x11-wm/i3/i3-4.13-r3.ebuild
Normal file
84
x11-wm/i3/i3-4.13-r3.ebuild
Normal file
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="An improved dynamic tiling window manager"
|
||||
HOMEPAGE="http://i3wm.org/"
|
||||
SRC_URI="http://i3wm.org/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
CDEPEND="dev-libs/libev
|
||||
dev-libs/libpcre
|
||||
>=dev-libs/yajl-2.0.3
|
||||
x11-libs/libxcb[xkb]
|
||||
x11-libs/libxkbcommon[X]
|
||||
x11-libs/startup-notification
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-cursor
|
||||
x11-libs/xcb-util-keysyms
|
||||
x11-libs/xcb-util-wm
|
||||
x11-libs/xcb-util-xrm
|
||||
>=x11-libs/cairo-1.14.4[X,xcb]
|
||||
>=x11-libs/pango-1.30.0[X]"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? ( app-text/asciidoc app-text/xmlto dev-lang/perl )
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
dev-perl/AnyEvent-I3
|
||||
dev-perl/JSON-XS"
|
||||
|
||||
DOCS=( RELEASE-NOTES-${PV} )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
epatch "${FILESDIR}"/${P}-tiny-titles.patch
|
||||
epatch "${FILESDIR}"/${P}-tiny-bar.patch
|
||||
if ! use doc ; then
|
||||
sed -e '/AC_PATH_PROG(\[PATH_ASCIIDOC/d' -i configure.ac || die
|
||||
eautoreconf
|
||||
fi
|
||||
cat <<- EOF > "${T}"/i3wm
|
||||
#!/bin/sh
|
||||
exec /usr/bin/i3
|
||||
EOF
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( --enable-debug=no ) # otherwise injects -O0 -g
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C "${CBUILD}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -C "${CBUILD}" DESTDIR="${D}" install
|
||||
if ! use doc ; then
|
||||
# install docs shipped with source tarball
|
||||
# local HTML_DOCS=( docs/. ) # TODO: install unconditionally?
|
||||
doman man/*.1
|
||||
fi
|
||||
einstalldocs
|
||||
|
||||
exeinto /etc/X11/Sessions
|
||||
doexe "${T}"/i3wm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "There are several packages that you may find useful with ${PN} and"
|
||||
einfo "their usage is suggested by the upstream maintainers, namely:"
|
||||
einfo " x11-misc/dmenu"
|
||||
einfo " x11-misc/i3status"
|
||||
einfo " x11-misc/i3lock"
|
||||
einfo "Please refer to their description for additional info."
|
||||
}
|
Loading…
Reference in New Issue
Block a user