From: W. Trevor King Date: Wed, 3 Nov 2010 18:13:29 +0000 (-0400) Subject: Update hooke install to setup /etc/hooke/hooke.cfg. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=53b03cf61beae864e334c8d454f739e1b816fad6;p=wtk-overlay.git Update hooke install to setup /etc/hooke/hooke.cfg. Also * install runtime images in /usr/share/doc/hooke-9999/img/* * add a dependency on dev-libs/libxslt for gui_flow.svg generation. --- diff --git a/Manifest b/Manifest index 5637534..084266f 100644 --- a/Manifest +++ b/Manifest @@ -1,3 +1,4 @@ -EBUILD hooke-9999.ebuild 1597 RMD160 4be4031aa6528437b73285bfb5d33f0a5b5718d5 SHA1 b80ec9a60f8ae5e50978a6c9417b9acacaae0ac6 SHA256 a194d3980068d9f1b47475f8a6e6078200a4357587e75cc9669ef7e2dedf776b +AUX hooke-9999.cfg 517 RMD160 6c7014b76bf0669972d555adc29742f8ca90939e SHA1 8b4aeaf01d640c9a8e3ce670f2103d8f88624638 SHA256 0ba496b57c42c108b2df784bbcd6db108695e0fb189b94d927962fbf4185b9a5 +EBUILD hooke-9999.ebuild 1759 RMD160 af17e778de9b4f5760b3da10f28bdddc81939e26 SHA1 5b6a4a312a91da05267cd16a4f5ff245b3f5c2ce SHA256 ae7ea34f3741d451b6f8292cf5e58b196b26acdf13f970451b9b9d6b6e0b81a5 MISC ChangeLog 690 RMD160 a220893c5e8b6f13f34d26b1c38e99fd0b228922 SHA1 4b84f0c64cfffc6a5b7575781b5bc96d4a7b2e19 SHA256 1639e8db2d294a032cb035431aa3af7fe100d55281ca2d754dd94ff01711b78c MISC metadata.xml 310 RMD160 1568615d45618d4e162f7c4fb583d126347ea803 SHA1 a4a8bd0e07eb2ea484db1df5f38d8a4440cd1a62 SHA256 48dccd47092ba73ed46427ea9db7071fc1fde9753398b0f9c7d8b40a530e6416 diff --git a/files/hooke-9999.cfg b/files/hooke-9999.cfg new file mode 100644 index 0000000..c048cf5 --- /dev/null +++ b/files/hooke-9999.cfg @@ -0,0 +1,13 @@ +# Commands for managing a command stack (similar to macros). +[command_stack plugin] +# Directory containing command stack files. +path = ~/.hooke/resources/command_stack + +# wxWindows graphical user interface. +[gui user interface] +# Path to the hooke icon image. +icon image = /usr/share/doc/hooke-9999/img/microscope.ico +# Path to the Hooke splash screen image. +splash screen image = /usr/share/doc/hooke-9999/img/hooke.jpg +# Directory containing perspective files. +perspective path = ~/.hooke/resources/gui/perspective diff --git a/hooke-9999.ebuild b/hooke-9999.ebuild index 9605938..5a59644 100644 --- a/hooke-9999.ebuild +++ b/hooke-9999.ebuild @@ -33,6 +33,7 @@ RDEPEND="dev-python/matplotlib X? ( >=dev-python/wxpython-2.8 )" DEPEND="${RDEPEND} doc? ( + dev-libs/libxslt dev-python/numpydoc dev-util/scons )" @@ -67,9 +68,13 @@ src_compile() { } src_install() { - dodoc AUTHORS CHANGELOG README + distutils_src_install if use doc ; then dohtml -r doc/build/html/* fi - distutils_src_install + dodoc AUTHORS CHANGELOG README + insinto "/usr/share/doc/${PF}/img" + doins doc/img/{hooke.jpg,microscope.ico} + insinto "/etc/${PN}" + newins "${FILESDIR}/${P}.cfg" "${PN}.cfg" }