summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-08-14 18:05:36 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-08-14 18:05:36 +0000
commit2e4bd4625bcd398d391a684de3a49da9357869b0 (patch)
tree2f2ea3f669777b0108a52c917a191612337871a2 /x11-wm
parentFix for Prefix, bug #480278 (diff)
downloadhistorical-2e4bd4625bcd398d391a684de3a49da9357869b0.tar.gz
historical-2e4bd4625bcd398d391a684de3a49da9357869b0.tar.bz2
historical-2e4bd4625bcd398d391a684de3a49da9357869b0.zip
Version bump. Bug #480818
Package-Manager: portage-2.1.13.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xC2BA7F3C!
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/openbox/ChangeLog9
-rw-r--r--x11-wm/openbox/Manifest37
-rw-r--r--x11-wm/openbox/files/openbox-3.5.2-gnome-session.patch14
-rw-r--r--x11-wm/openbox/openbox-3.5.2.ebuild76
-rw-r--r--x11-wm/openbox/openbox-9999.ebuild6
5 files changed, 122 insertions, 20 deletions
diff --git a/x11-wm/openbox/ChangeLog b/x11-wm/openbox/ChangeLog
index 052a858ef900..5503ace93fdc 100644
--- a/x11-wm/openbox/ChangeLog
+++ b/x11-wm/openbox/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-wm/openbox
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/ChangeLog,v 1.275 2013/08/03 06:53:43 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/ChangeLog,v 1.276 2013/08/14 18:05:31 hwoarang Exp $
+
+*openbox-3.5.2 (14 Aug 2013)
+
+ 14 Aug 2013; Markos Chandras <hwoarang@gentoo.org>
+ +files/openbox-3.5.2-gnome-session.patch, +openbox-3.5.2.ebuild,
+ openbox-9999.ebuild:
+ Version bump. Bug #480818
03 Aug 2013; Agostino Sarubbo <ago@gentoo.org> openbox-3.5.0_p20130215.ebuild:
Stable for sparc, wrt bug #477744
diff --git a/x11-wm/openbox/Manifest b/x11-wm/openbox/Manifest
index 68da9aeaa2f7..c288d2265544 100644
--- a/x11-wm/openbox/Manifest
+++ b/x11-wm/openbox/Manifest
@@ -1,38 +1,43 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX openbox-3.5.0-configure-imlib2.patch 413 SHA256 a7d2f26033ae2424426c90a265db50d8349cc53d3d80eb6e7d3efa73fc28db36 SHA512 ababb000ae6b57dd2015ded6f2a1b735dc6fad6d874f636a9373dac7ae02d71a41a325e0ed58826d581b39c175c895e61b3cad995ce3cabed12aed737eaf9ccd WHIRLPOOL 571832c4352a42f81321272492e359824917a3212bde932bc760ad562385190ecaf4c5e977ce2a016aa65bb4b3b2f977cf72e3afb959894ed5e133423d6aa8df
AUX openbox-3.5.0-fix-desktop-files.patch 2057 SHA256 53f144385aab349b488f5ef458584d0d8cb39ac99e9f9c6915372419c49b6b25 SHA512 12cb080e7df5c394048aca20b7e39ecdd93c5655caf33433fc66ed97bd974ce6b5f7e39a99e426eb85b3c1899950bde1e1c39bb6d58b56c6e5d769eadcdaaf67 WHIRLPOOL 87a76417a845ae9c2a7e43a1c5ad5af771fddda4e9e2f08e309e3ba67ed6096c305f75c30a1b5abd4a404b0f4814a17262fea2844555996ad68a2dfbac5d43b9
AUX openbox-3.5.0-gtk34.patch 1153 SHA256 c5497245539605a02b465aad228c16e44f4969ad55f67c89711a7565cd508d44 SHA512 bca42e03a656cf876f04f84e2c1a68c549aec6f1523016443c593795ae43ffb3cb96dcd5ae04830c0e04f6528d650335f70b1cf8c5aa167ea5a6fbf76dd2d493 WHIRLPOOL c40219fbff41c8d398e15546d20f095c7cccde30f2bddb8ff48a8c0c577cca0c13d52928db75ee3a548ca6cda55f77694c3aea2fd20c688d1a983e189a3e928d
AUX openbox-3.5.0_p20121006-javaswing.patch 1150 SHA256 8aec354ae728f6f86b8c72d4cf023f6905bbc1797f6243ddf8e4173153fcb082 SHA512 c0bb9aaf2a224e447271074bb8a08364cfdda2868c4492993de78ddb0b200571b4e84705b91bbd8f7b5fe2a8a451f441d255f825776f2f1e29767451370ccfad WHIRLPOOL 17280a5998c3b03caa07664233a15872efecba07f494986166d8a19e19da680d25866675c2504a7cdaf343978e31f41aebdd6929a2db40928f24238b1f0a7a2b
+AUX openbox-3.5.2-gnome-session.patch 574 SHA256 45e1c57d9134d7e370f9dfe1c057f998e516900255dcb71b709a6d035fb8a4d4 SHA512 35d36dd2ddef05e21491df75a1d14c3d26dd17a8da79577d06fb3b7ddf6a179c7e23bb777e4cbdaa4bb4ab745db023981645f3dbe4dcf75c7b4d5f46e18b96c8 WHIRLPOOL 25288c03e121bc619f20f1deb1462d7555a6880944c9ea82bd8129de06a4b6f3483c4d7fd5158931e5915e4f7fa0367fb337542c90d8a024e1805d551f31295a
AUX openbox-as-needed.patch 413 SHA256 48f38ab155a15320fb4c9a447a58e27fac2b74eb4a5504cd0b7707ae5384703a SHA512 681b86b106674f47ed11cc2a68288b3c5ba78a148bd663d9861b904fa2cfc2f3d2f4bbc2e75e1fb28d7af40409818b1c123ddf1bfb67c4e62064d16506fe0621 WHIRLPOOL 12a2064a5c6a24318a3122ae4a3bcdd3c0c3721f654fb42f4d30ed4c824debfc9b129b2039bd20a253c6c7db72de002597e420ff7f103fd0073362176ff48696
AUX openbox-gnome-session-3.4.9.patch 449 SHA256 0fbbf60ba8ce2503d307cf55b6467b3cf53e01d32deff1417e3afbf6397d9eb5 SHA512 03b828152ca6c38d2bf9962a254d911179248173642c0ddd3af0023ff93b6d3c479f12d411f7119fb1ca476b1ac03b807c0f83ef159e08ed4caa21269f7f0e87 WHIRLPOOL 172f2c5b031ed68918795feaf4464241cf55ee8064638e45bfebbfe4c684b6400ab609b1b034cc327be0fa8deedf79d17cc477d894c0b3fd5035c47046bf5bc5
DIST openbox-3.5.0.tar.gz 911834 SHA256 6fa90016530b3aa6102e254079461977439398531fb23e7ec076ff2c140fea0a SHA512 208d2641e171eca5fae0a2104a9b3c6d685293b4d66a18c0c2900df267453911b8738ef239fd84656b41440a0568279de67b9af798a6457b7716b1aab14704b5 WHIRLPOOL 5b9d49ec4428b1889b17794fe9807cb81261add2313cbabe8cbb92eed04730d72b8bac89d5e1bba04fda6d8fb477693ac8d3090cecddddbb747188b4f58341c9
DIST openbox-3.5.0_p20111019.tar.gz 475441 SHA256 de9af320f67e46d6ee2d09cb577e4fde954b35733497d08fd3e6f188accba408 SHA512 d20a5ce0e69c6a6be95b451a254f4d3c03f6c746d1f0365d261962a31ef6ca0aa8f6f6b404deef0ea8f1737d96983c1e04123a561b26e740de854c93ab29666f WHIRLPOOL 2b561957e31154b65e128a3659980d45895ca09508253c0178a70c4305dc42de30413e4ce3cb6b014fdd894a346be04ca77dd74a3fae8b078f7e3e9c85a9cae8
DIST openbox-3.5.0_p20121006.tar.gz 479233 SHA256 f0812e50ccf037dce9505cabc5d4c5370075a630a13ddd474290d4571225563f SHA512 5c81207681114f401736a26ea49f689141a8671f6dd85b6b701f671ef326321070a3358abbc2882ddaf1205a68527b3496bf643f3ef0c8523b8b67b588d87aae WHIRLPOOL 3f67d67db0012a2c02bf86b0c757825bb4fcfeaf51b8735cd752ff15ba7f989565187f93a1bd0905bee755a6cc68350c3654fe80c7f58b4da000561180a416e0
DIST openbox-3.5.0_p20130215.tar.gz 482906 SHA256 59f5f0d626a74141921432eec9131759b5991b63d904f6dfbaef2bb5061f0a3f SHA512 7ce6ed3b8cbcf5332cbb2c0db5c64bf5bd62bdf4f7ab5d217583d602d9d5b8d8b1b083209454da0452b3aceb55bc14ca138cd1a746216330f1eb4a27a95edca2 WHIRLPOOL f9d82756aa3e3644727dbd014bdcd8aee0ceabc07ea81fe371c146a909fc98f313c2f7406f7c8324118e070c3cb18f422b7ca2ea225a1201a1f8f1ca3385ba51
+DIST openbox-3.5.2.tar.gz 972751 SHA256 128fb4ef11f83f6edb1685cfc04f44a16a5322082fc519f9d7cac84fc658af33 SHA512 89c58364bc482f2b098341e28b2bbab69a791430ff8924dc0dd6fe56aabadde916d42a4e7dfb47cab21afebd747698e106a19e852444d2ede05e72ef423df09d WHIRLPOOL 808109bc07c5c2a1f2444501c91f4d3f111290d034811d46f63f21001343f0a368a648d964e69a7264d4a5f447ce780ceba9d075e4d65d5b928075776a8274f2
DIST surreal-gentoo.tar.gz 13410 SHA256 f478c58b2b6cd7a2a2ebe53fa261adb2d1fddf188f059d238b1b69ecc8701626 SHA512 dd43cb78e5e33345767edad22d0470765ac9eeae02bbad0acd8098bc096c15a166bf651493d12a5953bc043c9be92e9b160607eafb4723a6bcfc5d1d6fae235e WHIRLPOOL c9b406f4d822c8ce250bf8f30c9ad6bab75a0c1889a5b60061b83e44c06fd386f60c69ace176672d1a9658f4aa82fc82daaef205630c15c4711019cb48cca7ad
EBUILD openbox-3.5.0-r1.ebuild 1876 SHA256 cffd9d0d31c1895d94149ee0d1c6a8fe2e76cc0e4337eb8c0720a43266af2206 SHA512 8de93cb42cc2138ad72d49776d3e9072a96ec645c52c1a12519834c4c7a40c1ce73af35035ff5f1b7e530e704c04fcfd455643327282c748e601eafade7a554a WHIRLPOOL 4b860ba4cade8bd02a0a249565b88b8b30d0558ace342080ec4d39d9723e926c53dfb71806f8868f8ffa68a6b8e4998a9d2f7280b94f2a8208009d801b5a8c76
EBUILD openbox-3.5.0_p20111019.ebuild 1896 SHA256 0bb7f16cefe4f81813b1fdcef37d58ce6d337c93a0e2a627ddbaa78251087e1a SHA512 a3c6650e53f3825bfbbd94aafa948fa34cdfa5218ae4a0e946549d6c390e99ece9d74e820394d70e8e5dc69a0760983c9f2f9ec3d5687ffe15df7494a6cf28ab WHIRLPOOL 948cdbeda1c8ceff90f75ddae9adf89db19e9bebc302e7ce40e74d984a08576bc25391ce865090e46dc0cc53c3232994a0de08d6bc986635afa4cd6abf857c7f
EBUILD openbox-3.5.0_p20121006.ebuild 2407 SHA256 455d9a646a3984655a7cee0f1a360b70d272d0f3d74eabb0023b20ef66caedb6 SHA512 dae3f0cd2dc71f99d90cbcedb78fd17074147df1807b30cbff90e236343381c4a5d9219f9e132fd1513393ac6ea7433c58e9a5e9c00b4150237462522921bf52 WHIRLPOOL 61d7dad20816108d5e5a7e02e0186be8ac4cc7adbc52be56505b951822ecd7845d3cd1e37ae5514649e69e171fbcd9e6504a22a5bc82fcaeb3820d5776d99e43
EBUILD openbox-3.5.0_p20130215.ebuild 2337 SHA256 0cb073261902e56873c97d87356c8de9385b562de43fd468664f7b9faf25e8c9 SHA512 b8ab61a1136a7b79db5ca710e6db01229cef52e92780859164baf9469cfa92e0a7c63cddd2cb7375dfae3c393d25888d1dd40394cd08e400dc0209345be0d43b WHIRLPOOL 552f1a1934f8c04d7c61b14f6f2bb8d69845438f2f91662075b6a547d7fcfcc00fe5e0f5e26784db9a47256318d59c131a9b71f6b978607077413a69baf45f25
-EBUILD openbox-9999.ebuild 2438 SHA256 0fe7a5cebb85e2b8b988a990089a055862d13ed3510b5920b743f97f78d3c711 SHA512 04a5181eb1cc182acd96a0d55e6722ce9cec059618c20b17eab2df7745dd2cb16e437f644452e0d72a8112b30a2f2ca89c3865ce8e58dbb0751e92305643d22e WHIRLPOOL 113670f910920f667f9a041e50fb64909a80ed1ebf8a2e235e661055d8ab51e5a9a5a212f1a2f0ca78391bdb33c46b25fdc159a86ee54262488d069fad78dd2f
-MISC ChangeLog 42065 SHA256 6a0a195c3bb2fede061f7f3c4041dfdc692d016e2528f86b17a0e346e620eedb SHA512 4424f75f64b8eb37c48a9b8da8a2877f64d6fe0e2e4dec33616452cdadbe7e3f71fc77a2db94a8fbb138362da8aca0aa4c4f2657e098afcbbafdc28aed897c07 WHIRLPOOL cfba53116aa95a28ca82884c05903cd3bf82c1d707460d235921295c4b70c5010f5db0970b7f77d4a2a334545548131236ba9a7a4867ac68d4b2fa829973e782
+EBUILD openbox-3.5.2.ebuild 2306 SHA256 cf08410519230d1f54df68986f9a888e7f2b30585d6129124f5c0c7f7215c8ec SHA512 0dd9615994132cf1b43f5ce71af68f396114a35e5bba498e816c14e6b4c2c0804bc7d1312262f7383c8a910a7a585f5b400b718a4e00d3d52aed240a860abfc2 WHIRLPOOL 6900d197fd79c258fae74d5f0163e3cc740552c34302d059053415d5b8453c942d9ab36c5a049df3832715ec6f6e7c0df934982fc5e6fa4721e90b0e3ce9e148
+EBUILD openbox-9999.ebuild 2431 SHA256 13e51173cde21fe8f67372d9cdde6f85e131f8101c2574d90a1f1d664f36333b SHA512 856778f74e547633b2608f29e9ddb00617cbeb8333081531cf3d45ab9248d8e8e93d62bdff13d2aa8e8bf3286a2134e54a571ada9f4794b8d1e6ab6e64cd8b33 WHIRLPOOL 6977ffbdbcf7004c2fa42efeb2db5afb9aeae53dcaf65927a77f7c715101b37c96794588ee7db29d83677c6f73fbbfd04ffe9fa0500ed14bb14135c8eb40bc17
+MISC ChangeLog 42272 SHA256 ec57816ff3509e3c485d89a7febb7133f19fb763f1fcb8b95524f7488149eae2 SHA512 2a66ecf2d85c84adb265230a6cf8a20ca77a3f8131f78e4c2d5e006d9c090749d225fbd4539f6948eba2a2a3635f1a2ae828cc394af1d19e356b01198e48739c WHIRLPOOL b01f940053f2aa1c154a504d281bdb692ce363e46d1458216561b77fc4dac055579d2410bdf20d974418c9c23ae78a05102822d08bfd2fb9dde525121c7420d0
MISC metadata.xml 776 SHA256 d02e05a5db0427f6575fd19364c8dcf112bd8b404662f557f1046ec95535a1a3 SHA512 8af195dfdff20741f78feb28f70714d7f65293ab2b8e1ef31adc43ef0712e227045926228460c35dc0263039c6660984b103c304b1cb9ea58ad65f8fc72df26e WHIRLPOOL 6f038167fa6a1dca44ccb2b7d21a6701e66366475cc0fd2bbe6471079abc7bb1e12f61e2b4138a5b3c3c246d7664c505c049f49a59aa6c28ba04f3ad321a4ec9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCgAGBQJR/Kg5AAoJELp701BxlEWf4WwQAJgfBO0meJBjnSbHhMNR3Qpd
-TZmERN/nGgH4eENbvrTYs18dp2E5qTf4sdcRq5KX9BLU3i3VeR09NXSe0K9ta7AM
-OFIcsrKh5uO/EL/xvaPvfIhTX6C64+5rqEJhbT2qijUvoJPTP5nlYrny03JQ8+ni
-NEqVBMKvNoC1ZfgO1MHHtCKCbeb0In1FeB/751BttO/nRHGRrAXzm0u3+gzoCWcn
-bewQCQg9fwzrGwF5x1WUL7H5+OPsBBW+zTzjZx2JbXozaaBvqX4d154G0797bpo8
-EvZc3iMfZJjVcWKxFLt8183VaOkzBIaDHoz3RGRyv73DxLgEdEOodz6Std2SBnwr
-ojU6q0khNhLxqntCPZmqaH3SWIWEQZKaLU/BLek71OUdPV1z+5/ezhXU+QiADOAZ
-kLjugwvvZnRfY0Dz/rcsODIhSyI0++DgDNWRqrmIAAhVDz0So7miH87TujxCF5+7
-duBVvPnP2UJYBgy2YJ1RxpnpvxXhpS234HcU8svGSk+DVB8bHrPr1uSPKxQa3EEi
-9E+52fjTZjIx+oZAuNEMZuA7uJJ9zgQtYRBkjGGDTi2gCRglkSW4ndTmPGKsUXrP
-cJ/svaOGzAV5LUxr5Pj5TUzfErKJaCFm3td4dZoA+AG6MdmhcZZROUj6h23R5X/R
-vEQE+JpvD1QAlNZUHPaT
-=hhtp
+iQJ8BAEBCABmBQJSC8bqXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
+OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88vrIP/0gi2HUtJd57IGJsiZxsXigo
+qD/XbSp4HR7kF1JyYFfqfPF7KBWO2AkGlpHx0xY+PSO4NOT3Zax9mvD895oJtP2+
+zmG+eMJyPEfzHmeBr4BRnzvq+N94RkvpCA/w3IKeuCtJEWwLRf5XEqg9zk3Mg04e
++h5Afa0OQ4bT8WEeUsAMVFmC9TV7OaSsTuuazIoJeavD/MeI/v30CH58i8DCM6di
+xsniCcT6A2alFEESZMJQhX8g4I/x/+ysu3bpQ51BsXLUcG+xvg3gdXH4LsG/6ufF
+6HZlFIJAz6w/P0P6mjkuyyfu956RcUgx7FHjEN532Ep7rpTzGFhxgPA9ShOjNag4
+Kt3SgANbk4RGJq5GkgDRFUc3WVkILD9bi8FjD5ExTIo6Q3MmtQyMpCQCul4lhpr+
+Y7R0IYhG6s1nns5SlN6dwKGxtV4gWie59ImFVRQF8hOBx2wJnsxa4izlbTRukS6S
+V7aE9PK34bpO1+LQqZFyHsJfIHcImNmXGu9pO4HmosKtawkPq4iZcCBT9Jzy1LyN
+lgNk7q1vv65BDCLeyV66XsJj6UTr/eUI6H7W8MX/YC6ho+Q0XRzUGM00EXrAjpix
+aDbY9vJI+oF/pP8Dgd9vD+htj3bj0mGxvgLOiKvsTEN+U1GrloHlFlbRn8GmvsQG
+RvoS8FxFxLjV3QZ13LB2
+=0eSm
-----END PGP SIGNATURE-----
diff --git a/x11-wm/openbox/files/openbox-3.5.2-gnome-session.patch b/x11-wm/openbox/files/openbox-3.5.2-gnome-session.patch
new file mode 100644
index 000000000000..10406af33c96
--- /dev/null
+++ b/x11-wm/openbox/files/openbox-3.5.2-gnome-session.patch
@@ -0,0 +1,14 @@
+Index: openbox-3.5.2/data/xsession/openbox-gnome-session.in
+===================================================================
+--- openbox-3.5.2.orig/data/xsession/openbox-gnome-session.in
++++ openbox-3.5.2/data/xsession/openbox-gnome-session.in
+@@ -18,6 +18,9 @@ VER=$(gnome-session --version 2>/dev/nul
+ MAJOR=$(echo $VER | cut -d . -f 1)
+ MINOR=$(echo $VER | cut -d . -f 2)
+
++# use gnome menus (gentoo bug #291965)
++export XDG_MENU_PREFIX=gnome-
++
+ # run GNOME with Openbox as its window manager
+
+ if test $MAJOR -lt 2 || (test $MAJOR = 2 && test $MINOR -le 22); then
diff --git a/x11-wm/openbox/openbox-3.5.2.ebuild b/x11-wm/openbox/openbox-3.5.2.ebuild
new file mode 100644
index 000000000000..d4668fb38ac6
--- /dev/null
+++ b/x11-wm/openbox/openbox-3.5.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-3.5.2.ebuild,v 1.1 2013/08/14 18:05:31 hwoarang Exp $
+
+EAPI="5"
+inherit multilib autotools python eutils
+
+DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
+HOMEPAGE="http://openbox.org/"
+SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz
+branding? ( http://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~arm-linux ~x86-linux"
+IUSE="branding debug imlib nls python session startup-notification static-libs"
+
+RDEPEND="dev-libs/glib:2
+ >=dev-libs/libxml2-2.0
+ python? ( dev-python/pyxdg )
+ >=media-libs/fontconfig-2
+ x11-libs/libXft
+ x11-libs/libXrandr
+ x11-libs/libXt
+ >=x11-libs/pango-1.8[X]
+ imlib? ( media-libs/imlib2 )
+ startup-notification? ( >=x11-libs/startup-notification-0.8 )
+ x11-libs/libXinerama"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig
+ x11-proto/xextproto
+ x11-proto/xf86vidmodeproto
+ x11-proto/xineramaproto"
+
+src_prepare() {
+ use python && python_convert_shebangs -r 2 .
+ epatch "${FILESDIR}"/${P}-gnome-session.patch
+ sed -i \
+ -e "s:-O0 -ggdb ::" \
+ -e 's/-fno-strict-aliasing//' \
+ "${S}"/m4/openbox.m4 || die
+ epatch_user
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --disable-silent-rules \
+ $(use_enable debug) \
+ $(use_enable imlib imlib2) \
+ $(use_enable nls) \
+ $(use_enable startup-notification) \
+ $(use_enable session session-management) \
+ $(use_enable static-libs static) \
+ --with-x
+}
+
+src_install() {
+ dodir /etc/X11/Sessions
+ echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}"
+ fperms a+x /etc/X11/Sessions/${PN}
+ emake DESTDIR="${D}" install
+ if use branding; then
+ insinto /usr/share/themes
+ doins -r "${WORKDIR}"/Surreal_Gentoo
+ # make it the default theme
+ sed -i \
+ "/<theme>/{n; s@<name>.*</name>@<name>Surreal_Gentoo</name>@}" \
+ "${D}"/etc/xdg/openbox/rc.xml \
+ || die "failed to set Surreal Gentoo as the default theme"
+ fi
+ ! use static-libs && rm "${ED}"/usr/$(get_libdir)/lib{obt,obrender}.la
+ ! use python && rm "${ED}"/usr/libexec/openbox-xdg-autostart
+}
diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-9999.ebuild
index 270ac015b085..eaadb181d5a6 100644
--- a/x11-wm/openbox/openbox-9999.ebuild
+++ b/x11-wm/openbox/openbox-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-9999.ebuild,v 1.22 2012/12/02 11:14:49 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/openbox/openbox-9999.ebuild,v 1.23 2013/08/14 18:05:31 hwoarang Exp $
EAPI="2"
inherit multilib autotools eutils python git-2
@@ -37,7 +37,7 @@ DEPEND="${RDEPEND}
src_prepare() {
use python && python_convert_shebangs -r 2 .
- epatch "${FILESDIR}"/${PN}-gnome-session-3.4.9.patch
+ epatch "${FILESDIR}"/${P}-gnome-session.patch
# Lets try to replace docbook-to-man with docbook2man.pl since
# Gentoo does not provide (why?) a docbook-to-man package
sed -i -e "s:docbook-to-man:docbook2man.pl:" "${S}"/Makefile.am