Date: Wed, 28 Mar 2012 12:19:26 -0400 From: Richard N <bsdsolarux@gmail.com> To: freebsd-ports@freebsd.org Subject: "gsimplecal" - simple-lightweight gtk Calendar Message-ID: <CAFPWkYymkTAVVHuJS5RRZWgTzGCsD0dvBx6GWijv8y8bauq%2BPQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
First off, I would like to thank the author, as listed below, for helping making the "gsimplecal" desktop-tool available for installation, for FreeBSD. Project home: http://code.google.com/p/gsimplecal/ https://github.com/dmedvinsky/gsimplecal Downloads: https://github.com/dmedvinsky/gsimplecal/downloads Home page and Description: http://dmedvinsky.github.com/gsimplecal/ The above should be self-explanatory, but basically, gsimplecal, is a "very" light-weight calendar (dock)applet for the "tint2" trayer-panel, in the "Openbox" environment. Optionally, of course, it can also be used with other DE's, such as Fluxbox, lxde,..., with a variety of other "panel's" as well. ### The below are the recommended Pre-requisite pkg's for "gsimplecal" ################### atk-2.0.1 atkmm-2.22.5 automake-1.11.1 -(This is Required !) automake-wrapper-20101119 cairo-1.10.2_2,1 cairomm-1.10.0 dbus-glib-0.94 dejavu-2.33 freetype2-2.4.7 gdk-pixbuf-2.23.5_1 gio-fam-backend-2.28.8 glib-2.28.8_2 glib-networking-2.28.7_3 glibmm-2.28.2,1 gtk-2.24.6 gtk-engines2-2.20.2 gtk-theme-switch-2.0.0.r2_4 gtk-update-icon-cache-2.24.6 gtk2-qtcurve-theme-1.8.12 gtkmm-2.24.2 linux-f10-atk-1.24.0 linux-f10-cairo-1.8.0_1 linux-f10-gtk2-2.14.7_3 linux-f10-pango-1.28.3 linux-f10-png-1.2.37_1 linux_base-f10-10_4 openbox-3.5.0 -(This or LXDE, Fluxbox, Gnome, ..., is advisable) pango-1.28.4 pangomm-2.28.2 pixman-0.24.0 png-1.4.8 poppler-glib-0.18.0 py27-cairo-1.8.10 py27-gtk-2.24.0 X11/Xorg, ..., xorg-fonts, ... -(This is definitely Required !) ### The below pkg's (optionally) "Enhance" the use of gsimplecal, with tint2, ..., for example.###### tint2-0.11 xcompmgr-1.1.5 xineramaproto-1.2.1 xrandr-1.3.5 INSTALLATION (alternatives): ######################################################################### https://github.com/dmedvinsky/gsimplecal/downloads -(download the "latest", which is, in this example: gsimplecal-1.5.tar.gz) # tar -zxvf gsimplecal-1.5.tar.gz cd gsimplecal-1.5 ./configure; sudo make; sudo make install -(you can now run it from "/usr/local/bin/gsimplecal" # Or, you can also install it via this method: # git clone git://github.com/dmedvinsky/gsimplecal.git cd gsimplecal git pull ./autoreconf.sh ./configure make ./src/gsimplecal (to run it) # Or sudo make install (to run it from "/usr/local/bin/gsimplecal") ########################################################################## For example, with OpenBox/Fluxbox, + tint2: If I simply add this line: "clock_lclick_command =3D gsimplecal" to my ~/.config/tint2/tint2rc file, I get a simple "toggling" calendar. Right now, there is NO "gsimplecal", in our FreeBSD ports/pkg's systems. Yes, I realize there is a heavier "osmo" alternative, however, it would still be great to also have this "gsimplecal" available in our FreeBSD "ports" as maybe: "/usr/ports/deskutils/gsimplecal" ??? HISTORY, and BUG Fixes to "make" gsimplecal work in FreeBSD9: ###########################################################################= ######################################## Below is some excerpts from how the "Author's" fixed "gsimplecal" to make it installable, and useable in FreeBSD9: (Please read these excerpts, with respect for the Author:) "...First, BSD uses different layout of /proc. On Linux the path for current binary is stored as a symbolic link in /proc/self/exe, on BSD it's /proc/curproc/file. I actually knew it would break into pieces on something different from Linux, as I indicated that in the comment in the source long time ago (https://github.com/dmedvinsky/gsimplecal/blob/master/src/Unique.cpp#L23-24 ). The second bug is that I use semaphores to store current PID for the second instance to kill the first one to implement toggling behaviour (when you first run `gsimplecal` it starts, when you run it again, it exits) without any external dependencies, like libunique. It works for most users, because the PIDs are usually small enough (smaller than 32767 that is), but for some reason, on your system gsimplecal gets PIDs like 38207 or something. Sadly, values that big cannot be assigned to semaphores. So if I can easily fix the first problem =97 in fact, I already did it =97 I can't fix the second one easily. I need to ponder about it and figure some way to do this." Basically, it now works great in FreeBSD: "Well, gsimplecal is BSD licensed, so I guess it plays nice with *BSD systems. :-)" ###########################################################################= ######################################### What would we like ?: ##################################################################### I would like "gsimplecal" to be officially ported over to the FreeBSD "ports" system. Feel free to make any changes you need, to make it install easier in FreeBSD, if you like. Also, if you need any other help or details please let me know. ---------------------------------------------------------------------------= ------- Thanks. Rick.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFPWkYymkTAVVHuJS5RRZWgTzGCsD0dvBx6GWijv8y8bauq%2BPQ>