Permalink
Browse files

initial commit

moved dzen to github
  • Loading branch information...
0 parents commit 982023f29efddc5968d697d6b4438df0fc51e6be Robert Manea committed Mar 18, 2012
Showing with 5,666 additions and 0 deletions.
  1. +29 −0 CREDITS
  2. +25 −0 INSTALL
  3. +21 −0 LICENSE
  4. +56 −0 Makefile
  5. +608 −0 README
  6. +591 −0 README.dzen
  7. +24 −0 TODO
  8. +571 −0 action.c
  9. +86 −0 action.h
  10. +6 −0 bitmaps/alert.xbm
  11. +8 −0 bitmaps/ball.xbm
  12. +6 −0 bitmaps/battery.xbm
  13. +6 −0 bitmaps/envelope.xbm
  14. +7 −0 bitmaps/music.xbm
  15. +7 −0 bitmaps/pause.xbm
  16. +7 −0 bitmaps/play.xbm
  17. +6 −0 bitmaps/volume.xbm
  18. +73 −0 config.mk
  19. +1,051 −0 draw.c
  20. +180 −0 dzen.h
  21. +72 −0 gadgets/Makefile
  22. +72 −0 gadgets/README.dbar
  23. +43 −0 gadgets/README.gcpubar
  24. +35 −0 gadgets/README.gdbar
  25. +14 −0 gadgets/README.kittscanner
  26. +9 −0 gadgets/README.textwidth
  27. +18 −0 gadgets/config.mk
  28. +86 −0 gadgets/dbar-main.c
  29. +181 −0 gadgets/dbar.c
  30. +39 −0 gadgets/dbar.h
  31. +184 −0 gadgets/gcpubar.c
  32. +100 −0 gadgets/gdbar.c
  33. +71 −0 gadgets/kittscanner.sh
  34. +27 −0 gadgets/noisyalert.sh
  35. +117 −0 gadgets/textwidth.c
  36. +11 −0 help
  37. +1,153 −0 main.c
  38. +66 −0 util.c
29 CREDITS
@@ -0,0 +1,29 @@
+==================================
+ dzen, (c) 2007 by Robert Manea
+==================================
+
+
+The following people have contributed especially to dzen:
+
+
+Cyrille Bagard <nocbos at gmail dot com>
+ * patch allowing to use EWMH for docking dzen.
+
+Jason Creighton <jcreigh at gmail dot com>
+ * XINERAMA support
+ * _NET_WM_STRUT_PARTIAL support
+
+Adam Langley <agl at imperialviolet dot org>
+ * patch to add optional timeout to '-p'
+
+Mauke <mauke at ...>
+ * Code clean ups to remove compiler warnings
+
+Alexander V. Inyukhin <shurick at sectorb dot msk dot ru>
+ * fix to action handling
+
+Valery V. Vorotyntsev <valery dot vv at gmail.com>
+ * patch to correctly handle the -geometry and -y options for
+ dzen at the bottom of the screen
+ * cosmetic code clean ups
+
25 INSTALL
@@ -0,0 +1,25 @@
+==================================
+ dzen, (c) 2007 by Robert Manea
+==================================
+
+
+Edit config.mk to match your local setup (dzen is installed into
+the /usr/local namespace by default).
+
+Afterwards enter the following command to build and install dzen (if
+necessary as root):
+
+ make clean install
+
+
+Optionally if you want to use dzen's gadgets:
+
+ cd gadgets
+ make clean install
+
+
+Note: By default dzen will not be compiled with Xinerama and XPM support.
+ Uncomment the respective lines in config.mk to change this.
+
+
+Use "./help" to view a nicely formated version of the documentation.
21 LICENSE
@@ -0,0 +1,21 @@
+MIT/X Consortium License
+
+(C)opyright MMVII Robert Manea <rob dot manea at gmail dot com>
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+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 conditions:
+
+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 MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS 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.
@@ -0,0 +1,56 @@
+# dzen2
+# (C)opyright MMVII Robert Manea
+
+include config.mk
+
+SRC = draw.c main.c util.c action.c
+OBJ = ${SRC:.c=.o}
+
+all: options dzen2
+
+options:
+ @echo dzen2 build options:
+ @echo "CFLAGS = ${CFLAGS}"
+ @echo "LDFLAGS = ${LDFLAGS}"
+ @echo "CC = ${CC}"
+ @echo "LD = ${LD}"
+
+.c.o:
+ @echo CC $<
+ @${CC} -c ${CFLAGS} $<
+
+${OBJ}: dzen.h action.h config.mk
+
+dzen2: ${OBJ}
+ @echo LD $@
+ @${LD} -o $@ ${OBJ} ${LDFLAGS}
+ @strip $@
+ @echo "Run ./help for documentation"
+
+clean:
+ @echo cleaning
+ @rm -f dzen2 ${OBJ} dzen2-${VERSION}.tar.gz
+
+dist: clean
+ @echo creating dist tarball
+ @mkdir -p dzen2-${VERSION}
+ @mkdir -p dzen2-${VERSION}/gadgets
+ @mkdir -p dzen2-${VERSION}/bitmaps
+ @cp -R CREDITS LICENSE Makefile INSTALL README.dzen README help config.mk action.h dzen.h ${SRC} dzen2-${VERSION}
+ @cp -R gadgets/Makefile gadgets/config.mk gadgets/README.dbar gadgets/textwidth.c gadgets/README.textwidth gadgets/dbar.c gadgets/gdbar.c gadgets/README.gdbar gadgets/gcpubar.c gadgets/README.gcpubar gadgets/kittscanner.sh gadgets/README.kittscanner gadgets/noisyalert.sh dzen2-${VERSION}/gadgets
+ @cp -R bitmaps/alert.xbm bitmaps/ball.xbm bitmaps/battery.xbm bitmaps/envelope.xbm bitmaps/volume.xbm bitmaps/pause.xbm bitmaps/play.xbm bitmaps/music.xbm dzen2-${VERSION}/bitmaps
+ @tar -cf dzen2-${VERSION}.tar dzen2-${VERSION}
+ @gzip dzen2-${VERSION}.tar
+ @rm -rf dzen2-${VERSION}
+
+install: all
+ @echo installing executable file to ${DESTDIR}${PREFIX}/bin
+ @mkdir -p ${DESTDIR}${PREFIX}/bin
+ @cp -f dzen2 ${DESTDIR}${PREFIX}/bin
+ @chmod 755 ${DESTDIR}${PREFIX}/bin/dzen2
+
+uninstall:
+ @echo removing executable file from ${DESTDIR}${PREFIX}/bin
+ @rm -f ${DESTDIR}${PREFIX}/bin/dzen2
+
+.PHONY: all options clean dist install uninstall
Oops, something went wrong.

0 comments on commit 982023f

Please sign in to comment.