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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jan 30 11:49:35 CET 2009


Revision: 2939
          http://gar.svn.sourceforge.net/gar/?rev=2939&view=rev
Author:   dmichelsen
Date:     2009-01-30 10:49:35 +0000 (Fri, 30 Jan 2009)

Log Message:
-----------
unclutter: Initial commit of legacy build description

Added Paths:
-----------
    csw/mgar/pkg/unclutter/
    csw/mgar/pkg/unclutter/branches/
    csw/mgar/pkg/unclutter/tags/
    csw/mgar/pkg/unclutter/trunk/
    csw/mgar/pkg/unclutter/trunk/Makefile
    csw/mgar/pkg/unclutter/trunk/files/
    csw/mgar/pkg/unclutter/trunk/files/CSWpackage.gspec
    csw/mgar/pkg/unclutter/trunk/legacy/
    csw/mgar/pkg/unclutter/trunk/legacy/BUILD.NOTES
    csw/mgar/pkg/unclutter/trunk/legacy/README
    csw/mgar/pkg/unclutter/trunk/legacy/copyright
    csw/mgar/pkg/unclutter/trunk/legacy/depend
    csw/mgar/pkg/unclutter/trunk/legacy/pkginfo
    csw/mgar/pkg/unclutter/trunk/legacy/prototype
    csw/mgar/pkg/unclutter/trunk/legacy/src/
    csw/mgar/pkg/unclutter/trunk/legacy/src/Makefile
    csw/mgar/pkg/unclutter/trunk/legacy/src/unclutter-1.09.tar.gz


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


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


Added: csw/mgar/pkg/unclutter/trunk/Makefile
===================================================================
--- csw/mgar/pkg/unclutter/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/Makefile	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,23 @@
+GARNAME = package
+GARVERSION = 1.0
+CATEGORIES = category
+
+DESCRIPTION = Brief description
+define BLURB
+  Long description
+endef
+
+MASTER_SITES = 
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWpackage,)
+
+# We define upstream file regex so we can be notifed of new upstream software release
+UFILES_REGEX = -(\d+(?:\.\d+)*).tar.gz
+
+# If the url used to check for software update is different of MASTER_SITES, then 
+# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
+# UPSTREAM_MASTER_SITES = 
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+include gar/category.mk

Added: csw/mgar/pkg/unclutter/trunk/files/CSWpackage.gspec
===================================================================
--- csw/mgar/pkg/unclutter/trunk/files/CSWpackage.gspec	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/files/CSWpackage.gspec	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,4 @@
+%var            bitname package
+%var            pkgname CSWpackage
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC}/LICENSE

Added: csw/mgar/pkg/unclutter/trunk/legacy/BUILD.NOTES
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/BUILD.NOTES	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/BUILD.NOTES	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,51 @@
+###############################################################################
+# FILE:		BUILD.NOTES
+#
+# DESCRIPTION:	Build notes for the UNCLUTTER package.  These are notes
+#		concerning the compiling and testing of this package.
+#
+#		Use the detailed instructions in the README file for package
+#		creation.
+#
+# PACKAGE:      CSWunclutter
+#
+# CUR VER:	Unclutter Version 1.09
+#
+# REVISION:     01-05-07
+###############################################################################
+
+-------------------------------------------------------------------------------
+HISTORY:
+-------------------------------------------------------------------------------
+Date:		Version:		Notes:
+-------------------------------------------------------------------------------
+01-05-07	1.09			Initial package build
+-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+SPARC & INTEL:
+-------------------------------------------------------------------------------
+
+make:
+	* The following warning messages are generated
+
+	"vroot.h", line 43: warning: no explicit type given for parameter: \
+		screen
+	"unclutter.c", line 43: warning: old-style declaration or incorrect \
+		type for: pexit
+	"unclutter.c", line 45: warning: implicit function declaration: exit
+	"unclutter.c", line 47: warning: old-style declaration or incorrect \
+		type for: usage
+	"unclutter.c", line 91: warning: old-style declaration or incorrect \
+		type for: nameinlist
+	"unclutter.c", line 113: warning: old-style declaration or incorrect \
+		type for: matchinlist
+	"unclutter.c", line 135: warning: old-style declaration or incorrect \
+		type for: createnullcursor
+	"unclutter.c", line 158: warning: old-style declaration or incorrect 
+		type for: main
+	"unclutter.c", line 158: warning: no explicit type given for \
+		parameter: argc
+	"unclutter.c", line 174: warning: implicit function declaration: atoi
+	"unclutter.c", line 209: warning: implicit function declaration: malloc
+	"unclutter.c", line 269: warning: implicit function declaration: abs

