From 3ab88d4794003dfce1f340b83e4ccf9f50ba4ef7 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Tue, 3 Nov 2020 14:04:38 -0700 Subject: Fix:plugin/j1850: Replace graphic_fg_white with graphic_fg. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looks like this was missed in: 46f67d8937cfef6158eeee6e5ed039d29fc1b8f7 Fixes: j1850.c:319:46: error: ‘struct osd_item’ has no member named ‘graphic_fg_white’ Signed-off-by: James Hilliard --- navit/plugin/j1850/j1850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/plugin/j1850/j1850.c b/navit/plugin/j1850/j1850.c index 69a9b8fa5..bdef8a4fa 100644 --- a/navit/plugin/j1850/j1850.c +++ b/navit/plugin/j1850/j1850.c @@ -316,7 +316,7 @@ static void osd_j1850_init(struct j1850 *this, struct navit *nav) { graphics_gc_set_linewidth(this->white, this->width); - graphics_gc_set_linewidth(this->osd_item.graphic_fg_white, this->width); + graphics_gc_set_linewidth(this->osd_item.graphic_fg, this->width); event_add_timeout(500, 1, callback_new_1(callback_cast(osd_j1850_draw), this)); -- cgit v1.2.1 From bd72e1d06c27c2627ae48ce9777bf7aadd42f320 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Mon, 3 Aug 2020 19:53:27 +0200 Subject: Fix:build:Prevent try_compile() from choking on CXX Signed-off-by: mvglasow --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f392e1f92..24be236e4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.2) set(MACOSX_BUNDLE_GUI_IDENTIFIER "org.navitproject.navit") set(MACOSX_BUNDLE_BUNDLE_NAME "Navit") message(STATUS "Building with CMake V${CMAKE_VERSION}") -project(navit C) +project(navit C CXX) # Workaround for CMake issue 8345 / 9220, see http://trac.navit-project.org/ticket/1041 if(DEFINED CMAKE_CXX_COMPILER AND CMAKE_CXX_COMPILER MATCHES "^$") -- cgit v1.2.1 From 805a55515d53aac767b4665c985eb01a4117400b Mon Sep 17 00:00:00 2001 From: mvglasow Date: Sun, 8 Nov 2020 19:42:18 +0200 Subject: Add:port/android:Adaptive app icon Signed-off-by: mvglasow --- navit/android/AndroidManifest.xml | 2 +- .../res/drawable-hdpi/ic_launcher_background.png | Bin 0 -> 613 bytes .../res/drawable-hdpi/ic_launcher_foreground.png | Bin 0 -> 3358 bytes .../res/drawable-ldpi/ic_launcher_background.png | Bin 0 -> 377 bytes .../res/drawable-ldpi/ic_launcher_foreground.png | Bin 0 -> 1558 bytes .../res/drawable-mdpi/ic_launcher_background.png | Bin 0 -> 443 bytes .../res/drawable-mdpi/ic_launcher_foreground.png | Bin 0 -> 1976 bytes .../res/drawable-xhdpi/ic_launcher_background.png | Bin 0 -> 771 bytes .../res/drawable-xhdpi/ic_launcher_foreground.png | Bin 0 -> 4582 bytes .../res/drawable-xxhdpi/ic_launcher_background.png | Bin 0 -> 1242 bytes .../res/drawable-xxhdpi/ic_launcher_foreground.png | Bin 0 -> 7210 bytes .../android/res/mipmap-anydpi-v26/ic_launcher.xml | 5 + navit/android/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 4562 bytes navit/android/res/mipmap-ldpi/ic_launcher.png | Bin 0 -> 2092 bytes navit/android/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2868 bytes navit/android/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 6201 bytes navit/android/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 9396 bytes navit/icons/ic_launcher_background.svg | 140 +++++++++++++++++++++ navit/icons/ic_launcher_foreground.svg | 140 +++++++++++++++++++++ 19 files changed, 286 insertions(+), 1 deletion(-) create mode 100644 navit/android/res/drawable-hdpi/ic_launcher_background.png create mode 100644 navit/android/res/drawable-hdpi/ic_launcher_foreground.png create mode 100644 navit/android/res/drawable-ldpi/ic_launcher_background.png create mode 100644 navit/android/res/drawable-ldpi/ic_launcher_foreground.png create mode 100644 navit/android/res/drawable-mdpi/ic_launcher_background.png create mode 100644 navit/android/res/drawable-mdpi/ic_launcher_foreground.png create mode 100644 navit/android/res/drawable-xhdpi/ic_launcher_background.png create mode 100644 navit/android/res/drawable-xhdpi/ic_launcher_foreground.png create mode 100644 navit/android/res/drawable-xxhdpi/ic_launcher_background.png create mode 100644 navit/android/res/drawable-xxhdpi/ic_launcher_foreground.png create mode 100644 navit/android/res/mipmap-anydpi-v26/ic_launcher.xml create mode 100644 navit/android/res/mipmap-hdpi/ic_launcher.png create mode 100644 navit/android/res/mipmap-ldpi/ic_launcher.png create mode 100644 navit/android/res/mipmap-mdpi/ic_launcher.png create mode 100644 navit/android/res/mipmap-xhdpi/ic_launcher.png create mode 100644 navit/android/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 navit/icons/ic_launcher_background.svg create mode 100644 navit/icons/ic_launcher_foreground.svg diff --git a/navit/android/AndroidManifest.xml b/navit/android/AndroidManifest.xml index 004ccb707..b9e646097 100644 --- a/navit/android/AndroidManifest.xml +++ b/navit/android/AndroidManifest.xml @@ -17,7 +17,7 @@ android:usesCleartextTraffic="true" android:allowBackup="true" android:fullBackupContent="@xml/navit_backup_rules" - android:icon="@drawable/icon" + android:icon="@mipmap/ic_launcher" android:name=".NavitAppConfig"> + + + + diff --git a/navit/android/res/mipmap-hdpi/ic_launcher.png b/navit/android/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..ce18b5780 Binary files /dev/null and b/navit/android/res/mipmap-hdpi/ic_launcher.png differ diff --git a/navit/android/res/mipmap-ldpi/ic_launcher.png b/navit/android/res/mipmap-ldpi/ic_launcher.png new file mode 100644 index 000000000..183e2f829 Binary files /dev/null and b/navit/android/res/mipmap-ldpi/ic_launcher.png differ diff --git a/navit/android/res/mipmap-mdpi/ic_launcher.png b/navit/android/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..1bde1888e Binary files /dev/null and b/navit/android/res/mipmap-mdpi/ic_launcher.png differ diff --git a/navit/android/res/mipmap-xhdpi/ic_launcher.png b/navit/android/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..041c61c03 Binary files /dev/null and b/navit/android/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/navit/android/res/mipmap-xxhdpi/ic_launcher.png b/navit/android/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..ad89bd0b5 Binary files /dev/null and b/navit/android/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/navit/icons/ic_launcher_background.svg b/navit/icons/ic_launcher_background.svg new file mode 100644 index 000000000..ab3fe6bd9 --- /dev/null +++ b/navit/icons/ic_launcher_background.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/navit/icons/ic_launcher_foreground.svg b/navit/icons/ic_launcher_foreground.svg new file mode 100644 index 000000000..ef4b12452 --- /dev/null +++ b/navit/icons/ic_launcher_foreground.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + -- cgit v1.2.1