pkgsrc/ham/chirp/patches/patch-chirp_platform.py
gdt 17c979f8e3 ham/chirp: Update to 20200807 (switching to daily builds)
Upstream does not have release notes (or releases).

chirp now tracks upstreams "chirp-daily" pseudoreleases, labeled by
date.  The package remains "chirp"; upstream only calls it chirp-daily
due to some GNU/Linux packaging issues.

This is a huge update as 0.4.1 is from many years ago.
2020-08-25 13:45:52 +00:00

23 lines
874 B
Python

$NetBSD: patch-chirp_platform.py,v 1.2 2020/08/25 13:45:53 gdt Exp $
This software contains darwin specific tweaks which do not apply to pkgsrc
--- chirp/platform.py.orig 2017-10-12 18:01:04.000000000 +1100
+++ chirp/platform.py 2020-07-03 15:33:43.225703607 +1000
@@ -283,16 +283,6 @@
Platform.__init__(self, basepath)
- # This is a hack that needs to be properly fixed by importing the
- # latest changes to this module from d-rats. In the interest of
- # time, however, I'll throw it here
- if sys.platform == "darwin":
- if "DISPLAY" not in os.environ:
- LOG.info("Forcing DISPLAY for MacOS")
- os.environ["DISPLAY"] = ":0"
-
- os.environ["PANGO_RC_FILE"] = "../Resources/etc/pango/pangorc"
-
def default_dir(self):
return os.path.abspath(os.getenv("HOME"))