Added: csw/mgar/pkg/unclutter/trunk/legacy/README
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/README	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/README	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,161 @@
+###############################################################################
+# FILE:		README
+#
+# DESCRIPTION:	Instructions for creating the UNCLUTTER package.  Refer to the
+#		BUILD.NOTES file for specific information about the actual
+#		build and testing of the current version.
+#
+# PACKAGE:      CSWunclutter
+#
+# REVISION:     01-05-07
+#
+# NOTES:	* This source code for version 1.08 was released into the
+#		  public domain in 1992 and is not being maintained.  Thus,
+#		  this is the sole repository for the source code, including
+#		  the revisions I made, bumping it to version 1.09.
+###############################################################################
+
+-------------------------------------------------------------------------------
+01: Switch to the correct build machine
+-------------------------------------------------------------------------------
+
+	SPARC:
+	  or
+	INTEL:
+
+-------------------------------------------------------------------------------
+02: Update the pkginfo file		     VERSION=<version>[,REV=YYYY.MM.DD]
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/unclutter
+	vi pkginfo
+	    [edit the version info: must include REV= portion if applicable]
+	    [edit the ARCH line for either a 'sparc' or 'i386' build]
+
+-------------------------------------------------------------------------------
+03: Unpack the source code   [**** ONLY NEEDS TO BE DONE ONCE PER SESSION ****]
+-------------------------------------------------------------------------------
+
+	cd src
+	vi Makefile			  [edit the UVERS variable]
+	make unpack			  [unpack unless it was just extracted]
+
+-------------------------------------------------------------------------------
+04: Update copyright file    [**** ONLY NEEDS TO BE DONE ONCE PER RELEASE ****]
+-------------------------------------------------------------------------------
+
+	vi unclutter*[0-9]/README  ${HOME}/pkgs/unclutter/copyright
+	  [Include the notice concerning release to the public domain]
+
+-------------------------------------------------------------------------------
+05: Set the proper build environment
+-------------------------------------------------------------------------------
+
+	SPARC:	    export CC='cc -xarch=v8 -xstrconst -xildoff'
+	  or
+	INTEL:	    export CC='cc -xtarget=pentium -xstrconst -xildoff' 
+
+-------------------------------------------------------------------------------
+06: Compile the software
+-------------------------------------------------------------------------------
+
+	cd unclutter*[0-9]
+
+	xmkmf				# generate a current Makefile
+
+	make clean
+	make
+
+-------------------------------------------------------------------------------
+07: Install executable in a staging directory
+-------------------------------------------------------------------------------
+
+	rm -rf cswstage
+	stagepkg INSTALL_ROOT=$PWD/cswstage install-csw
+
+-------------------------------------------------------------------------------
+08: Update the prototype file    (2nd build can use existing prototype file)
+-------------------------------------------------------------------------------
+
+	cd cswstage
+	grep '^[df]' prototype | grep -v 'root bin'
+	    [check 'f'iles & 'd'irs have owner/group 'root bin']
+	vi prototype
+	    [if necessary ...]
+	    	[change all owners/groups to 'root bin']
+		[change file permissions from 0444 to 0644]
+		[change file permissions from 0555 to 0755]
+	    [add following 'i' line as third line in file]
+	    	i depend
+
+-------------------------------------------------------------------------------
+09: Check changes in prototype from previous release and update file
+-------------------------------------------------------------------------------
+
+	diff ${HOME}/pkgs/unclutter/prototype prototype | less -+e
+	    [if any odd differences, investigate and fix]
+
+	cp prototype ${HOME}/pkgs/unclutter
+
+-------------------------------------------------------------------------------
+10: Create the package unclutter-*-SunOS5.8-{sparc,386i}-CSW.pkg.gz
+-------------------------------------------------------------------------------
+
+	cd ${HOME}/pkgs/unclutter
+	createpkg -b ${HOME}/pkgs/unclutter/src/unclutter*[0-9]/cswstage/opt/csw
+
+	  [The package name should follow this format:]
+
+	  <name>-<version>[,REV=YYYY.MM.DD]-<OSname><OSrel>-<arch>-CSW.pkg.gz
+
+-------------------------------------------------------------------------------
+11: Examine list of libraries used to see if any new CSW dependencies exist
+-------------------------------------------------------------------------------
+
+    If a new library is found, check package dependency:
+
+	pkgchk -l -p /opt/csw/lib/lib<...>
+   
+    Add entry to the depend file:
+
+        P	CSW<pkg>
+
+    Now repeat from step 07 and recreate the package
+
+-------------------------------------------------------------------------------
+12: Rebuild again on other build platform
+-------------------------------------------------------------------------------
+
+     Go to step 01 and repeat for other architecture
+
+-------------------------------------------------------------------------------
+13: Clean up
+-------------------------------------------------------------------------------
+
+    cd ${HOME}/pkgs/unclutter/src/unclutter*[0-9]
+    make clean ; rm -rf cswstage
+    cd ${HOME}/pkgs/unclutter/src
+    make pack				# if req'd, tar up and gzip source
+    make clean 
+
+-------------------------------------------------------------------------------
+14: Copy the new package to the installation area
+-------------------------------------------------------------------------------
+
+    cd pkgs/unclutter
+    cp unclutter-*.pkg.gz  /export/medusa/newpkgs
+
+-------------------------------------------------------------------------------
+15: Copy the source code tarball to the holding area
+-------------------------------------------------------------------------------
+
+    cd src
+    cp  unclutter*tar.gz  /export/medusa/src
+
+-------------------------------------------------------------------------------
+16: Notify package administrator
+-------------------------------------------------------------------------------
+
+    * Email phil at bolthole.com (Philip Brown) describing the update
+
+-----------------------------------------------------------------------------

