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

pfelecan at users.sourceforge.net pfelecan at users.sourceforge.net
Tue Apr 30 17:01:16 CEST 2013


Revision: 20916
          http://gar.svn.sourceforge.net/gar/?rev=20916&view=rev
Author:   pfelecan
Date:     2013-04-30 15:01:16 +0000 (Tue, 30 Apr 2013)
Log Message:
-----------
xdg-utils/trunk: instatiate

Added Paths:
-----------
    csw/mgar/pkg/xdg-utils/
    csw/mgar/pkg/xdg-utils/Makefile
    csw/mgar/pkg/xdg-utils/branches/
    csw/mgar/pkg/xdg-utils/tags/
    csw/mgar/pkg/xdg-utils/trunk/
    csw/mgar/pkg/xdg-utils/trunk/Makefile
    csw/mgar/pkg/xdg-utils/trunk/checksums
    csw/mgar/pkg/xdg-utils/trunk/files/
    csw/mgar/pkg/xdg-utils/trunk/files/0001-adapt-to-available-utilities-set.patch

Added: csw/mgar/pkg/xdg-utils/Makefile
===================================================================
--- csw/mgar/pkg/xdg-utils/Makefile	                        (rev 0)
+++ csw/mgar/pkg/xdg-utils/Makefile	2013-04-30 15:01:16 UTC (rev 20916)
@@ -0,0 +1,2 @@
+%:
+	$(MAKE) -C trunk $*


Property changes on: csw/mgar/pkg/xdg-utils/trunk
___________________________________________________________________
Added: svn:ignore
   + work


Added: csw/mgar/pkg/xdg-utils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xdg-utils/trunk/Makefile	                        (rev 0)
+++ csw/mgar/pkg/xdg-utils/trunk/Makefile	2013-04-30 15:01:16 UTC (rev 20916)
@@ -0,0 +1,35 @@
+# $Id$
+
+NAME	=	xdg-utils
+# TODO: try 1.1.0 rc1 + git, same as Debian
+VERSION	=	1.0.2
+GARTYPE	=	v2
+
+DESCRIPTION	=	Basic desktop integration functions
+define BLURB
+  A set of simple scripts that provide basic desktop integration functions
+  for any Free Desktop.
+endef
+
+MASTER_SITES =	http://portland.freedesktop.org/download/
+DISTFILES 	=	$(DISTNAME).tgz
+PATCHFILES	+=	0001-adapt-to-available-utilities-set.patch
+
+BUILD_DEP_PKGS	+=	CSWxmlto
+
+GARCOMPILER		=	GNU
+CONFIGURE_ARGS	=	$(DIRPATHS)
+
+TEST_SCRIPTS	=	custom
+
+include gar/category.mk
+
+PATH := /opt/csw/gnu:/opt/csw/libexec/flex-2.5.35/bin:$(PATH)
+
+# TODO there is work remaining on specific tests
+test-custom:
+	-(cd $(WORKSRC)/tests && \
+	 	/usr/bin/env -i \
+		  $(CONFIGURE_ENV) \
+			./testrun -R -C -I)
+	@$(MAKECOOKIE)


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

Added: csw/mgar/pkg/xdg-utils/trunk/checksums
===================================================================
--- csw/mgar/pkg/xdg-utils/trunk/checksums	                        (rev 0)
+++ csw/mgar/pkg/xdg-utils/trunk/checksums	2013-04-30 15:01:16 UTC (rev 20916)
@@ -0,0 +1 @@
+348a5b91dc66426505022c74a64b2940  xdg-utils-1.0.2.tgz

Added: csw/mgar/pkg/xdg-utils/trunk/files/0001-adapt-to-available-utilities-set.patch
===================================================================
--- csw/mgar/pkg/xdg-utils/trunk/files/0001-adapt-to-available-utilities-set.patch	                        (rev 0)
+++ csw/mgar/pkg/xdg-utils/trunk/files/0001-adapt-to-available-utilities-set.patch	2013-04-30 15:01:16 UTC (rev 20916)
@@ -0,0 +1,34 @@
+From d6f2e6a0d51b29aaa9548528c5e068c7a591e270 Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Tue, 30 Apr 2013 16:52:51 +0200
+Subject: [PATCH] adapt to available utilities set
+
+---
+ tests/testrun | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/tests/testrun b/tests/testrun
+index 822fc69..c51340a 100755
+--- a/tests/testrun
++++ b/tests/testrun
+@@ -42,7 +42,7 @@ exit 1
+ }
+ MYARGS="$@"
+ 
+-if [ `whoami` == root ] ; then
++if [ `id -u -n` = root ] ; then
+ 	XDG_TEST_DONT_SU="set"
+ 	DEFAULT_TEST_GROUPS="$ROOT_TEST_GROUPS"
+ 	RUNNING_AS="root"
+@@ -75,7 +75,7 @@ if [ -z "$XDG_TEST_DIR" ] ; then
+ 	export XDG_TEST_DIR="$PWD"
+ 	echo "WARNING: guessed XDG_TEST_DIR to be $XDG_TEST_DIR"
+ fi
+-if [ -z `which xdg-mime 2>/dev/null` ] && [ -d "$XDG_TEST_DIR/../scripts" ] ; then
++if [ -z "$(type xdg-mime 2>/dev/null)" ] && [ -d "$XDG_TEST_DIR/../scripts" ] ; then
+ 	export PATH="$PATH:$XDG_TEST_DIR/../scripts"
+ 	echo "WARNING: modified PATH to add '$XDG_TEST_DIR/../scripts'"
+ fi
+-- 
+1.8.1.4
+

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