Bug 1504906 - Build 64-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
☠☠ backed out by 5ece74940a5f ☠ ☠
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 07 Nov 2018 08:55:45 +0900
changeset 501583 f7a685b165798f63cefe7293f0a2e53f7afa0e4a
parent 501582 f8064dbb80097ad6a8131d790c25169ae4e5520e
child 501584 27b4002951a4e763eca65972c6fb2432bc21a3dd
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1504906
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1504906 - Build 64-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps Along with all the updated dependencies that are necessary to achieve this. Differential Revision: https://phabricator.services.mozilla.com/D11138
build/debian-packages/glib-wheezy.diff
build/debian-packages/gtk-wheezy.diff
taskcluster/ci/packages/kind.yml
new file mode 100644
--- /dev/null
+++ b/build/debian-packages/glib-wheezy.diff
@@ -0,0 +1,26 @@
+diff -Nru glib2.0-2.38.2/debian/changelog glib2.0-2.38.2/debian/changelog
+--- glib2.0-2.38.2/debian/changelog	2014-02-15 21:47:00.000000000 +0900
++++ glib2.0-2.38.2/debian/changelog	2018-11-02 09:47:49.000000000 +0900
+@@ -1,3 +1,10 @@
++glib2.0 (2.38.2-5.deb7moz1) wheezy; urgency=medium
++
++  * Mozilla backport for Wheezy.
++  * debian/control: Remove :any from dependencies because it's not supported.
++
++ -- Mike Hommey <glandium@mozilla.com>  Fri, 02 Nov 2018 09:47:49 +0900
++
+ glib2.0 (2.38.2-5) unstable; urgency=medium
+ 
+   * Upload to unstable.
+diff -Nru glib2.0-2.38.2/debian/control glib2.0-2.38.2/debian/control
+--- glib2.0-2.38.2/debian/control	2014-02-15 21:50:26.000000000 +0900
++++ glib2.0-2.38.2/debian/control	2018-11-02 09:47:24.000000000 +0900
+@@ -24,7 +24,7 @@
+                dbus-x11,
+                shared-mime-info,
+                xterm,
+-               python:any (>= 2.6.6-3~),
++               python (>= 2.6.6-3~),
+                python-dbus,
+                python-gi,
+                libxml2-utils,
new file mode 100644
--- /dev/null
+++ b/build/debian-packages/gtk-wheezy.diff
@@ -0,0 +1,38 @@
+diff -Nru gtk+3.0-3.10.7/debian/changelog gtk+3.0-3.10.7/debian/changelog
+--- gtk+3.0-3.10.7/debian/changelog	2014-02-15 22:20:29.000000000 +0900
++++ gtk+3.0-3.10.7/debian/changelog	2018-11-02 12:04:23.000000000 +0900
+@@ -1,3 +1,11 @@
++gtk+3.0 (3.10.7-1.deb7moz1) wheezy; urgency=medium
++
++  * Mozilla backport for Wheezy.
++  * gtk/Makefile.am: Filter-out -fvisibility=hidden from the flags passed
++    to g-ir-scanner.
++
++ -- Mike Hommey <glandium@mozilla.com>  Fri, 02 Nov 2018 12:04:23 +0900
++
+ gtk+3.0 (3.10.7-1) unstable; urgency=low
+ 
+   * debian/libgtk-3-bin.install:
+diff -Nru gtk+3.0-3.10.7/debian/patches/deb7moz1 gtk+3.0-3.10.7/debian/patches/deb7moz1
+--- gtk+3.0-3.10.7/debian/patches/deb7moz1	1970-01-01 09:00:00.000000000 +0900
++++ gtk+3.0-3.10.7/debian/patches/deb7moz1	2018-11-02 12:04:23.000000000 +0900
+@@ -0,0 +1,11 @@
++--- gtk+3.0-3.10.7.orig/gtk/Makefile.am
+++++ gtk+3.0-3.10.7/gtk/Makefile.am
++@@ -1352,7 +1352,7 @@ Gtk_3_0_gir_INCLUDES += xlib-2.0
++ endif
++ Gtk_3_0_gir_SCANNERFLAGS += --c-include="gtk/gtkx.h"
++ Gtk_3_0_gir_CFLAGS = \
++-		$(AM_CPPFLAGS) \
+++		$(filter-out -fvisibility=hidden,$(AM_CPPFLAGS)) \
++ 		-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
++ Gtk_3_0_gir_LIBS = libgtk-3.la $(top_builddir)/gdk/libgdk-3.la
++ Gtk_3_0_gir_FILES = $(introspection_files)
+diff -Nru gtk+3.0-3.10.7/debian/patches/series gtk+3.0-3.10.7/debian/patches/series
+--- gtk+3.0-3.10.7/debian/patches/series	2014-02-15 22:14:46.000000000 +0900
++++ gtk+3.0-3.10.7/debian/patches/series	2018-11-02 12:04:23.000000000 +0900
+@@ -12,3 +12,4 @@
+ 061_multiarch_module_fallback.patch
+ 071_fix-installation-of-HTML-images.patch
+ 080_disable-parallel-docs-build.patch
++deb7moz1
--- a/taskcluster/ci/packages/kind.yml
+++ b/taskcluster/ci/packages/kind.yml
@@ -260,8 +260,119 @@ jobs:
     treeherder:
       symbol: Deb9(python-zstandard)
     run:
       using: debian-package
       dist: stretch
       tarball:
         url: https://github.com/indygreg/python-zstandard/releases/download/0.9.1/python-zstandard-0.9.1.tar.gz
         sha256: 59c7d6f1f85cebb5124abb50d8ec281c5311e0812e18785e28b197cf1515dd3b
