pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mepo: import mepo-0.4.2 as wip/mepo
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Sun Jul 17 21:41:31 2022 +0200
Changeset: 3b015f74bb87f44932825f05bff989cbae95c17f
Modified Files:
Makefile
Added Files:
mepo/DESCR
mepo/Makefile
mepo/PLIST
mepo/distinfo
mepo/patches/patch-src_Mepo.zig
Log Message:
mepo: import mepo-0.4.2 as wip/mepo
Mepo is a fast, simple, and hackable OSM map viewer for desktop linux
& mobile linux devices (like the Pinephone, Librem 5 etc.) and both
environment's various user interfaces (Wayland & X inclusive). Mepo
works both offline and online, features a minimalist both touch/mouse
and keyboard compatible interface, and offers a UNIX-philosophy inspired
underlying design, exposing a powerful command language called mepolang
capable of being scripted to provide things like custom bounding-box
search scripts, bookmarks, and more.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3b015f74bb87f44932825f05bff989cbae95c17f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
mepo/DESCR | 8 ++++++++
mepo/Makefile | 22 ++++++++++++++++++++++
mepo/PLIST | 21 +++++++++++++++++++++
mepo/distinfo | 6 ++++++
mepo/patches/patch-src_Mepo.zig | 15 +++++++++++++++
6 files changed, 73 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index ce2874ffc0..9c7998e9a4 100644
--- a/Makefile
+++ b/Makefile
@@ -2370,6 +2370,7 @@ SUBDIR+= memdump
SUBDIR+= memgrep
SUBDIR+= mendexk
SUBDIR+= menumaker
+SUBDIR+= mepo
SUBDIR+= mes-nyacc
SUBDIR+= mescc-tools
SUBDIR+= messagelib
diff --git a/mepo/DESCR b/mepo/DESCR
new file mode 100644
index 0000000000..54d1c37f02
--- /dev/null
+++ b/mepo/DESCR
@@ -0,0 +1,8 @@
+Mepo is a fast, simple, and hackable OSM map viewer for desktop linux
+& mobile linux devices (like the Pinephone, Librem 5 etc.) and both
+environment's various user interfaces (Wayland & X inclusive). Mepo
+works both offline and online, features a minimalist both touch/mouse
+and keyboard compatible interface, and offers a UNIX-philosophy inspired
+underlying design, exposing a powerful command language called mepolang
+capable of being scripted to provide things like custom bounding-box
+search scripts, bookmarks, and more.
diff --git a/mepo/Makefile b/mepo/Makefile
new file mode 100644
index 0000000000..885c63a8cc
--- /dev/null
+++ b/mepo/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= 0.4.2
+PKGNAME= mepo-0.4.2
+DIST_SUBDIR= mepo
+CATEGORIES= geography
+MASTER_SITES= https://git.sr.ht/~mil/mepo/archive/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://sr.ht/~mil/Mepo/
+COMMENT= Fast, simple, and hackable OSM map viewer
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/mepo-0.4.2
+
+.include "../../lang/zig/application.mk"
+_ZIGBUILDINSTALLARGS+= --search-prefix ${PREFIX}
+
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../graphics/SDL2_gfx/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mepo/PLIST b/mepo/PLIST
new file mode 100644
index 0000000000..8410fe1015
--- /dev/null
+++ b/mepo/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD$
+bin/mepo
+bin/mepo_dl.sh
+bin/mepo_ui_central_menu.sh
+bin/mepo_ui_helper_menu.sh
+bin/mepo_ui_helper_pref_pan.sh
+bin/mepo_ui_menu_bookmarks_droppin.sh
+bin/mepo_ui_menu_dbg_queueclear.sh
+bin/mepo_ui_menu_dbg_queuedownloadinteractive.sh
+bin/mepo_ui_menu_dbg_queuedownloadnoninteractive.sh
+bin/mepo_ui_menu_pref_fontsize.sh
+bin/mepo_ui_menu_pref_network.sh
+bin/mepo_ui_menu_pref_url.sh
+bin/mepo_ui_menu_pref_zoom.sh
+bin/mepo_ui_menu_reposition_nominatim.sh
+bin/mepo_ui_menu_route_graphhopper.sh
+bin/mepo_ui_menu_route_overpassrelation.sh
+bin/mepo_ui_menu_search_nominatim.sh
+bin/mepo_ui_menu_search_overpass.sh
+share/applications/mepo.desktop
+share/pixmaps/mepo.png
diff --git a/mepo/distinfo b/mepo/distinfo
new file mode 100644
index 0000000000..d57fe9a73b
--- /dev/null
+++ b/mepo/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (mepo/0.4.2.tar.gz) = c8cc78a7fa97564436ec761bf540b7668823ca199e50c705cd039dadd80040bf
+SHA512 (mepo/0.4.2.tar.gz) = d136c38aeab869713df4a79d9bde40674a828fdcfa0cb2af92a30d7f11f0c8ef0ea7cc7fd162d329dea4a279d71363afcdd53913f8dbeb8cc33be08cc86257ae
+Size (mepo/0.4.2.tar.gz) = 5235674 bytes
+SHA1 (patch-src_Mepo.zig) = 585f593c41b9894af321f689776994a5c5c2c195
diff --git a/mepo/patches/patch-src_Mepo.zig b/mepo/patches/patch-src_Mepo.zig
new file mode 100644
index 0000000000..e7d9394c3f
--- /dev/null
+++ b/mepo/patches/patch-src_Mepo.zig
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Don't make assumptions about mask data type (which is sigset_t on NetBSD).
+
+--- src/Mepo.zig.orig 2022-05-09 19:01:26.000000000 +0000
++++ src/Mepo.zig
+@@ -1314,7 +1314,7 @@ pub fn init(allocator: std.mem.Allocator
+ for (sigs) |sig| {
+ std.os.sigaction(sig, &.{
+ .handler = .{ .handler = sighandle_terminate },
+- .mask = [_]u32{0} ** 32,
++ .mask = std.os.empty_sigset,
+ .flags = @as(c_uint, 0),
+ }, null);
+ }
Home |
Main Index |
Thread Index |
Old Index