Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sargon committed Jan 26, 2010
0 parents commit 3d4a69d
Show file tree
Hide file tree
Showing 29 changed files with 4,260 additions and 0 deletions.
118 changes: 118 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
trayer changelog

1.0
* tray code extracted from the main fbpanel sources
* configuration using config file changed into command-line options
* positionx and positiony options removed
* distance option added

-----------------------------------------------------------------------------
fbpanel changes follow
-----------------------------------------------------------------------------
3.8
* warnings clean-up
* X11 memory leacher was fixed
* taskbar can be set to show only mapped/iconified and wins from other desktops
* transparency initial support
* gtkbar was ported to gtk2, so fbpanel is compiled with GTK_DISABLE_DEPRECETED
* initial dll support

3.7
* rounded corners (optional)
* taskbar view fix

3.6
* taskbar icon size fix
* menu icon size fix
* pager checks for drawable pixmap

3.5
* Drag-n-Drop for launchbar
* menu plugin
* removed limith for max task size in taskbar

3.4
* gtk2.2 linkage fix
* strut fix
* launchbar segfault on wrong config fix
* '&' at the end of action var in launchbar config is depreciated

3.3
* taskbar icon size fix

3.2
* scroll mouse in pager changes desktops
* packaging and makefiles now are ready for system wide install
additionally ./configure was implemented
* systray checks for another tray already running

3.1
* improving icon quility in taskbar
* system tray (aka notification area) support
* NET_WM_STRUT_PARTIAL and NET_WM_STRUT were implmented
* taskbar update icon image on every icon change

3.0
* official version bump :-)

3.0-rc-1
* porting to GTK2+. port is based on phako's patch
"[ 678749 ] make it compile and work with gtk2"


2.2
* support for XEmbed docklets via gtktray utility

2.1
* tray plugin was written
* documentation update
* web site update

2.0
* complete engine rewrite
* new plugin API
* pager fixes

1.4
* bug-fixes for pager plugin

1.3
* middle-click in taskbar will toggle shaded state of a window
* added image plugin - this is simple plugin that just shows an image
* pager eye-candy fixes
* close_module function update

1.2
* we've got new module - pager! Yeeaa-Haa!!
* segfault on wrong config file was fixed

1.1
* parsing engine was rewritten
* modules' static variables were converted to mallocs
* configurable size and postion of a panel
* ability to specify what modules to load
* '~' is accepted in config files
*


1.0
* 1.0-rc2 was released as 1.0

1.0-rc2
* taskbar config file was added an option to switch tooltips on/off
* added tooltips to taskbar (thanks to Joe MacDonald [email protected])

1.0-rc1
* copyright comments were changed

1.0-rc0
* added _NET_WM_STRUT support
* panel now is unfocusable. this fixes iconify bug under sawfish
* panel's height is calculated at run-time, instead of fixed 22

