LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Looking for the "calendar" binaries for 12.1 (https://www.linuxquestions.org/questions/slackware-14/looking-for-the-calendar-binaries-for-12-1-a-643091/)

mike_mck2 05-18-2008 03:05 PM

Looking for the "calendar" binaries for 12.1
 
Does anyone know where I can find Calendar binaries that are compatible with 12.1 ?

I have the sources, but they won't compile.

T3slider 05-18-2008 04:19 PM

Is the app actually just called "Calendar"? A quick Google didn't turn up much (some other calendars maybe, but not anything just called 'Calendar'). Can you provide a link to the sources? If you're just looking for any calendar, there are some PIM apps included with 12.1 (especially if you use KDE), but none of the popular repositories had anything called Calendar. Maybe I'm just daft and search-impaired, but I couldn't find anything.

mike_mck2 05-19-2008 12:35 AM

Yeah, that's the program actual program name.

It's a very small program, really, and pretty old.

Might be called BSD Calendar.

orbit 05-19-2008 01:55 AM

Hello mike_mck2,

I'm not sure if this helps, but if you are using KDE; you can simply click on your system tray clock to show your calendar.

Also 'Kontact' has a really nice calendar built in.


Cheers

Orbit


.

T3slider 05-19-2008 02:38 PM

Does `cal` do what you want?

the3dfxdude 05-19-2008 08:02 PM

The only place I've seen calendar is on a VAX machine. It's a program like what is found in outlook, but more primitive from the early days of Unix. I was disappointed to find in my early days of trying linux it was not on the system. I have not tried searching for a replacement.

gilead 05-19-2008 10:01 PM

Quote:

Originally Posted by T3slider (Post 3158278)
Does `cal` do what you want?

That's the one I use on all my Slackware boxes. Primitive, but functional...

GazL 05-20-2008 06:06 AM

Quote:

Originally Posted by the3dfxdude (Post 3158576)
The only place I've seen calendar is on a VAX machine.

It's also in OpenBSD.
Man page is here for anyone who wants to see what it does...
http://www.openbsd.org/cgi-bin/man.c...86&format=html


And from a quick google it looks like it's also in debian in bsdmainutils. There's a link to the source on this page...
http://packages.debian.org/unstable/utils/bsdmainutils


Don't know if you've tried those debian sources or not yet, but for what they're worth... I didn't manage to find any binaries.

gnashley 05-20-2008 08:51 AM

Okay, I took a few minutes to download the bsdutils sources from debian and separated the calendar(version 1.9) sources from the rest into a separate tarball. I made a few changes to the Makefile and included the freebsd.h and modified README file in the tarball. The archive also contains a calendar.19.diff file which reflects all the changes made. I also created a LICENSE file from the license information at the top of the calendar.c file.

You may prefer to use these sources to avoid overwriting any existing slackware files. There is also a binary Slackware package of the program in the same directory, but it was compiled on Slackware-11.0. I suspect that it will work for you, but if not, you can always compile and install the program from the sources.

All the materials are located here:
http://distro.ibiblio.org/pub/linux/.../calendar-1.9/

The original bsdmainutils sources are also there under 'Resources' for reference.

In order to use the program, you need to create a directory '.calendar' in your $HOME directory (~/.calendar). Then copy the file /usr/share/calendar/default into the ~/.calendar directory and rename it to 'calendar'. Edit to suit your tastes.
Cheers!

mike_mck2 05-21-2008 09:33 AM

Aha, I can't thank you enough for this. Truly, this seemingly simple obstacle was seeming insurmountable. I could not even find sources for Calendar.

Having minor difficulties getting it to work as expected, trying to get it to execute properly from /etc/profile, but it does work as expected running it manually. Just gotta tweak my profile someway or other.


Again, thank you very very much, this is perfect.

gnashley 05-21-2008 10:10 AM

You are most welcome.


All times are GMT -5. The time now is 09:02 AM.