From 88dfd8961a59e34dc163ce1b0baaf2bbc02337d3 Mon Sep 17 00:00:00 2001 From: milisman Date: Wed, 20 Apr 2016 23:29:00 +0000 Subject: [PATCH] fvwm-crystal --- talimatname/genel/fvwm-crystal/talimat | 15 ++ talimatname/genel/trayer/manpage.diff | 197 ++++++++++++++++++ talimatname/genel/trayer/talimat | 23 ++ talimatname/genel/trayer/trayer.diff | 22 ++ talimatname/genel/xdg-user-dirs/talimat | 6 +- .../genel/xdg-user-dirs/xdg-user-dirs-src | 4 + 6 files changed, 264 insertions(+), 3 deletions(-) create mode 100644 talimatname/genel/fvwm-crystal/talimat create mode 100644 talimatname/genel/trayer/manpage.diff create mode 100644 talimatname/genel/trayer/talimat create mode 100644 talimatname/genel/trayer/trayer.diff create mode 100644 talimatname/genel/xdg-user-dirs/xdg-user-dirs-src diff --git a/talimatname/genel/fvwm-crystal/talimat b/talimatname/genel/fvwm-crystal/talimat new file mode 100644 index 000000000..06e3a1573 --- /dev/null +++ b/talimatname/genel/fvwm-crystal/talimat @@ -0,0 +1,15 @@ +# Description: fvwm-crystal masası +# URL: http://home.gna.org/fvwm-crystal/ +# Maintainer: milisarge@gmail.com +# Packager: milisarge@gmail.com +# Depends on: fvwm imagemagick python feh xdg-user-dirs trayer + +name=fvwm-crystal +version=3.3.2 +release=1 +source=(http://downloads.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.gz) + +build() { + cd $name-$version + make DESTDIR="$PKG" prefix=/usr install +} diff --git a/talimatname/genel/trayer/manpage.diff b/talimatname/genel/trayer/manpage.diff new file mode 100644 index 000000000..f4ea9394e --- /dev/null +++ b/talimatname/genel/trayer/manpage.diff @@ -0,0 +1,197 @@ +Description: Debian manpage and path setup +Author: Jens Peter Secher +Index: trayer/trayer.1 +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ trayer/trayer.1 2011-05-08 21:38:37.000000000 +0200 +@@ -0,0 +1,190 @@ ++.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 \| \|] ++.\" ++.RB [\| \-\-widthtype ++.RI \| request \||\| pixel \||\| percent ++.RI \|] ++.\" ++.RB [\| \-\-width ++.RI \| \|] ++.\" ++.RB [\| \-\-heighttype ++.RI \| \|] ++.\" ++.RB [\| \-\-height ++.RI \| \|] ++.\" ++.RB [\| \-\-SetDockType ++.RI \| true \||\| false \|] ++.\" ++.RB [\| \-\-SetPartialStrut ++.RI \| true \||\| false \|] ++.\" ++.RB [\| \-\-transparent ++.RI \| true \||\| false \|] ++.\" ++.RB [\| \-\-alpha ++.RI \| \|] ++.\" ++.RB [\| \-\-tint ++.RI \| \|] ++.\" ++.RB [\| \-\-distance ++.RI \| \|] ++.\" ++.RB [\| \-\-expand ++.RI \| true \||\| false \|] ++.\" ++.RB [\| \-\-padding ++.RI \| \|] ++.\" ++.SH DESCRIPTION ++.B trayer ++is a 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's 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 \-\-help ++.TP ++.B \-h ++Show summary of options and exit. ++ ++.TP ++.B \-\-version ++.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\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 length of screen edge. ++.RE ++ ++.TP ++\fB\-\-width\fP \fI\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 length of screen edge. ++.RE ++ ++.TP ++\fB\-\-height\fP \fI\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\fP ++Percentage of transparency (0 \- nontransparent, 255 \- fully transparent) ++ ++.TP ++\fB\-\-tint\fP \fI\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\fP ++Specifies distance between trayer's window and screen edge (in pixels) ++ ++.TP ++\fB\-\-expand\fP \fItrue\fP\||\|\fIfalse\fP ++Specifies whether trayer may accommodate extra space when there is too much ++icons. ++ ++.TP ++\fB\-\-padding\fP \fI\fP ++Extra space between icons and trayer window's border. ++ ++.SH SEE ALSO ++.BR fbpanel (1) ++.SH AUTHORS ++Anatoly Asviyan \- fbpanel ++.br ++Rafal Bisingier ++.br ++Maciej Delmanowski ++.br ++Grzegorz Nieweglowski ++.br ++Thomas Rydzynski ++.PP ++This manual page was written by Tomasz Melcer . diff --git a/talimatname/genel/trayer/talimat b/talimatname/genel/trayer/talimat new file mode 100644 index 000000000..2d3cd0dcc --- /dev/null +++ b/talimatname/genel/trayer/talimat @@ -0,0 +1,23 @@ +# Description: A lightweight GTK2-based systray +# URL: http://home.gna.org/fvwm-crystal/ +# Maintainer: milisarge@gmail.com +# Packager: milisarge@gmail.com +# Depends on: xorg-libxmu gtk2 + +name=trayer +version=1.0 +release=1 +source=(http://download.gna.org/fvwm-crystal/trayer/${version}/${name}-${version}.tar.gz + trayer.diff manpage.diff ) + +build() { + cd $name-$version + patch -p0 -i ../trayer.diff + patch -p1 -i ../manpage.diff + sed -i 's/$(LIBS) $(OBJ) $(SYSTRAYOBJ)/$(OBJ) $(SYSTRAYOBJ) $(LIBS) -lX11/' Makefile + make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + make PREFIX="$PKG/usr" install + install -D -m644 trayer.1 "$PKG/usr/share/man/man1/trayer.1" + install -D -m644 COPYING "$PKG/usr/share/licenses/$PKG/LICENSE" +} + diff --git a/talimatname/genel/trayer/trayer.diff b/talimatname/genel/trayer/trayer.diff new file mode 100644 index 000000000..469d249dc --- /dev/null +++ b/talimatname/genel/trayer/trayer.diff @@ -0,0 +1,22 @@ + # This patchfile was courtesy of the Debian team. Thanks! +--- Makefile.common ++++ Makefile.common~ +@@ -25,7 +25,7 @@ + endif + + # -DGTK_DISABLE_DEPRECATED does not work yet +-CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED ++CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED + + %.o: %.c + $(CC) $(CFLAGS) $(INCS) -c $< +--- panel.c ++++ panel.c~ +@@ -588,7 +588,6 @@ + printf(" --height \n"); + printf(" --SetDockType \n"); + printf(" --SetPartialStrut \n"); +- printf(" --RoundCorners \n"); + printf(" --transparent \n"); + printf(" --alpha \n"); + printf(" --tint \n"); diff --git a/talimatname/genel/xdg-user-dirs/talimat b/talimatname/genel/xdg-user-dirs/talimat index 2909bba95..5b1bf0673 100644 --- a/talimatname/genel/xdg-user-dirs/talimat +++ b/talimatname/genel/xdg-user-dirs/talimat @@ -1,6 +1,6 @@ # Description: Manage user directories like ~/Desktop and ~/Music # Url: http://www.freedesktop.org/wiki/Software/xdg-user-dirs -# Packager: tnut at nutyx dot org +# Packager: milisarge # Maintainer: Jan Alexander Steffens (heftig) # Depends on: libxslt docbook-xsl @@ -8,12 +8,12 @@ name=xdg-user-dirs version=0.15 release=2 source=(http://user-dirs.freedesktop.org/releases/$name-$version.tar.gz - xdg-user-dirs) + xdg-user-dirs-src) build() { cd $name-$version ./configure --prefix=/usr --sysconfdir=/etc make make DESTDIR=$PKG install - install -D ../$name $PKG/etc/X11/xinit/xinitrc.d/xdg-user-dirs + install -D ../$name-src $PKG/etc/X11/xinit/xinitrc.d/xdg-user-dirs } diff --git a/talimatname/genel/xdg-user-dirs/xdg-user-dirs-src b/talimatname/genel/xdg-user-dirs/xdg-user-dirs-src new file mode 100644 index 000000000..dbe8abb48 --- /dev/null +++ b/talimatname/genel/xdg-user-dirs/xdg-user-dirs-src @@ -0,0 +1,4 @@ +#!/bin/sh + +# Set up user directories like ~/Desktop and ~/Music +[ -x /usr/bin/xdg-user-dirs-update ] && /usr/bin/xdg-user-dirs-update