summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ham/Makefile3
-rw-r--r--ham/chirp/DESCR3
-rw-r--r--ham/chirp/Makefile40
-rw-r--r--ham/chirp/PLIST354
-rw-r--r--ham/chirp/distinfo8
-rw-r--r--ham/chirp/patches/patch-chirp_platform.py22
-rw-r--r--ham/chirp/patches/patch-chirpui_mainapp.py14
-rw-r--r--ham/chirp/patches/patch-setup.py16
8 files changed, 459 insertions, 1 deletions
diff --git a/ham/Makefile b/ham/Makefile
index 466fad3ebd1..24cc3f4573e 100644
--- a/ham/Makefile
+++ b/ham/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.29 2014/07/21 07:34:17 dbj Exp $
+# $NetBSD: Makefile,v 1.30 2014/07/21 07:57:20 dbj Exp $
#
COMMENT= Wireless communication tools and applications
SUBDIR+= 7plus
+SUBDIR+= chirp
SUBDIR+= codec2
SUBDIR+= cwtext
SUBDIR+= dpbox
diff --git a/ham/chirp/DESCR b/ham/chirp/DESCR
new file mode 100644
index 00000000000..3e956b0aaba
--- /dev/null
+++ b/ham/chirp/DESCR
@@ -0,0 +1,3 @@
+CHIRP is a free, open-source tool for programming your amateur
+radio. It supports a large number of manufacturers and models, as well
+as provides a way to interface with multiple data sources and formats.
diff --git a/ham/chirp/Makefile b/ham/chirp/Makefile
new file mode 100644
index 00000000000..87a824cb6b5
--- /dev/null
+++ b/ham/chirp/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1 2014/07/21 07:57:21 dbj Exp $
+#
+
+DISTNAME= chirp-0.4.0
+CATEGORIES= ham
+MASTER_SITES= http://chirp.danplanet.com/download/0.4.0/
+
+MAINTAINER= dbj@NetBSD.org
+HOMEPAGE= http://chirp.danplanet.com/
+COMMENT= Tool for programming Amateur Radio HTs
+LICENSE= gnu-gpl-v3
+
+USE_LANGUAGES= #none
+REPLACE_PYTHON= *.py chirp/*.py chirpui/*.py
+
+DEPENDS+= py27-serial>=2.7:../../comms/py-serial
+
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES+= fix-manpaths
+SUBST_STAGE.fix-manpaths= post-patch
+SUBST_MESSAGE.fix-manpaths= Fixing man paths
+SUBST_FILES.fix-manpaths= setup.py
+SUBST_SED.fix-manpaths= -e 's,share/man/man1,${PKGMANDIR}/man1,g'
+
+SUBST_CLASSES+= fix-sharepaths
+SUBST_STAGE.fix-sharepaths= post-patch
+SUBST_MESSAGE.fix-sharepaths= Fixing /usr/share paths
+SUBST_FILES.fix-sharepaths= chirpw
+SUBST_FILES.fix-sharepaths+= chirp/generic_xml.py
+SUBST_FILES.fix-sharepaths+= chirpui/mainapp.py
+SUBST_SED.fix-sharepaths= -e 's,/usr/share,${PREFIX}/share,g'
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+
+.include "../../lang/python/distutils.mk"
+.include "../../lang/python/application.mk"
+.include "../../textproc/py-libxml2/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/chirp/PLIST b/ham/chirp/PLIST
new file mode 100644
index 00000000000..0d4243327cb
--- /dev/null
+++ b/ham/chirp/PLIST
@@ -0,0 +1,354 @@
+@comment $NetBSD: PLIST,v 1.1 2014/07/21 07:57:21 dbj Exp $
+bin/chirpw
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/chirp/__init__.py
+${PYSITELIB}/chirp/__init__.pyc
+${PYSITELIB}/chirp/__init__.pyo
+${PYSITELIB}/chirp/alinco.py
+${PYSITELIB}/chirp/alinco.pyc
+${PYSITELIB}/chirp/alinco.pyo
+${PYSITELIB}/chirp/anytone.py
+${PYSITELIB}/chirp/anytone.pyc
+${PYSITELIB}/chirp/anytone.pyo
+${PYSITELIB}/chirp/bandplan.py
+${PYSITELIB}/chirp/bandplan.pyc
+${PYSITELIB}/chirp/bandplan.pyo
+${PYSITELIB}/chirp/bandplan_au.py
+${PYSITELIB}/chirp/bandplan_au.pyc
+${PYSITELIB}/chirp/bandplan_au.pyo
+${PYSITELIB}/chirp/bandplan_iaru_r1.py
+${PYSITELIB}/chirp/bandplan_iaru_r1.pyc
+${PYSITELIB}/chirp/bandplan_iaru_r1.pyo
+${PYSITELIB}/chirp/bandplan_iaru_r2.py
+${PYSITELIB}/chirp/bandplan_iaru_r2.pyc
+${PYSITELIB}/chirp/bandplan_iaru_r2.pyo
+${PYSITELIB}/chirp/bandplan_iaru_r3.py
+${PYSITELIB}/chirp/bandplan_iaru_r3.pyc
+${PYSITELIB}/chirp/bandplan_iaru_r3.pyo
+${PYSITELIB}/chirp/bandplan_na.py
+${PYSITELIB}/chirp/bandplan_na.pyc
+${PYSITELIB}/chirp/bandplan_na.pyo
+${PYSITELIB}/chirp/baofeng_uv3r.py
+${PYSITELIB}/chirp/baofeng_uv3r.pyc
+${PYSITELIB}/chirp/baofeng_uv3r.pyo
+${PYSITELIB}/chirp/bitwise.py
+${PYSITELIB}/chirp/bitwise.pyc
+${PYSITELIB}/chirp/bitwise.pyo
+${PYSITELIB}/chirp/bitwise_grammar.py
+${PYSITELIB}/chirp/bitwise_grammar.pyc
+${PYSITELIB}/chirp/bitwise_grammar.pyo
+${PYSITELIB}/chirp/bjuv55.py
+${PYSITELIB}/chirp/bjuv55.pyc
+${PYSITELIB}/chirp/bjuv55.pyo
+${PYSITELIB}/chirp/chirp_common.py
+${PYSITELIB}/chirp/chirp_common.pyc
+${PYSITELIB}/chirp/chirp_common.pyo
+${PYSITELIB}/chirp/detect.py
+${PYSITELIB}/chirp/detect.pyc
+${PYSITELIB}/chirp/detect.pyo
+${PYSITELIB}/chirp/directory.py
+${PYSITELIB}/chirp/directory.pyc
+${PYSITELIB}/chirp/directory.pyo
+${PYSITELIB}/chirp/elib_intl.py
+${PYSITELIB}/chirp/elib_intl.pyc
+${PYSITELIB}/chirp/elib_intl.pyo
+${PYSITELIB}/chirp/errors.py
+${PYSITELIB}/chirp/errors.pyc
+${PYSITELIB}/chirp/errors.pyo
+${PYSITELIB}/chirp/ft1802.py
+${PYSITELIB}/chirp/ft1802.pyc
+${PYSITELIB}/chirp/ft1802.pyo
+${PYSITELIB}/chirp/ft2800.py
+${PYSITELIB}/chirp/ft2800.pyc
+${PYSITELIB}/chirp/ft2800.pyo
+${PYSITELIB}/chirp/ft50.py
+${PYSITELIB}/chirp/ft50.pyc
+${PYSITELIB}/chirp/ft50.pyo
+${PYSITELIB}/chirp/ft50_ll.py
+${PYSITELIB}/chirp/ft50_ll.pyc
+${PYSITELIB}/chirp/ft50_ll.pyo
+${PYSITELIB}/chirp/ft60.py
+${PYSITELIB}/chirp/ft60.pyc
+${PYSITELIB}/chirp/ft60.pyo
+${PYSITELIB}/chirp/ft7800.py
+${PYSITELIB}/chirp/ft7800.pyc
+${PYSITELIB}/chirp/ft7800.pyo
+${PYSITELIB}/chirp/ft817.py
+${PYSITELIB}/chirp/ft817.pyc
+${PYSITELIB}/chirp/ft817.pyo
+${PYSITELIB}/chirp/ft857.py
+${PYSITELIB}/chirp/ft857.pyc
+${PYSITELIB}/chirp/ft857.pyo
+${PYSITELIB}/chirp/ft90.py
+${PYSITELIB}/chirp/ft90.pyc
+${PYSITELIB}/chirp/ft90.pyo
+${PYSITELIB}/chirp/ftm350.py
+${PYSITELIB}/chirp/ftm350.pyc
+${PYSITELIB}/chirp/ftm350.pyo
+${PYSITELIB}/chirp/generic_csv.py
+${PYSITELIB}/chirp/generic_csv.pyc
+${PYSITELIB}/chirp/generic_csv.pyo
+${PYSITELIB}/chirp/generic_tpe.py
+${PYSITELIB}/chirp/generic_tpe.pyc
+${PYSITELIB}/chirp/generic_tpe.pyo
+${PYSITELIB}/chirp/generic_xml.py
+${PYSITELIB}/chirp/generic_xml.pyc
+${PYSITELIB}/chirp/generic_xml.pyo
+${PYSITELIB}/chirp/h777.py
+${PYSITELIB}/chirp/h777.pyc
+${PYSITELIB}/chirp/h777.pyo
+${PYSITELIB}/chirp/ic208.py
+${PYSITELIB}/chirp/ic208.pyc
+${PYSITELIB}/chirp/ic208.pyo
+${PYSITELIB}/chirp/ic2100.py
+${PYSITELIB}/chirp/ic2100.pyc
+${PYSITELIB}/chirp/ic2100.pyo
+${PYSITELIB}/chirp/ic2200.py
+${PYSITELIB}/chirp/ic2200.pyc
+${PYSITELIB}/chirp/ic2200.pyo
+${PYSITELIB}/chirp/ic2720.py
+${PYSITELIB}/chirp/ic2720.pyc
+${PYSITELIB}/chirp/ic2720.pyo
+${PYSITELIB}/chirp/ic2820.py
+${PYSITELIB}/chirp/ic2820.pyc
+${PYSITELIB}/chirp/ic2820.pyo
+${PYSITELIB}/chirp/ic9x.py
+${PYSITELIB}/chirp/ic9x.pyc
+${PYSITELIB}/chirp/ic9x.pyo
+${PYSITELIB}/chirp/ic9x_icf.py
+${PYSITELIB}/chirp/ic9x_icf.pyc
+${PYSITELIB}/chirp/ic9x_icf.pyo
+${PYSITELIB}/chirp/ic9x_icf_ll.py
+${PYSITELIB}/chirp/ic9x_icf_ll.pyc
+${PYSITELIB}/chirp/ic9x_icf_ll.pyo
+${PYSITELIB}/chirp/ic9x_ll.py
+${PYSITELIB}/chirp/ic9x_ll.pyc
+${PYSITELIB}/chirp/ic9x_ll.pyo
+${PYSITELIB}/chirp/icf.py
+${PYSITELIB}/chirp/icf.pyc
+${PYSITELIB}/chirp/icf.pyo
+${PYSITELIB}/chirp/icomciv.py
+${PYSITELIB}/chirp/icomciv.pyc
+${PYSITELIB}/chirp/icomciv.pyo
+${PYSITELIB}/chirp/icq7.py
+${PYSITELIB}/chirp/icq7.pyc
+${PYSITELIB}/chirp/icq7.pyo
+${PYSITELIB}/chirp/ict70.py
+${PYSITELIB}/chirp/ict70.pyc
+${PYSITELIB}/chirp/ict70.pyo
+${PYSITELIB}/chirp/ict7h.py
+${PYSITELIB}/chirp/ict7h.pyc
+${PYSITELIB}/chirp/ict7h.pyo
+${PYSITELIB}/chirp/ict8.py
+${PYSITELIB}/chirp/ict8.pyc
+${PYSITELIB}/chirp/ict8.pyo
+${PYSITELIB}/chirp/icw32.py
+${PYSITELIB}/chirp/icw32.pyc
+${PYSITELIB}/chirp/icw32.pyo
+${PYSITELIB}/chirp/icx8x.py
+${PYSITELIB}/chirp/icx8x.pyc
+${PYSITELIB}/chirp/icx8x.pyo
+${PYSITELIB}/chirp/icx8x_ll.py
+${PYSITELIB}/chirp/icx8x_ll.pyc
+${PYSITELIB}/chirp/icx8x_ll.pyo
+${PYSITELIB}/chirp/id31.py
+${PYSITELIB}/chirp/id31.pyc
+${PYSITELIB}/chirp/id31.pyo
+${PYSITELIB}/chirp/id51.py
+${PYSITELIB}/chirp/id51.pyc
+${PYSITELIB}/chirp/id51.pyo
+${PYSITELIB}/chirp/id800.py
+${PYSITELIB}/chirp/id800.pyc
+${PYSITELIB}/chirp/id800.pyo
+${PYSITELIB}/chirp/id880.py
+${PYSITELIB}/chirp/id880.pyc
+${PYSITELIB}/chirp/id880.pyo
+${PYSITELIB}/chirp/idrp.py
+${PYSITELIB}/chirp/idrp.pyc
+${PYSITELIB}/chirp/idrp.pyo
+${PYSITELIB}/chirp/import_logic.py
+${PYSITELIB}/chirp/import_logic.pyc
+${PYSITELIB}/chirp/import_logic.pyo
+${PYSITELIB}/chirp/kenwood_hmk.py
+${PYSITELIB}/chirp/kenwood_hmk.pyc
+${PYSITELIB}/chirp/kenwood_hmk.pyo
+${PYSITELIB}/chirp/kenwood_itm.py
+${PYSITELIB}/chirp/kenwood_itm.pyc
+${PYSITELIB}/chirp/kenwood_itm.pyo
+${PYSITELIB}/chirp/kenwood_live.py
+${PYSITELIB}/chirp/kenwood_live.pyc
+${PYSITELIB}/chirp/kenwood_live.pyo
+${PYSITELIB}/chirp/memmap.py
+${PYSITELIB}/chirp/memmap.pyc
+${PYSITELIB}/chirp/memmap.pyo
+${PYSITELIB}/chirp/platform.py
+${PYSITELIB}/chirp/platform.pyc
+${PYSITELIB}/chirp/platform.pyo
+${PYSITELIB}/chirp/puxing.py
+${PYSITELIB}/chirp/puxing.pyc
+${PYSITELIB}/chirp/puxing.pyo
+${PYSITELIB}/chirp/pyPEG.py
+${PYSITELIB}/chirp/pyPEG.pyc
+${PYSITELIB}/chirp/pyPEG.pyo
+${PYSITELIB}/chirp/radioreference.py
+${PYSITELIB}/chirp/radioreference.pyc
+${PYSITELIB}/chirp/radioreference.pyo
+${PYSITELIB}/chirp/rfinder.py
+${PYSITELIB}/chirp/rfinder.pyc
+${PYSITELIB}/chirp/rfinder.pyo
+${PYSITELIB}/chirp/settings.py
+${PYSITELIB}/chirp/settings.pyc
+${PYSITELIB}/chirp/settings.pyo
+${PYSITELIB}/chirp/template.py
+${PYSITELIB}/chirp/template.pyc
+${PYSITELIB}/chirp/template.pyo
+${PYSITELIB}/chirp/th_uv3r.py
+${PYSITELIB}/chirp/th_uv3r.pyc
+${PYSITELIB}/chirp/th_uv3r.pyo
+${PYSITELIB}/chirp/th_uvf8d.py
+${PYSITELIB}/chirp/th_uvf8d.pyc
+${PYSITELIB}/chirp/th_uvf8d.pyo
+${PYSITELIB}/chirp/thd72.py
+${PYSITELIB}/chirp/thd72.pyc
+${PYSITELIB}/chirp/thd72.pyo
+${PYSITELIB}/chirp/thuv1f.py
+${PYSITELIB}/chirp/thuv1f.pyc
+${PYSITELIB}/chirp/thuv1f.pyo
+${PYSITELIB}/chirp/tk8102.py
+${PYSITELIB}/chirp/tk8102.pyc
+${PYSITELIB}/chirp/tk8102.pyo
+${PYSITELIB}/chirp/tmv71.py
+${PYSITELIB}/chirp/tmv71.pyc
+${PYSITELIB}/chirp/tmv71.pyo
+${PYSITELIB}/chirp/tmv71_ll.py
+${PYSITELIB}/chirp/tmv71_ll.pyc
+${PYSITELIB}/chirp/tmv71_ll.pyo
+${PYSITELIB}/chirp/util.py
+${PYSITELIB}/chirp/util.pyc
+${PYSITELIB}/chirp/util.pyo
+${PYSITELIB}/chirp/uv5r.py
+${PYSITELIB}/chirp/uv5r.pyc
+${PYSITELIB}/chirp/uv5r.pyo
+${PYSITELIB}/chirp/uvb5.py
+${PYSITELIB}/chirp/uvb5.pyc
+${PYSITELIB}/chirp/uvb5.pyo
+${PYSITELIB}/chirp/vx2.py
+${PYSITELIB}/chirp/vx2.pyc
+${PYSITELIB}/chirp/vx2.pyo
+${PYSITELIB}/chirp/vx3.py
+${PYSITELIB}/chirp/vx3.pyc
+${PYSITELIB}/chirp/vx3.pyo
+${PYSITELIB}/chirp/vx5.py
+${PYSITELIB}/chirp/vx5.pyc
+${PYSITELIB}/chirp/vx5.pyo
+${PYSITELIB}/chirp/vx510.py
+${PYSITELIB}/chirp/vx510.pyc
+${PYSITELIB}/chirp/vx510.pyo
+${PYSITELIB}/chirp/vx6.py
+${PYSITELIB}/chirp/vx6.pyc
+${PYSITELIB}/chirp/vx6.pyo
+${PYSITELIB}/chirp/vx7.py
+${PYSITELIB}/chirp/vx7.pyc
+${PYSITELIB}/chirp/vx7.pyo
+${PYSITELIB}/chirp/vx8.py
+${PYSITELIB}/chirp/vx8.pyc
+${PYSITELIB}/chirp/vx8.pyo
+${PYSITELIB}/chirp/vxa700.py
+${PYSITELIB}/chirp/vxa700.pyc
+${PYSITELIB}/chirp/vxa700.pyo
+${PYSITELIB}/chirp/wouxun.py
+${PYSITELIB}/chirp/wouxun.pyc
+${PYSITELIB}/chirp/wouxun.pyo
+${PYSITELIB}/chirp/wouxun_common.py
+${PYSITELIB}/chirp/wouxun_common.pyc
+${PYSITELIB}/chirp/wouxun_common.pyo
+${PYSITELIB}/chirp/xml_ll.py
+${PYSITELIB}/chirp/xml_ll.pyc
+${PYSITELIB}/chirp/xml_ll.pyo
+${PYSITELIB}/chirp/yaesu_clone.py
+${PYSITELIB}/chirp/yaesu_clone.pyc
+${PYSITELIB}/chirp/yaesu_clone.pyo
+${PYSITELIB}/chirpui/__init__.py
+${PYSITELIB}/chirpui/__init__.pyc
+${PYSITELIB}/chirpui/__init__.pyo
+${PYSITELIB}/chirpui/bandplans.py
+${PYSITELIB}/chirpui/bandplans.pyc
+${PYSITELIB}/chirpui/bandplans.pyo
+${PYSITELIB}/chirpui/bankedit.py
+${PYSITELIB}/chirpui/bankedit.pyc
+${PYSITELIB}/chirpui/bankedit.pyo
+${PYSITELIB}/chirpui/clone.py
+${PYSITELIB}/chirpui/clone.pyc
+${PYSITELIB}/chirpui/clone.pyo
+${PYSITELIB}/chirpui/cloneprog.py
+${PYSITELIB}/chirpui/cloneprog.pyc
+${PYSITELIB}/chirpui/cloneprog.pyo
+${PYSITELIB}/chirpui/common.py
+${PYSITELIB}/chirpui/common.pyc
+${PYSITELIB}/chirpui/common.pyo
+${PYSITELIB}/chirpui/config.py
+${PYSITELIB}/chirpui/config.pyc
+${PYSITELIB}/chirpui/config.pyo
+${PYSITELIB}/chirpui/dstaredit.py
+${PYSITELIB}/chirpui/dstaredit.pyc
+${PYSITELIB}/chirpui/dstaredit.pyo
+${PYSITELIB}/chirpui/editorset.py
+${PYSITELIB}/chirpui/editorset.pyc
+${PYSITELIB}/chirpui/editorset.pyo
+${PYSITELIB}/chirpui/fips.py
+${PYSITELIB}/chirpui/fips.pyc
+${PYSITELIB}/chirpui/fips.pyo
+${PYSITELIB}/chirpui/importdialog.py
+${PYSITELIB}/chirpui/importdialog.pyc
+${PYSITELIB}/chirpui/importdialog.pyo
+${PYSITELIB}/chirpui/inputdialog.py
+${PYSITELIB}/chirpui/inputdialog.pyc
+${PYSITELIB}/chirpui/inputdialog.pyo
+${PYSITELIB}/chirpui/mainapp.py
+${PYSITELIB}/chirpui/mainapp.pyc
+${PYSITELIB}/chirpui/mainapp.pyo
+${PYSITELIB}/chirpui/memdetail.py
+${PYSITELIB}/chirpui/memdetail.pyc
+${PYSITELIB}/chirpui/memdetail.pyo
+${PYSITELIB}/chirpui/memedit.py
+${PYSITELIB}/chirpui/memedit.pyc
+${PYSITELIB}/chirpui/memedit.pyo
+${PYSITELIB}/chirpui/miscwidgets.py
+${PYSITELIB}/chirpui/miscwidgets.pyc
+${PYSITELIB}/chirpui/miscwidgets.pyo
+${PYSITELIB}/chirpui/radiobrowser.py
+${PYSITELIB}/chirpui/radiobrowser.pyc
+${PYSITELIB}/chirpui/radiobrowser.pyo
+${PYSITELIB}/chirpui/reporting.py
+${PYSITELIB}/chirpui/reporting.pyc
+${PYSITELIB}/chirpui/reporting.pyo
+${PYSITELIB}/chirpui/settingsedit.py
+${PYSITELIB}/chirpui/settingsedit.pyc
+${PYSITELIB}/chirpui/settingsedit.pyo
+${PYSITELIB}/chirpui/shiftdialog.py
+${PYSITELIB}/chirpui/shiftdialog.pyc
+${PYSITELIB}/chirpui/shiftdialog.pyo
+${PKGMANDIR}/man1/chirpw.1
+share/applications/chirp.desktop
+share/chirp/chirp.xsd
+share/chirp/chirp_banks.xsd
+share/chirp/chirp_memory.xsd
+share/chirp/locale/de/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/en_US/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/hu/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/it/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/nl/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/pl/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/pt_BR/LC_MESSAGES/CHIRP.mo
+share/chirp/locale/ru/LC_MESSAGES/CHIRP.mo
+share/chirp/stock_configs/EU LPD and PMR Channels.csv
+share/chirp/stock_configs/Marine VHF Channels.csv
+share/chirp/stock_configs/NOAA Weather Alert.csv
+share/chirp/stock_configs/US 60 meter channels (Center).csv
+share/chirp/stock_configs/US 60 meter channels (Dial).csv
+share/chirp/stock_configs/US Calling Frequencies.csv
+share/chirp/stock_configs/US FRS and GMRS Channels.csv
+share/chirp/stock_configs/US MURS Channels.csv
+share/doc/chirp/COPYING
+share/pixmaps/chirp.png
+@pkgdir share/chirp/images
diff --git a/ham/chirp/distinfo b/ham/chirp/distinfo
new file mode 100644
index 00000000000..da7a21bc1e0
--- /dev/null
+++ b/ham/chirp/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2014/07/21 07:57:21 dbj Exp $
+
+SHA1 (chirp-0.4.0.tar.gz) = ee193c2a5c1960eb988d09cbd12fc290065fe36c
+RMD160 (chirp-0.4.0.tar.gz) = b052c72531797cb311c8ec87689b566e83baa2fe
+Size (chirp-0.4.0.tar.gz) = 416572 bytes
+SHA1 (patch-chirp_platform.py) = 724fb28f38582c5b1e3b6666bc15a128800cab8c
+SHA1 (patch-chirpui_mainapp.py) = 0a9953fb55d92b612d440b63431cb6e6a0bfa563
+SHA1 (patch-setup.py) = e42a85a66ce21d6745202d182e41771915c58c5f
diff --git a/ham/chirp/patches/patch-chirp_platform.py b/ham/chirp/patches/patch-chirp_platform.py
new file mode 100644
index 00000000000..490cdae7f0f
--- /dev/null
+++ b/ham/chirp/patches/patch-chirp_platform.py
@@ -0,0 +1,22 @@
+$NetBSD: patch-chirp_platform.py,v 1.1 2014/07/21 07:57:21 dbj Exp $
+This software contains darwin specific tweaks which do not apply to pkgsrc
+
+--- chirp/platform.py.orig 2014-04-29 03:55:43.000000000 +0000
++++ chirp/platform.py
+@@ -249,16 +249,6 @@ class UnixPlatform(Platform):
+
+ 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 not os.environ.has_key("DISPLAY"):
+- print "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"))
+
diff --git a/ham/chirp/patches/patch-chirpui_mainapp.py b/ham/chirp/patches/patch-chirpui_mainapp.py
new file mode 100644
index 00000000000..d8e81007a29
--- /dev/null
+++ b/ham/chirp/patches/patch-chirpui_mainapp.py
@@ -0,0 +1,14 @@
+$NetBSD: patch-chirpui_mainapp.py,v 1.1 2014/07/21 07:57:21 dbj Exp $
+This software contains darwin specific tweaks which do not apply to pkgsrc
+
+--- chirpui/mainapp.py.orig 2014-02-22 08:01:32.000000000 +0000
++++ chirpui/mainapp.py
+@@ -1715,8 +1715,6 @@ If you think that it is valid, you can s
+
+ if os.name != "nt":
+ self._set_icon() # Windows gets the icon from the exe
+- if os.uname()[0] == "Darwin":
+- self._init_macos(mbar)
+
+ vbox.pack_start(mbar, 0, 0, 0)
+
diff --git a/ham/chirp/patches/patch-setup.py b/ham/chirp/patches/patch-setup.py
new file mode 100644
index 00000000000..9ded3572329
--- /dev/null
+++ b/ham/chirp/patches/patch-setup.py
@@ -0,0 +1,16 @@
+$NetBSD: patch-setup.py,v 1.1 2014/07/21 07:57:21 dbj Exp $
+This software contains darwin specific tweaks which do not apply to pkgsrc
+
+--- setup.py.orig 2012-12-24 08:00:57.000000000 +0000
++++ setup.py
+@@ -141,9 +141,7 @@ def nuke_manifest(*files):
+ print >>f, fn
+ f.close()
+
+-if sys.platform == "darwin":
+- macos_build()
+-elif sys.platform == "win32":
++if sys.platform == "win32":
+ win32_build()
+ else:
+ if os.path.exists("rpttool"):