[proaudio] [2178] non-things: added a launch script for the manual; added the associated environment variable |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/proaudio Archives
]
Revision: 2178
Author: dominique
Date: 2012-07-21 14:51:15 +0200 (Sat, 21 Jul 2012)
Log Message:
-----------
non-things: added a launch script for the manual; added the associated environment variable
Modified Paths:
--------------
trunk/overlays/proaudio/media-sound/non-things/ChangeLog
trunk/overlays/proaudio/media-sound/non-things/Manifest
trunk/overlays/proaudio/media-sound/non-things/non-things-9999.ebuild
Added Paths:
-----------
trunk/overlays/proaudio/media-sound/non-things/files/61browser
trunk/overlays/proaudio/media-sound/non-things/files/x-www-browser
Modified: trunk/overlays/proaudio/media-sound/non-things/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/non-things/ChangeLog 2012-07-21 07:12:40 UTC (rev 2177)
+++ trunk/overlays/proaudio/media-sound/non-things/ChangeLog 2012-07-21 12:51:15 UTC (rev 2178)
@@ -8,6 +8,9 @@
Rename non-daw -> non-things
-files/non-daw-9999-Makefiles.patch: obsolete
+files/non_makefile.patch: add missing fltk flags
+ +files/x-www-browser: srcipt to launch Help -> Manual
+ +files/61browser: set $BROWSER i the environement, used by x-www-browser
+ When doing this ebuild, I found how to launch firefox with portage. lol
20 May 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx> non-daw-9999.ebuild,
+files/non-daw-9999-Makefiles.patch:
Modified: trunk/overlays/proaudio/media-sound/non-things/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/non-things/Manifest 2012-07-21 07:12:40 UTC (rev 2177)
+++ trunk/overlays/proaudio/media-sound/non-things/Manifest 2012-07-21 12:51:15 UTC (rev 2178)
@@ -1,4 +1,6 @@
+AUX 61browser 27 SHA256 17c63997a54a85e7412b854ea2405fb55336a50e37ff763bc235bd8eb275d3ef SHA512 8a98dfc431a4beec0a8f9f28dc8fe7a019837b5240e9f977fd064fdedbddcc4c8bd18b2c5a484f74abddabe2f78192181fa689c90d9b89888220d4314ed4277f WHIRLPOOL 2d3a4f631dc43ebf9aea0889d796ffaab086aac3f78e32d72190228ac5273dbc571538d80284623f8e397d697f42bacb84edbded4e04a2e502007e81ec3e6cbb
AUX non_makefile.patch 341 SHA256 b53f5bf858560a5ddb931c7b0b22b758d930e7e373055bcb0cc19900f5d3c07f SHA512 b3d2827d8d8c1e8a6c6a63c78121bc8e0f8f1ea980b777615b0a1f92389bf186ce3acb553bfdd3d0204d8b09d43b79dd9430d95e4cbfe32217cc98f614e80cf8 WHIRLPOOL b4c6e00174df9eb94477f0f33e2fe95edca3b20f4cac932b84bf7b4fabcde5bb686e2315f6b3d380b73057a59d8c07e3049e688b4ded8a14a54f3b0ac35dc190
-EBUILD non-things-9999.ebuild 2253 SHA256 a0e039c123bcd1ab4330e9c87da75e917fd03702a6ac8b3d5b1a7882246e3442 SHA512 1900b7a748a27b7154f4c32c3b8d406d0d97b26f00c51aeb16d041cf51caa9621544acb8e2dbbd4eea713b227870db901e5d46f0f003c29d7c14cf5071a40eed WHIRLPOOL 3b630a067c46220f6d8020b7533b3c0433c809cee74cba2a35945797186c05f9bb5938d17af4c2731f78a839bd79c5fb51c716dae65b8ed1b1a3c9133f25ba18
-MISC ChangeLog 885 SHA256 275c158bf37b9f46d97fe9eb827ee5ef0a2ebe6fc44d1d0c2ab842090a41a214 SHA512 f28ce489168ff79a387b94fb4f577562f995c8d5c1d45838415bf0625ae4ed8f5a0237c2e80c080f4b000e996d1cadf524abdbd2d0ae9844202484469995a22a WHIRLPOOL a3aced06dc4feccb44170e7e1b959afc4f594707164e3521dc247b253bfc4a73285be1d746b52c1d3fd6a53134b3457a52f6cfecf1ada552e220ab871cfe6528
+AUX x-www-browser 381 SHA256 4ebaf78075b2d1c73e9289bddc2012209109739694a8e9c4ea85821e7febc373 SHA512 fb76f4664cad0c68abecddf37ddf9fa0bda05e3856bfc9965b04c1174be52e5742f9d360c1e5657323b57f4ddbf2952788ff9b1153b7455b516a9742ac0b9ca2 WHIRLPOOL 9c2a32e6fc8de9333f6bd71e9e2125026bd55afc446afb61ffa6f0ab3333f8c60921ebbff3d0614808f609b6a1f2b4e0d3f0143681293644fbbb8627d54a06c6
+EBUILD non-things-9999.ebuild 2834 SHA256 551cc5ca7087873dc45ec216f69bc8c45895426243b14b88186e7179adbaec3e SHA512 64503e3d07c703ea75d3d74ef1dcae0edaf82785609227a28782e8ce291c0356c0a54ca503d6ea9f4c5cb4e676a68d7337e7a3b2dfad9087fb5c53bcbd22c597 WHIRLPOOL f7404ad3b64cb41fc322f1cbcd618d77bc8aa3e2490705951316b76a9e9f5429d58ea35628dc8931fdb675290c3cfdb2ec93331f4b87ab6b3f2b7c69e76479d2
+MISC ChangeLog 1090 SHA256 06d0c9748edf0097f3c67b5d158f91b6d8252f0dfd6c0695f03203c24eed6534 SHA512 41d012aaf8527ba868c83ba19417c2d4ff2a47bfcdef10d904f67826b6d09b6a71738f11d1d47f6cee8920ff4fa5fc9234a323a66b0e9140ed7cba21d8e24dd5 WHIRLPOOL 1aae7dea3437e29b427eef743561f3778189352140fa2217ab145f25435e9e7a77258824a37fda2705fef89abefa06764a9da670dbce5de7296473c7f1fa0629
MISC metadata.xml 268 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89 SHA512 3d709a016692f887d642d19b2644c10a09f666133f1f035b8a4c10e5772fbb39fa84a856a496d392594ccf850739fbf46ffa78ecc74214e8342ee97676b375e9 WHIRLPOOL 17c886c5b97925bd9223c0210170a63e55a2c2a238ae81ebf8efa14109d790406f45d0773d63bea825c1e40b058bd9e20a5d9c264da4db7c8fd2e556ecd83b2a
Added: trunk/overlays/proaudio/media-sound/non-things/files/61browser
===================================================================
--- trunk/overlays/proaudio/media-sound/non-things/files/61browser (rev 0)
+++ trunk/overlays/proaudio/media-sound/non-things/files/61browser 2012-07-21 12:51:15 UTC (rev 2178)
@@ -0,0 +1 @@
+BROWSER="/usr/bin/firefox"
Added: trunk/overlays/proaudio/media-sound/non-things/files/x-www-browser
===================================================================
--- trunk/overlays/proaudio/media-sound/non-things/files/x-www-browser (rev 0)
+++ trunk/overlays/proaudio/media-sound/non-things/files/x-www-browser 2012-07-21 12:51:15 UTC (rev 2178)
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+if [ -z "$BROWSER" ]
+then
+ echo "Please, set-up the environmental varable BROWSER."
+ echo "Example: add the something like the following in ~/.bash_profile"
+ echo ""
+ echo "export BROWSER=\"/usr/bin/firefox\""
+ echo ""
+ exec firefox -new-window $* &
+else
+ if
+ [ "$BROWSER" == "/usr/bin/firefox" ]
+ then
+ exec $BROWSER -new-window $* &
+ else
+ exec $BROWSER $* &
+ fi
+fi
Property changes on: trunk/overlays/proaudio/media-sound/non-things/files/x-www-browser
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/overlays/proaudio/media-sound/non-things/non-things-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/non-things/non-things-9999.ebuild 2012-07-21 07:12:40 UTC (rev 2177)
+++ trunk/overlays/proaudio/media-sound/non-things/non-things-9999.ebuild 2012-07-21 12:51:15 UTC (rev 2178)
@@ -96,4 +96,19 @@
dobin "${S}/timeline/bin/import-external-sources"
dobin "${S}/timeline/bin/remove-unused-sources"
fi
+ # debian specific command, fake it with a little script,
+ # necessary to launch Help -> Manual
+ dobin "${FILESDIR}/x-www-browser"
+ doenvd "${FILESDIR}/61browser"
}
+
+pkg_postinst() {
+ ewarn "If it is the first time you install ${PN},"
+ ewarn "You should review the value of BROWSER in /etc/env.d/61browser"
+ ewarn ""
+ ewarn "If running X, the best is to log-out and re-login."
+ ewarn "As alternative, you can run in a terminal"
+ ewarn " env-update && source /etc-profile"
+ ewarn "and run the Non Things from the same terminal."
+ ewarn "Otherwise, Help -> Manual will do nothing."
+}