Difference between revisions of "GNOME/Compile/3.26"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
... di dalam VM ... |
... di dalam VM ... |
||
==install JHBuild== |
==install JHBuild== |
||
⚫ | |||
$ sudo apt-get install git python make gnome-common yelp-tools autoconf automake |
$ sudo apt-get install git python make gnome-common yelp-tools autoconf automake |
||
$ git clone git://git.gnome.org/jhbuild |
$ git clone git://git.gnome.org/jhbuild |
||
Line 51: | Line 52: | ||
$ sudo apt-get install --no-install-recommends \ |
$ sudo apt-get install --no-install-recommends \ |
||
libjpeg62-dev guile-2.0-dev libmpc-dev libldap2-dev meson libcroco3-dev libxcb-res0-dev \ |
libjpeg62-dev guile-2.0-dev libmpc-dev libldap2-dev meson libcroco3-dev libxcb-res0-dev \ |
||
libmediaart-2.0-dev appstream-util libpulse-dev |
libmediaart-2.0-dev appstream-util libpulse-dev libspice-client-gtk-3.0-dev |
||
⚫ | |||
==ambil berkas dari releng== |
==ambil berkas dari releng== |
Latest revision as of 06:08, 8 June 2017
Untuk memeriksa hasil terjemahan suatu aplikas GNOME, salah satu cara adalah dengan mengcompile aplikasi tersebut setelah terjemahan terbarunya kita pasang. GNOME memiliki aplikasi jhbuild untuk membantu kita melakukan compile.
JHBuild step-by-step
install Ubuntu Zesty 64-bit
install Xenial, upgrade ke Zesty; atau langsung install Zesty pastikan bahwa Anda memiliki free space di disk paling tidak 40 GB.
... di dalam VM ...
install JHBuild
$ mkdir .config $ sudo apt-get install git python make gnome-common yelp-tools autoconf automake $ git clone git://git.gnome.org/jhbuild $ cd jhbuild $ ./autogen.sh $ make; make install $ echo 'PATH=$PATH:~/.local/bin' >> ~/.bashrc ... logout dari VM lalu login lagi ...
periksa kelengkapan paket memakai JHBuild
$ jhbuild sanitycheck $ sudo apt-get install apt-file cvs subversion flex bison docbook-xsl $ sudo apt-file update ... persiapan compile di-background ... $ sudo apt-get install screen links ... pasang paket-paket yang diperlukan ... $ jhbuild sysdeps --install $ sudo apt-get install --no-install-recommends \ libdmapsharing-3.0-dev libatasmart-dev libflac-dev uuid-dev libxcb1-dev \ libtasn1-6-dev libfontconfig1-dev python3-cairo-dev libfreetype6-dev libgbm-dev libudev-dev \ libnl-route-3-dev libical-dev python3-dev libusb-1.0-0-dev emscripten libexempi-dev \ libcanberra-gtk3-dev libv4l-dev libx11-dev libgl1-mesa-dev libxi-dev libvpx-dev \ libxdamage-dev libxkbfile-dev libgnutls-dev libsbc-dev libxcomposite-dev libxslt1-dev libpinyin7-dev \ libgraphviz-dev libgudev-1.0-dev libxft-dev libsqlite3-dev libplymouth-dev libstartup-notification0-dev \ libtag1-dev libjson-c-dev libwavpack-dev libmtdev-dev libnss3-dev libxt-dev libgmime-2.6-dev \ libcanberra-gtk-dev libxtst-dev libpolkit-agent-1-dev libp11-kit-dev libavahi-gobject-dev libcairo2-dev \ libxext-dev libanthy-dev libxcb-dri2-0-dev libgtkspell3-3-dev xutils-dev libpwquality-dev x11proto-kb-dev \ libpolkit-gobject-1-dev xserver-xorg-input-wacom libxrender-dev libxklavier-dev libxfixes-dev \ libarchive-dev libspeex-dev libepoxy-dev libevdev-dev libdbus-glib-1-dev libexif-dev \ libmozjs-24-dev libxcb-xkb-dev libffi-dev libxml2-dev libpcre3-dev libegl1-mesa-dev libnl-genl-3-dev \ libxrandr-dev libgphoto2-dev libicu-dev libhangul-dev libdrm-dev libdotconf-dev libndp-dev liboauth-dev \ libdvdread-dev libasound2-dev liblcms2-dev libenchant-dev libsm-dev dbus-1-dbg libproxy-dev \ libxcursor-dev libnl-3-dev libexiv2-dev libsndfile1-dev libsmbclient-dev libsystemd-dev $ sudo apt-get install --no-install-recommends \ libmusicbrainz5-dev libwebkit2gtk-4.0-dev x11proto-core-dev xtrans-dev gtk-doc-tools \ libbluetooth-dev libmagic-dev libxinerama-dev libpam0g-dev ragel ruby libgpgme11-dev libmpfr-dev \ gperf libyaml-dev libwebp-dev libhyphen-dev iptables argyll xwayland texinfo libacl1-dev libkrb5-dev \ libiw-dev docbook-utils libcap-dev libdb5.3-dev libcups2-dev libgcrypt20-dev \ libjpeg-turbo8-dev ppp-dev xmlto doxygen cmake libespeak-dev libsystemd-dev libtiff-dev libpoppler-dev \ libgles2-mesa-dev libpoppler-glib-dev libopus-dev libgexiv2-dev libssl-dev libvirt-dev \ libraw-dev libssh2-1-dev highlight spamassassin llvm libjasper-dev bogofilter libsasl2-dev wget \ libboost-dev gdb libwebkitgtk-3.0-dev llvm-3.8-dev valac docbook libreadline-dev libselinux1-dev \ sqlite python-gi uuid-runtime desktop-file-utils libtext-csv-perl sqlite3 gnome-shell \ libgstreamer-plugins-base1.0-dev $ sudo apt-get install --no-install-recommends \ libjpeg62-dev guile-2.0-dev libmpc-dev libldap2-dev meson libcroco3-dev libxcb-res0-dev \ libmediaart-2.0-dev appstream-util libpulse-dev libspice-client-gtk-3.0-dev
ambil berkas dari releng
$ mkdir -p releng/3.25.2 $ cd releng/3.25.2 $ for f in \ gnome-apps-3.25.2.modules gnome-suites-core-3.25.2.modules gnome-suites-core-deps-3.25.2.modules gnome-sysdeps-3.25.2.modules sample-tarball.jhbuildrc; do wget https://download.gnome.org/teams/releng/3.25.2/$f; done $ cp sample-tarball.jhbuildrc ~/.config/jhbuildrc ... edit jhbuildrc: ... ubah isi moduleset menjadi 'gnome-apps-3.25.2' $ mkdir log ... ganti systemd dengan upstart, systemd dan lxc tidak bersahabat ... $ sudo apt-get install upstart-sysv ... reboot VM, login via lxc-console ... host $ sudo lxc-console -n gnome
coba build
... download repositori gnome ... $ jhbuild update ... persiapan build ... $ screen -S build ... build tanpa download repositori. bila ingin repositori dimutakhirkan, hapus opsi -n ... $ jhbuild tinderbox -n -o log ^a^a^d $ links log/index.html ... ^r untuk refresh, q untuk keluar, tunggu beberapa lama sampai proses build selesai ...