[GTK] Reorganize pkg-config files
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Aug 2011 07:43:44 +0000 (07:43 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Aug 2011 07:43:44 +0000 (07:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=65548

Reviewed by Martin Robinson.

.:

* GNUmakefile.am: Initialize pkgconfigdir and pkgconfig_DATA which
are common to all libraries.
* configure.ac: Update pkg-config files.

Source/JavaScriptCore:

* GNUmakefile.am:
* javascriptcoregtk.pc.in: Renamed from Source/WebKit/gtk/javascriptcoregtk.pc.in.

Source/WebKit/gtk:

* GNUmakefile.am: Remove javascriptcore pc file references.

Source/WebKit2:

* GNUmakefile.am: Rename pc file as webkit2gtk.pc.in. WebKit2
depends on gtk3 unconditionally so we don't need to use
WEBKITGTK_PC_NAME.
* webkit2gtk.pc.in: Renamed from Source/WebKit2/gtk/webkit2.pc.in.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92263 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
GNUmakefile.am
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/GNUmakefile.am
Source/JavaScriptCore/javascriptcoregtk.pc.in [moved from Source/WebKit/gtk/javascriptcoregtk.pc.in with 100% similarity]
Source/WebKit/gtk/ChangeLog
Source/WebKit/gtk/GNUmakefile.am
Source/WebKit2/ChangeLog
Source/WebKit2/GNUmakefile.am
Source/WebKit2/webkit2gtk.pc.in [moved from Source/WebKit2/gtk/webkit2.pc.in with 100% similarity]
configure.ac

index e6ac8cb..cf3d940 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Reorganize pkg-config files
+        https://bugs.webkit.org/show_bug.cgi?id=65548
+
+        Reviewed by Martin Robinson.
+
+        * GNUmakefile.am: Initialize pkgconfigdir and pkgconfig_DATA which
+        are common to all libraries.
+        * configure.ac: Update pkg-config files.
+
 2011-08-02  Varun Jain  <varunjain@google.com>
 
         Missing null check in WebViewImpl::selectionRange
index c9ec407..695cd4c 100644 (file)
@@ -40,6 +40,7 @@ GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector
 WebCore := $(srcdir)/Source/WebCore
 WebKit := $(srcdir)/Source/WebKit/gtk
 WebKit2 := $(srcdir)/Source/WebKit2
+pkgconfigdir := $(libdir)/pkgconfig
 
 # Libraries and support components
 bin_PROGRAMS :=
@@ -89,6 +90,7 @@ BUILT_SOURCES :=
 CLEANFILES :=
 DISTCLEANFILES :=
 MAINTAINERCLEANFILES :=
+pkgconfig_DATA :=
 
 # We do not care at all about this implicit built-in make rules,
 # disable them to save some build time
index fb32600..d6017f4 100644 (file)
@@ -1,3 +1,13 @@
+2011-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Reorganize pkg-config files
+        https://bugs.webkit.org/show_bug.cgi?id=65548
+
+        Reviewed by Martin Robinson.
+
+        * GNUmakefile.am:
+        * javascriptcoregtk.pc.in: Renamed from Source/WebKit/gtk/javascriptcoregtk.pc.in.
+
 2011-08-01  David Levin  <levin@chromium.org>
 
         Add asserts to RefCounted to make sure ref/deref happens on the right thread.
index 8b3e453..8daefb8 100644 (file)
@@ -73,6 +73,8 @@ javascriptcore_cflags += \
        $(GLIB_CFLAGS) \
        $(UNICODE_CFLAGS)
 
+pkgconfig_DATA += Source/JavaScriptCore/javascriptcoregtk-@WEBKITGTK_API_VERSION@.pc
+
 Source/JavaScriptCore/Lexer.lut.h: $(srcdir)/Source/JavaScriptCore/create_hash_table $(srcdir)/Source/JavaScriptCore/parser/Keywords.table
        $(AM_V_GEN)$(PERL) $^ > $@
 
@@ -175,3 +177,6 @@ CLEANFILES += \
        Programs/jsc \
        Programs/jsc-@WEBKITGTK_API_MAJOR_VERSION@ \
        Programs/minidom
+
+DISTCLEANFILES += \
+       $(top_builddir)/Source/JavaScriptCore/javascriptcoregtk-@WEBKITGTK_API_VERSION@.pc
index 59ef3bb..4a121b6 100644 (file)
@@ -1,3 +1,12 @@
+2011-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Reorganize pkg-config files
+        https://bugs.webkit.org/show_bug.cgi?id=65548
+
+        Reviewed by Martin Robinson.
+
+        * GNUmakefile.am: Remove javascriptcore pc file references.
+
 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
 
         Remove inclusion of MainThread.h from Threading.h
index 81c834b..cdbd28b 100644 (file)
@@ -258,10 +258,7 @@ webkitgtk_sources += \
        Source/WebKit/gtk/webkit/webkitwebwindowfeatures.cpp \
        Source/WebKit/gtk/webkit/webkitwebwindowfeaturesprivate.h
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = \
-       Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \
-       Source/WebKit/gtk/javascriptcoregtk-@WEBKITGTK_API_VERSION@.pc
+pkgconfig_DATA += Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc
 
 if ENABLE_INTROSPECTION
 
@@ -594,7 +591,6 @@ DISTCLEANFILES += \
        $(top_builddir)/Source/WebKit/gtk/docs/version.xml \
        $(top_builddir)/Source/WebKit/gtk/docs/GNUmakefile \
        $(top_builddir)/Source/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \
-       $(top_builddir)/Source/WebKit/gtk/javascriptcoregtk-@WEBKITGTK_API_VERSION@.pc \
        $(top_builddir)/Source/WebKit/gtk/org.webkitgtk-@WEBKITGTK_API_VERSION@.gschema.xml \
        $(top_builddir)/Source/WebKit/gtk/webkit/webkitversion.h
 
index fc7f8cd..ef442ab 100644 (file)
@@ -1,3 +1,15 @@
+2011-08-03  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        [GTK] Reorganize pkg-config files
+        https://bugs.webkit.org/show_bug.cgi?id=65548
+
+        Reviewed by Martin Robinson.
+
+        * GNUmakefile.am: Rename pc file as webkit2gtk.pc.in. WebKit2
+        depends on gtk3 unconditionally so we don't need to use
+        WEBKITGTK_PC_NAME.
+        * webkit2gtk.pc.in: Renamed from Source/WebKit2/gtk/webkit2.pc.in.
+
 2011-08-01  Michael Saboff  <msaboff@apple.com>
 
         Virtual copying of FastMalloc allocated memory causes madvise MADV_FREE_REUSABLE errors
index 21d4828..f25123c 100644 (file)
@@ -907,7 +907,7 @@ libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIB
        $(UNICODE_LIBS) \
        $(XT_LIBS)
 
-pkgconfig_DATA += Source/WebKit2/gtk/@WEBKITGTK_PC_NAME@2-@WEBKITGTK_API_VERSION@.pc
+pkgconfig_DATA += Source/WebKit2/webkit2gtk-@WEBKITGTK_API_VERSION@.pc
 
 # WebKit2 specific variables
 forwarding_headers := $(GENSOURCES_WEBKIT2)/include
@@ -954,9 +954,11 @@ DerivedSources/WebKit2/%Messages.h: %.messages.in $(message_gen_scripts)
 
 CLEANFILES += \
        $(BUILT_SOURCES) \
-       $(top_builddir)/WebKit2/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \
        $(top_builddir)/Programs/WebKitWebProcess
 
+DISTCLEANFILES += \
+       $(top_builddir)/WebKit2/webkit2gtk-@WEBKITGTK_API_VERSION@.pc
+
 # WebKitWebProcess
 bin_PROGRAMS += \
        Programs/WebKitWebProcess
index abf11a5..b1b32e4 100644 (file)
@@ -1237,14 +1237,14 @@ AC_CONFIG_FILES([
 Source/WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/webkit.pc.in
 Source/WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:Source/WebKit/gtk/JSCore.gir.in
 Source/WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:Source/WebKit/gtk/org.webkitgtk.gschema.xml.in
-Source/WebKit/gtk/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit/gtk/javascriptcoregtk.pc.in
+Source/JavaScriptCore/javascriptcoregtk-${WEBKITGTK_API_VERSION}.pc:Source/JavaScriptCore/javascriptcoregtk.pc.in
 ]
 ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
 )
 
 if test "$enable_webkit2" = "yes"; then
     AC_CONFIG_FILES([
-    Source/WebKit2/gtk/${WEBKITGTK_PC_NAME}2-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/gtk/webkit2.pc.in
+    Source/WebKit2/webkit2gtk-${WEBKITGTK_API_VERSION}.pc:Source/WebKit2/webkit2gtk.pc.in
     ]
     ,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
     )