i have downloaded the sorce using <br>$dget -x <a href="http://gns.katsarov.org/gns/jungle/gcompris_8.4.8-gns2.dsc" target="_blank">http://gns.katsarov.org/gns/jungle/gcompris_8.4.8-gns2.dsc</a><br><br>four things are there :<br>
orig.tar.gz , .diff.gz , .dsc and one folder gcompris-8.4.8<br><br>As u told in step 2, i changed my pwd to gcompris-8.4.8 which was downloaded from the step 1.<br><br>Then i go to step 3 and the following error comes :<br>
<br><b>boss@boss:~/Desktop/gcompris-8.4.8/gcompris-8.4.8$ debuild -us -uc -d<br> fakeroot debian/rules clean<br>debian/rules:16: /usr/share/dpatch/dpatch.make: No such file or directory<br>make: Warning: File `debian/rules' has modification time 6.2e+04 s in the future<br>
make: *** No rule to make target `/usr/share/dpatch/dpatch.make'.  Stop.<br>debuild: fatal error at line 1228:<br>fakeroot debian/rules clean failed</b><br><br><br>I also tried the same step by extracting .orig.tar.gz and then cd to this directory , the following error comes : <br>
<br><b>boss@boss:~$ cd Desktop/gcompris-8.4.8/gcompris-8.4.8\ /<br>boss@boss:~/Desktop/gcompris-8.4.8/gcompris-8.4.8 $ debuild -us -uc<br>debuild: fatal error at line 600:<br>cannot find readable debian/changelog anywhere!<br>
Are you in the source code tree?<br><br></b>Actually there is no debian folder inside gcompris-8.4.8 folder which comes after extracting .orig.tar.gz.<b><br><br></b>But the gcomris-8.4.8 folder which i downloaded fron the step 1 contains debian folder but still some problem comes which i have mentioned above.<b><br>
</b><br><br><div class="gmail_quote">2009/1/9 Yavor Doganov <span dir="ltr"><<a href="mailto:yavor@gnu.org">yavor@gnu.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, Jan 09, 2009 at 04:49:08PM +0530, Ankit Sahai wrote:<br>
> can u help me abt how can I add changes in an already build debian<br>
> package??<br>
<br>
</div>You cannot.<br>
<div class="Ih2E3d"><br>
> Actually I want to add punjabi files in gcompris??<br>
<br>
</div>Yeah, I already know that.<br>
<br>
Easy way<br>
========<br>
Use my 8.4.8 (the latest stable release) packages from<br>
<a href="http://gns.katsarov.org" target="_blank">http://gns.katsarov.org</a>, Punjabi voices are included.  The binary<br>
packages are built for gNewSense and most probably won't work directly<br>
on a Debian system.  To rebuild them, do:<br>
<br>
1) Get the source package and extract it.<br>
$ dget -x <a href="http://gns.katsarov.org/gns/jungle/gcompris_8.4.8-gns2.dsc" target="_blank">http://gns.katsarov.org/gns/jungle/gcompris_8.4.8-gns2.dsc</a><br>
<br>
2) Go to the source directory.<br>
$ cd gcompris-8.4.8<br>
<br>
3) Build the package.<br>
$ debuild -us -uc<br>
<br>
If it reports missing build dependencies, install them.<br>
<br>
4) Install the built packages.<br>
# dpkg -i ../gcompris...<br>
<br>
<br>
Hard way<br>
========<br>
Modify the Debian source package and rebuild it.<br>
<br>
1) Get the source package.<br>
$ apt-get source gcompris<br>
<br>
2) Go to the source directory.<br>
$ cd gcompris-8.4.4<br>
<br>
3) Copy the Punjabi voices (from GCompris SVN, etc.).  Here I assume<br>
that the directory containing them is named "pa".<br>
$ cp -a /path/to/your_voices_dir boards/voices<br>
<br>
4) Verify step 3).<br>
$ ls -R boards/voices/pa<br>
<br>
5) Add the corresponding .files file, to be used by dh_movefiles.<br>
$ echo 'usr/share/gcompris/boards/voices/pa' > debian/gcompris-sound-pa.files<br>
<br>
6) Add the following to debian/control, separated from the entries of<br>
the other binary packages with empty lines.  The order is not<br>
significant.<br>
<br>
Package: gcompris-sound-pa<br>
Architecture: all<br>
Recommends: gcompris<br>
Depends: gcompris-data (= ${source:Version}), ${misc:Depends}<br>
Provides: gcompris-sound<br>
Description: Punjabi sound files for GCompris<br>
 GCompris is a collection of educational games for small children.<br>
 .<br>
 These are sounds used in some boards.<br>
<br>
7) Build and install according to steps 3) and 4) from the "Easy way"<br>
section.<br>
<br>
Hope that helps.<br>
<div><div></div><div class="Wj3C7c"><br>
------------------------------------------------------------------------------<br>
Check out the new SourceForge.net Marketplace.<br>
It is the best place to buy or sell services for<br>
just about anything Open Source.<br>
<a href="http://p.sf.net/sfu/Xq1LFB" target="_blank">http://p.sf.net/sfu/Xq1LFB</a><br>
_______________________________________________<br>
gcompris-devel mailing list<br>
<a href="mailto:gcompris-devel@lists.sourceforge.net">gcompris-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gcompris-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gcompris-devel</a><br>
</div></div></blockquote></div><br>