From owner-freebsd-ports@FreeBSD.ORG Wed Mar 28 16:52:44 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DE4C106564A for ; Wed, 28 Mar 2012 16:52:44 +0000 (UTC) (envelope-from bsdsolarux@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 021D68FC0A for ; Wed, 28 Mar 2012 16:52:43 +0000 (UTC) Received: by qcsg15 with SMTP id g15so962768qcs.13 for ; Wed, 28 Mar 2012 09:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=eAsMDpoVCEucMXmjvdQ+Fu+onQkVUsuYUqSRyXTRjt0=; b=W+w+vHCfAw95xvrWINZY7eV2wNDskgmt/k54TQ/I/vpKywTnDSu03fg9jfy2RjcGWk +XKCcbv0+LkkkthetkswH95hYvshLgdb/5uxwHfiwLAhWg9uvdPiAoiLwDqjY1uUlk0L kLMsl2HIaHNAHLqUBkIU4yyoOG8MgyKKft7mQGluOcpv9oAx9xu65MgXRrJjPXC6rDUD pDZ8Zl/nl0cfJPEnVP/zpLEq1TkKgmKkW+jW4o8DjKyiDrV8IDeyabRlqaojiMFFWEwm eYRjVhIFk+ZPFOefKCfzDwcm+rY5QO4evb9duFh+AK6Cx4P8irgKNKYddXyXc+FlINAB p6QA== MIME-Version: 1.0 Received: by 10.224.17.202 with SMTP id t10mr38707296qaa.87.1332953562791; Wed, 28 Mar 2012 09:52:42 -0700 (PDT) Received: by 10.229.55.202 with HTTP; Wed, 28 Mar 2012 09:52:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Mar 2012 12:52:42 -0400 Message-ID: From: Richard N To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: "gsimplecal" - simple-lightweight gtk Calendar X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2012 16:52:44 -0000 testing? ; is this mailing list that I "subscribed" to even accepting my email ??? On Wed, Mar 28, 2012 at 12:19 PM, Richard N wrote: > First off, I would like to thank the author, as listed below, for helpin= g > 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, i= n > 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 mak= e > 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-2= 4 > ). > > 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. > >