[osm-gps-map] 02/153: First debianization
Ross Gammon
ross-guest at moszumanska.debian.org
Tue May 13 19:58:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
ross-guest pushed a commit to branch master
in repository osm-gps-map.
commit 58b7c3d0e9084d818b8b9e96b54403d26b67127a
Author: David Paleino <dapal at debian.org>
Date: Sun Dec 13 12:34:17 2009 +0100
First debianization
---
debian/README.source | 14 +++++
debian/changelog | 5 ++
debian/compat | 1 +
debian/control | 60 ++++++++++++++++++++++
debian/copyright | 50 ++++++++++++++++++
debian/docs | 3 ++
debian/libosmgpsmap-dev.install | 5 ++
debian/libosmgpsmap0.install | 1 +
debian/patches/01-fix_configure.ac_version.patch | 12 +++++
debian/patches/02-fix_python_library_linking.patch | 16 ++++++
debian/patches/series | 2 +
debian/python-osmgpsmap.install | 2 +
debian/rules | 38 ++++++++++++++
debian/watch | 2 +
14 files changed, 211 insertions(+)
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..2f19500
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,14 @@
+osm-gps-map for Debian
+----------------------
+
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build. Please see:
+
+ /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
+
+
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..503bec1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osm-gps-map (0.3-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #516620)
+
+ -- David Paleino <dapal at debian.org> Sun, 13 Dec 2009 08:44:20 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f703400
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,60 @@
+Source: osm-gps-map
+Section: libs
+Priority: optional
+Maintainer: David Paleino <dapal at debian.org>
+Build-Depends: quilt (>= 0.46-7~),
+ debhelper (>= 7.0.50~),
+ libtool,
+ automake,
+ autoconf,
+ libgtk2.0-dev,
+ libglib2.0-dev (>= 2.18),
+ libsoup2.4-dev,
+ python-gobject-dev,
+ python-gtk2-dev (>= 2.10.0),
+ libcairo2-dev (>= 1.8),
+ python-support (>= 0.90.0)
+XS-Python-Version: >= 2.5
+Standards-Version: 3.8.3
+Homepage: http://nzjrs.github.com/osm-gps-map/
+
+Package: libosmgpsmap-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+ libosmgpsmap0 (= ${binary:Version})
+Description: GTK+ library to embed OpenStreetMap maps - development files
+ libosmgpsmap is a library to embed maps in applications that when given GPS
+ co-ordinates, draws a GPS track, and points of interest on a moving map
+ display. Downloads map data from a number of websites, including
+ openstreetmap.org, openaerialmap.org and others.
+ .
+ These are the development files for libosmgpsmap0, needed only if you're
+ writing or compiling an application which will use it.
+
+Package: libosmgpsmap0
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${misc:Depends}
+Description: GTK+ library to embed OpenStreetMap maps
+ libosmgpsmap is a library to embed maps in applications that when given GPS
+ co-ordinates, draws a GPS track, and points of interest on a moving map
+ display. Downloads map data from a number of websites, including
+ openstreetmap.org, openaerialmap.org and others.
+
+Package: python-osmgpsmap
+Section: python
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends},
+ ${python:Depends}
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: GTK+ library to embed OpenStreetMap maps - Python bindings
+ libosmgpsmap is a library to embed maps in applications that when given GPS
+ co-ordinates, draws a GPS track, and points of interest on a moving map
+ display. Downloads map data from a number of websites, including
+ openstreetmap.org, openaerialmap.org and others.
+ .
+ This package provides the Python bindings for the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..244dced
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+This work was packaged for Debian by:
+
+ David Paleino <dapal at debian.org> on Sun, 13 Dec 2009 08:44:20 +0100
+
+It was downloaded from:
+
+ <url://example.com>
+
+Upstream Author(s):
+
+ <put author's name and email here>
+ <likewise for another author>
+
+Copyright:
+
+ <Copyright (C) YYYY Firstname Lastname>
+ <likewise for another author>
+
+License:
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+On Debian systems, the complete text of the GNU General
+Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
+The Debian packaging is:
+
+ Copyright (C) 2009 David Paleino <dapal at debian.org>
+
+# Please chose a license for your packaging work. If the program you package
+# uses a mainstream license, using the same license is the safest choice.
+# Please avoid to pick license terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
+# If you just want it to be GPL version 3, leave the following line in.
+
+and is licensed under the GPL version 3, see above.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..a6f961a
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO.tasks
diff --git a/debian/libosmgpsmap-dev.install b/debian/libosmgpsmap-dev.install
new file mode 100644
index 0000000..68a175d
--- /dev/null
+++ b/debian/libosmgpsmap-dev.install
@@ -0,0 +1,5 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/*.la
diff --git a/debian/libosmgpsmap0.install b/debian/libosmgpsmap0.install
new file mode 100644
index 0000000..d0dbfd1
--- /dev/null
+++ b/debian/libosmgpsmap0.install
@@ -0,0 +1 @@
+usr/lib/lib*.so.*
diff --git a/debian/patches/01-fix_configure.ac_version.patch b/debian/patches/01-fix_configure.ac_version.patch
new file mode 100644
index 0000000..f4cb479
--- /dev/null
+++ b/debian/patches/01-fix_configure.ac_version.patch
@@ -0,0 +1,12 @@
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- osm-gps-map.orig/configure.ac
++++ osm-gps-map/configure.ac
+@@ -1,4 +1,4 @@
+-AC_INIT(osm-gps-map, 0.2)
++AC_INIT(osm-gps-map, 0.3)
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+
+ AC_CONFIG_SRCDIR(osmgpsmap.pc.in)
diff --git a/debian/patches/02-fix_python_library_linking.patch b/debian/patches/02-fix_python_library_linking.patch
new file mode 100644
index 0000000..31e22f9
--- /dev/null
+++ b/debian/patches/02-fix_python_library_linking.patch
@@ -0,0 +1,16 @@
+---
+ python/configure.ac | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- osm-gps-map.orig/python/configure.ac
++++ osm-gps-map/python/configure.ac
+@@ -50,7 +50,8 @@ if test -f ../src/libosmgpsmap.la; then
+
+ #and we must link to the static lib
+ OSMGPSMAP_CFLAGS="$OSMGPSMAP_CFLAGS -I../src"
+- OSMGPSMAP_LIBS="$OSMGPSMAP_LIBS ../src/libosmgpsmap.la"
++# OSMGPSMAP_LIBS="$OSMGPSMAP_LIBS ../src/libosmgpsmap.la"
++ OSMGPSMAP_LIBS="$OSMGPSMAP_LIBS ../src/.libs/libosmgpsmap.so"
+ else
+ PKG_CHECK_MODULES(OSMGPSMAP, osmgpsmap)
+ fi
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b7bf1ee
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01-fix_configure.ac_version.patch
+02-fix_python_library_linking.patch
diff --git a/debian/python-osmgpsmap.install b/debian/python-osmgpsmap.install
new file mode 100644
index 0000000..1c3627a
--- /dev/null
+++ b/debian/python-osmgpsmap.install
@@ -0,0 +1,2 @@
+usr/share/pygtk
+usr/lib/python2.5
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..654e86b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,38 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is a bit hacky.
+override_dh_auto_configure:
+ NOCONFIGURE=y ./autogen.sh
+ dh_auto_configure -- --enable-maintainer-mode
+ dh_auto_build
+
+override_dh_auto_build:
+ dh_auto_configure -Dpython/
+ dh_auto_build -Dpython/
+
+override_dh_auto_install:
+ dh_auto_install
+ dh_auto_install -Dpython
+
+override_dh_auto_clean:
+ dh_auto_clean
+ find . \( -name "*.o" -o -name "*.lo" -o -name "*.la" \) -delete
+ find . \( -name "*.in" -a -not -name "osmgpsmap.pc.in" \) -delete
+ find . \( -name ".deps" -o -name ".libs" -o -name "autom4te.cache" \) -type d | xargs rm -rf
+
+ find . -name "Makefile" -delete
+ find . \( -name "config.guess" -o -name "config.h" -o -name "config.log" \
+ -o -name "config.sub" -o -name "config.status" -o -name "configure" \) -delete
+ find . \( -name "install-sh" -o -name "libtool" -o -name "ltmain.sh" \
+ -o -name "missing" -o -name "COPYING" -o -name "INSTALL" \
+ -o -name "aclocal.m4" -o -name "depcomp" \) -delete
+
+ dh_clean compile osmgpsmap.pc python/osmgpsmap.c \
+ src/openstreetmap-gps-map stamp-h1
+
+%:
+ dh --with quilt $@
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cf6fe80
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://githubredir.debian.net/github/nzjrs/osm-gps-map/(\d+.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-gps-map.git
More information about the Pkg-grass-devel
mailing list