Skip to contentSkip to conversation

webkit-gtk_svn: Update recipe to use r63746.

PATCH New David Kozub 1 participant 1 message Jul 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 webkit-gtk_svn: Update recipe to use r63746.

Tested GtkLauncher on om-gta02. Built epiphany and devhelp to see if they compile ok with new version.

---
 recipes/webkit/webkit-gtk/GNUmakefile.am           |  118 +++++++-------
 recipes/webkit/webkit-gtk/Makefile                 |   17 --
 recipes/webkit/webkit-gtk/Makefile.shared          |   18 --
 recipes/webkit/webkit-gtk/WebKit.pri               |  107 ------------
 recipes/webkit/webkit-gtk/WebKit.pro               |   13 --
 recipes/webkit/webkit-gtk/autogen.sh               |   63 -------
 recipes/webkit/webkit-gtk/configure.ac             |  101 +++++++++++-
 recipes/webkit/webkit-gtk/copy-lib-jsc-1.patch     |   17 ++
 recipes/webkit/webkit-gtk/gtk-doc.make             |  173 --------------------
 .../webkit/webkit-gtk/install-gtk-launcher.patch   |   23 +++
 recipes/webkit/webkit-gtk/update-webkit.sh         |    8 -
 recipes/webkit/webkit-gtk_svn.bb                   |   51 ++----
 12 files changed, 209 insertions(+), 500 deletions(-)
 delete mode 100644 recipes/webkit/webkit-gtk/Makefile
 delete mode 100644 recipes/webkit/webkit-gtk/Makefile.shared
 delete mode 100644 recipes/webkit/webkit-gtk/WebKit.pri
 delete mode 100644 recipes/webkit/webkit-gtk/WebKit.pro
 delete mode 100644 recipes/webkit/webkit-gtk/autogen.sh
 create mode 100644 recipes/webkit/webkit-gtk/copy-lib-jsc-1.patch
 delete mode 100644 recipes/webkit/webkit-gtk/gtk-doc.make
 create mode 100644 recipes/webkit/webkit-gtk/install-gtk-launcher.patch
 delete mode 100755 recipes/webkit/webkit-gtk/update-webkit.sh
recipes/webkit/webkit-gtk/GNUmakefile.am +62 -56
index a662290..755b51b 100644
@@ -35,15 +35,11 @@ DISTCHECK_CONFIGURE_FLAGS = \
 
 # Directory for autogenerated sources
 GENSOURCES := $(top_builddir)/DerivedSources
-GENSOURCESWEBKITDOM := $(top_builddir)/DerivedSources/webkit
+GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore
+GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore
+GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit
 GENPROGRAMS := $(top_builddir)/Programs
 
-# Script for creating hash tables
-CREATE_HASH_TABLE = $(srcdir)/JavaScriptCore/create_hash_table
-
-# Script for creating regexp tables
-CREATE_REGEXP_TABLES = $(srcdir)/JavaScriptCore/create_regex_tables
-
 # Programs to run the WebKitGtk unit tests
 GTESTER = gtester
 GTESTER_REPORT = gtester-report
@@ -53,7 +49,7 @@ bin_PROGRAMS :=
 noinst_PROGRAMS :=
 noinst_HEADERS :=
 noinst_LTLIBRARIES :=
-lib_LIBRARIES :=
+lib_LTLIBRARIES :=
 IDL_BINDINGS :=
 TEST_PROGS :=
 POFILES :=
@@ -63,13 +59,11 @@ javascriptcore_cppflags:=
 javascriptcore_sources :=
 javascriptcore_built_sources :=
 javascriptcore_built_nosources :=
-javascriptcore_dist :=
 webcore_cppflags :=
 webcore_sources :=
 webcore_libadd :=
 webcore_built_sources :=
 webcore_built_nosources :=
-webcore_dist :=
 webcoregtk_cppflags :=
 webcoregtk_sources :=
 IDL_BINDINGS_GDOM :=
@@ -167,8 +161,8 @@ version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter
 endif
 
 # Shared libraries
-lib_LTLIBRARIES = \
-	libwebkit-1.0.la
+lib_LTLIBRARIES += \
+	libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@[email protected]
 
 # Convenience libraries
 noinst_LTLIBRARIES += \
@@ -181,7 +175,7 @@ javascriptcore_cppflags += \
 	-I$(srcdir)/JavaScriptCore/wtf \
 	-I$(srcdir)/JavaScriptCore/wtf/gtk \
 	-I$(srcdir)/JavaScriptCore/wtf/gobject \
-	-I$(top_builddir)/DerivedSources
+	-I$(top_builddir)/DerivedSources/JavaScriptCore
 
 nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
 	$(javascriptcore_built_nosources)
@@ -189,7 +183,7 @@ nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
 nodist_libJavaScriptCore_la_SOURCES = \
 	$(javascriptcore_built_sources)
 
-libJavaScriptCore_ladir = $(prefix)/include/webkit-1.0/JavaScriptCore
+libJavaScriptCore_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/JavaScriptCore
 libJavaScriptCore_la_HEADERS = $(javascriptcore_h_api)
 
 libJavaScriptCore_la_SOURCES = \
@@ -216,45 +210,44 @@ libJavaScriptCore_la_CPPFLAGS = \
 	$(javascriptcore_cppflags)
 
 # WebKit
-nodist_EXTRA_libwebkit_1_0_la_SOURCES = \
+nodist_EXTRA_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
 	$(webcore_built_nosources)
 
-nodist_libwebkit_1_0_la_SOURCES = \
+nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
 	$(webcore_built_sources) \
 	$(webkitgtk_built_sources)
 
-libwebkit_1_0_ladir = $(prefix)/include/webkit-1.0/webkit
-libwebkit_1_0_la_HEADERS = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/webkit
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
 	$(webkitgtk_h_api) \
 	WebKit/gtk/webkit/webkitenumtypes.h
 
-libwebkit_1_0_la_SOURCES = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
 	$(webcore_sources) \
 	$(webcoregtk_sources) \
 	$(webkitgtk_sources)
 
-libwebkit_1_0_la_CXXFLAGS = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
 	$(global_cxxflags) \
 	$(corekit_cflags)
 
-libwebkit_1_0_la_CFLAGS = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
 	$(global_cflags) \
 	$(corekit_cflags)
 
-libwebkit_1_0_la_CPPFLAGS = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
 	$(corekit_cppflags) \
 	$(webkitgtk_cppflags) \
 	$(HILDON_CPPFLAGS)
 
-libwebkit_1_0_la_LDFLAGS = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \
 	-version-info @LIBWEBKITGTK_VERSION@ \
 	$(version_script) \
 	$(no_undefined)
 
-libwebkit_1_0_la_LIBADD = \
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD = \
 	-lpthread \
 	libJavaScriptCore.la \
-	libWebCoreJS.la \
 	libgdom.la \
 	$(webcore_ldflags) \
 	$(CAIRO_LIBS) \
@@ -277,7 +270,7 @@ libwebkit_1_0_la_LIBADD = \
 	$(UNICODE_LIBS) \
 	$(XT_LIBS)
 
-libgdom_ladir = $(prefix)/include/webkit-1.0/webkit
+libgdom_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/webkit
 nodist_libgdom_la_HEADERS = \
 	$(libgdom_h_api)
 
@@ -311,7 +304,6 @@ endif
 if !ENABLE_DEBUG
 global_cppflags += -DNDEBUG
 global_cflags += $(SYMBOL_VISIBILITY)
-
 else
 webcoregtk_cppflags += \
 	-DG_DISABLE_DEPRECATED \
@@ -357,10 +349,10 @@ webkitgtk_h_api += \
 	$(top_builddir)/WebKit/gtk/webkit/webkitversion.h
 
 webkitgtk_built_sources += \
-	DerivedSources/webkitenumtypes.cpp \
-	DerivedSources/webkitdomenumtypes.cpp \
-	DerivedSources/webkitmarshal.cpp \
-	DerivedSources/webkitmarshal.h \
+	DerivedSources/webkit/webkitenumtypes.cpp \
+	DerivedSources/webkit/webkitdomenumtypes.cpp \
+	DerivedSources/webkit/webkitmarshal.cpp \
+	DerivedSources/webkit/webkitmarshal.h \
 	WebKit/gtk/webkit/webkitenumtypes.h
 
 webkitgtk_sources += \
