[csw-devel] SF.net SVN: gar:[18050] csw/mgar/pkg
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sat May 19 00:06:17 CEST 2012
Revision: 18050
http://gar.svn.sourceforge.net/gar/?rev=18050&view=rev
Author: wahwah
Date: 2012-05-18 22:06:17 +0000 (Fri, 18 May 2012)
Log Message:
-----------
windowmaker/trunk: Initial commit
Added Paths:
-----------
csw/mgar/pkg/windowmaker/
csw/mgar/pkg/windowmaker/Makefile
csw/mgar/pkg/windowmaker/branches/
csw/mgar/pkg/windowmaker/tags/
csw/mgar/pkg/windowmaker/trunk/
csw/mgar/pkg/windowmaker/trunk/Makefile
csw/mgar/pkg/windowmaker/trunk/checksums
csw/mgar/pkg/windowmaker/trunk/files/
csw/mgar/pkg/windowmaker/trunk/files/0001-add-__progname.patch
csw/mgar/pkg/windowmaker/trunk/files/0002-use-wconfig-in-wxpaste-because-of-__progname.patch
Added: csw/mgar/pkg/windowmaker/Makefile
===================================================================
--- csw/mgar/pkg/windowmaker/Makefile (rev 0)
+++ csw/mgar/pkg/windowmaker/Makefile 2012-05-18 22:06:17 UTC (rev 18050)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/windowmaker/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/windowmaker/trunk/Makefile
===================================================================
--- csw/mgar/pkg/windowmaker/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/windowmaker/trunk/Makefile 2012-05-18 22:06:17 UTC (rev 18050)
@@ -0,0 +1,89 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = windowmaker
+VERSION = 0.95.2
+GARTYPE = v2
+CATEGORIES = apps
+
+DESCRIPTION = X11 window manager
+define BLURB
+endef
+
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+GARCOMPILER = GNU
+
+MASTER_SITES = http://windowmaker.org/pub/source/release/
+DISTNAME = WindowMaker-$(VERSION)
+DISTFILES = $(DISTNAME).tar.gz
+
+PATCHFILES += 0001-add-__progname.patch
+PATCHFILES += 0002-use-wconfig-in-wxpaste-because-of-__progname.patch
+
+EXTRA_INC = /opt/csw/X11/include
+
+EXTRA_LINKER_FLAGS = -lrt
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+PACKAGES += CSWlibwings2
+PKGFILES_CSWlibwings2 += $(call baseisadirs,$(libdir),libWINGs\.so\.2(\.\d+)*)
+SPKG_DESC_CSWlibwings2 += $(DESCRIPTION), libWINGs.so.2
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWlibwutil2
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWlibxft2
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWlibxrender
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWlibwraster3
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWlibfreetype6
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWlibgcc-s1
+RUNTIME_DEP_PKGS_CSWlibwings2 += CSWfconfig
+
+PACKAGES += CSWlibwutil2
+PKGFILES_CSWlibwutil2 += $(call baseisadirs,$(libdir),libWUtil\.so\.2(\.\d+)*)
+SPKG_DESC_CSWlibwutil2 += $(DESCRIPTION), libWUtil.so.2
+RUNTIME_DEP_PKGS_CSWlibwutil2 += CSWlibgcc-s1
+# Not investigated.
+CHECKPKG_OVERRIDES_CSWlibwutil2 += file-with-bad-content|/usr/local|root/opt/csw/lib/libWUtil.so.2.0.0
+
+PACKAGES += CSWlibwraster3
+PKGFILES_CSWlibwraster3 += $(call baseisadirs,$(libdir),libwraster\.so\.3(\.\d+)*)
+SPKG_DESC_CSWlibwraster3 += $(DESCRIPTION), libwraster.so.3
+RUNTIME_DEP_PKGS_CSWlibwraster3 += CSWlibpng12-0
+RUNTIME_DEP_PKGS_CSWlibwraster3 += CSWxpm
+RUNTIME_DEP_PKGS_CSWlibwraster3 += CSWlibtiff3
+RUNTIME_DEP_PKGS_CSWlibwraster3 += CSWlibjpeg7
+RUNTIME_DEP_PKGS_CSWlibwraster3 += CSWlibgif4
+RUNTIME_DEP_PKGS_CSWlibwraster3 += CSWlibgcc-s1
+
+PACKAGES += CSWwindowmaker-dev
+SPKG_DESC_CSWwindowmaker-dev += $(DESCRIPTION), development files
+PKGFILES_CSWwindowmaker-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWwindowmaker-dev += CSWlibwutil2
+RUNTIME_DEP_PKGS_CSWwindowmaker-dev += CSWlibwraster3
+RUNTIME_DEP_PKGS_CSWwindowmaker-dev += CSWlibwings2
+
+PACKAGES += CSWwindowmaker
+SPKG_DESC_CSWwindowmaker = $(DESCRIPTION)
+OBSOLETED_BY_CSWwindowmaker = CSWwmaker
+INCOMPATIBLE_PKGS_CSWwindowmaker = CSWwmaker
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWemacscommon
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWfconfig
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibfreetype6
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibgif4
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibjpeg7
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibpng12-0
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibtiff3
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibwings2
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibwraster3
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibwutil2
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibxft2
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWlibxrender
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWperl
+RUNTIME_DEP_PKGS_CSWwindowmaker += CSWxpm
+# Documentation
+CHECKPKG_OVERRIDES_CSWwindowmaker += file-with-bad-content
+
+include gar/category.mk
+
+post-configure-modulated:
+ gpatch -i $(abspath $(FILEDIR))/0001-add-__progname.patch -p1 -d $(WORKSRC)
+ @$(MAKECOOKIE)
Property changes on: csw/mgar/pkg/windowmaker/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/windowmaker/trunk/checksums
===================================================================
--- csw/mgar/pkg/windowmaker/trunk/checksums (rev 0)
+++ csw/mgar/pkg/windowmaker/trunk/checksums 2012-05-18 22:06:17 UTC (rev 18050)
@@ -0,0 +1 @@
+ae62bad9c4dee504066e0f172b565ff0 WindowMaker-0.95.2.tar.gz
Added: csw/mgar/pkg/windowmaker/trunk/files/0001-add-__progname.patch
===================================================================
--- csw/mgar/pkg/windowmaker/trunk/files/0001-add-__progname.patch (rev 0)
+++ csw/mgar/pkg/windowmaker/trunk/files/0001-add-__progname.patch 2012-05-18 22:06:17 UTC (rev 18050)
@@ -0,0 +1,25 @@
+From 5fc3bdf311ecb49c8805297e5f2a1a5ef8514598 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Fri, 18 May 2012 22:56:45 +0200
+Subject: [PATCH 1/2] add __progname
+
+---
+ src/wconfig.h | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/src/wconfig.h b/src/wconfig.h
+index 21741b7..f0a014a 100644
+--- a/src/wconfig.h
++++ b/src/wconfig.h
+@@ -432,3 +432,8 @@
+
+ #endif /* WMCONFIG_H_ */
+
++#ifdef HAVE___PROGNAME
++extern char *__progname;
++#else
++char *__progname;
++#endif
+--
+1.7.10
+
Added: csw/mgar/pkg/windowmaker/trunk/files/0002-use-wconfig-in-wxpaste-because-of-__progname.patch
===================================================================
--- csw/mgar/pkg/windowmaker/trunk/files/0002-use-wconfig-in-wxpaste-because-of-__progname.patch (rev 0)
+++ csw/mgar/pkg/windowmaker/trunk/files/0002-use-wconfig-in-wxpaste-because-of-__progname.patch 2012-05-18 22:06:17 UTC (rev 18050)
@@ -0,0 +1,25 @@
+From 3e5602da67182ea3e9586e156c9fc53b2c25a770 Mon Sep 17 00:00:00 2001
+From: Maciej Blizinski <maciej at opencsw.org>
+Date: Fri, 18 May 2012 22:57:05 +0200
+Subject: [PATCH 2/2] use wconfig in wxpaste because of __progname
+
+---
+ util/wxpaste.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/util/wxpaste.c b/util/wxpaste.c
+index 87fc892..a41a3ba 100644
+--- a/util/wxpaste.c
++++ b/util/wxpaste.c
+@@ -17,7 +17,7 @@
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+-#include "../config.h"
++#include "../src/wconfig.h"
+
+ #include <stdio.h>
+ #include <stdlib.h>
+--
+1.7.10
+
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