Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Simple Firefox build

This translation is incomplete. Please help translate this article from English.

এই পাতায় সর্বশেষ ফায়ারফক্স এর সর্বশেষ ডেভেলাপমেন্ট সংস্করন বিল্ড করার সাধারন পন্থাগুলো দেয়া হয়েছে। আরো বিস্তারিত জানতে চাইলে, বিল্ড করার তথ্য দেখুন।

বিল্ড করার পূর্বশর্ত

হার্ডওয়্যার যা প্রয়োজন:

  • সুপারিশকৃত: ৪ জিবি র্যাম (শুধুমাত্র ২ জিবি র্যাম ও ২ জিবি সোয়াপ মেমরী কম্পাইলের সময় এরর দিতে পারে)
  • উচ্চগতির ইন্টারনেট

সেটআপ:

আপনার অপারেটিং সিস্টেম এর উপর নির্ভর করে আপনাকে ভিন্ন ভিন্ন পদ্ধতিতে আপনার মেশিন প্রস্তুত করতে হবে। সুতরাং প্রথমে ও,এস এর জন্য নির্দেশনা অনুসারে কাজ করুন এবং তারপর পরবর্তী বিল্ড করার নির্দেশনা অনুসারে কাজ করুন।

উইন্ডোসের জন্য বিল্ড করার পূর্বশর্ত

লিনাক্স ও ম্যাক এর জন্য বিল্ড করার পূর্বশর্ত

ফায়ারফক্স রিলিজ চ্যানেল

সোর্স ট্রি এর কোন শাখাতে বিল্ড হবে সেটা বোঝার জানার জন্য ফায়ারফক্স রিলিজ চ্যানেলগুলো সম্পর্কে জানা আপনার জন্য সহায়ক হবে। পরবর্তী দু'টি লিংক একটি ধারনা দেবে। সহজ ভাষায়, প্রবাহটি হচ্ছে এরকম: নাইটলি -> অরোরা -> বেটা ->

mozilla-central শাখা যা আপনি চেকিং আউট করবেন তার অনুরুপ হচ্ছে নাইটলি চ্যানেল।

সোর্স কোড নিন

মজিলার মারকিউরিয়াল কোড রেপোজিটরি থেকে কোড নিন। এটা সময় সাপেক্ষ হতে পারে; এখানে অনেক কোড! একটানা ফিডব্যাক নিতে .hgrc ফাইলে আপনার অগ্রগতির এক্সটেনশন সক্রিয় করতে পারেন।

hg clone https://hg.mozilla.org/mozilla-central
আপনি যদি ধীর গতির বা অবিশ্বস্ত ইন্টারনেট ব্যবহার করেন, "hg clone" বাধা প্রাপ্ত হবার কারনে ব্যার্থ হতে পারে। সেক্ষেত্রে, "hg clone" এ রজন্য অপেক্ষা করার পরিবর্তে Mercurial bundle ফাইলটি নামিয়ে নিতে পারেন।

বিল্ড কনফিগারেশন (ঐচ্ছিক)

By default, the build system creates a release build of Firefox roughly equivalent to the official Firefox release builds. If that's not exactly what you want, there are many build configuration options to choose from, although it's strongly recommended that you only use options that you fully understand.

The normal way to specify build options is to place them in a file named mozconfig at the root of your mozilla source tree (that is, directly under the mozilla-central directory created by the hg clone command). On Windows, you can create the file from the MozillaBuild command-line:

cd /path/to/mozilla-central
touch .mozconfig

For example, to create a debug build instead of a release build, that file would contain:

ac_add_options --enable-debug

For more on configuration options, see the page on configuring build options.

বিল্ডিং

To start the build, cd into the mozilla-central subdirectory (created automatically by the hg clone command), and run:

./mach build

mach is our command-line tool to streamline common developer tasks. See the mach article for more.

Building can take a significant amount of time, depending on your system, OS and chosen build options. Linux builds on a fast box may take under 15 minutes, but Windows builds on a slow box may take several hours. See tips for making builds faster.

রানিং

Various temporary files, libraries, and the Firefox executable will be found in your object directory (under mozilla-central/), which is prefixed with obj-. The exact name depends on your system and OS. For example, a Mac user may get an object directory name of obj-x86_64-apple-darwin10.7.3/.

To run the newly created Firefox instance, use the mach command

./mach run

The Firefox executable and its dependencies are located under the dist/bin folder under the object directory. In particular, Firefox is (depending on the OS) at

  • উইন্ডোজঃ obj-.../dist/bin/firefox.exe
  • লিানক্সঃ: obj-.../dist/bin/firefox
  • ও এস এক্সঃ obj-.../dist/Nightly.app/Contents/MacOS/firefox

Rebuilding

To build after making changes, run

./mach build

again. This will only rebuild what is necessary for these changes. It is also possible to use

./mach build path/to/dir

to build parts of the tree. However, this approach may or may not yield correct results, so it is not recommended.

আপডেট করবেন যেভাবে

To pull the latest changes and update the code in your mozilla-central working directory, run the command:

hg pull -u

and run ./mach build. Due to the high rate of changes to Firefox, this may take quite a long time.

ডকুমেন্ট ট্যাগ এবং অবদানকারী

 Contributors to this page: NaSabbir, rahid
 সর্বশেষ হালনাগাদ করেছেন: NaSabbir,