@@ -415,7 +407,7 @@ webkitgtk_cppflags += \
 	-I$(srcdir)/WebKit/gtk/webkit \
 	-I$(top_builddir)/WebKit/gtk \
 	-I$(top_builddir)/WebKit/gtk/webkit \
-	-I$(GENSOURCESWEBKITDOM)
+	-I$(GENSOURCES_WEBKIT)
 
 webkitgtk_cleanfiles += \
 	$(top_builddir)/stamp-webkitmarshal.cpp \
@@ -425,38 +417,39 @@ webkitgtk_cleanfiles += \
 	$(top_builddir)/Programs/GtkLauncher \
 	$(top_builddir)/WebKit/gtk/docs/version.xml \
 	$(top_builddir)/WebKit/gtk/docs/GNUmakefile \
-	$(top_builddir)/WebKit/gtk/webkit-1.0.pc \
+	$(top_builddir)/WebKit/gtk/@WEBKITGTK_PC_NAME@-@[email protected] \
 	$(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h \
 	$(top_builddir)/WebKit/gtk/webkit/webkitversion.h
 
 pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = WebKit/gtk/webkit-1.0.pc
+pkgconfig_DATA = WebKit/gtk/@WEBKITGTK_PC_NAME@-@[email protected]
 
 if ENABLE_INTROSPECTION
-JSCORE_GIRSOURCES += JSCore-1.0.gir
-WEBKIT_GIRSOURCES += WebKit-1.0.gir
 
-# JSCore-1.0.gir is handwritten - this is a hack to make the typelib
-# generation work during make dist
-JSCore-1.0.gir: $(srcdir)/WebKit/gtk/JSCore-1.0.gir
-	cp $(srcdir)/WebKit/gtk/JSCore-1.0.gir $(builddir)/
+JSCore-@[email protected]: $(builddir)/WebKit/gtk/JSCore-@[email protected]
+	cp $(builddir)/WebKit/gtk/JSCore-@[email protected] $(builddir)/
+
+JSCORE_GIRSOURCES += JSCore-@[email protected]
+WEBKIT_GIRSOURCES += WebKit-@[email protected]
 
-$(WEBKIT_GIRSOURCES): $(JSCORE_GIRSOURCES) $(G_IR_SCANNER) libwebkit-1.0.la
-	$(AM_V_GEN)$(G_IR_SCANNER) -v --namespace WebKit --nsversion=1.0 \
+$(WEBKIT_GIRSOURCES): $(G_IR_SCANNER) $(JSCORE_GIRSOURCES) libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@[email protected]
+	$(AM_V_GEN)$(G_IR_SCANNER) -v --namespace WebKit --nsversion=@WEBKITGTK_API_VERSION@ \
 	     --include=GObject-2.0 \
-	     --include=Gtk-2.0 \
-	     --include=JSCore-1.0 \
+	     --include=Gtk-@GTK_API_VERSION@ \
+	     --include=JSCore-@WEBKITGTK_API_VERSION@ \
 	     --include=Soup-2.4 \
-	     --library=webkit-1.0 \
+	     --library=webkitgtk-@WEBKITGTK_API_VERSION@ \
 	     --libtool="$(LIBTOOL)" \
 	     --pkg gobject-2.0 \
-	     --pkg gtk+-2.0 \
+	     --pkg gtk+-@GTK_API_VERSION@ \
 	     --pkg libsoup-2.4 \
 	     --output $@ \
 	     --add-include-path $(top_srcdir)/WebKit/gtk \
+	     --add-include-path $(builddir) \
 	     -I$(top_srcdir)/WebKit/gtk \
 	     -I$(top_builddir)/WebKit/gtk \
 	     -I$(top_builddir)/DerivedSources \
+	     -I$(top_builddir)/DerivedSources/webkit \
 	     -I$(top_srcdir)/JavaScriptCore/ForwardingHeaders \
 	     -I$(top_srcdir) \
 	     $(webkitgtk_h_api) \
@@ -469,15 +462,15 @@ typelibsdir += $(libdir)/girepository-1.0
 typelibs_DATA += $(JSCORE_GIRSOURCES:.gir=.typelib) $(WEBKIT_GIRSOURCES:.gir=.typelib)
 
 %.typelib: %.gir $(G_IR_COMPILER)
-	$(AM_V_GEN)$(G_IR_COMPILER) --includedir $(top_srcdir)/WebKit/gtk $< -o $@
+	$(AM_V_GEN)$(G_IR_COMPILER) --includedir $(top_srcdir)/WebKit/gtk --includedir $(builddir) $< -o $@
 
 CLEANFILES += $(JSCORE_GIRSOURCES) $(WEBKIT_GIRSOURCES) $(typelibs_DATA)
 
 endif
 
-EXTRA_DIST += WebKit/gtk/JSCore-1.0.gir
+EXTRA_DIST += $(builddir)/WebKit/gtk/JSCore-@[email protected]
 
-WEBKIT_MARSHAL = $(GENSOURCES)/webkitmarshal
+WEBKIT_MARSHAL = $(GENSOURCES_WEBKIT)/webkitmarshal
 WEBKIT_MARSHAL_LIST = $(top_srcdir)/WebKit/gtk/webkitmarshal.list
 
 $(WEBKIT_MARSHAL).cpp: stamp-webkitmarshal.cpp
@@ -517,7 +510,7 @@ stamp-webkitenumtypes.h: $(webkitgtk_h_api) GNUmakefile
 	&& rm -f xgen-gth \
 	&& echo timestamp > $(@F)
 
-DerivedSources/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile
+DerivedSources/webkit/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile
 	$(AM_V_GEN)glib-mkenums \
 			--fhead "#include <config.h>\n" \
 			--fhead "#include <glib-object.h>\n" \
@@ -560,7 +553,7 @@ stamp-webkitdomenumtypes.h: $(libgdom_h_api) GNUmakefile
 	&& rm -f xgen-cgth \
 	&& echo timestamp > $(@F)
 
-DerivedSources/webkitdomenumtypes.cpp: $(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h $(libgdom_h_api) GNUmakefile
+DerivedSources/webkit/webkitdomenumtypes.cpp: $(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h $(libgdom_h_api) GNUmakefile
 	$(AM_V_GEN)glib-mkenums \
 			--fhead "#include <config.h>\n" \
 			--fhead "#include <glib-object.h>\n" \
@@ -586,8 +579,6 @@ DerivedSources/webkitdomenumtypes.cpp: $(top_builddir)/WebKit/gtk/webkit/webkitd
 EXTRA_DIST += \
 	$(srcdir)/gtk-doc.make \
 	WebKit/LICENSE \
-	$(javascriptcore_dist) \
-	$(webcore_dist) \
 	$(srcdir)/autotools/symbols.filter \
 	$(srcdir)/WebKit/gtk/ChangeLog \
 	$(srcdir)/WebKit/gtk/NEWS \
@@ -603,7 +594,7 @@ EXTRA_DIST += \
 	$(srcdir)/WebKit/gtk/tests/test_utils.h
 
 # extra resource files
-resourcesdir = ${datadir}/webkit-1.0/resources
+resourcesdir = ${datadir}/webkit-@WEBKITGTK_API_VERSION@/resources
 dist_resources_DATA = \
 	$(shell ls $(srcdir)/WebKit/gtk/resources/*.html)
 
@@ -632,7 +623,7 @@ webkit_tests_cflags = \
 	$(LIBSOUP_CFLAGS)
 
 webkit_tests_ldadd = \
-	libwebkit-1.0.la \
+	libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@[email protected] \
 	$(GTK_LIBS)	\
 	$(GLIB_LIBS) \
 	$(LIBSOUP_LIBS)
@@ -644,6 +635,7 @@ webkit_tests_ldflags = \
 TEST_PROGS += \
 	Programs/unittests/testdomdocument \
 	Programs/unittests/testdomdomwindow \
+	Programs/unittests/testdomnode \
 	Programs/unittests/testhttpbackend \
 	Programs/unittests/testloading \
 	Programs/unittests/testglobals \
@@ -662,7 +654,8 @@ TEST_PROGS += \
 	Programs/unittests/testwebresource \
 	Programs/unittests/testwebdatasource \
 	Programs/unittests/testwebview \
-	Programs/unittests/testkeyevents
+	Programs/unittests/testkeyevents \
+	Programs/unittests/testcopyandpaste
 
 # Add additional tests here
 Programs_unittests_testdomdocument_SOURCES = WebKit/gtk/tests/testdomdocument.c
@@ -675,6 +668,11 @@ Programs_unittests_testdomdomwindow_CFLAGS = $(webkit_tests_cflags)
 Programs_unittests_testdomdomwindow_LDADD = $(webkit_tests_ldadd)
 Programs_unittests_testdomdomwindow_LDFLAGS = $(webkit_tests_ldflags)
 
+Programs_unittests_testdomnode_SOURCES = WebKit/gtk/tests/testdomnode.c
+Programs_unittests_testdomnode_CFLAGS = $(webkit_tests_cflags)
+Programs_unittests_testdomnode_LDADD = $(webkit_tests_ldadd)
+Programs_unittests_testdomnode_LDFLAGS = $(webkit_tests_ldflags)
+
 Programs_unittests_testhttpbackend_SOURCES = WebKit/gtk/tests/testhttpbackend.c
 Programs_unittests_testhttpbackend_CFLAGS = $(webkit_tests_cflags)
 Programs_unittests_testhttpbackend_LDADD = $(webkit_tests_ldadd)
@@ -767,6 +765,11 @@ Programs_unittests_testkeyevents_CFLAGS = $(webkit_tests_cflags)
 Programs_unittests_testkeyevents_LDADD = $(webkit_tests_ldadd)
 Programs_unittests_testkeyevents_LDFLAGS = $(webkit_tests_ldflags)
 
+Programs_unittests_testcopyandpaste_SOURCES = WebKit/gtk/tests/testcopyandpaste.c
+Programs_unittests_testcopyandpaste_CFLAGS = $(webkit_tests_cflags)
+Programs_unittests_testcopyandpaste_LDADD = $(webkit_tests_ldadd)
+Programs_unittests_testcopyandpaste_LDFLAGS = $(webkit_tests_ldflags)
+
 # Autogenerated sources
 BUILT_SOURCES += \
 	$(javascriptcore_built_sources) \
@@ -819,6 +822,9 @@ maintainer-clean-local: distclean-local
 distclean-local:
 	-rm -rf $(GENSOURCES) $(GENPROGRAMS)
 
+dist-hook:
+	cp $(srcdir)/WebKit/gtk/NEWS $(distdir)
+
 install-data-local: po-install-data-local
 
 installdirs-data-local: po-installdirs-data-local
recipes/webkit/webkit-gtk/Makefile deleted +0 -17
deleted file mode 100644
index 1e50d1d..0000000
@@ -1,17 +0,0 @@
-MODULES = JavaScriptCore JavaScriptGlue WebCore WebKit WebKit2 WebKitTools 
-
-all:
-	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
-	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
-
-debug d development dev develop:
-	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
-	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
-
-release r deployment dep deploy:
-	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
-	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
-
-clean:
-	@for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
-	if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
recipes/webkit/webkit-gtk/Makefile.shared deleted +0 -18
deleted file mode 100644
index aa9fa72..0000000
@@ -1,18 +0,0 @@
-SCRIPTS_PATH ?= ../WebKitTools/Scripts
-XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS)
-
-all:
-	( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-debug d development dev develop: force
-	$(SCRIPTS_PATH)/set-webkit-configuration --debug
-	( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-release r deployment dep deploy: force
-	$(SCRIPTS_PATH)/set-webkit-configuration --release
-	( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-clean:
-	( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | grep -v setenv && exit $${PIPESTATUS[0]} )
-
-force: ;
recipes/webkit/webkit-gtk/WebKit.pri deleted +0 -107

107 lines not on this page · raw message

recipes/webkit/webkit-gtk/WebKit.pro deleted +0 -13
deleted file mode 100644
index bb2ae97..0000000
@@ -1,13 +0,0 @@
-TEMPLATE = subdirs
-CONFIG += ordered
-
-SUBDIRS += \
-        WebCore \
-        JavaScriptCore/jsc.pro \
-        WebKit/qt/QtLauncher \
-        WebKit/qt/tests
-
-!win32:!symbian: SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro \
-                            WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro
-
-include(WebKit/qt/docs/docs.pri)
recipes/webkit/webkit-gtk/autogen.sh deleted +0 -63

63 lines not on this page · raw message

recipes/webkit/webkit-gtk/configure.ac +92 -9

234 lines not on this page · raw message

recipes/webkit/webkit-gtk/copy-lib-jsc-1.patch new file +17 -0
new file mode 100644
index 0000000..1eee544
@@ -0,0 +1,17 @@
+Programs/jsc is copied to Programs/jsc-1 by GNUmakefile. But Programs/jsc is just libtool
+wrapper to Programs/.libs/jsc. The jsc-1 copy then fails to install because it lacks
+Programs/.libs/jsc-1.
+
+Copy .libs/jsc too to fix that.
+
+diff -ru WebKit.original/JavaScriptCore/GNUmakefile.am WebKit/JavaScriptCore/GNUmakefile.am
+--- WebKit.original/JavaScriptCore/GNUmakefile.am	2010-07-18 10:11:42.000000000 +0200
++++ WebKit/JavaScriptCore/GNUmakefile.am	2010-07-18 10:16:13.000000000 +0200
+@@ -607,6 +607,7 @@
+ # jsc
+ Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@: Programs/jsc
+ 	$(AM_V_GEN)cp -f Programs/jsc Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@
++	$(AM_V_GEN)cp -f Programs/.libs/jsc Programs/.libs/jsc-@WEBKITGTK_API_MAJOR_VERSION@
+ Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_LDADD =
+ Programs_jsc_@WEBKITGTK_API_MAJOR_VERSION@_SOURCES =
+ 
recipes/webkit/webkit-gtk/gtk-doc.make deleted +0 -173

173 lines not on this page · raw message

recipes/webkit/webkit-gtk/install-gtk-launcher.patch new file +23 -0
new file mode 100644
index 0000000..3d95c4b
@@ -0,0 +1,23 @@
+--- webkit-gtk-1.3.1+svnr63062-r63062-r2.orig/WebKitTools/GNUmakefile.am	2010-07-13 11:49:55.000000000 +0200
++++ webkit-gtk-1.3.1+svnr63062-r63062-r2/WebKitTools/GNUmakefile.am	2010-07-13 22:49:58.000000000 +0200
+@@ -1,6 +1,8 @@
++bin_PROGRAMS += \
++        Programs/GtkLauncher
++
+ noinst_PROGRAMS += \
+ 	Programs/DumpRenderTree \
+-	Programs/GtkLauncher \
+ 	Programs/ImageDiff
+ 
+ # GtkLauncher
+@@ -26,10 +28,6 @@
+ 	$(GTK_LIBS) \
+ 	$(GLIB_LIBS)
+ 
+-Programs_GtkLauncher_LDFLAGS = \
+-	-no-fast-install \
+-	-no-install
+-
+ # DumpRenderTree
+ dumprendertree_cppflags := \
+ 	-I$(srcdir)/WebKitTools/DumpRenderTree \
recipes/webkit/webkit-gtk/update-webkit.sh deleted +0 -8
deleted file mode 100755
index 723c45a..0000000
@@ -1,8 +0,0 @@
-#!/bin/sh
-# usage: sh update-webkit.sh <revision>
-
-export rev=$1
-
-for i in autogen.sh configure.ac GNUmakefile.am Makefile Makefile.shared  ; do
-	wget "http://trac.webkit.org/browser/trunk/$i?rev=$rev&format=raw" -O $i
-done
recipes/webkit/webkit-gtk_svn.bb +15 -36

80 lines not on this page · raw message

Signature · 1 line
1.7.1