Re: [Xastir] Deb package for Ubuntu 10.04
On Wed, Jun 23, 2010 at 9:17 AM, Jon K Hellan hel...@acm.org wrote: Here's how you can - usually - build a deb package of a more recent version of a program when there already is an official package. The recipe works on Debian, Ubuntu and other like minded Linux distributions. All commands should be entered from a shell. 1. Get the essential tools for building packages: sudo apt-get install build-essential 2. Install headers and tools needed for building your package: sudo apt-get build-dep xastir 3. Download the source to the official package. cd to a suitable place and: apt-get source xastir the source will end up in the directory xastir-version, e.g. xastir-1.9.4, below your current location 4. cd to a suitable place. Check out the current version of the source from CVS, or download and unpack the tar file with the version you want. 5. cd into the source directory. Copy the 'debian' directory from the package source into your source like this: cp -rp packagesourcdir/debian/* debian 6. Edit the version number at the top of the file debian/changelog. E.g change xastir (1.9.4-3.1) unstable; urgency=low to xastir (1.9.9-1local) unstable; urgency=low 7. Build the package using the command dpkg-buildpackage -rfakeroot If the source hasn't changed too much since it was packaged for Ubuntu/Debian, this will result in a .deb file in the directory above the source directory. If you want to enable other options than Ubuntu does, they run 'configure' from the file 'debian/rules'. You can change the arguments there, but remember to install the libraries *and* the -dev packages with header files. 73 Jon LA4RT I followed the HowTo at the following link: http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/ It's somewhat more complex with Xastir than creating a binary package for a simple shell script as was done in the example, but I still used the same procedure. Anyway, the binary works for me, and it worked for David A., which is the only feedback I have seen so far. Thanks for the tip on naming it version 1.9.9-1local. I wasn't sure exactly how to name it, so I simply used 1.99-1.0. The 1.99 binary is posted at www.175moonlight.com/xastir/xastir-lucid-i386-2010-06-22.deb Regards, Lee - K5DAT Murphy, TX ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Deb package for Ubuntu 10.04
Lee, We may have a problem... When I click on the directional arrows above the map, it also zooms out. The question is... is it Xastir... or... is it X? I need to do a CVS upsate on the other system to see where the problem may be. 73 Dave KB3EFS On Wed, Jun 23, 2010 at 1:31 PM, Lee Bengston lee.bengs...@gmail.com wrote: On Wed, Jun 23, 2010 at 9:17 AM, Jon K Hellan hel...@acm.org wrote: Here's how you can - usually - build a deb package of a more recent version of a program when there already is an official package. The recipe works on Debian, Ubuntu and other like minded Linux distributions. All commands should be entered from a shell. 1. Get the essential tools for building packages: sudo apt-get install build-essential 2. Install headers and tools needed for building your package: sudo apt-get build-dep xastir 3. Download the source to the official package. cd to a suitable place and: apt-get source xastir the source will end up in the directory xastir-version, e.g. xastir-1.9.4, below your current location 4. cd to a suitable place. Check out the current version of the source from CVS, or download and unpack the tar file with the version you want. 5. cd into the source directory. Copy the 'debian' directory from the package source into your source like this: cp -rp packagesourcdir/debian/* debian 6. Edit the version number at the top of the file debian/changelog. E.g change xastir (1.9.4-3.1) unstable; urgency=low to xastir (1.9.9-1local) unstable; urgency=low 7. Build the package using the command dpkg-buildpackage -rfakeroot If the source hasn't changed too much since it was packaged for Ubuntu/Debian, this will result in a .deb file in the directory above the source directory. If you want to enable other options than Ubuntu does, they run 'configure' from the file 'debian/rules'. You can change the arguments there, but remember to install the libraries *and* the -dev packages with header files. 73 Jon LA4RT I followed the HowTo at the following link: http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/ It's somewhat more complex with Xastir than creating a binary package for a simple shell script as was done in the example, but I still used the same procedure. Anyway, the binary works for me, and it worked for David A., which is the only feedback I have seen so far. Thanks for the tip on naming it version 1.9.9-1local. I wasn't sure exactly how to name it, so I simply used 1.99-1.0. The 1.99 binary is posted at www.175moonlight.com/xastir/xastir-lucid-i386-2010-06-22.deb Regards, Lee - K5DAT Murphy, TX ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir -- David A Aitcheson david.aitche...@gmail.com david.aitcheson on google and skype ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Deb package for Ubuntu 10.04
Are you using the .osm maps? If so, I'm not surprised. I'm working on fixes for a number of zooming and scaling problems with OSM maps. Try the .geo versions before reporting any problems. 73, ...jerry KA6HLD On Wed, Jun 23, 2010 at 6:51 PM, David Aitcheson david.aitche...@gmail.com wrote: Lee, We may have a problem... When I click on the directional arrows above the map, it also zooms out. The question is... is it Xastir... or... is it X? I need to do a CVS upsate on the other system to see where the problem may be. 73 Dave KB3EFS On Wed, Jun 23, 2010 at 1:31 PM, Lee Bengston lee.bengs...@gmail.com wrote: On Wed, Jun 23, 2010 at 9:17 AM, Jon K Hellan hel...@acm.org wrote: Here's how you can - usually - build a deb package of a more recent version of a program when there already is an official package. The recipe works on Debian, Ubuntu and other like minded Linux distributions. All commands should be entered from a shell. 1. Get the essential tools for building packages: sudo apt-get install build-essential 2. Install headers and tools needed for building your package: sudo apt-get build-dep xastir 3. Download the source to the official package. cd to a suitable place and: apt-get source xastir the source will end up in the directory xastir-version, e.g. xastir-1.9.4, below your current location 4. cd to a suitable place. Check out the current version of the source from CVS, or download and unpack the tar file with the version you want. 5. cd into the source directory. Copy the 'debian' directory from the package source into your source like this: cp -rp packagesourcdir/debian/* debian 6. Edit the version number at the top of the file debian/changelog. E.g change xastir (1.9.4-3.1) unstable; urgency=low to xastir (1.9.9-1local) unstable; urgency=low 7. Build the package using the command dpkg-buildpackage -rfakeroot If the source hasn't changed too much since it was packaged for Ubuntu/Debian, this will result in a .deb file in the directory above the source directory. If you want to enable other options than Ubuntu does, they run 'configure' from the file 'debian/rules'. You can change the arguments there, but remember to install the libraries *and* the -dev packages with header files. 73 Jon LA4RT I followed the HowTo at the following link: http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/ It's somewhat more complex with Xastir than creating a binary package for a simple shell script as was done in the example, but I still used the same procedure. Anyway, the binary works for me, and it worked for David A., which is the only feedback I have seen so far. Thanks for the tip on naming it version 1.9.9-1local. I wasn't sure exactly how to name it, so I simply used 1.99-1.0. The 1.99 binary is posted at www.175moonlight.com/xastir/xastir-lucid-i386-2010-06-22.deb Regards, Lee - K5DAT Murphy, TX ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir -- David A Aitcheson david.aitche...@gmail.com david.aitcheson on google and skype ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Deb package for Ubuntu 10.04
Righto then I can stop pulling out my hair with all these make errors then! ... I'd be most great full if I could grab a copy of your debian directory that you have built with so I can compare with the source that I got from a NMU who has (as of April) attempted to get 1.9.8 and sponsorship within Debian. Problem I was encountering is that because Debian Ubuntu have deviated so far apart, there is some complexities in package building as a result! (insert multiple swear words here!) -- Scott Evans sc...@vk7hse.hobby-site.org -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
Re: [Xastir] Deb package for Ubuntu 10.04
Just a quick caution - I haven't tested installing the new binary package when the older one (1.94) is already installed. Just to be safe, I would back up any of your own maps as suggested in some of the HowTo's: mkdir /tmp/maps cp -r /usr/share/xastir/maps/* /tmp/maps Regards, Lee On Wed, Jun 23, 2010 at 12:14 AM, Lee Bengston lee.bengs...@gmail.com wrote: Continuing a discussion originally started on the thread with the subject Ubuntu 10.04 proj package, I have posted the deb package for Ubuntu 10.04 at the following link: www.175moonlight.com/xastir/xastir-lucid-i386-2010-06-22.deb I ended up re-doing it so that it would install in /usr instead of /usr/local, which matches the official Debian and Ubuntu packages. The result is that I am posting it much later than I had originally planned. The package is based on Xastir 1.99 pulled from CVS a few hours ago. I was able to install it in Ubuntu simply by double-clicking the .deb file from nautilus. In Kubuntu, it's probably a single click. It can also be installed from the command line via the following: dpkg -i ./xastir-lucid-i386-2010-06-22.deb Note: this package follows the convention of the older binary in the Ubuntu repository and depends on graphicsmagick as opposed to imagemagick and Lesstif as opposed to openMotif. I also plan to re-do the other .deb package I had built for Debian Lenny / Mepis 8.x so that it installs in /usr. I should be posting that in a day or 2. Regards, Lee - K5DAT Murphy, TX ___ Xastir mailing list Xastir@lists.xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir