Hello, thank you alot for your help. With the following commands I could successfully change the line colour in the openstreetmap in pytrainer 1.8.0 for Ubuntu 11.10.
sudo apt-get build-dep pytrainer mkdir pytrainer-src cd pytrainer-src apt-get source pytrainer cd pytrainer-1.8.0 < change source code, e.g. color value in ./pytrainer/extensions/osm.py > dpkg-buildpackage -rfakeroot -us -uc cd .. sudo dpkg -i pytrainer_1.8.0-3ubuntu1_all.deb > Well, strictly speaking, even if there had been no change in the code, > there would be a "ubuntu1" addition. > > "-3" means that the Ubuntu packages are based on the 1.8.0-3 Debian > package. That one could indeed have changes to upstream code (that is, > to the published 1.8.0 version of pyTrainer). > > But Nathan's suggestion is right: if you want to build pyTrainer 1.8.0 > on a current Ubuntu, you need to use the Ubuntu package source, which > includes that patch that ports pyTrainer to webkit: > > apt-get source pytrainer > <....modify sources locally...> > dpkg-buildpackage (or whatever build option you want to use) But now I have one more problem. The version. Ubuntu wants to update back to the official pytrainer package. Once I executed all updates, the line had the old colour which means the official pytrainer package was reinstalled again. How can I give my self created binary package a version so that it is newer than the currently used official ubuntu pytrainer version 1.8.0, but less than future official pytrainer versions? Because I want to be remembered automatically if there is the update to version 1.9.0. Using e.g. version 1.8.1? But what files do I have to change then or how do I have to create the deb-package? Or could I perhaps indicate with "ubuntu2" that I used 1.8.0 as basis but had a little code change? Thank you a lot for you help. Dirk P.S.: I hope that I answered to the right thread. I got the message "Pytrainer-devel Digest, Vol 42, Issue 9", which contained several messages and replied to that. I just changed the subject of the reply. ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel