Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage


Modified Files:
        FAQ INSTALL build_icon.sh 


Log Message:
Oh mamma... build_icon.sh now installs the icons it creates and engage will pick them 
up _immediately :)
Also if you then delete the icon from ~/.e/apps/engage/launcher it will be removed :)
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/FAQ,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- FAQ 6 Oct 2004 15:20:18 -0000       1.1
+++ FAQ 8 Oct 2004 21:34:21 -0000       1.2
@@ -1,8 +1,9 @@
 Q; Why do I have no icons?
-A: You need to create some! - use the provided build_icon.sh to create them and place 
them in ~/.e/apps/engage/launcher/
+A: You need to create some! - use the provided build_icon.sh to create them and 
install them for you.
 
 Q: Why are my icons question marks?
-A: You have no mapping for the running application - use the builc_icon.sh to create 
the icon and place it in ~/.e/apps/engage/mapping/
+A: You have no mapping for the running application - the build_icon.sh will
+install a mapping for any app it creates an icon for.
 
 Q: How do I know what arguments to use for the build_icon.sh?
 A: Easy :
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/INSTALL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- INSTALL     5 Oct 2004 21:51:18 -0000       1.4
+++ INSTALL     8 Oct 2004 21:34:21 -0000       1.5
@@ -11,15 +11,14 @@
 To install (run this as root, or the user who handles installs):
     make install
 
-you need to make ~/.e/apps/engage/launcher/ and ~/.e/apps/engage/mapping/
-use the build_icon.sh script to build icon files to populate the two directories.
+You need to use the build_icon.sh script (as the user that will be running
+engage, not root!) to build icon files for your apps.
+The script will install both the mapping and the launch icon, you may wish to
+remove the launch icon and leave just the mapping in place - instructions on
+how to do so follow the successful install of an icon using the build script.
 These icons are compatible with the upcoming e17 e_app icons with some
 modifications agreed with raster.
 
-The launcher directory should have icons placed in it that will always appear
-on the bar. the mapping directory should contain icons for mapping application
-windows to icons on the bar.
-
 Unmatched windows will pick up the xapp.eet in the shared directory which has
 no icon - _unless_ the theme overrides this icon!
 
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/build_icon.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- build_icon.sh       6 Oct 2004 15:20:18 -0000       1.2
+++ build_icon.sh       8 Oct 2004 21:34:21 -0000       1.3
@@ -5,7 +5,7 @@
   exit;
 fi
 
-cp $5 /tmp/icon_source.png
+cp $5 /tmp/engage_icon.png
 
 echo "data { \
 item: \"app/name\" \"$1\";\
@@ -13,7 +13,7 @@
 item: \"app/window/class\" \"$3\";\
 item: \"app/window/name\" \"$4\";\
 }\
-images { image: \"/tmp/icon_source.png\" COMP; }\
+images { image: \"/tmp/engage_icon.png\" COMP; }\
 collections { group {\
 name: \"icon\";\
 max: 48 48;\
@@ -23,7 +23,12 @@
 description {\
 state: \"default\" 0.0;\
 aspect: 1.0 1.0;\
-image.normal: \"/tmp/icon_source.png\";
-} } } } }" > /tmp/icon_sources.edc
+image.normal: \"/tmp/engage_icon.png\";
+} } } } }" > /tmp/engage_icon.edc
 
-edje_cc /tmp/icon_sources.edc "$1.eet"
+edje_cc /tmp/engage_icon.edc
+cp /tmp/engage_icon.eet "$HOME/.e/apps/engage/mapping/$1.eet"
+cp /tmp/engage_icon.eet "$HOME/.e/apps/engage/launcher/$1.eet"
+
+echo "$1.eet installed to your engage bar, it should appear now - to remove it
+from the launch area remove ~/.e/apps/engage/launcher/$1.eet"




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to