{"id":3555,"date":"2015-05-25T03:37:37","date_gmt":"2015-05-25T01:37:37","guid":{"rendered":"http:\/\/glandium.org\/blog\/?p=3555"},"modified":"2019-09-03T15:21:17","modified_gmt":"2019-09-03T06:21:17","slug":"dogfooding-firefox-gtk3","status":"publish","type":"post","link":"https:\/\/glandium.org\/blog\/?p=3555","title":{"rendered":"Dogfooding Firefox GTK+3"},"content":{"rendered":"<p>Thanks to Lee Salzman, the state of GTK+3 support in Firefox got better. Unit tests went from looking like this:<br \/>\n<a href=\"https:\/\/treeherder.mozilla.org\/#\/jobs?repo=elm&revision=a1edb8d14502\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2015\/05\/elm-before.png\" width=\"721\" height=\"80\" \/><\/a><\/p>\n<p>To looking like this:<\/p>\n<p><a href=\"https:\/\/treeherder.mozilla.org\/#\/jobs?repo=elm&revision=8cb2d43ac07a\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/wp-content\/uploads\/2015\/05\/elm-after.png\" alt=\"elm-after\" width=\"721\" height=\"81\" \/><\/a><\/p>\n<p>There's obviously some work left to make those look even better, but we've come a long way.<\/p>\n<p><a href=\"https:\/\/twitter.com\/lhirlimann\">Ludovic Hirlimann<\/a> recently asked if there were builds to dogfood and that prompted me to attempt making the builds from the elm branch auto-update. Which, after several attempts, I managed to get working with gross (but small) hacks of the build system.<\/p>\n<p>So here we are, if you want to dogfood GTK+3 Firefox, here is what you can do::<\/p>\n<ul>\n<li>In a normal Linux nightly, go to <code>about:config<\/code> and create the following string preferences (right-click, New, String):\n<ul>\n<li>\"<code>app.update.url.override<\/code>\" with the value \"<code>https:\/\/ftp.mozilla.org\/pub\/mozilla.org\/firefox\/tinderbox-builds\/elm-linux\/latest\/update.xml<\/code>\" for 32-bits builds, or \"<code>https:\/\/ftp.mozilla.org\/pub\/mozilla.org\/firefox\/tinderbox-builds\/elm-linux64\/latest\/update.xml<\/code>\" for 64-bits builds,<\/li>\n<li>\"<code>app.update.certs.3.issuerName<\/code>\" with the value \"<code>CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US<\/code>\",<\/li>\n<li>\"<code>app.update.certs.3.commonName<\/code>\" with the value \"<code>ftp.mozilla.org<\/code>\".<\/li>\n<\/ul>\n<\/li>\n<li>Open the burger menu, click the \"?\" icon, then choose \"About Nightly\". This should check for an update, find one, and download it. This will upgrade to a GTK+3 build.<\/li>\n<\/ul>\n<p>Alternatively, you can just download and install the elm builds directly (<a href=\"http:\/\/ftp.mozilla.org\/pub\/mozilla.org\/firefox\/tinderbox-builds\/elm-linux\/latest\/\">32-bits<\/a>, <a href=\"http:\/\/ftp.mozilla.org\/pub\/mozilla.org\/firefox\/tinderbox-builds\/elm-linux64\/latest\/\">64-bits<\/a>).<\/p>\n<p>If for some reason, you want to go back to a normal GTK+2 nightly, go to <code>about:config<\/code>, find the \"<code>app.update.url.override<\/code>\" preference and set it to an empty value. Triggering the update from \"About Nightly\" won't, however, work until the next nightly is available, so give it a day.<\/p>\n<p>As mentioned in my <a href=\"\/blog\/?p=3299\">previous post about GTK+3<\/a>, if you're interested in making those builds work better, you are welcome to help:<\/p>\n<ul>\n<li>check the <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=gtk3\">Gtk+ 3 tracking bug<\/a> and its dependencies for a list of known issues or improvements to be made.<\/li>\n<li>file bugs for discrepancies you'd find between the GTK+3 and GTK+2 builds, or bugs you find in the GTK+3 build, and make them block the <a href=\"https:\/\/bugzilla.mozilla.org\/show_bug.cgi?id=gtk3\">Gtk+ 3 tracking bug<\/a>.<\/li>\n<li>check the <a href=\"https:\/\/treeherder.mozilla.org\/#\/jobs?repo=elm\">treeherder oranges and reds on the elm branch<\/a>, file bugs for them (I think at this point none are filed), or, better, fix them.<\/li>\n<li>and if you have <a href=\"http:\/\/www.mozilla.org\/hacking\/commit-access-policy\/\">level 1 commit access<\/a>, you can test patches on the <a href=\"https:\/\/wiki.mozilla.org\/ReleaseEngineering\/TryServer\">Try server<\/a>, provided you pull from the elm branch or apply <a href=\"https:\/\/bug1016641.bugzilla.mozilla.org\/attachment.cgi?id=8579124\">this patch<\/a> on top of the tree you push there.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to Lee Salzman, the state of GTK+3 support in Firefox got better. Unit tests went from looking like this: To looking like this: There&#8217;s obviously some work left to make those look even better, but we&#8217;ve come a long way. Ludovic Hirlimann recently asked if there were builds to dogfood and that prompted me [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[23],"class_list":["post-3555","post","type-post","status-publish","format-standard","hentry","category-planet-mozilla","tag-en"],"_links":{"self":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3555"}],"version-history":[{"count":9,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3555\/revisions"}],"predecessor-version":[{"id":3589,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3555\/revisions\/3589"}],"wp:attachment":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}