/srv/irclogs.ubuntu.com/2010/04/22/#ubuntu-classroom.txt

=== mohi_away is now known as mohi1
=== mohi1 is now known as mohi_away
=== james_w`` is now known as james_w
=== keffie_jayx_ is now known as effie_jayx
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - http://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi || Event: Packaging Training Session - Current Session: How to package XUL extensions - Instructor: bdrung || Questions in #ubuntu-classroom-chat
bdrunghello19:00
bdrungwe extract the xpi file with xpi-unpack (from mozilla-devscripts)19:09
bdrungxpi-unpack libnotify-mozilla-0.1.4-beta.xpi libnotify-mozilla19:09
bdrungnow we create the orig source tarball:19:10
bdrungtar -acf libnotify-mozilla_0.1.4.orig.tar.gz libnotify-mozilla19:10
=== yofel_ is now known as yofel
bdrungnow we switch into the libnotify-mozilla directory and create a debian directory in there19:11
bdrungnow we create a changelog file19:11
bdrungdch --create --package libnotify-mozilla --newversion 0.1.4-0ubuntu1 "Initial release."19:11
bdrungwe create a compat file: echo 7 > debian/compat19:12
bdrungin the realworld we have to write a debian/copyright file. for this example we just create a empty file19:14
bdrungcan you follow me?19:14
bdrungnow we come to the interesting part19:15
bdrungwe create a debian/control file with this content: http://paste.ubuntu.com/420579/19:16
bdrungthe explanation to this file:19:17
bdrungthe binary package name is created by stripping mozilla from the source name and to prepend xul-ext-19:17
bdrungwhich version of mozilla-devscripts you need is described in http://wiki.debian.org/mozilla-devscripts19:18
bdrung${xpi:Recommends}, ${xpi:Provides}, ${xpi:Enhances} is generated by dh_xul-ext19:18
bdrungquestion to this file?19:18
bdrungnow we create debian/rules: one target called % with this command "dh --with xul-ext --buildsystem=xul_ext $@"19:23
bdrungit look like this: http://paste.ubuntu.com/420586/19:23
bdrungwhat does this rule do?19:25
bdrung--with xul-ext is responsible to call dh_xul-ext after installation19:26
bdrung--buildsystem=xul_ext creates the xpi file and installs this xpi file19:27
bdrungon build "xpi-pack . xul-ext-libnotify.xpi" will be called19:27
bdrungon install "install-xpi xul-ext-libnotify.xpi"  will be called19:27
bdrungon clean "rm -f xul-ext-libnotify.xpi" will be called19:28
bdrungnow we build the package with debuild19:29
bdrungquestions?19:30
bdrungno questions?19:34
bdrungyou can find more examples on http://wiki.debian.org/mozilla-devscripts19:36
bdrungand in the man pages from xpi-pack, xpi-unpack, xpi-repack, dh_xul-ext, install-xpi19:38
bdrungif you will have questions later, you can find me on various ubuntu channel, for example #ubuntu-mozillateam19:40
bdrungthanks for listening19:41
ClassBotThere are are 10 minutes remaining in the current session.19:50
ClassBotThere are are 5 minutes remaining in the current session.19:55
=== ChanServ changed the topic of #ubuntu-classroom to: Welcome to the Ubuntu Classroom - http://wiki.ubuntu.com/Classroom || Support in #ubuntu || Upcoming Schedule: http://is.gd/8rtIi
=== keffie_jayx_ is now known as effie_jayx

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!