summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/gpsdrive
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/gpsdrive
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/gpsdrive')
-rw-r--r--org.handhelds.familiar/packages/gpsdrive/files/gpsdrive-pda-fix.patch72
-rw-r--r--org.handhelds.familiar/packages/gpsdrive/files/gpsdrive.desktop9
-rw-r--r--org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre2.bb28
-rw-r--r--org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre3.bb30
-rw-r--r--org.handhelds.familiar/packages/gpsdrive/gpsdrive_cvs.bb32
5 files changed, 171 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/gpsdrive/files/gpsdrive-pda-fix.patch b/org.handhelds.familiar/packages/gpsdrive/files/gpsdrive-pda-fix.patch
new file mode 100644
index 0000000..85f220b
--- /dev/null
+++ b/org.handhelds.familiar/packages/gpsdrive/files/gpsdrive-pda-fix.patch
@@ -0,0 +1,72 @@
+--- gpsdrive/src/gpsdrive.c 2005-07-22 23:17:36.452918848 +0200
++++ gpsdrive/src/gpsdrive.c 2005-07-23 01:02:40.482560672 +0200
+@@ -10516,7 +10516,7 @@
+ PangoFontDescription *font_desc;
+ font_desc =
+ pango_font_description_from_string
+- ("Sans 20");
++ ("Sans 10");
+ gtk_widget_modify_font (myroutelist, font_desc);
+ pango_font_description_free (font_desc);
+ }
+@@ -12343,6 +12343,8 @@
+ GDK_BUTTON_PRESS_MASK);
+ gtk_signal_connect (GTK_OBJECT (drawing_sats), "button-press-event",
+ GTK_SIGNAL_FUNC (satpos_cb), NULL);
++ if(!pdamode)
++ {
+ frame_sats = gtk_frame_new (_("GPS Info"));
+ sateventbox = gtk_event_box_new ();
+ gtk_container_add (GTK_CONTAINER (sateventbox), drawing_sats);
+@@ -12386,7 +12388,7 @@
+
+ gtk_box_pack_start (GTK_BOX (hbox2), frame_sats, FALSE, FALSE,
+ 1 * PADDING);
+-
++ }
+ havebattery = battery_get_values ();
+ if (debug)
+ fprintf (stderr, "batt: %d, temp: %d\n", havebattery,
+@@ -12569,9 +12571,11 @@
+ /* if (!pdamode) */
+ /* gtk_box_pack_start (GTK_BOX (hbox2), frame_speed, TRUE, TRUE, */
+ /* 1 * PADDING); */
+-
++ if (!pdamode)
++ {
+ frame_altitude = gtk_frame_new (_("Altitude"));
+ gtk_container_add (GTK_CONTAINER (frame_altitude), altilabel);
++ }
+ /*** Mod by Arms */
+ /* if (!pdamode) */
+ /* gtk_box_pack_start (GTK_BOX (hbox2), frame_altitude, FALSE, TRUE, */
+@@ -12904,23 +12908,23 @@
+ if (onemousebutton)
+ {
+ /* gtk_misc_set_padding (GTK_MISC (l1), x, y); */
+- gtk_misc_set_padding (GTK_MISC (l1), 50, 1);
+- gtk_misc_set_padding (GTK_MISC (l2), 50, 1);
+- gtk_misc_set_padding (GTK_MISC (l3), 50, 1);
++ gtk_misc_set_padding (GTK_MISC (l1), 20, 1);
++ gtk_misc_set_padding (GTK_MISC (l2), 20, 1);
++ gtk_misc_set_padding (GTK_MISC (l3), 20, 1);
+
+ /* http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html */
+
+ char *markup;
+ markup = g_markup_printf_escaped
+- ("<span weight='heavy' stretch='ultraexpanded' size='20480'>%s</span>",
++ ("<span font_desc='10'>%s</span>",
+ _("Map"));
+ gtk_label_set_markup (GTK_LABEL (l1), markup);
+ markup = g_markup_printf_escaped
+- ("<span weight='heavy' stretch='ultraexpanded' size='20480'>%s</span>",
++ ("<span font_desc='10'>%s</span>",
+ _("Menu"));
+ gtk_label_set_markup (GTK_LABEL (l2), markup);
+ markup = g_markup_printf_escaped
+- ("<span weight='heavy' stretch='ultraexpanded' size='20480'>%s</span>",
++ ("<span font_desc='10'>%s</span>",
+ _("Status"));
+ gtk_label_set_markup (GTK_LABEL (l3), markup);
+
diff --git a/org.handhelds.familiar/packages/gpsdrive/files/gpsdrive.desktop b/org.handhelds.familiar/packages/gpsdrive/files/gpsdrive.desktop
new file mode 100644
index 0000000..32050e2
--- /dev/null
+++ b/org.handhelds.familiar/packages/gpsdrive/files/gpsdrive.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=GPSDrive
+Comment=GPS map software
+Exec=gpsdrive -p -1
+Terminal=0
+Type=Application
+Icon=gpsicon.png
+Categories=Application;Other
+StartupNotify=False
diff --git a/org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre2.bb b/org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre2.bb
new file mode 100644
index 0000000..4de819e
--- /dev/null
+++ b/org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre2.bb
@@ -0,0 +1,28 @@
+inherit autotools pkgconfig
+
+PR = "r1"
+PACKAGES += "gpsdrive-add"
+DESCRIPTION = "GPS navigation/map display software"
+DEPENDS = "virtual/libc gtk+ pcre gpsd"
+RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
+MAINTAINER = "Florian Boor <florian.boor@kernelconcepts.de>"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.gpsdrive.cc/${PN}-${PV}.tar.gz \
+ file://gpsdrive.desktop"
+
+CFLAGS += "-D_GNU_SOURCE"
+
+FILES_${PN} = "${bindir}/gpsdrive ${bindir}/wpcvt ${bindir}/wpget ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN} += "${datadir}/${PN}"
+
+FILES_gpsdrive-add = "${libdir}"
+
+EXTRA_OECONF = "--disable-garmin"
+
+do_install_append () {
+ mkdir -p ${D}${datadir}/applications
+ install -m 0644 ${WORKDIR}/gpsdrive.desktop ${D}${datadir}/applications/gpsdrive.desktop
+}
diff --git a/org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre3.bb b/org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre3.bb
new file mode 100644
index 0000000..7d0e329
--- /dev/null
+++ b/org.handhelds.familiar/packages/gpsdrive/gpsdrive_2.10pre3.bb
@@ -0,0 +1,30 @@
+inherit autotools pkgconfig
+
+PR = "r1"
+DEFAULT_PREFERENCE="-1"
+
+PACKAGES += "gpsdrive-add"
+DESCRIPTION = "GPS navigation/map display software"
+DEPENDS = "virtual/libc gtk+ pcre gpsd"
+RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
+MAINTAINER = "Florian Boor <florian.boor@kernelconcepts.de>"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.ostertag.name/tweety/Projekte/gpsdrive/gpsdrive-2.10pre3.tar.gz \
+ file://gpsdrive.desktop"
+
+CFLAGS += "-D_GNU_SOURCE"
+
+FILES_${PN} = "${bindir}/gpsdrive ${bindir}/wpcvt ${bindir}/wpget ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN} += "${datadir}/${PN}"
+
+FILES_gpsdrive-add = "${libdir}"
+
+EXTRA_OECONF = "--disable-garmin"
+
+do_install_append () {
+ mkdir -p ${D}${datadir}/applications
+ install -m 0644 ${WORKDIR}/gpsdrive.desktop ${D}${datadir}/applications/gpsdrive.desktop
+}
diff --git a/org.handhelds.familiar/packages/gpsdrive/gpsdrive_cvs.bb b/org.handhelds.familiar/packages/gpsdrive/gpsdrive_cvs.bb
new file mode 100644
index 0000000..271ea1f
--- /dev/null
+++ b/org.handhelds.familiar/packages/gpsdrive/gpsdrive_cvs.bb
@@ -0,0 +1,32 @@
+inherit autotools pkgconfig
+
+PR = "r1"
+PV = "2.10pre3+cvs-${CVSDATE}"
+DEFAULT_PREFERENCE="-1"
+
+PACKAGES += "gpsdrive-add"
+DESCRIPTION = "GPS navigation/map display software"
+DEPENDS = "virtual/libc libart-lgpl gtk+ pcre gpsd"
+RDEPENDS_${PN} = "gdk-pixbuf-loader-gif gpsd"
+MAINTAINER = "Koen Kooi <koen@handhelds.org>"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+SRC_URI = "cvs://anonymous@cvs.gpsdrive.cc/cvsroot;module=gpsdrive \
+ file://gpsdrive.desktop"
+
+S = "${WORKDIR}/gpsdrive"
+CFLAGS += "-D_GNU_SOURCE"
+
+FILES_${PN} = "${bindir}/gpsdrive ${bindir}/wpcvt ${bindir}/wpget ${datadir}/pixmaps ${datadir}/applications"
+FILES_${PN} += "${datadir}/${PN}"
+
+FILES_gpsdrive-add = "${libdir}"
+
+EXTRA_OECONF = "--disable-garmin"
+
+do_install_append () {
+ mkdir -p ${D}${datadir}/applications
+ install -m 0644 ${WORKDIR}/gpsdrive.desktop ${D}${datadir}/applications/gpsdrive.desktop
+}