GNOME development on Tizen Mobile

2,674 views
2,470 views

Published on

Disclaimer: This presentation does not reflect my employer’s views and opinions

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,674
On SlideShare
0
From Embeds
0
Number of Embeds
222
Actions
Shares
0
Downloads
51
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • It was announced at the Embedded Linux Conference in Santa Clara, California on April 19, 2007
  • https://help.gnome.org/misc/release-notes/2.24/
  • https://help.gnome.org/misc/release-notes/2.24/
  • 2009zl
  • At the Mobile World Congress in February 2010, it was announced that the Moblin project would be merging with Maemo to create the MeeGo mobile software platform.
  • Unfortunately, there is no Success story with GNOME in Mobile. What's wrong with GNOME? Is GNOME is slow in mobile device? Were there any missing features for mobile?
  • Anyway, the mobile market is divided into Android and iOS. WebOS, Windows Mobile was disappeared. Windows phone & Blackberry are struggling to survive.
  • http://asia.cnet.com/the-emerging-smartphone-os-battle-firefox-vs-tizen-vs-ubuntu-62220705.htm Why GNOME folks need to take a look at Tizen?
  • When we take a look at Tizen Architecture, you can find many GNOME & FreeDesktop components such as D-Bus,m glibc, Cairo, X11, Fontconfig, Freetype2, GStreamer, Geoclue, libSoup, Bluez, and SQLite
  • There a lot of common components between Tizen and Maemo. X-Window, GStreamer, Glib, GObject, libSoup, BlueZ,
  • What is GNOME development? GNOME development Develop an application based on glib/gobject The glib main loop is running inside Tizen apps.
  • Intel and Samsung are leading the project. Intel is no 1 Linux kernel contributor. Samsung is no 7 Linux kernel contributor. Two companies are very active to open source development Therefore, It’s okay to believe both companies. We continue to open Tizen more under Linxu foundation
  • Create an SSH key with the Linux shell by specifying your full name and email address The SSH key is created in the ~/.ssh/id_rsa.pub file.
  • Paste the SSH public key into "Add SSH Public Key" text box.
  • Git is a revision control and source code management tool that enables you to download and manage Tizen platform development source codes. You can also submit your modified source codes to Git. To enable the Tizen platform development, you must install Git: $ apt-get install git
  • https://developer.gnome.org/gnome-devel-demos/stable/image-viewer.c.html
  • GNOME development on Tizen Mobile

    1. 1. GNOME Development on Tizen허 준회 Hur, JooneMay 24, 2013Intel Open Source Technology Center
    2. 2. Are you a GNOME hacker?WebKitGtk+ Hackfest 2012
    3. 3. Are you a GNOME user?
    4. 4. We are GNOMEhttp://www.flickr.com/photos/kitty-kat/6049220331By KittyKat3756Desktop Summit 2010
    5. 5. We love GNOME
    6. 6. We are building a true open sourcedesktop environment!
    7. 7. GNOME 3.8http://www.gnome.org/news/2013/03/gnome-3-8-released/
    8. 8. ● Fedora● Ubuntu GNOME● OpenSUSE
    9. 9. Platform independentLinux, Windows, and OSX
    10. 10. ●Language independentC, C++, Python, C#, JS
    11. 11. GIMPhttp://www.gimp.org/screenshots/
    12. 12. GNOME Mobile?
    13. 13. Yes, we had GNOME Mobile
    14. 14. First release of GNOME Mobile•GNOME 2.24 is the first release of the GNOMEMobile development platform.•Linux-based mobile device platformso Maemo, ACCESS Linux Platform,o LiMo reference platform, Ubuntu Mobile,o Moblin, Poky.https://help.gnome.org/misc/release-notes/2.24/
    15. 15. GNOME Mobile
    16. 16. MaemoGtk+, X-Window, DebianGStreamerhttps://en.wikipedia.org/wiki/File:Maemo5-screenshot.png
    17. 17. N770N800, N810, N900, N9http://en.wikipedia.org/wiki/File:N900_xterm.JPG
    18. 18. MoblinClutter, Gtk+, RPMDesigned for Netbookhttp://en.wikipedia.org/wiki/File:Moblin_Linux_2.1.png
    19. 19. LiMoGtk+, DebianX-Window
    20. 20. MeeGo (Maemo + Moblin)QtRPMhttp://www.noknok.tv/2010/07/01/nokia-n9-meego-os-smartphone-to-look-like-this/
    21. 21. Nokia left behind us
    22. 22. No one talked about Mobile inGNOMEhttps://mail.gnome.org/archives/mobile-devel-list/
    23. 23. Android vs. iOShttp://techland.time.com/2013/04/16/ios-vs-android/
    24. 24. 3rd Mobile Platform•Tizen•Firefox OS•Ubuntu Touch
    25. 25. They say HTML5!!
    26. 26. But, we have a lot of GNOME applications
    27. 27. Running my favoriteGNOME applications on Mobile?
    28. 28. On Android?Only Linux KernelNo X-Window, No Cairo & Pango,...
    29. 29. Looking into Tizen
    30. 30. Tizen Architecturehttp://www.slideshare.net/badaindonesia/tizen-overview-and-architecture-seokjae-jeong-samsung-korea-linux-forum-2012
    31. 31. Tizen vs. MaemoGlib, Cairo,Pango,Gstreamer,BlueZ, D-Bus,X-WindowOSP,EFL, RPMHildonGtk+, Atk,Gdk-pixbuf,Debian
    32. 32. Tizen is a GNOME?
    33. 33. Tizen?●Tizen = MeeGo + LiMo●Standard based, Cross, Open Source platform●Resides in the Linux Foundation●Tizen 2.1●HTML5 and OSP(native) applications
    34. 34. Tizen Membershttps://www.tizenassociation.org/members/
    35. 35. Tizen Profileshttps://source.tizen.org/compliance
    36. 36. A New Hope for GNOME Mobile
    37. 37. Running GNOME on Tizen
    38. 38. Tizen Development•Web Application development•Native Application development•Platform development
    39. 39. Create a Web application project
    40. 40. Create a Tizen native project
    41. 41. Tizen Platform Developmentgit, obs, gbs, gerrit, chroot, rpm, TizenSDK
    42. 42. Installing Tizen SDKhttps://developer.tizen.org/downloads/tizen-sdk
    43. 43. Create an account in TizenGo to http://tizen.orghttp://seoz.egloos.com/3895488
    44. 44. Using Gerrit to access source code•Gerrit is a Web-based code review systemhttps://review.tizen.org/gerrit/•Create an SSH key with the Linux shell byspecifying your full name and email address•Add the SSH Key to Gerrithttp://seoz.egloos.com/3895489
    45. 45. http://seoz.egloos.com/3895489
    46. 46. Configure GIT•Git is a revision control and source codemanagement toolo $ apt-get install git•Configure GITo $ git config --global user.name "your name"o $ git config --global user.email "your email"
    47. 47. Download Gtk+ and dependentlibraries source code•Tizen 2.0 includeso glib 2.32.3o pango 1.26.0o cairo 1.12•Need atk, gdk-pixbuf, hicolor-icon-theme tocompile Gtk+ 3.1.8o atk 1.30o gdk-pixbuf-2.0 2.22.0o hicolor-icon-theme-0.12http://ftp.gnome.org/pub/gnome/sources/
    48. 48. Building with gbs•Git Build System (GBS) is a custom commandline tool used to support Tizen packagedevelopment$ mkdir atk && cd atk && git init$ gbs import ../atk-1.30.0.tar.gz$ git checkout upstreamhttps://source.tizen.org/documentation/reference/git-build-sys
    49. 49. Write a RPM spec file$ pwd~/git/atk/$ mkdir packaging$ cd packaging$ vi atk.spechttp://en.opensuse.org/openSUSE:Specfile_guidelines
    50. 50. Name: atkSummary: Accessibility ToolkitVersion: 1.30.0License: LGPL...URL: http://www.gtk.orgPatch0: replace_G_CONST_RETURN_with_const.patchRequires: glib2 >= 2.0.0BuildRequires: pkgconfig(glib-2.0)%package devel..%build..%install...%files...
    51. 51. Building using gbs$ gbs build -A i586$ cd ~/GBS-ROOT/local/scratch.i586.0/home/abuild/rpmbuild/RPMS/i586/
    52. 52. ●atk-1.30.0-1.i586.rpm●atk-1.30.0-5.1.armv7l.rpm●atk-debuginfo-1.30.0-1.i586.rpm●atk-debugsource-1.30.0-1.i586.rpm●atk-devel-1.30.0-1.i586.rpm●atk-devel-1.30.0-5.1.armv7l.rpm●gdk-pixbuf2-2.22.0-1.i586.rpm●gdk-pixbuf2-2.22.0-4.1.armv7l.rpm●gdk-pixbuf2-debuginfo-2.22.0-1.i586.rpm●gdk-pixbuf2-debugsource-2.22.0-1.i586.rpm●gdk-pixbuf2-devel-2.22.0-1.i586.rpm●gdk-pixbuf2-devel-2.22.0-4.1.armv7l.rpm● gtk3-3.1.8-16.2.armv7l.rpm● gtk3-3.1.8-1.i586.rpm● gtk3-debuginfo-3.1.8-1.i586.rpm● gtk3-debugsource-3.1.8-1.i586.rpm● gtk3-devel-3.1.8-16.2.armv7l.rpm● gtk3-devel-3.1.8-1.i586.rpm● gtk3-devel-docs-3.1.8-1.i586.rpm● gtk3-immodules-3.1.8-1.i586.rpm● gtk3-immodule-xim-3.1.8-1.i586.rpm● hicolor-icon-theme-0.12-11.1.noarch.rpm
    53. 53. Installing rpm packages$ sdb push ~/tizen/package/*.rpm /homeOpen a shell$ cd /home$ rpm -ivh --force *.rpm
    54. 54. Run gtk-demo!
    55. 55. Your first Gtk+ application for Tizen
    56. 56. Image Viewer
    57. 57. Create a project with Anjuta
    58. 58. joone@joone-webkit:~/image-viewer$ ls -ltotal 64-rw-rw-r-- 1 joone joone 0 May 19 00:41 AUTHORS-rwxrwxr-x 1 joone joone 4435 May 19 00:41 autogen.sh-rw-rw-r-- 1 joone joone 2 May 19 00:41 ChangeLog-rw-rw-r-- 1 joone joone 334 May 19 00:41 configure.ac-rw-rw-r-- 1 joone joone 35148 May 19 00:41 COPYING-rw-rw-r-- 1 joone joone 1689 May 19 00:41 image_viewer.anjuta-rw-rw-r-- 1 joone joone 350 May 19 00:41 Makefile.am-rw-rw-r-- 1 joone joone 0 May 19 00:41 NEWS-rw-rw-r-- 1 joone joone 0 May 19 00:41 READMEdrwxr-xr-x 2 joone joone 4096 May 19 00:41 src
    59. 59. Making a spec file
    60. 60. Building with gbs$gbs build -A i586 –keep-packs --include-all
    61. 61. Running Image Viewer on theemulator
    62. 62. Download today!http://download.tizen.org/live/home:/joone:/Tizen:/2.0:/GNOME/standard/i586/
    63. 63. Future Plan•Support for GObject introspectiono More language bindings!•Support for Mobile Theme•Add GNOME development to Tizen SDK
    64. 64. Q & A

    ×