+
+  deb7-pcre3:
+    description: "pcre3 8.31 for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(pcre3)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20140424T055217Z/pool/main/p/pcre3/pcre3_8.31-5.dsc
+        sha256: e6e92af1e9f4b1d286ce9e7fdb6cb2f0972a341a94f5631e0b8c31b9f79633a4
+
+  deb7-atk:
+    description: "atk 2.8 for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(atk)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20130510T040301Z/pool/main/a/atk1.0/atk1.0_2.8.0-2.dsc
+        sha256: cae824b2a5ef47704fb820c04b5b7ee234329d9ddda1086bf487e12d58b9f70c
+
+  deb7-glib:
+    description: "glib 2.38 for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(glib)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20140215T160944Z/pool/main/g/glib2.0/glib2.0_2.38.2-5.dsc
+        sha256: 1d81952a9a46a935d35d723f7528bf8d5264ef8a59491bad335d134dbeaa2404
+      patch: glib-wheezy.diff
+      packages:
+        - deb7-pcre3
+
+  deb7-harfbuzz:
+    description: "harfbuzz for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(harfbuzz)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20121211T033951Z/pool/main/h/harfbuzz/harfbuzz_0.9.9-1.dsc
+        sha256: 622677a2757a739fb59c8bcd8cde9c1722fac82808248e19ce1cae46620d92bd
+
+  deb7-gdk-pixbuf:
+    description: "gdk-pixbuf 2.28 for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(gdkpixbuf)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20130608T215552Z/pool/main/g/gdk-pixbuf/gdk-pixbuf_2.28.2-1.dsc
+        sha256: f5057beb54c37293de352c6f253cedd8b144d25289f1fdf1a958f17b51565bcb
+      packages:
+        - deb7-glib
+        - deb7-pcre3
+
+  deb7-pango:
+    description: "pango 1.32 for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(pango)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20130224T223605Z/pool/main/p/pango1.0/pango1.0_1.32.5-1.dsc
+        sha256: d9d9b1f797c5dbe70bfe9c7931d63b28437476aa1a737c424c7f072ca6e22914
+      packages:
+        - deb7-glib
+        - deb7-harfbuzz
+        - deb7-pcre3
+
+  deb7-libxkbcommon:
+    description: "libxkbcommon for Debian Wheezy"
+    treeherder:
+      symbol: Deb7(xkbc)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20140723T102555Z/pool/main/libx/libxkbcommon/libxkbcommon_0.4.1-2.dsc
+        sha256: 9046dbceda207ed7163b7c12c98399e6d119491a480dc908ae451d7fff0fb77c
+
+  deb7-wayland:
+    description: "wayland 1.2 for Debian wheezy"
+    treeherder:
+      symbol: Deb7(wayland)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20130908T214400Z/pool/main/w/wayland/wayland_1.2.1-1.dsc
+        sha256: 964619747c00c697c95f2739c7980a0a360d79d03eaa3d9a342fed81d86e9466
+
+  deb7-gtk3:
+    description: "gtk+ 3.10 for Debian wheezy"
+    treeherder:
+      symbol: Deb7(gtk3)
+    run:
+      using: debian-package
+      dsc:
+        url: http://snapshot.debian.org/archive/debian/20140215T220417Z/pool/main/g/gtk+3.0/gtk+3.0_3.10.7-1.dsc
+        sha256: 2a6810d44517806940063bb488e49e7177732d8059c798cf0ef94103fefaf0b3
+      patch: gtk-wheezy.diff
+      packages:
+        - deb7-atk
+        - deb7-glib
+        - deb7-gdk-pixbuf
+        - deb7-harfbuzz
+        - deb7-libxkbcommon
+        - deb7-make
+        - deb7-pango
+        - deb7-pcre3
+        - deb7-wayland