diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-11-20 12:29:08 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-11-20 13:15:12 +0100 |
commit | d7d5e0279d1643b97ab6d647a619cfd110f7a094 (patch) | |
tree | 3ca635d1314b98d43dc74c9c79328697c77b5665 /x11-misc/trayer | |
parent | net-libs/libprotoident: Version 2.0.14_p1 (diff) | |
download | gentoo-d7d5e0279d1643b97ab6d647a619cfd110f7a094.tar.gz gentoo-d7d5e0279d1643b97ab6d647a619cfd110f7a094.tar.bz2 gentoo-d7d5e0279d1643b97ab6d647a619cfd110f7a094.zip |
x11-misc/trayer: Switch to Sourceforge HOMEPAGE/SRC_URI
- gna.org is down
- Trivially fix parallel make issue
- Keep a local copy of trayer.1 that is missing from the source tarball
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Fixes: https://bugs.gentoo.org/700716
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'x11-misc/trayer')
-rw-r--r-- | x11-misc/trayer/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/trayer/files/trayer.1 | 186 | ||||
-rw-r--r-- | x11-misc/trayer/trayer-1.0-r4.ebuild | 41 |
3 files changed, 228 insertions, 0 deletions
diff --git a/x11-misc/trayer/Manifest b/x11-misc/trayer/Manifest index 3abe456d6a40..a2fa373bc415 100644 --- a/x11-misc/trayer/Manifest +++ b/x11-misc/trayer/Manifest @@ -1 +1,2 @@ +DIST trayer-1.0-sourceforge.tar.gz 29713 BLAKE2B 6a874781979c512e4fea06b0dcef30be73821e502553ebdad38ab2e152d070f6633dd6f8059d5532a51648ea10cbdfd752a65da11d2a992687a6f3ee4d289d01 SHA512 9903a78a1c185515e87552732449937daa23187d54a3ccbf19bc9fc569d6a440600c879fe78edbea3eff6b66a1f3fc5054d474dfeaca53af3521a6f18b454049 DIST trayer-1.0.tar.gz 30445 BLAKE2B f95df1496392064b803e712e57a4ec76ed6e9a62dadb254eb044954e38620590cd486dc37d46d56598a7f2db5f27051db47e78df2d788092ccf3cdb7707978e0 SHA512 c46093ee18908b7cf8e52d2f10adeb0eefc90562b87862a5459cc4563e53528107ee1dba47b1cb88e378bdac40d64a1d8cb9ecbf014aef997c44f242b49534f7 diff --git a/x11-misc/trayer/files/trayer.1 b/x11-misc/trayer/files/trayer.1 new file mode 100644 index 000000000000..a00cdbadecd1 --- /dev/null +++ b/x11-misc/trayer/files/trayer.1 @@ -0,0 +1,186 @@ +.TH TRAYER 1 "Feb 14, 2005" "FVWM\-Crystal" +.SH NAME +trayer \- a lightweight GTK2\-based systray for UNIX desktop +.SH SYNOPSIS +.B trayer \-h +.br +.B trayer \-v +.br +.B trayer +.\" +.RB [\| \-\-edge +.RI \| left \||\| right \||\| top \||\| bottom \||\| none \|] +.\" +.RB [\| \-\-align +.RI \| left \||\| right \||\| center \|] +.\" +.RB [\| \-\-margin +.RI \| <size> \|] +.\" +.RB [\| \-\-widthtype +.RI \| request \||\| pixel \||\| percent +.RI \|] +.\" +.RB [\| \-\-width +.RI \| <size> \|] +.\" +.RB [\| \-\-heighttype +.RI \| <pixel> \|] +.\" +.RB [\| \-\-height +.RI \| <size> \|] +.\" +.RB [\| \-\-SetDockType +.RI \| true \||\| false \|] +.\" +.RB [\| \-\-SetPartialStrut +.RI \| true \||\| false \|] +.\" +.RB [\| \-\-transparent +.RI \| true \||\| false \|] +.\" +.RB [\| \-\-alpha +.RI \| <value> \|] +.\" +.RB [\| \-\-tint +.RI \| <color> \|] +.\" +.RB [\| \-\-distance +.RI \| <length> \|] +.\" +.RB [\| \-\-expand +.RI \| true \||\| false \|] +.\" +.RB [\| \-\-padding +.RI \| <size> \|] +.\" +.SH DESCRIPTION +.B trayer +is small program designed to provide system tray similar to these in +.B GNOME +/ +.B KDE +desktop environments for window managers which does not +support that function. It is similar to other applications such as +.B peksystray +and \fBdocker\fP. +.PP +System tray is a place, where many applications put their icons, so they are +always visible. Such icons may present status of an application and allow user +to control the program. +.PP +\fBtrayer\fP code was extracted from \fBfbpanel\fP application, you can find more +about it on its homepage: http://fbpanel.sourceforge.net/. +.SH OPTIONS +This programs follow the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +.TP +.B \-h +Show summary of options and exit. + +.TP +.B \-v +Show version of program and exit. + +.TP +\fB\-\-edge\fP \fIleft\fP\||\|\fIright\fP\||\|\fItop\fP\||\|\fIbottom\fP\||\|\fInone\fP +Specifies a screen edge to use. + +.TP +\fB\-\-align\fP \fIleft\fP\||\|\fIcenter\fP\||\|\fIright\fP +Specifies an align of the icons. + +.TP +\fB\-\-margin\fP \fI<size>\fP +Specifies length of margin (in pixels) + +.TP +\fB\-\-widthtype\fB \fIrequest\fP\||\|\fIpixel\fP\||\|\fIpercent\fP +Specifies method of calculating trayer's window width: +.RS +.TP +\fIrequest\fP +Follow application icons' size, so trayer may shrink or expand dynamically. + +.TP +\fIpixel\fP +Set a fixed size, given with \fB\-\-width\fP option in pixels. + +.TP +\fIpercent\fP +Set a fixed size, given with \fB\-\-width\fP option in percentage of a lenght of screen edge. +.RE + +.TP +\fB\-\-width\fP \fI<size>\fP +Width of trayer's window. Ignored when \fB\-\-widthtype\fP is set to \fIrequest\fP. + +.TP +\fB\-\-heighttype\fP \fIrequest\fP\||\|\fIpixel\fP\||\|\fIpercent\fP +Specifies method of calculating trayer's window height: +.RS +.TP +\fIrequest\fP +Follow application icons' size, so trayer may shrink or expand dynamically. + +.TP +\fIpixel\fP +Set a fixed size, given with \fB\-\-height\fP option in pixels. + +.TP +\fIpercent\fP +Set a fixed size, given with \fB\-\-height\fP option in percentage of a lenght of screen edge. +.RE + +.TP +\fB\-\-height\fP \fI<size>\fP +Height of trayer's window. Ignored when \fB\-\-heighttype\fP is set to \fIrequest\fP. + +.TP +\fB\-\-SetDockType\fP \fItrue\fP\||\|\fIfalse\fP +Identify panel window type as dock. + +.TP +\fB\-\-SetPartialStrut\fP \fItrue\fP\||\|\fIfalse\fP +Reserve panel space so that it will not be covered by maximized windows. + +.TP +\fB\-\-transparent\fP \fItrue\fP\||\|\fIfalse\fP +Use transparency. + +.TP +\fB\-\-alpha\fP \fI<value>\fP +Percentage of transparency (0 \- nontransparent, 256 \- fully transparent) + +.TP +\fB\-\-tint\fP \fI<color>\fP +Color used to tint transparent background. Color is given as a 24-bit C hexadecimal integer, for example: 0xff0000 is red, 0xff8800 is orange and 0x00ff00 is green. + +.TP +\fB\-\-distance\fP \fI<length>\fP +Specifies distance between trayer's window and screen edge (in pixels) + +.TP +\fB\-\-expand\fP \fItrue\fP\||\|\fIfalse\fP +Specifies whether trayer may accomodate extra space when there is too much +icons. + +.TP +\fB\-\-padding\fP \fI<size>\fP +Extra space between icons and trayer window's border. + +.SH SEE ALSO +.BR fbpanel (1) +.SH AUTHORS +Anatoly Asviyan <aanatoly@users.sf.net> \- fbpanel +.br +Rafal Bisingier <ravbc@man.poznan.pl> +.br +Maciej Delmanowski <harnir@users.berlios.de> +.br +Grzegorz Nieweglowski <hoppke@dobremiasto.net> +.br +Thomas Rydzynski +.PP +This manual page was written by Tomasz Melcer <liori@interia.pl>. diff --git a/x11-misc/trayer/trayer-1.0-r4.ebuild b/x11-misc/trayer/trayer-1.0-r4.ebuild new file mode 100644 index 000000000000..2e11ffd72f0f --- /dev/null +++ b/x11-misc/trayer/trayer-1.0-r4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="Lightweight GTK+ based systray for UNIX desktop" +HOMEPAGE="https://sourceforge.net/projects/fvwm-crystal/" +SRC_URI="https://sourceforge.net/projects/fvwm-crystal/files/${PN}/${PV}/${P}.tar.gz/download -> ${P}-sourceforge.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libX11 +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-dont-include-gdk-pixbuf-xlib.patch + "${FILESDIR}"/${P}-dont-include-libXmu.patch + "${FILESDIR}"/${P}-as-needed-and-pre-stripped.patch +) + +src_compile() { + emake "CC=$(tc-getCC)" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" -C systray + emake "CC=$(tc-getCC)" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" +} + +src_install() { + dobin trayer + doman "${FILESDIR}"/trayer.1 + einstalldocs +} |