diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-07 18:08:16 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:05 +0700 |
commit | a4f3faca3e6890bfbc8fc052ee7d0478f078ba2b (patch) | |
tree | dd409181a260ff70cdea17ff90d5d362daa7126d /desktop/trayer-srg | |
parent | bfce5eb112a44b44d0d699631ece29a4cc8e9f98 (diff) |
desktop/trayer-srg: Grammar/spelling fixes.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/trayer-srg')
-rw-r--r-- | desktop/trayer-srg/README | 4 | ||||
-rw-r--r-- | desktop/trayer-srg/spelling_grammar_fixes.diff | 122 | ||||
-rw-r--r-- | desktop/trayer-srg/trayer-srg.SlackBuild | 18 |
3 files changed, 133 insertions, 11 deletions
diff --git a/desktop/trayer-srg/README b/desktop/trayer-srg/README index 1557a266fff3..9f197159c2e7 100644 --- a/desktop/trayer-srg/README +++ b/desktop/trayer-srg/README @@ -1,7 +1,9 @@ +trayer-srg (GTK2-based systray for UNIX desktop) + trayer is a small program designed to provide systray functionality present in GNOME/KDE desktop environments for window managers which do not support that function. It's similar to other applications such as 'peksystray' and 'docker'. trayer-srg was forked from trayer in 2010 to add some fancy features -and clean up code. +and clean up the code. diff --git a/desktop/trayer-srg/spelling_grammar_fixes.diff b/desktop/trayer-srg/spelling_grammar_fixes.diff new file mode 100644 index 000000000000..11b37c7f8834 --- /dev/null +++ b/desktop/trayer-srg/spelling_grammar_fixes.diff @@ -0,0 +1,122 @@ +diff -Naur trayer-srg-trayer-1.1.8/README trayer-srg-trayer-1.1.8.patched/README +--- trayer-srg-trayer-1.1.8/README 2018-03-16 06:13:40.000000000 -0400 ++++ trayer-srg-trayer-1.1.8.patched/README 2021-09-07 17:59:05.721290632 -0400 +@@ -1,7 +1,7 @@ + trayer-srg + + NAME +- trayer-srg is a lightweight GTK2-based systray for UNIX desktop ++ trayer-srg is a lightweight GTK2-based systray for UNIX desktops + + SYNOPSYS + trayer [OPTION]... +@@ -10,8 +10,8 @@ + trayer-srg was forked from trayer in january 2010 to add some + fancy features and clean up code. + +- trayer is small program designed to provide systray functionality present +- in GNOME/KDE desktop enviroments for window managers which doesn't ++ trayer is small program designed to provide systray functionality (present ++ in GNOME/KDE desktop environments) for window managers that don't + support that function. It's similar to other applications such as + 'peksystray' and 'docker'. + +@@ -31,22 +31,22 @@ + --align - alignment <left|center|right> + --margin - length of margin in pixels + --distance - space between trayer's window and screen edge +- --distancefrom - Specifies which edge to calculate distance from, see above. ++ --distancefrom - specifies which edge to calculate distance from, see above. + --widthtype - how panel width is calculated: + request - follow widgets' size requests. can shrink or grow dynamically + pixel - ocupy fixed number of pixels, then 'width' variable holds a number + percent - be 'width' precent of an edge + --width - width of a panel (not used with --widthtype=request) +- --heighttype - how panel height is calcilated: +- pixel - ocupy fixed number of pixels, then 'height' variable ++ --heighttype - how panel height is calculated: ++ pixel - occupy fixed number of pixels, then 'height' variable + holds a number + --height - height of a panel in pixels +- --SetDockTpe - Identify panel window type as dock <true|false> +- --SetPartialStrut - Reserve panel's space so that it will not be covered by +- maximazied windows <true|false> ++ --SetDockTpe - identify panel window type as dock <true|false> ++ --SetPartialStrut - reserve panel's space so that it will not be covered by ++ maximized windows <true|false> + --transparent - use transparency <true|false> + --tint - color used to "tint" background wallpaper with +- --alpha - pocentage of transparency <0-256> ++ --alpha - percentage of transparency <0-256> + --expand - specifies if trayer can accomodate extra space + or not <true|false> + --padding - extra space between trayer's window frame and docked icons +diff -Naur trayer-srg-trayer-1.1.8/man/trayer.1 trayer-srg-trayer-1.1.8.patched/man/trayer.1 +--- trayer-srg-trayer-1.1.8/man/trayer.1 2018-03-16 06:13:40.000000000 -0400 ++++ trayer-srg-trayer-1.1.8.patched/man/trayer.1 2021-09-07 18:07:03.116235098 -0400 +@@ -1,15 +1,15 @@ + .TH TRAYER-SRG 1 LOCAL + .SH NAME +- trayer-srg - a lightweight GTK2-based systray for UNIX desktop ++ trayer-srg - a lightweight GTK2-based systray for UNIX desktops + .SH SYNOPSYS + .B trayer + .B "[ + .I OPTIONS + .B "] + .SH DESCRIPTION +-trayer is small program designed to provide systray functionality present in GNOME/KDE desktop enviroments for window managers which doesn't support that function. It's similar to other applications such as 'peksystray' and 'docker'. ++trayer is small program designed to provide systray functionality (present in GNOME/KDE desktop environments) for window managers which don't support that function. It's similar to other applications such as 'peksystray' and 'docker'. + +-trayer code was extracted from fbpanel application, you can find more about it on it's homepage: ++trayer code was extracted from fbpanel application, you can find more about it on its homepage: + .IB http://fbpanel.sourceforge.net/ + + You can find new versions of trayer and support on FVWM-Crystal project homepage: +@@ -27,7 +27,7 @@ + .BR \-v + prints version and exits + .TP +-.BR \--edge " EDGE" ++.BR \-\-edge " EDGE" + Use + .I EDGE + for orientation. Possible values for +@@ -112,7 +112,7 @@ + .BR true. + .TP + .BR \--SetPartialStrut " BOOL" +-Reserve panel's space so that it will not be covered by maximazied windows. The ++Reserve panel's space so that it will not be covered by maximized windows. The + default value is + .BR false. + .TP +@@ -144,23 +144,23 @@ + .BR 0. + .TP + .BR \--monitor " NUM|STRING" +-Define the monitor on which you like trayer to appear, number of zero to number +-of monitors minus one, or the string "primary" are valid. The default value is ++Define the monitor on which you'd like trayer to appear. 0 to (number ++of monitors minus one), or the string "primary", are valid. The default value is + .BR 0. + .SH EXAMPLES + .LP + Place trayer to the top right edge of the screen and prevent other fullsize +-windows to overlay it: ++windows from overlaying it: + .RS + .nf +-\f8trayer trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --transparent true\fP ++\fBtrayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --transparent true\fP + .fi + .RE + .SH BUGS + Report bugs to the issue tracker: + .I https://github.com/sargon/trayer-srg/issues + .SH CONTRIBUTORS +- Following people are or has been involved in development of trayer-srg: ++The following people are or have been involved in development of trayer-srg: + + .IP "Maciej Delmanowski <harnir@users.berlios.de>" + .IP "Anatoly Asviyan <aanatoly@users.sf.net> diff --git a/desktop/trayer-srg/trayer-srg.SlackBuild b/desktop/trayer-srg/trayer-srg.SlackBuild index 6896dd149119..1d29a349ce0d 100644 --- a/desktop/trayer-srg/trayer-srg.SlackBuild +++ b/desktop/trayer-srg/trayer-srg.SlackBuild @@ -24,8 +24,8 @@ # Now maintained by B. Watson (yalhcru@gmail.com) +# 20210907 bkw: BUILD=2, spelling/grammar fixes in docs. # 20180612 bkw: updated for v1.1.8. - # 20170708 bkw: # - updated for v1.1.7. # - stop installing INSTALL in doc dir. @@ -43,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=trayer-srg VERSION=${VERSION:-1.1.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,9 +55,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -94,12 +91,13 @@ rm -rf $TARNAM-$VERSION tar xvf $CWD/$TARNAM-$VERSION.tar.?z* cd $TARNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ + +patch -p1 < $CWD/spelling_grammar_fixes.diff +# not a real (autotools) configure script, notice non-canonical use +# of --prefix here! ./configure --prefix=/usr/bin CFLAGS="$SLKCFLAGS" make # This will also strip the executable |