Added: csw/mgar/pkg/unclutter/trunk/legacy/copyright
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/copyright	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/copyright	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,11 @@
+From the README file accompanying version 1.08:
+-------------------------------------------------------------------------
+The program is released into the public domain.
+Only the considerate will leave credit for the author.
+
+ORIGINAL AUTHOR:  Mark M Martin. mmm at cetia.fr  sep 1992.
+-------------------------------------------------------------------------
+
+Additions by C. Jeffery Small (jeff at cjsa.com) for version 1.09
+are also released into the public domain.  01-05-07
+-------------------------------------------------------------------------

Added: csw/mgar/pkg/unclutter/trunk/legacy/depend
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/depend	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/depend	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1 @@
+P	CSWcommon

Added: csw/mgar/pkg/unclutter/trunk/legacy/pkginfo
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/pkginfo	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/pkginfo	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,9 @@
+PKG=CSWunclutter
+NAME=unclutter - Remove idle cursor image from screen
+VERSION=1.09
+ARCH=i386
+CATEGORY=application
+CSW_CATEGORY="user, x"
+VENDOR=https://sourceforge.net/projects/unclutter/ packaged for CSW by C. Jeffery Small
+HOTLINE=http://www.blastwave.org/bugtrack/
+EMAIL=jeff at blastwave.org

Added: csw/mgar/pkg/unclutter/trunk/legacy/prototype
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/prototype	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/prototype	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,9 @@
+i pkginfo
+i copyright
+i depend
+d none share 0755 root bin
+d none share/man 0755 root bin
+d none share/man/man1 0755 root bin
+f none share/man/man1/unclutter.1 0644 root bin
+d none bin 0755 root bin
+f none bin/unclutter 0755 root bin

Added: csw/mgar/pkg/unclutter/trunk/legacy/src/Makefile
===================================================================
--- csw/mgar/pkg/unclutter/trunk/legacy/src/Makefile	                        (rev 0)
+++ csw/mgar/pkg/unclutter/trunk/legacy/src/Makefile	2009-01-30 10:49:35 UTC (rev 2939)
@@ -0,0 +1,49 @@
+###############################################################################
+#
+# FILE:		Makefile
+#
+# DESCRIPTION:	Control file for the UNClUTTER src directory.
+#
+# PACKAGE:      CSWunclutter
+#
+# REVISION:     02-05-07
+#
+# NOTES:	* Set the UVER variable to the current par version number.
+#
+#		* INSTALL_ROOT controls the location of the installation.
+#
+#		* Source is located at:    sourceforge.net
+#
+# REQMTS:	* The CJSA custom install(1M) utility in ${HOME}/bin
+#		* The CJSA custom   unpak(1M) utility in ${HOME}/bin
+#
+###############################################################################
+
+UVERS	= 1.09
+
+UDIR	= unclutter-$(UVERS)
+
+UTAR	= unclutter-$(UVERS).tar
+
+UARCH	= $(UTAR).gz
+
+help:
+	@echo "---------------------------------------------------------------"
+	@echo "Unclutter Ver:      $(UVERS)"
+	@echo "---------------------------------------------------------------"
+	@echo "make unpack     extract source code from gzipped tarball"
+	@echo ""
+	@echo ""
+	@echo "make clean      remove the source code directory"
+	@echo "---------------------------------------------------------------"
+
+
+unpack unpak:	$(UARCH)
+	unpak $(UARCH)
+
+clean:
+	@if [ ! -f $(UARCH) ] ; then \
+	    echo "You must first archive the source" ; \
+	else \
+	    rm -rf $(UDIR) ; \
+	fi

Added: csw/mgar/pkg/unclutter/trunk/legacy/src/unclutter-1.09.tar.gz
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/unclutter/trunk/legacy/src/unclutter-1.09.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream


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