[csw-devel] SF.net SVN: gar:[8683] csw/mgar/pkg/plzip/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 19 14:35:06 CET 2010


Revision: 8683
          http://gar.svn.sourceforge.net/gar/?rev=8683&view=rev
Author:   dmichelsen
Date:     2010-02-19 13:35:06 +0000 (Fri, 19 Feb 2010)

Log Message:
-----------
plzip: Update to 0.5 and Sun Studio

Modified Paths:
--------------
    csw/mgar/pkg/plzip/trunk/Makefile
    csw/mgar/pkg/plzip/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/plzip/trunk/files/0001-Use-inttypes-instead-of-stdint.patch
    csw/mgar/pkg/plzip/trunk/files/0002-Use-ucb-echo.patch

Modified: csw/mgar/pkg/plzip/trunk/Makefile
===================================================================
--- csw/mgar/pkg/plzip/trunk/Makefile	2010-02-19 13:21:20 UTC (rev 8682)
+++ csw/mgar/pkg/plzip/trunk/Makefile	2010-02-19 13:35:06 UTC (rev 8683)
@@ -1,5 +1,5 @@
 GARNAME = plzip
-GARVERSION = 0.1
+GARVERSION = 0.5
 CATEGORIES = utils
 
 DESCRIPTION = plzip is a lossless data compressor based on the LZMA algorithm.
@@ -14,15 +14,29 @@
 
 MASTER_SITES = http://download.savannah.gnu.org/releases/lzip/ 
 DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+PATCHFILES  = 0001-Use-inttypes-instead-of-stdint.patch
+PATCHFILES += 0002-Use-ucb-echo.patch
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\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 = 
+DEP_PKGS = CSWlzlib
 
-GARCOMPILER    = GNU
+VENDOR_URL = http://www.nongnu.org/lzip/lzlib.html
+
+EXTRA_CXXFLAGS = -xcode=pic32
+
+NOISALIST = 1
+NODIRPATHS = --includedir
 CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += CXX="$(CXX)"
+CONFIGURE_ARGS += CPPFLAGS="$(CPPFLAGS)"
+CONFIGURE_ARGS += CXXFLAGS="$(CXXFLAGS)"
+CONFIGURE_ARGS += LDFLAGS="$(LDFLAGS)"
 
+TEST_TARGET = check
+
+INSTALL_OVERRIDE_VARS = INSTALL
+INSTALL_OVERRIDE_VAR_INSTALL = /opt/csw/bin/ginstall
+
 include gar/category.mk

Modified: csw/mgar/pkg/plzip/trunk/checksums
===================================================================
--- csw/mgar/pkg/plzip/trunk/checksums	2010-02-19 13:21:20 UTC (rev 8682)
+++ csw/mgar/pkg/plzip/trunk/checksums	2010-02-19 13:35:06 UTC (rev 8683)
@@ -1 +1,3 @@
-8e736e5d24ca40046a2c52a5b4bebb62  plzip-0.1.tar.gz
+ac5eb1a5daa65a55d37b6bcde4c58fe7  0001-Use-inttypes-instead-of-stdint.patch
+690e11a488625fbb1f99e0ea411e28d4  0002-Use-ucb-echo.patch
+f32bd13e94afc29c6d7f2ff770845cf1  plzip-0.5.tar.gz

Added: csw/mgar/pkg/plzip/trunk/files/0001-Use-inttypes-instead-of-stdint.patch
===================================================================
--- csw/mgar/pkg/plzip/trunk/files/0001-Use-inttypes-instead-of-stdint.patch	                        (rev 0)
+++ csw/mgar/pkg/plzip/trunk/files/0001-Use-inttypes-instead-of-stdint.patch	2010-02-19 13:35:06 UTC (rev 8683)
@@ -0,0 +1,54 @@
+From 4ab77d47d08780c9f97961c34c3228a290aeed2f Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 11:51:24 +0100
+Subject: [PATCH] Use inttypes instead of stdint
+
+---
+ compress.cc   |    2 +-
+ decompress.cc |    2 +-
+ main.cc       |    3 ++-
+ 3 files changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/compress.cc b/compress.cc
+index 3f5e143..2e3b843 100644
+--- a/compress.cc
++++ b/compress.cc
+@@ -29,7 +29,7 @@
+ #include <string>
+ #include <vector>
+ #include <pthread.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include <unistd.h>
+ #include <lzlib.h>
+ 
+diff --git a/decompress.cc b/decompress.cc
+index 85baaf6..2264d1b 100644
+--- a/decompress.cc
++++ b/decompress.cc
+@@ -29,7 +29,7 @@
+ #include <string>
+ #include <vector>
+ #include <pthread.h>
+-#include <stdint.h>
++#include <inttypes.h>
+ #include <unistd.h>
+ #include <lzlib.h>
+ 
+diff --git a/main.cc b/main.cc
+index dc21a9a..d9bc0ab 100644
+--- a/main.cc
++++ b/main.cc
+@@ -35,7 +35,8 @@
+ #include <vector>
+ #include <fcntl.h>
+ #include <pthread.h>
+-#include <stdint.h>
++#include <inttypes.h>
++#include <signal.h>
+ #include <unistd.h>
+ #include <utime.h>
+ #include <sys/stat.h>
+-- 
+1.6.5.1
+

Added: csw/mgar/pkg/plzip/trunk/files/0002-Use-ucb-echo.patch
===================================================================
--- csw/mgar/pkg/plzip/trunk/files/0002-Use-ucb-echo.patch	                        (rev 0)
+++ csw/mgar/pkg/plzip/trunk/files/0002-Use-ucb-echo.patch	2010-02-19 13:35:06 UTC (rev 8683)
@@ -0,0 +1,27 @@
+From 3c11f541ea47a3e5f2bd3bd74b46de2e13740058 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Fri, 19 Feb 2010 14:30:07 +0100
+Subject: [PATCH] Use ucb echo
+
+---
+ testsuite/check.sh |    4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/testsuite/check.sh b/testsuite/check.sh
+index 438df1b..ae98708 100755
+--- a/testsuite/check.sh
++++ b/testsuite/check.sh
+@@ -5,6 +5,10 @@
+ # This script is free software: you have unlimited permission
+ # to copy, distribute and modify it.
+ 
++# Only ucb echo understands -n
++PATH=/usr/ucb:$PATH
++export PATH
++
+ LC_ALL=C
+ export LC_ALL
+ objdir=`pwd`
+-- 
+1.6.5.1
+


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