0.11
* improved EWMH/NETWM support
* added openbox support
* added clock customization (thanks to Tooar [email protected])
* README was rewrited
* bug fixes
22 changes: 22 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (C) 2005 Maciej "harnir" Delmanowski
Copyright (C) 2002 Anatoly Asviyan (aka Arsen)
Copyright (C) 2000 Peter Zelezny

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Soft-
ware"), to deal in the Software without restriction, including without
limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to
whom the Software is furnished to do so, subject to the following condi-
tions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
24 changes: 24 additions & 0 deletions CREDITS
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Thanks goes to:
- Grzegorz Niew�g�owski <[email protected]> - code extraction from
fbpanel
- Rafal Bisingier <[email protected]> - conversion of configuration using
~/.fbpanel/* files to commandline options
- Thomas Rydzynski - added new option 'distance'

fbpanel credits follow
-----------------------------------------------------------------------------
I'd like to thank to GNOME project. I learn a lot from its code
and some pieces were used in fbpanel. Correct for version 3.0,
systray code and wm icon code were copied from GNOME

Credits to all people who contributed by writing code and solving
bugs.
Joe MacDonald <joeythesaint at users.sourceforge.net>
Jens Georg <phako at users.sourceforge.net>
and others

Credits and lot of thanks to Peter Zelezny <[email protected]>
an author of fspanel (see http://www.chatjunkies.org/fspanel/
or http://freshmeat.net/projects/fspanel/)
The first version of fBpanel was started as hacking around fSpanel :-)

17 changes: 17 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Installation:

1. Default way
Most users (99.99%) should use this way :-)

./confugire
make
su -
make install

2. Litle customization
Run ./configure --help to see supported options, then goto step 1





79 changes: 79 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Part 0
# load common stuff
TOPDIR = .
include $(TOPDIR)/Makefile.common

# Part 1
# recursive make
.PHONY: subdirs
all clean distclean install uninstall: subdirs

SUBDIRS = systray
.PHONY: $(SUBDIRS)
subdirs: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)



SRC = panel.c misc.c plugin.c gtkbar.c bg.c
OBJ = $(SRC:%.c=%.o)
DEP = $(SRC:%.c=%.dep)

SYSTRAYOBJ = systray/systray.o
SYSTRAYOBJ: systray


ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
ifneq ($(MAKECMDGOALS),tar)
-include $(DEP)
endif
endif
endif


TARGET = trayer
$(TARGET): $(OBJ) $(SYSTRAYOBJ)
$(CC) $(LDFLAGS) $(LIBS) $(OBJ) $(SYSTRAYOBJ) -o $@
ifeq (,$(DEVEL))
strip $@
endif

all: $(TARGET)


clean:
$(RM) $(TARGET) $(OBJ) $(DEP) *~

distclean:
rm -f Makefile.config config.h

install:
install -d $(PREFIX)/bin
install -m 755 $(TARGET) $(PREFIX)/bin

uninstall:
rm -f $(PREFIX)/bin/$(TARGET)

.PHONY: tar


CWD=$(shell pwd)
VER=$(shell grep -e "\#define[[:space:]]\+VERSION[[:space:]]\+" panel.c | \
sed -e 's/^[^\"]\+\"//' -e 's/\".*$$//' )


tar:
$(MAKE) distclean
cd ..; \
if [ -e trayer-$(VER) ]; then \
echo trayer-$(VER) already exist; \
echo "won't override";\
exit 1;\
else\
ln -s $(CWD) trayer-$(VER);\
tar --exclude CVS -hzcvf trayer-$(VER).tgz trayer-$(VER);\
rm -f trayer-$(VER);\
fi;

39 changes: 39 additions & 0 deletions Makefile.common
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
ifeq (,$(TOPDIR))
$(error TOPDIR variable must be defined)
endif

all:

$(TOPDIR)/Makefile.config:
$(error Please run $(TOPDIR)/configure first)

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
ifneq ($(MAKECMDGOALS),tar)
-include $(TOPDIR)/Makefile.config
endif
endif
endif

CC = gcc
LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu
INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0)
CFLAGS = -O2 # overwriten by command line or env. variable
CFLAGS += -Wall # always nice to have
ifneq (,$(DEVEL))
CFLAGS := -g -Wall
endif

# -DGTK_DISABLE_DEPRECATED does not work yet
CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED

%.o: %.c
$(CC) $(CFLAGS) $(INCS) -c $<

%.dep: %.c
$(CC) $(CFLAGS) $(INCS) -MM $< -o $@

.PHONY: all clean distclean install uninstall

distclean: clean
install: all
2 changes: 2 additions & 0 deletions Makefile.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PREFIX:=/usr
DEVEL:=
61 changes: 61 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
trayer

NAME
trayer is a lightweight GTK2-based systray for UNIX desktop

SYNOPSYS
trayer [OPTION]...

DESCRIPTION
trayer is small program designed to provide systray functionality present
in GNOME/KDE desktop enviroments for window managers wchich doesn'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: http://fbpanel.sourceforge.net/

You can find new versions of trayer and support on FVWM-Crystal
project homepage: http://fvwm-crystal.berlios.de/

OPTIONS
-h - prints help message and exits
-v - prints version and exits
--edge - screen edge to use <left|right|top|bottom>
--align - alignment <left|center|right>
--margin - length of margin in pixels
--distance - space between trayer's window and screen
edge
--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 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>
--transparent - use transparency <true|false>
--tint - color used to "tint" background wallpaper
with
--alpha - pocentage 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
--monitor - define the mointor on which you like
trayer to appear, number of zero to number
of monitors minus one

AUTHORS
Maciej Delmanowski <[email protected]>
Anatoly Asviyan <[email protected]> - fbpanel
Daniel Ehlers - monitor



Loading

0 comments on commit 3d4a69d

Please sign in to comment.