diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2014-04-03 19:16:59 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2014-04-03 19:16:59 +0000 |
commit | b020959aab9386a71e0ecb4b93b53ecc0c9007d6 (patch) | |
tree | d116ff51473e28e7e638352eaffd8fb6584b4c3d /x11-wm/awesome | |
parent | If /etc/runlevels/sysinit is missing when we are installing for the first tim... (diff) | |
download | historical-b020959aab9386a71e0ecb4b93b53ecc0c9007d6.tar.gz historical-b020959aab9386a71e0ecb4b93b53ecc0c9007d6.tar.bz2 historical-b020959aab9386a71e0ecb4b93b53ecc0c9007d6.zip |
Bump to 3.5.4, add upstream patch for imagebox, bug #506586. Thanks to Bohdan Trach <bv.trach@gmail.com>.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xF8DBDADE
Diffstat (limited to 'x11-wm/awesome')
-rw-r--r-- | x11-wm/awesome/ChangeLog | 9 | ||||
-rw-r--r-- | x11-wm/awesome/Manifest | 19 | ||||
-rw-r--r-- | x11-wm/awesome/awesome-3.5.4.ebuild | 132 | ||||
-rw-r--r-- | x11-wm/awesome/files/awesome-3.5.4-imagebox.patch | 28 |
4 files changed, 186 insertions, 2 deletions
diff --git a/x11-wm/awesome/ChangeLog b/x11-wm/awesome/ChangeLog index 3c66a0cdc421..6be7f1195ccd 100644 --- a/x11-wm/awesome/ChangeLog +++ b/x11-wm/awesome/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-wm/awesome # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.160 2014/03/31 17:14:12 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/ChangeLog,v 1.161 2014/04/03 19:16:52 maksbotan Exp $ + +*awesome-3.5.4 (03 Apr 2014) + + 03 Apr 2014; Maxim Koltsov <maksbotan@gentoo.org> +awesome-3.5.4.ebuild, + +files/awesome-3.5.4-imagebox.patch: + Bump to 3.5.4, add upstream patch for imagebox, bug #506586. Thanks to Bohdan + Trach <bv.trach@gmail.com>. *awesome-3.5.3 (31 Mar 2014) diff --git a/x11-wm/awesome/Manifest b/x11-wm/awesome/Manifest index f84ef1bf3098..d13b39b1c14b 100644 --- a/x11-wm/awesome/Manifest +++ b/x11-wm/awesome/Manifest @@ -1,5 +1,9 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX awesome-3.4.11-convert-path.patch 520 SHA256 195edd642759579a7b14b99cc9146b7a1724ee45ac5e65aeb499cb41234f7e86 SHA512 dee58a540eadb1e985183fb87c63aa697d1132525877e1a062c7fe229c0656a3f4a74088981054d3ee7a849b3ba342645538fd740f5c12b3f242cfb870979a15 WHIRLPOOL caf013d0f287cabab83b0f45d91d70e6e03acc10c8309d7cd22a1782e3cf0ddbcdaf7c6f3f4f68a426354d4deab72e1f1e31b31e69422fe25f23791f419f83e4 AUX awesome-3.4.2-backtrace.patch 713 SHA256 5738944681ce666fab1621c0abbb444356456fcea3ea2119f732c54ef4bf3f26 SHA512 e919bb73a59ff4dc0842a74fc01a3da2de2b43af00f37909809c4a75afbd1edacf753c6e71a6622a06fdb99cded9ea8d2e52a94160289cecc358d4ec391dda4b WHIRLPOOL 11ed4ff22afc016732d11f90fa36ff182da969164190418e09e4f824178f15d505cdf2ab577f5be06b90a8fb283df2302391c866c01dcff4181fee39d39d1371 +AUX awesome-3.5.4-imagebox.patch 1138 SHA256 f058c654490f3ae1c15fa6a27a5878c052999c5ad8d1008acd6ff6b6c9164e45 SHA512 5e91b33711527697a7cc224287adadc44ff91fbd1ee5fb3a58794e59d663174e71da1c25f65a65d11cd90f7ef43bf62061c418838b6c2dec1347dc4fb0b44318 WHIRLPOOL 5755ecde857394f0d30b360ecb5d775af71d4b0788fb4eadc41410162a05e71e46b477faa2148d7fe38f36582813453ddbb2b6a2661a5fa80e69f1a5bf2e95bd AUX awesome-3.5_rc1-convert-path.patch 539 SHA256 955aaa96dc9a1e779fa62f14d91358dc852b8101577c9b2e029cca9f68e07c96 SHA512 b5b8f42ddd21bf851e13fe0a0d844b055795979ae701a418780a2e0282cedd1ae745f00c13e5a0f5b9ac48a70c2ffbf7d9b7dd2856783a4b0434b09683947150 WHIRLPOOL a4dc65d2625e34999b2eea828d3d6889fdea4c8c661713569e298f5500d775205a0df3a6c652d8418f1b7f6baa313db4e09685f2fb88a012bdf822ec135a92c1 AUX awesome-3.5_rc1-luadoc-fix-patch 526 SHA256 bb41476f35e655cb6849ab08c416a6cb7b34c2081b48c1a84635121ba8873649 SHA512 f03fcd34281b1c31c5fdba86ea89c30db06aef145cd858e436a9c5d12dd7798d636e18d17b8941ffc842f3a8859fc764cc737a329bbe003fe5d1d7b35c5eca67 WHIRLPOOL 33621687951f893dc26187acf29635ffd20ba17d9f8bb51961d8a68feef21b8deb781c6a962b18d609db313ec9a66e6587ad46f248c8567922a286ba69e3a848 AUX awesome-glib-fix.patch 206 SHA256 04b6fa47de20677c198a2be5357774c473867cd1a91518b7ed9de3398abd32e6 SHA512 975cbbdc4c870326dfef643f77bc14f654c5d3634cc446fc683a6ccdc649d4c5aad2a3275041656d728793d0f5f330aeb78235a2f5e6bbf49c288e1cc3c60656 WHIRLPOOL 965a4bb0b3f01b3d0ecb255234071e76de6059fe4057acbce967ff31841cef3222dc7426d9e876f7cad5d3dafb0761893d83053df4f53a6980caf7618c00591a @@ -13,9 +17,22 @@ AUX awesome.desktop 194 SHA256 19d670c20bc3c59ec85486f27447dcf82dae1f04ff8abf3e9 DIST awesome-3.4.15.tar.bz2 762323 SHA256 4207f5cbed25d0e7ab35157165d923c2ccf04fded5b3d5fc130134ce9ed5ddfd SHA512 18bb2659e1e7c18a8917f606d635e968daa31a5be4c6d93a109603aace9b5d8b5fd0b8ac1d13ba3d6f2c5c42661204ce80c5ea322088cd358ec5e164b760c339 WHIRLPOOL 74da6197f2e4e5f3d99a11e99c26563f6a145181bab5c017b7ee330041864527551a230ce6dc6109bb5510621fe874921c7caa72c095fa2be6fbdb69e02da1dd DIST awesome-3.5.2.tar.xz 715164 SHA256 188d65b02a8ef905be43f126e2591b0d3caf84e094fb6af5501ae5ef07503e86 SHA512 e1c661dfa64e1747a15c149c445877f36380f30f20a4a39ccf1a02df95b1dc5b38337567dd7e401592b2906627716e72673772fe131189c763dc846978bafd48 WHIRLPOOL caec16cc014bd9ed93c4feec8cca40989cc4a66fd2a6816db65654b66e861c6cc2554a7c5e0e587124f4a96d34ddcd6c2e2845f5ddd2a725048d442361c81407 DIST awesome-3.5.3.tar.xz 718872 SHA256 544eb343a4a059ebe405ae907bda205e7c63a550417c8ee49f9eeee6870c9253 SHA512 7d3e75ddf72a28a29b3031419485072719fe552508e450faee9e58a365827187c6de50dd11b5a8f0b41a3330456b46a7e6f67018b52891e22d4455e999137d2e WHIRLPOOL ac1a3e1555ff81b7e32f673755514f747d05eb245089094381f46e3abc4ce46e70b35c19512ef589a0e3338e5d71760a1f3b879ceb86fdc8f68d48fbdee2e2c9 +DIST awesome-3.5.4.tar.xz 718916 SHA256 b48bce31e14345f260075d528263385564eaeb204c4b673c893f77e884a24ea8 SHA512 afc221931759e56c24f89bdbf6aab9eb9059a44acaea6345567f3f77eb4663354ca7a266e9395f0b6a3068cd7f15e824a6c938987eac915ddba420050c265235 WHIRLPOOL 0a92be54433a0e91fd52aa31c95d72c3d4b8dd35f4e36094ac94726fbb6ba33f6a7b4ac42e3f81f9b94ab419671ded42d0c769e95ca90e53228147a6f3d3a1bd EBUILD awesome-3.4.15.ebuild 3125 SHA256 6ca619fe4943121c54975041f5cd25eddbfe2cca58fdff8f83f5c910b7052b16 SHA512 8a615e0b9bbc56e2b856266b6078a47c72d3de49752362cdc9103a232c7610ec0e7b32a9b6e67280d2c11d9a7d1efce3d62e7e384be1203b46f687f6109fa1eb WHIRLPOOL 82e706aa6c736d2eba62da75088bd1641b4064fefe4fd70561447e2325fb9d27102171cf3baa542d5041f65b63a0bb97a809d3994223a51984efc94330514e74 EBUILD awesome-3.5.2-r1.ebuild 3186 SHA256 3df12a869fafe20a445862bdec5f9416786b5d702fd9ed81a1e2c0bf670b6bfc SHA512 4c863f0dd4dd646d5848d19de6c60b4b00580a53a27549aaac85cb3fdadb961d9aa51f6a365a02f57220ba63d684743af1dbee76b853bf13ea98aa9fba18a49b WHIRLPOOL 9af9d4bbb6227e386a9c340f542e2753d969ee43bcc0bdafba7776902011dd2d74ec31be858d724dce1eaf2584eec561c7763f613425f6bb9dad835b4e158040 EBUILD awesome-3.5.2.ebuild 3158 SHA256 e60491cb5ee7096ee111b1f3fc6150e5e0b328cd34bde70dd5aa7614efbe919a SHA512 934b74e4240470481483114185b0c936dabe5ce199f5535b812c06602f2fb91a87f5480022d1fcbb48c926d624822df859d90f700bc95ccf5e3d45fe423761ff WHIRLPOOL 890529ebacc3560fa3982b1f287ec80d22add56da692e0fbc5c98fbe89521c5a0cc2eb3f48fe6c856531331bc58e1392a26d1b5432134e495554b1cfea64cbc5 EBUILD awesome-3.5.3.ebuild 3229 SHA256 2a23819435d5a09af9b51eca40efe2c3c2494838bcc49b11e4dec11d07e92b76 SHA512 105019975cb5632afbda755ff4531fe40d87265cc9f3fc5c10714392affe6e4bf1be723db4291e5702e8bda09a0ab1043114d6f1d372d0bda368e8fda566b9be WHIRLPOOL 16d2c59f241f6e123c0aaa6874254cf31fcf266d9e67fafa498a78bba4ee199fe6a547fd4f673d3fa5626b7e0f57154407e23a52b6e92dce7f5f7c053b82db56 -MISC ChangeLog 24716 SHA256 f467d09c2588aa48121be4068dfd234df59f0a8466c45bfb840c75192f0d5c31 SHA512 c5c43f5e8a7117af41e4dacfc724b73e22133851bfad54959d5553d9926b44e0d3578b52a02e3c55a882c5361848297e50d81fd74936a9290de4c29cb5d64edd WHIRLPOOL 8e374c0ba17e8d1e3af2eaa28f15bbe6cef67cd7bb65c284f8255d983036f1eb290084391229ef2a87768b69688d7d6d0a09d715eb43ba0905e2d22217961d95 +EBUILD awesome-3.5.4.ebuild 3287 SHA256 67361b9aeecb12f263f34afdec8bb70f229c672214e2f08c4f06256741123600 SHA512 a9625f47a7077cbbe79977c480b8e3197b7f7ae540160640d618eacad41b2f22a312b9d7897e050a9c0f5fb75595dcca462b76c5af631854ca9647db4de1ddd5 WHIRLPOOL 12f3493e597680e0bd7060756c16d5beb5059635bc9bec90a7cd6bdbfe132436c6ce27272c8ae99c90010da8167ac62bb2df5fb1415160e757d91b77b21d797f +MISC ChangeLog 24971 SHA256 273d24770c0af22e33b3951647966de1899e3a2fd1e7d5ccee0baba70db9f65a SHA512 a068dab974dee442f2bce9f516700d4e35d1d9caddbeb6457f0aaf1c361981c163a966bd1a2676caeb1fa5ec6db993765b8aaac8aa75e591698a6b5753d190a6 WHIRLPOOL 958dad0372cafcf7cec0e15b7567af8d02a4f0b5a49dc6b175e4beab972c95ed8353843715ca7ce2997bf810baa0ef77144314af13942bc88b55323b89f68dde MISC metadata.xml 478 SHA256 d2ac170007be9cb6094bf67258148a85208ea7304d290d6859d006074e01389b SHA512 3a0d55b153f3c4a18717ab34d11b81331fb954c43becbe6003227ca1164628af6fa03295a9f029beede2e99f12f97b80094b1deb9c2bf2628cb9db11d297b50d WHIRLPOOL 016dfedc74bde0a925e22018f9ed96cd4bf850d908e345df3459f51bb839155d5bca44e95f83cb6869129962443b9cde46e810328bb1ffe439fa358a74262015 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.22 (GNU/Linux) + +iQEcBAEBCAAGBQJTPbOjAAoJEAmJmMX429res3QH/3c3sqh6I0LI5P3xOHtDUwu1 +eL+6Ymz0uAThhM3muXYKPci+r8uL0P/Lo2kJGgqRzBCzye8DcFDhw2zspthDmQNU +n/t5mm8Dnyh3+Wi0uRb5+4fcQePhw1tGYs4cE9TTfC0S7qrJh3utc7TW84Gjxk3M +YHwPGHvmM0BA9IScxqSLgvaQjxJshlnsy1AnV1FmDUfo55IQ+jM4zGP14QG+qORY +K+z1YVnewmwYKyBipvv7oA06HvHA/R+7I2kw9KpD0XBxsTFFs1nHxel6Hge5WYEs +5AyygbGm+6eYqoaBeyLPXZjfNh+s8P4wSUC8KqZrX0tbcHtHA/IWLD/FL2Z/uho= +=nqwc +-----END PGP SIGNATURE----- diff --git a/x11-wm/awesome/awesome-3.5.4.ebuild b/x11-wm/awesome/awesome-3.5.4.ebuild new file mode 100644 index 000000000000..025c1163fa89 --- /dev/null +++ b/x11-wm/awesome/awesome-3.5.4.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-3.5.4.ebuild,v 1.1 2014/04/03 19:16:52 maksbotan Exp $ + +EAPI="5" +CMAKE_MIN_VERSION="2.8" +inherit cmake-utils eutils + +DESCRIPTION="A dynamic floating and tiling window manager" +HOMEPAGE="http://awesome.naquadah.org/" +SRC_URI="http://awesome.naquadah.org/download/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="dbus doc elibc_FreeBSD gnome" + +COMMON_DEPEND=" + >=dev-lang/lua-5.1 + dev-libs/glib:2 + >=dev-libs/libxdg-basedir-1 + >=dev-lua/lgi-0.7 + x11-libs/cairo[xcb] + x11-libs/gdk-pixbuf:2 + >=x11-libs/libxcb-1.6 + >=x11-libs/pango-1.19.3[introspection] + >=x11-libs/startup-notification-0.10_p20110426 + >=x11-libs/xcb-util-0.3.8 + x11-libs/xcb-util-cursor + x11-libs/libXcursor + || ( <x11-libs/libX11-1.3.99.901[xcb] >=x11-libs/libX11-1.3.99.901 ) + dbus? ( >=sys-apps/dbus-1 ) + elibc_FreeBSD? ( dev-libs/libexecinfo )" + +# graphicsmagick's 'convert -channel' has no Alpha support, bug #352282 +DEPEND="${COMMON_DEPEND} + >=app-text/asciidoc-8.4.5 + app-text/xmlto + dev-util/gperf + virtual/pkgconfig + media-gfx/imagemagick[png] + >=x11-proto/xcb-proto-1.5 + >=x11-proto/xproto-7.0.15 + doc? ( + app-doc/doxygen + media-gfx/graphviz + )" + +RDEPEND="${COMMON_DEPEND}" + +DOCS="AUTHORS BUGS PATCHES README STYLE" + +src_prepare() { + # bug #408025 + epatch "${FILESDIR}/${PN}-3.5_rc1-convert-path.patch" + epatch "${FILESDIR}/${PN}-xsession.patch" + + # bug #506586 + epatch "${FILESDIR}/${P}-imagebox.patch" +} + +src_configure() { + mycmakeargs=( + -DPREFIX="${EPREFIX}"/usr + -DSYSCONFDIR="${EPREFIX}"/etc + $(cmake-utils_use_with dbus DBUS) + $(cmake-utils_use doc GENERATE_DOC) + ) + + cmake-utils_src_configure +} + +src_compile() { + local myargs="all" + + if use doc ; then + myargs="${myargs} doc" + fi + cmake-utils_src_make ${myargs} +} + +src_install() { + cmake-utils_src_install + + if use doc ; then + ( + cd "${CMAKE_BUILD_DIR}"/doc + mv html doxygen + dohtml -r doxygen || die + ) + fi + rm -rf "${ED}"/usr/share/doc/${PN} || die "Cleanup of dupe docs failed" + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} || die + + # GNOME-based awesome + if use gnome ; then + # GNOME session + insinto /usr/share/gnome-session/sessions + newins "${FILESDIR}/${PN}-gnome-3.session" "${PN}-gnome.session" || die + # Application launcher + domenu "${FILESDIR}/${PN}-gnome.desktop" || die + # X Session + insinto /usr/share/xsessions/ + doins "${FILESDIR}/${PN}-gnome-xsession.desktop" || die + fi +} + +pkg_postinst() { + # bug #447308 + if use gnome; then + elog + elog "You have enabled the gnome USE flag." + elog "Please note that quitting awesome won't kill your gnome session." + elog "To really quit the session, you should bind your quit key" + elog "to the following command:" + elog " gnome-session-quit --logout" + elog "For more info visit" + elog " https://bugs.gentoo.org/show_bug.cgi?id=447308" + fi + + # bug #440724 + elog + elog "If you are having issues with Java application windows being" + elog "completely blank, try installing" + elog " x11-misc/wmname" + elog "and setting the WM name to LG3D." + elog "For more info visit" + elog " https://bugs.gentoo.org/show_bug.cgi?id=440724" + elog +} diff --git a/x11-wm/awesome/files/awesome-3.5.4-imagebox.patch b/x11-wm/awesome/files/awesome-3.5.4-imagebox.patch new file mode 100644 index 000000000000..7d224f24302e --- /dev/null +++ b/x11-wm/awesome/files/awesome-3.5.4-imagebox.patch @@ -0,0 +1,28 @@ +From: Uli Schlachter <psychon@znc.in> +Date: Wed, 2 Apr 2014 20:48:06 +0000 (+0200) +Subject: imagebox: Don't try to scale by infinite (FS#1248) +X-Git-Url: http://git.naquadah.org/?p=awesome.git;a=commitdiff_plain;h=7967d05915c95c8eba7709a46093cc1b6de55572;hp=afa50904fb1c79a24ddda8fb242afe2dcc1de841 + +imagebox: Don't try to scale by infinite (FS#1248) + +When an imagebox was drawn with width or height zero, it tried to calculate the +needed scale factor for making the image fit. Sadly, this would be a division by +zero aka infinite in this case. + +Fix this by just not drawing anything if there is no space available. + +Signed-off-by: Uli Schlachter <psychon@znc.in> +--- + +diff --git a/lib/wibox/widget/imagebox.lua.in b/lib/wibox/widget/imagebox.lua.in +index da51634..5963d0e 100644 +--- a/lib/wibox/widget/imagebox.lua.in ++++ b/lib/wibox/widget/imagebox.lua.in +@@ -18,6 +18,7 @@ local imagebox = { mt = {} } + --- Draw an imagebox with the given cairo context in the given geometry. + function imagebox:draw(wibox, cr, width, height) + if not self._image then return end ++ if width == 0 or height == 0 then return end + + cr:save() + |