Changeset 1271 for spec/trunk/SPECS
- Timestamp:
- Dec 14, 2017, 4:33:21 PM (8 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 3 edited
-
bww-resources-rpm.spec (modified) (2 diffs)
-
bww-resources-rpm/bww-fix-docdir.cmd (modified) (1 diff)
-
bww-resources-rpm/macros.bww (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/bww-resources-rpm.spec
r1249 r1271 4 4 Summary: bitwise works icons and folders 5 5 Name: bww-resources-rpm 6 Version: 1.1. 07 Release: 3%{?dist}6 Version: 1.1.1 7 Release: 1%{?dist} 8 8 License: Proprietory 9 9 Group: Applications/System … … 96 96 97 97 %changelog 98 * Thu Dec 14 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.1-1 99 - added bww_app_shadow and removed the -s switch from bww_app 100 98 101 * Wed Oct 04 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.0-3 99 102 - changed bww_doc to bww_docdir -
spec/trunk/SPECS/bww-resources-rpm/bww-fix-docdir.cmd
r1249 r1271 8 8 LenLN = d2x(length(Longname)) 9 9 if debug then say prg': "'Docfldr'"' 10 ok = SysSetObjectData(DocFldr, " ALWAYSSORT=YES;DEFAULTSORT=-1;SHOWALLINTREEVIEW=YES;DEFAULTVIEW=TREE;NODELETE=YES;")10 ok = SysSetObjectData(DocFldr, "OBJECTID=<RPMYUM_DOCFLDR>;ALWAYSSORT=YES;DEFAULTSORT=-1;SHOWALLINTREEVIEW=YES;DEFAULTVIEW=TREE;NODELETE=YES;") 11 11 if ok = 1 & debug then say prg": Adjusted view successfully." 12 12 ok = SysPutEA(DocFldr,'.LONGNAME', x2c("FDFF")||x2c(LenLN||"00")||LongName) -
spec/trunk/SPECS/bww-resources-rpm/macros.bww
r1249 r1271 48 48 # bww_app creates: 49 49 # a object in the bww folder (will get a BWW_%{name}_<ID>_APP WPS object ID) 50 # a shadow of the object on the desktop (if requested) (will get a BWW_%{name}_<ID>_APP_SHADOW WPS object ID)51 #52 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!53 # !!!!!! be aware that the -s option (if used) is not the last option. !!!!!!54 # !!!!!! as else the complete object is not generated. !!!!!!55 # !!!!!! this looks like a rpm issue !!!!!!56 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!57 50 # 58 51 # %bww_app [ID] -f APP -t TITLE [-n PACKAGE] [-s] [-a ASSOCIATIONS] [-i ICON] [-d STARTUPDIR] … … 68 61 # installation! 69 62 # -d STARTUPDIR (when provided: this value is set as STARTUPDIR in the wps object) 70 # -s (when provided: create a shadow on the desktop)71 63 # 72 64 73 %bww_app(f:t:n:a:i:d: s)\65 %bww_app(f:t:n:a:i:d:)\ 74 66 %{!-f:%{error:%0: Missing mandatory EXEFILE parameter}}\ 75 67 %{!-t:%{error:%0: Missing mandatory TITLE parameter}}\ … … 82 74 %global __bww_app_name %{-f*}\ 83 75 %wps_object_create %{__bww_app_id}:WPProgram|%{__bww_app_title}|<%{__bww_folder_id}>|EXENAME=((%{__bww_app_name}));%{__bww_app_startupdir}TITLE=%{__bww_app_title};%{__bww_app_icon}%{__bww_app_assoc}\ 84 %{-s:%wps_object_create %{__bww_app_id}_SHADOW:WPShadow|%{__bww_app_title}|<WP_DESKTOP>|SHADOWID=<%{__bww_app_id}>;}\ 76 %{nil} 77 78 # bww_app_shadow creates: 79 # a shadow of the object on the given WPS destination (will get a BWW_%{name}_<ID>_APP_SHADOW WPS object ID) 80 # 81 # 82 # %bww_app_shadow [ID] -t TITLE [-n PACKAGE] [-d WPSID] 83 # ID (when provided: this ID is added to the WPS id) 84 # -t TITLE (Mandatory: use TITLE as the app title) 85 # (TITLE *must* be a %global macro if with spaces) 86 # -n PACKAGE (when provided: associate the folder with PACKAGE, else with %{name}) 87 # -d WPSID (when provided: use this ID as the parent, else use WP_DESKTOP) 88 # 89 90 %bww_app_shadow(t:n:d:)\ 91 %{!-t:%{error:%0: Missing mandatory TITLE parameter}}\ 92 %bww_create_folder_id\ 93 %bww_create_app_id\ 94 %global __bww_app_title %{-t*}\ 95 %global __bww_app_shadowdest %{!-d:WP_DESKTOP}%{-d:%{-d*}}\ 96 %wps_object_create %{__bww_app_id}_%{__bww_app_shadowdest}_SHADOW:WPShadow|%{__bww_app_title}|<%{__bww_app_shadowdest}>|SHADOWID=<%{__bww_app_id}>;\ 85 97 %{nil} 86 98
Note:
See TracChangeset
for help on using the changeset viewer.
