diff -Nru gpredict-2.1-1~201901261105~git/debian/changelog gpredict-2.1-1~201904060848~git/debian/changelog --- gpredict-2.1-1~201901261105~git/debian/changelog 2019-01-26 12:48:08.000000000 +0000 +++ gpredict-2.1-1~201904060848~git/debian/changelog 2019-04-06 14:31:51.000000000 +0000 @@ -1,8 +1,8 @@ -gpredict (2.1-1~201901261105~git-f88b43c~ubuntu14.04.1) trusty; urgency=low +gpredict (2.1-1~201904060848~git-32050ce~ubuntu14.04.1) trusty; urgency=low * Auto build. - -- Jan Simon Sat, 26 Jan 2019 12:48:08 +0000 + -- Jan Simon Sat, 06 Apr 2019 14:31:51 +0000 gpredict (2.1) unstable; urgency=low diff -Nru gpredict-2.1-1~201901261105~git/debian/git-build-recipe.manifest gpredict-2.1-1~201904060848~git/debian/git-build-recipe.manifest --- gpredict-2.1-1~201901261105~git/debian/git-build-recipe.manifest 2019-01-26 12:48:08.000000000 +0000 +++ gpredict-2.1-1~201904060848~git/debian/git-build-recipe.manifest 2019-04-06 14:31:51.000000000 +0000 @@ -1,3 +1,3 @@ -# git-build-recipe format 0.4 deb-version 2.1-1~201901261105~git-f88b43c -lp:gpredict git-commit:f88b43c87fdffffdcc224a5909b7d30d245b28d1 +# git-build-recipe format 0.4 deb-version 2.1-1~201904060848~git-32050ce +lp:gpredict git-commit:32050cede61554eb24dac12a6ad5cef810f4898b nest-part packaging lp:~gpredict-team/gpredict/+git/gpredict-packaging debian debian git-commit:ed507d4ba13a8114c32cc9d433cb7ef4ffc0009d diff -Nru gpredict-2.1-1~201901261105~git/Makefile.am gpredict-2.1-1~201904060848~git/Makefile.am --- gpredict-2.1-1~201901261105~git/Makefile.am 2019-01-26 12:48:05.000000000 +0000 +++ gpredict-2.1-1~201904060848~git/Makefile.am 2019-04-06 14:31:49.000000000 +0000 @@ -20,6 +20,7 @@ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ + snap/snapcraft.yaml \ win32/config.mk \ win32/goocanvasprivate.h \ win32/gpredict.rc \ diff -Nru gpredict-2.1-1~201901261105~git/snap/snapcraft.yaml gpredict-2.1-1~201904060848~git/snap/snapcraft.yaml --- gpredict-2.1-1~201901261105~git/snap/snapcraft.yaml 1970-01-01 00:00:00.000000000 +0000 +++ gpredict-2.1-1~201904060848~git/snap/snapcraft.yaml 2019-04-06 14:31:49.000000000 +0000 @@ -0,0 +1,28 @@ +name: gpredict +version: 2.3.54 +summary: Gpredict - satellite tracking +description: Gpredict is a real time satellite tracking and orbit prediction program for the Linux desktop. It uses the SGP4/SDP4 propagation algorithms together with NORAD two-line element sets (TLE). +confinement: strict +grade: stable + +environment: + GPREDICT_DATA_DIR: $SNAP/share/gpredict/ + +apps: + gpredict: + command: desktop-launch gpredict + plugs: [network, opengl, home, desktop, gsettings, unity7] + +parts: + gpredict: + plugin: autotools + source: ../ + after: [desktop-gtk3] + build-packages: + - libgtk-3-dev + - libcurl4-openssl-dev + - libglib2.0-dev + - libgoocanvas-2.0-dev + stage-packages: + - libcanberra-gtk3-module + diff -Nru gpredict-2.1-1~201901261105~git/src/compat.c gpredict-2.1-1~201904060848~git/src/compat.c --- gpredict-2.1-1~201901261105~git/src/compat.c 2019-01-26 12:48:05.000000000 +0000 +++ gpredict-2.1-1~201904060848~git/src/compat.c 2019-04-06 14:31:49.000000000 +0000 @@ -26,7 +26,7 @@ #include #endif #include - +#include #include "compat.h" /** @@ -41,7 +41,8 @@ gchar *dir = NULL; #ifdef G_OS_UNIX - dir = g_strconcat(PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, "data", NULL); + char* data_dir = getenv("GPREDICT_DATA_DIR"); + dir = g_strconcat(data_dir ? data_dir : PACKAGE_DATA_DIR, G_DIR_SEPARATOR_S, "data", NULL); #else #ifdef G_OS_WIN32 gchar *buff =