{"id":150,"date":"2009-09-06T00:06:33","date_gmt":"2009-09-05T16:06:33","guid":{"rendered":"http:\/\/umarzuki.org\/?p=150"},"modified":"2009-09-06T00:06:33","modified_gmt":"2009-09-05T16:06:33","slug":"compile-firefox-3-5","status":"publish","type":"post","link":"https:\/\/umarzuki.org\/blog\/2009\/09\/06\/compile-firefox-3-5\/","title":{"rendered":"Compile Firefox 3.5"},"content":{"rendered":"<p>Langkah berikut dilakukan pada Debian Lenny AMD64<\/p>\n<ol>\n<li>Buang Iceweasel\n<p><code>sudo aptitude remove iceweasel<\/code><\/li>\n<p><!--more--><\/p>\n<li>Pasang pakej-pakej yang diperlukan\n<p><code>sudo aptitude install build-essential libidl-dev autoconf2.13 mercurial xorg-dev dbus-glib-devel libdbus-glib-1-dev<\/code><\/li>\n<li>Pastikan kebergantungan sumber firefox ditepati\n<p><code>sudo apt-get build-dep iceweasel<\/code><\/li>\n<li>Sediakan tetapan untuk proses kompilasi<\/li>\n<p><code>cd<br \/>\ntouch .mozconfig<br \/>\n<\/code><\/p>\n<p>Kandungan .mozconfig<\/p>\n<blockquote><p>mk_add_options MOZ_OBJDIR=@TOPSRCDIR@\/obj-firefox<br \/>\nac_add_options &#8211;prefix=\/opt\/firefox<br \/>\nac_add_options &#8211;enable-application=browser<br \/>\nac_add_options &#8211;with-system-zlib<br \/>\nac_add_options &#8211;with-system-jpeg<br \/>\nac_add_options &#8211;enable-optimize<br \/>\nac_add_options &#8211;enable-official-branding<br \/>\nac_add_options &#8211;enable-canvas<br \/>\nac_add_options &#8211;enable-strip<br \/>\nac_add_options &#8211;disable-tests<br \/>\nac_add_options &#8211;disable-installer<br \/>\nac_add_options &#8211;disable-accessibility<br \/>\nac_add_options &#8211;enable-xinerama<br \/>\nac_add_options &#8211;with-default-mozilla-five-home=\/usr\/lib\/firefox-3.5<\/p><\/blockquote>\n<li>Pada direktori utama anda, buat satu fail untuk simpan kod sumber dari mozilla\n<p><code>mkdir firefox35<br \/>\ncd firefox35\/<\/code><\/li>\n<li>Muaturun kod sumber\n<p><code>hg clone http:\/\/hg.mozilla.org\/releases\/mozilla-1.9.1 mozilla-1.9.1<\/code><\/li>\n<li>Mula proses kompilasi pakej Firefox\n<p><code>cd mozilla-1.9.1\/<br \/>\nhg checkout -r FIREFOX_3_5_RELEASE<br \/>\nmake -f client.mk build<br \/>\nsudo checkinstall make -f client.mk install<\/code><\/li>\n<\/ol>\n<p>Siap, cuma tiada entri pada submenu Internet jadi anda perlu lakukannya sendiri. Sekarang anda boleh simpan pakej <a href=\"http:\/\/www.mozilla.com\/en-US\/firefox\/personal.html\">Firefox<\/a> tersebut kalau-kalau anda perlu pasang pada komputer lain yang menggunakan Debian Lenny AMD64.<\/p>\n<p>Keseluruhan proses ini mengambil masa dalam 2 jam pada sistem dengan pemproses mikro AMD X2 Turion RM-70 dengan 4 GiB RAM<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Langkah berikut dilakukan pada Debian Lenny AMD64 Buang Iceweasel sudo aptitude remove iceweasel<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,38],"tags":[18,90,55],"class_list":["post-150","post","type-post","status-publish","format-standard","hentry","category-internet","category-perisian","tag-debian","tag-firefox-3-5","tag-lenny"],"_links":{"self":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/comments?post=150"}],"version-history":[{"count":0,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"wp:attachment":[{"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/umarzuki.org\/blog\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}