gnome.asia 2012 x-mario

20

Click here to load reader

Upload: hong-phuc

Post on 15-May-2015

931 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Gnome.asia 2012   x-mario

x-mariothe gaming distribution

Page 2: Gnome.asia 2012   x-mario

Goals of x-mario1. Have a smooth and fun experience● simple launcher interface with quick access to different categories

and games● as many games as possible out of the box● offer localized browser games to feature contributors in the region● offer games to play on less powerful PCs● include games for entertainment and education

2. Create a simple and beautiful distro● make a beautiful distribution with good internationalization support● make distro for CD, DVD and USB as well as for installations

3. Contribute back● learn more about Linux, how to build a distribution and contribute to

projects in community

Page 3: Gnome.asia 2012   x-mario

Other games distributionsWhat are other distros? Other game distributions with different goals and implementations are:

● linux-gamers.net● supergamer● Fedora Games Spin

Page 4: Gnome.asia 2012   x-mario

Why the name x-mariox - stands for all contributors to projects and games used in the distributionx - also stands for x gamersmario - is a symbol name associated by many people around the world with gaming and fun

Page 5: Gnome.asia 2012   x-mario

team behind x-mario● Thanh Nguyen● Hon Nguyen● Hong Phuc Dang● Mario Behling● Julien Lavergne● Rafael Laguna (神癒礁湖)

Page 6: Gnome.asia 2012   x-mario

x-mario test base system● first test version is based on Ubuntu 11.10 ● includes GNOME components like gtk+● only games installed● no application (office, chat, mail, ...). ● does not include Unity● launcher application based on lxlauncher

Page 7: Gnome.asia 2012   x-mario

Why Ubuntu as a base● Ubuntu is a popular distro with a lot of documentation● Debian/Ubuntu offer many tools for custom distributions● Some Ubuntu developers, e.g. Julien Lavergne from lubuntu

helped us to get started

The developers are open to use other distributions as a base for x-mario, if more suitable.

Page 8: Gnome.asia 2012   x-mario

What tools do we use● Debootstrap: a base tool for debian based distributions● Ubiquity: to install system on live cd to hard drive● DPKG dev: tool that helps to install other packages● Genisoimage: create iso file via command line● Squashfs-tools: tool to create and append to squashfs filesystems● UbuntuDevTools: useful tools for bug filing, packaging

preparation, package analysis, etc.● p7zip: help compress and extract file

Page 9: Gnome.asia 2012   x-mario

Building a Distro

● Remastersys - clone your current Debian/Ubuntu install and make it into a live CD

● SUSE studio - build your distro with this tool from the OpenSuse community

● Revisor is a tool for Fedora● or write a build script to create a distro from scratch

Page 10: Gnome.asia 2012   x-mario

Building x-mario● in x-mario we use a build script to create the distribution from

scratch● in 3 steps you can create the distro

Page 11: Gnome.asia 2012   x-mario

Source code build script x-mario

Page 12: Gnome.asia 2012   x-mario

Building x-mario: Step 1 chroot+packagesStep 1: Create a chroot and install our packages. Thebase packages that must be installed are:+ ubuntu-standard: depends on all of the packages in the Ubuntu standard system+ casper - hook for initramfs-tools to boot live systems+ lupin-casper - provides hooks to find an ISO image on a hard disk and to read a preseed file from a hard disk, which are used in the early part of this process+ laptop-detect - attempts to determine whether it is being run on a laptop or a desktop and appraises its caller of this.+ os-prober - spinoff of debian-installer+ linux-generic - contains the Linux kernel image

Page 13: Gnome.asia 2012   x-mario

Building x-mario: Step 1 chroot+packages+ GNOME Network Manager + X.org - the X Window System+ dbus-x11 (D-BUS is a message bus system, a simple way for applications to talk to one another).+ openbox (Window manager for X Window system).+ Desktop Environment (Interface packages): We have different choices e.g.: GNOME, KDE, XFCE, or LXDE+ After choosing the interface we also need to install depending packages e.g. session manager, display manager, artwork, icons, ....

Page 14: Gnome.asia 2012   x-mario

Building x-mario: compress chrootStep 2: Compress the chroot system into a file. This step will compress the system and information about it to filesystem.squashfs

Page 15: Gnome.asia 2012   x-mario

Building x-mario: disk imageStep 3: Create and configure the disk image which includes:● the bootloader (isolinux)● the kernel● the compressed file-system image● all other required components

Page 16: Gnome.asia 2012   x-mario

Building x-mario: Install and Test

Finally: Create USB stick or Live CD and test it.

Page 17: Gnome.asia 2012   x-mario

x-marioLive Demo

Page 18: Gnome.asia 2012   x-mario

Obstacles to overcome● If there is a package missing (or a dependent package) in the first

step, the build will not work. It takes time to get it right.● We want add more games to distro but size of a CD has limit. We

will create a repository and put many games onto this. Users can then easily install new games. Alternatively, we plan to offer a DVD version for x-mario.

● Some cool games require Qt and additional libraries contradicting with the goal of a fast system

● Support different hardware. We need to install some base driver hardware. This is always tricky.

Page 19: Gnome.asia 2012   x-mario

x-mario outlook● expected release date of first version - August 2012● future offer repository game "shop"● best possible hardware support● contribute to projects x-mario uses● improve launcher experience

Page 20: Gnome.asia 2012   x-mario

Thank you!

www.x-mario.com

Hong Phuc Dang [email protected] Nguyen [email protected]