How to create a Fedora spin – Developer Meet Up in Hong Kong

Hon Nguyen (Vietnam), Dicky (Hong Kong), Hong Phuc (Vietnam) (from right to left)

Dicky (Hong Kong) and Mathieu Bridon (France)

At our meet ups at GNOME.Asia in Hong Kong it was great to meet developers from different continents. One thing we were particularly interested in is, how to create a custom Linux based on Fedora Linux.

Well, we were lucky to meet Mathieu Bridon (Blog). There are some pictures below. Even though some pictures might look just like socializing in a pub, we actually took quite late until the eve to learn about using Kickstart files to create our own custom Linux. Thank you! So the how to of Mathieu below first.

== Building your downstream distro ==

From a Fedora system:
    # yum install spin-kickstarts pungi

See the kickstarts used to create the various Fedora spins in:
    /usr/share/spin-kickstarts/*

Use that as examples, the actual kickstart doc is at:
    http://fedoraproject.org/wiki/Anaconda/Kickstart

Then once you have your kickstart file:
    # pungi -c [your kickstart file]

(see pungi -h for all the options)

== Avoiding trademark issues ==

Replace fedora-logos by generic-logos to avoid the Fedora trademarks.

Clone the git repository for the package spec file:
$ fedpkg clone -a generic-logos
$ cd generic-logos

Fetch the source tarball:
$ fedpkg sources

Make your own tarball following the layout and file names.

Rename the spec file (and change the Name: tag):
Name:       xmario-logos
Version:    17.0.0
[… snip …]
Source0:    https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.bz2

See how the tarball is named like the spec file?

Rebuild:
$ fedpkg mockbuild

== Caching packages ==

1. Synchronize the whole repository:
$ yum install yum-utils
$ reposync -r fedora -r updates -p /path/to/repository_cache

2. Keep in cache the packages you install:
  1. set keepcache=1 in /etc/yum.conf
  2. install, update,…
  3. $ find /var/cache/yum -name ‘*.rpm’

3. Download packages:
$ yum install yum-utils
$ yumdowloader foo
$ yumdownloader –resolve foo

Some different approaches to repo caching:
http://yum.baseurl.org/wiki/YumMultipleMachineCaching

 

If you need to make an install media (not live), you’ll have to maintain
a trivial patch to anaconda.

$ fedpkg clone -a anaconda
$ cd anaconda
$ fedpkg prep
$ cd anaconda-$version
$ git init
$ git add .
$ git commit -m prepped
$ cp pyanaconda/installclasses/{fedora.py,xmario.py}

Replace all occurences of “fedora” by “xmario” in the file you copied,
and give it a **higher** priority (bigger number) than all other install
classes so that yours is used.

Create a patch that adds your modifications. I like to use git for that,
but you can just use the diff command if you prefer:
$ git commit -a -m “Create our install class for X-Mario”
$ git format-patch HEAD~1
$ mv 0001-*.patch ..
$ cd ..

Add the patch to the spec file header:
    [… snip …]
    Patch1000000: 0001-blabla.patch
    [… snip …]

Apply at the end of %setup:
    %patch1000000 -p1

Bump the “Release:” tag and add a changelog message in %changelog.

Commit to git:
$ git add 0000*.patch anaconda.spec
$ git commit -m “Bla bla bla commit message”

Rebuild:
$ fedpkg mockbuild

More about fedpkg:
http://fedoraproject.org/wiki/Using_Fedora_GIT

Mathieu Bridon and Sammy Fung (HK)

FOSSASIA community meetup at GNOME.Asia 2012

GNOME.Asia Hong Kong 2012

 

FOSSASIA members had a wonderful get together at GNOME.Asia 2012 in Hong Kong. 

About GNOME.Asia Summit. The event is Asia’s GNOME user and developer conference, spreading the knowledge of GNOME across Asia. The event focuses primarily on the GNOME desktop and other devices that use GNOME, and also covers GNOME-based applications and GNOME development platform tools.

It brings together the GNOME community in Asia to provide a forum for users, developers, foundation leaders, governments and businesses to discuss both the present technologies and future developments.

The FOSSASIA team presented the two projects: crypto-stick and the x-mario gaming distribution.

A big thanks for this fantastic event goes to the local and global organization team and the GNOME Foundation, in particular to Max, Haggen So and Sammy Fung.

Hong Phuc Dang also received travel sponsorship from the GNOME Foundation and thus increased the participation numbers from Vietnam to three contributors.

 

GNOME.Asia Hong Kong 2012

FOSSASIA developer at GNOME.Asia about x-mario gaming project

Hon Nguyen held a talk supported by me at the GNOME.Asia event in Hong Kong about the x-mario gaming project.

The slides are here..

Crypto Stick project presented by Quan Nguyen at GNOME.Asia

We are a group of four people representing the FOSSASIA organization at GNOME.Asia. Hon Nguyen, one of the developer of Crypto Stick also gave a presentation at the event in Hong Kong.

Quan Nguyen at GNOME.Asia 2012 in Hong Kong

Hong Phuc DANG (left) and Hon Nguyen (right) taking photos during GNOME.Asia 2012

Mekong Delta Map Sprint

When it comes to Free and Open Source Software there are a lot of useful tools out there to make use of maps. But how useful is it, if there is no map data?

This was the reason for focusing our attention on maps of the Mekong Delta. For two months we cooperated with companies and universities in the Mekong Delta and we welcomed 10 students to work with us to improve the maps in the area. We did with different tools including Open Source Android apps and satellite images.

Check out the OSM Beginner’s Guide to become a map contributor as well!

Everyone loves pics. So here are a few pictures of the hard-working students.

FOSSASIA accepted as Google Summer of Code organization

FOSSASIA has been accepted as mentor organization for the Google Summer of Code 2012. It is fantastic to join the international free software community in the study program and we are looking forward to student applications.

Applications can be added through the GSoC website. Please also introduce your ideas on the mailing list and add them to the ideas page. If you are proposing an idea for a subproject like Cryptostick, people on the list will direct you to specific contact points if needed. 

FOSSASIA is acting as an umbrella organization for projects related to Asian users and the community in the region. We welcome applications from student projects around the world who work on software tools benefiting users in the region.

The FOSSASIA Google Summer of Code program is looking for applications including: 

  • software development for projects supporting social change; 
  • internationalization projects benefitting users in the region, e.g. support for Asian fonts in applications and enhancing user experience; 
  • software for secure communication and user security including support for international Asian users; 
  • decentral systems for new use cases in emerging regions; 
  • educational development projects; 
  • localized free software distributions (e.g. regional Linux distributions); 

If you are a student there are important links to follow:

FOSSASIA Summit 2011 Wrap Up

The FOSSASIA OpenTechSummit 2011 was held at Van Lang University in Ho Chi Minh City (Saigon), Vietnam from November 11 to 12, 2011.

The event attracted 798 participants in 2 days including students, developers, business professionals and government officials. Ninety percent of the participants were local from Vietnam. There were a total of 24 speakers, 60% were local speakers and 40% of them were from other countries, including USA, France, Denmark, Cambodia, Germany, and Singapore. There were 26 talks and many workshops took place over the two days of the event.

It has been a great event. Thank you for joining the community at Van Lang University in Ho Chi Minh City 2011!

 

Women in the Free Software Community discussions at FOSSASIA

The topic of women in IT and in the Free and Open Source community attracts a lot of intense discussions.

FOSSASIA 2011 in Saigon attracting Students and Developers

FOSSASIA 2011 in Van Lang University is attracting many developers and interested students. We have a big hall that is filled for most of the talks and some seminar rooms where we have some intense talks, discussions and workshop to get hands on experience.

FOSSASIA Social Meetup in Saigon Downtown

We had a get together of speakers and participants at the Spotted Cow Bar in the center of Saigon. It is a nice group of people and looks like everyone really enjoyed the first meet up at the FOSSASIA conference.