[csw-devel] SF.net SVN: gar:[18873] csw/mgar/pkg
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Mon Jul 30 13:31:35 CEST 2012
Revision: 18873
http://gar.svn.sourceforge.net/gar/?rev=18873&view=rev
Author: pfelecan
Date: 2012-07-30 11:31:35 +0000 (Mon, 30 Jul 2012)
Log Message:
-----------
webkitgtk/trunk: started packaging (this should replace webkit)
Added Paths:
-----------
csw/mgar/pkg/webkitgtk/
csw/mgar/pkg/webkitgtk/Makefile
csw/mgar/pkg/webkitgtk/branches/
csw/mgar/pkg/webkitgtk/tags/
csw/mgar/pkg/webkitgtk/trunk/
csw/mgar/pkg/webkitgtk/trunk/Makefile
csw/mgar/pkg/webkitgtk/trunk/checksums
csw/mgar/pkg/webkitgtk/trunk/files/
csw/mgar/pkg/webkitgtk/trunk/files/0001-Fix-GLib-run-test.patch
Added: csw/mgar/pkg/webkitgtk/Makefile
===================================================================
--- csw/mgar/pkg/webkitgtk/Makefile (rev 0)
+++ csw/mgar/pkg/webkitgtk/Makefile 2012-07-30 11:31:35 UTC (rev 18873)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/webkitgtk/trunk
___________________________________________________________________
Added: svn:ignore
+ work
Added: csw/mgar/pkg/webkitgtk/trunk/Makefile
===================================================================
--- csw/mgar/pkg/webkitgtk/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/webkitgtk/trunk/Makefile 2012-07-30 11:31:35 UTC (rev 18873)
@@ -0,0 +1,48 @@
+# $Id$
+
+USNAME = webkit
+NAME = $(USNAME)gtk
+VERSION = 1.8.1
+GARTYPE = v2
+CATEGORIES = gnome
+
+DESCRIPTION = WebKitGTK+ is the port of the portable web rendering engine WebKit to the GTK+ platform.
+define BLURB
+ WebKitGTK+ is the port of the portable web rendering engine WebKit to the
+ GTK+ platform.
+endef
+
+MASTER_SITES = http://www.webkitgtk.org/releases/
+DISTNAME = $(USNAME)-$(VERSION)
+DISTFILES = $(DISTNAME).tar.xz
+PATCHFILES += 0001-Fix-GLib-run-test.patch
+
+GARCOMPILER = GNU
+
+BUILD_DEP_PKGS += CSWgperf
+BUILD_DEP_PKGS += CSWlibglib2-dev
+
+EXTRA_CONFIGURE_ENV += GLIB_CFLAGS="-I$(includedir)/glib-2.0 -I$(libdir)/glib-2.0/include"
+EXTRA_CONFIGURE_ENV += GLIB_LIBS="-L$(libdir) -R$(libdir) -lglib-2.0"
+
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-gtk=2.0
+
+PACKAGING_PLATFORMS = solaris10-sparc
+PACKAGING_PLATFORMS += solaris10-i386
+
+include gar/category.mk
+
+# pre-configure-modulated:
+# @echo "executing $@"
+# cd $(WORKSRC) && libtoolize
+# cd $(WORKSRC) && aclocal -I Source/autotools
+# cd $(WORKSRC) && automake -a
+# cd $(WORKSRC) && autoconf
+# $(MAKECOOKIE)
+
+PATH := /opt/csw/gnu:/opt/csw/libexec/flex-2.5.35/bin:$(PATH)
+
+# this is private and not available publicly
+mydependencies:
+ for package in $(PACKAGES); do echo '___' $${package}; $(HOME)/bin/ocswdeplist --depth 1 --dependencies --packaging --csw --prototype $(HOME)/opencsw/$(NAME)/trunk/work/build-global/$${package}.prototype --target $(HOME)/opencsw/$(NAME)/trunk/work/pkgroot; done
Property changes on: csw/mgar/pkg/webkitgtk/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/webkitgtk/trunk/checksums
===================================================================
--- csw/mgar/pkg/webkitgtk/trunk/checksums (rev 0)
+++ csw/mgar/pkg/webkitgtk/trunk/checksums 2012-07-30 11:31:35 UTC (rev 18873)
@@ -0,0 +1 @@
+f2f01b1fdc7262a2eede81ebed0970b2 webkit-1.8.1.tar.xz
Added: csw/mgar/pkg/webkitgtk/trunk/files/0001-Fix-GLib-run-test.patch
===================================================================
--- csw/mgar/pkg/webkitgtk/trunk/files/0001-Fix-GLib-run-test.patch (rev 0)
+++ csw/mgar/pkg/webkitgtk/trunk/files/0001-Fix-GLib-run-test.patch 2012-07-30 11:31:35 UTC (rev 18873)
@@ -0,0 +1,25 @@
+From b97b35fd0ba7cf3f4322055b3faaa7b19e9aeace Mon Sep 17 00:00:00 2001
+From: Peter Felecan <pfelecan at opencsw.org>
+Date: Fri, 27 Jul 2012 15:35:58 +0200
+Subject: [PATCH] Fix GLib run test
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 661cf92..6881525 100755
+--- a/configure
++++ b/configure
+@@ -18898,7 +18898,7 @@ $as_echo "no" >&6; }
+ int
+ main ()
+ {
+- return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
++ int v = ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
+ ;
+ return 0;
+ }
+--
+1.7.10.3
+
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