[csw-devel] SF.net SVN: gar:[13099] csw/mgar/pkg

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jan 27 21:20:00 CET 2011


Revision: 13099
          http://gar.svn.sourceforge.net/gar/?rev=13099&view=rev
Author:   dmichelsen
Date:     2011-01-27 20:20:00 +0000 (Thu, 27 Jan 2011)

Log Message:
-----------
gcal: Almost done, why is /usr/local in bin/gcal?

Added Paths:
-----------
    csw/mgar/pkg/gcal/
    csw/mgar/pkg/gcal/Makefile
    csw/mgar/pkg/gcal/branches/
    csw/mgar/pkg/gcal/tags/
    csw/mgar/pkg/gcal/trunk/
    csw/mgar/pkg/gcal/trunk/Makefile
    csw/mgar/pkg/gcal/trunk/checksums
    csw/mgar/pkg/gcal/trunk/files/
    csw/mgar/pkg/gcal/trunk/files/0001-Need-minor-tweaks-for-Solaris.patch

Copied: csw/mgar/pkg/gcal/Makefile (from rev 13094, csw/mgar/pkg/template/Makefile)
===================================================================
--- csw/mgar/pkg/gcal/Makefile	                        (rev 0)
+++ csw/mgar/pkg/gcal/Makefile	2011-01-27 20:20:00 UTC (rev 13099)
@@ -0,0 +1,15 @@
+# vim: ft=make ts=4 sw=4 noet
+
+default:
+	@echo "You are in the pkg/ directory."
+
+%:
+	$(MAKE) -C trunk $* 
+
+paranoid-%:
+	$(MAKE) -C trunk $* || exit 2 
+
+export BUILDLOG ?= $(shell pwd)/buildlog.txt
+
+report-%:
+	$(MAKE) -C trunk $* || echo "	*** make $* in $$i failed ***" >> $(BUILDLOG) 


Property changes on: csw/mgar/pkg/gcal/trunk
___________________________________________________________________
Added: svn:ignore
   + cookies
download
work


Added: svn:externals
   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Added: csw/mgar/pkg/gcal/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gcal/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/gcal/trunk/Makefile	2011-01-27 20:20:00 UTC (rev 13099)
@@ -0,0 +1,33 @@
+# $Id$
+NAME = gcal
+VERSION = 3.6
+CATEGORIES = apps
+
+DESCRIPTION = Gcal is a program for calculating and printing calendars
+define BLURB
+endef
+
+MASTER_SITES = $(GNU_MIRROR)
+DISTFILES  = $(DISTNAME).tar.gz
+
+PATCHFILES += 0001-Need-minor-tweaks-for-Solaris.patch
+
+PACKAGES = CSWgcal
+CATALOGNAME_CSWgcal = gcal
+RUNTIME_DEP_PKGS_CSWgcal += CSWggettextrt
+RUNTIME_DEP_PKGS_CSWgcal += CSWncurses
+RUNTIME_DEP_PKGS_CSWgcal += CSWperl
+
+# File name regex to get notifications about upstream software releases
+UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+TEST_TARGET = check
+
+EXTRA_MERGE_EXCLUDE_FILES = $(libdir)/charset.alias
+
+# This is ok, there is a list of pathes given
+CHECKPKG_OVERRIDES_CSWgcal += file-with-bad-content|/usr/local|root/opt/csw/share/info/gcal.info
+
+include gar/category.mk


Property changes on: csw/mgar/pkg/gcal/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
   + Id

Added: csw/mgar/pkg/gcal/trunk/checksums
===================================================================
--- csw/mgar/pkg/gcal/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/gcal/trunk/checksums	2011-01-27 20:20:00 UTC (rev 13099)
@@ -0,0 +1 @@
+9c3819ca118d6e3adb6a716858cba7d6  gcal-3.6.tar.gz

Added: csw/mgar/pkg/gcal/trunk/files/0001-Need-minor-tweaks-for-Solaris.patch
===================================================================
--- csw/mgar/pkg/gcal/trunk/files/0001-Need-minor-tweaks-for-Solaris.patch	                        (rev 0)
+++ csw/mgar/pkg/gcal/trunk/files/0001-Need-minor-tweaks-for-Solaris.patch	2011-01-27 20:20:00 UTC (rev 13099)
@@ -0,0 +1,36 @@
+From d3a8051ba24f6274a0485bd7530190106a8e8b4f Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Thu, 27 Jan 2011 20:57:27 +0100
+Subject: [PATCH] Need minor tweaks for Solaris
+
+---
+ src/tailor.h |    6 ++++++
+ 1 files changed, 6 insertions(+), 0 deletions(-)
+
+diff --git a/src/tailor.h b/src/tailor.h
+index 1421bee..846adcc 100644
+--- a/src/tailor.h
++++ b/src/tailor.h
+@@ -443,6 +443,8 @@
+ #  endif /* !OS2 */
+ # endif	/* !MSDOS && !DJG && !WIN32 */
+ 
++#define __P_(gc_proto) gc_proto
++
+ /*
+ *  Compiler specific macro for prototyping.
+ */
+@@ -578,6 +580,10 @@
+ # endif	/* GCAL_EMAIL */
+ 
+ 
++#ifdef __sun
++/* Needed for close(2) */
++#include <unistd.h>
++#endif
+ 
+ # if USE_RC || defined(GCAL_EMAIL)
+ /* The proper function for a temporary file name according to used target system. */
+-- 
+1.7.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list