Move pkg-config libs after other LDFLAGS. Closes issue #245.

This commit is contained in:
Kris Maglione 2011-10-20 04:55:58 -04:00
parent 5a4f28cb58
commit 9ad3690ed9
2 changed files with 18 additions and 5 deletions

View File

@ -1,16 +1,20 @@
.TH "WITRAY" 1 "May, 2010" "wmii-@VERSION@" .TH "WITRAY" 1 "May, 2010" "wmii-@VERSION@"
.SH NAME .SH NAME
.P .P
witray \- The wmii system tray witray \- The wmii system tray
.SH SYNOPSIS .SH SYNOPSIS
.P .P
witray \fI[\-a \fI<address>\fR]\fR \fI[\-NESW]\fR \fI[\-HV]\fR \fI[\-p \fI<padding>\fR]\fR \fI[\-s \fI<iconsize>\fR]\fR \-t (tags) witray [\fI\-a \fI<address>\fR\fR] [\fI\-NESW\fR] [\fI\-HV\fR] [\fI\-p \fI<padding>\fR\fR] [\fI\-s \fI<iconsize>\fR\fR] \-t (tags)
.P .P
witray \-v witray \-v
.SH DESCRIPTION .SH DESCRIPTION
.P .P
\fBwitray\fR is a simple system tray program meant to be used with wmii. \fBwitray\fR is a simple system tray program meant to be used with wmii.
It supports the Freedesktop System Tray Protocol Specification It supports the Freedesktop System Tray Protocol Specification
@ -21,6 +25,7 @@ tailored to wmii. It's simple, stays out of the user's way, is easy
to configure, and generally Just Works. to configure, and generally Just Works.
.SH ARGUMENTS .SH ARGUMENTS
.TP .TP
\-a \-a
The address at which to connect to \fBwmii\fR. The address at which to connect to \fBwmii\fR.
@ -35,6 +40,7 @@ East_ corner of the screen. If no options are given,
\fBwitray\fR opens to the West of whichever part of the screen \fBwitray\fR opens to the West of whichever part of the screen
the wmii bar occupies. the wmii bar occupies.
.RE .RE
.TP .TP
\-H \-V \-H \-V
@ -43,6 +49,10 @@ Specifies whether icons are to be aligned horizontally or
vertically, respectively. Also determines from which edge of vertically, respectively. Also determines from which edge of
the screen windows are shunted to make room for the tray. the screen windows are shunted to make room for the tray.
.RE .RE
.TP
\-n
Do not replace an already running system tray.
.TP .TP
\-p \fI<padding>\fR \-p \fI<padding>\fR
@ -50,6 +60,7 @@ the screen windows are shunted to make room for the tray.
Sets the padding between icons and around the edge of the Sets the padding between icons and around the edge of the
tray. In pixels. tray. In pixels.
.RE .RE
.TP .TP
\-s \fI<iconsize>\fR \-s \fI<iconsize>\fR
@ -58,12 +69,14 @@ Sets the size of the icons, in pixels. If not provided,
icons are sized so that the tray is the same height as the icons are sized so that the tray is the same height as the
\fBwmii\fR bar. \fBwmii\fR bar.
.RE .RE
.TP .TP
\-t \fI<tags>\fR \-t \fI<tags>\fR
.RS .RS
The tags on which to open. Default: \fI/./\fR The tags on which to open. Default: \fI/./\fR
.RE .RE
.TP .TP
\-v \-v
@ -72,14 +85,14 @@ Display version information.
.RE .RE
.SH CAVEATS .SH CAVEATS
.P .P
\fBwitray\fR is not XRandR aware. \fBwitray\fR is not XRandR aware.
.SH SEE ALSO .SH SEE ALSO
.P .P
wmii(1), wimenu(1) wmii(1), wimenu(1)
.\" man code generated by txt2tags 2.6 (http://txt2tags.org)
.\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
.\" cmdline: txt2tags -o- witray.man1 .\" cmdline: txt2tags -o- witray.man1

View File

@ -4,7 +4,7 @@ LD=$1
PACKAGES=$2 PACKAGES=$2
LDFLAGS=$3; shift 3 LDFLAGS=$3; shift 3
[ -n "$PACKAGES" ] && LDFLAGS="$(pkg-config --libs $PACKAGES) $LDFLAGS" [ -n "$PACKAGES" ] && LDFLAGS="$LDFLAGS $(pkg-config --libs $PACKAGES)"
outfile="$1"; shift outfile="$1"; shift
bin="$(echo $0 | sed 's,/[^/]*$,,')" bin="$(echo $0 | sed 's,/[^/]*$,,')"