From 2f5f9c4813e3ba645a79e65cbbbb6c6b5994fdbe Mon Sep 17 00:00:00 2001
From: "Ernesto L. Williams Jr" <ernesto@slac.stanford.edu>
Date: Wed, 31 Dec 2014 17:52:42 -0800
Subject: [[PATCH][New Pkg: szip] 1/1] Adding a new package: szip Szip is an
 implementation of the extended-Rice lossless compression algorithm.         
 The Consultative Committee on Space Data Systems (CCSDS) has adopted the     
     extended-Rice algorithm for international standards for space
 applications[1,6,7].          Szip is reported to provide fast and effective
 compression, specifically for          the EOS data generated by the NASA
 Earth Observatory System (EOS)[1].          It was originally developed at
 University of New Mexico (UNM) and          integrated with HDF4 by UNM
 researchers and developers.

Signed-off-by: Ernesto L. Williams Jr <ernesto@slac.stanford.edu>
---
 package/Config.in      | 75 ++++++++++++++------------------------------------
 package/szip/Config.in | 14 ++++++++++
 package/szip/szip.mk   | 13 +++++++++
 3 files changed, 48 insertions(+), 54 deletions(-)
 create mode 100644 package/szip/Config.in
 create mode 100644 package/szip/szip.mk

diff --git a/package/Config.in b/package/Config.in
index ae6ffd7..2464eff 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -14,7 +14,6 @@ menu "Audio and video applications"
 	source "package/gstreamer/Config.in"
 	source "package/gstreamer1/Config.in"
 	source "package/jack2/Config.in"
-	source "package/kodi/Config.in"
 	source "package/lame/Config.in"
 	source "package/libvpx/Config.in"
 	source "package/madplay/Config.in"
@@ -35,6 +34,7 @@ menu "Audio and video applications"
 	source "package/vlc/Config.in"
 	source "package/vorbis-tools/Config.in"
 	source "package/wavpack/Config.in"
+	source "package/xbmc/Config.in"
 	source "package/yavta/Config.in"
 	source "package/ympd/Config.in"
 endmenu
@@ -52,7 +52,6 @@ endif
 endmenu
 
 menu "Debugging, profiling and benchmark"
-	source "package/blktrace/Config.in"
 	source "package/bonnie/Config.in"
 	source "package/cache-calibrator/Config.in"
 	source "package/dhrystone/Config.in"
@@ -77,7 +76,6 @@ endif
 	source "package/lttng-babeltrace/Config.in"
 	source "package/lttng-modules/Config.in"
 	source "package/lttng-tools/Config.in"
-	source "package/mcelog/Config.in"
 	source "package/memstat/Config.in"
 	source "package/netperf/Config.in"
 	source "package/oprofile/Config.in"
@@ -303,9 +301,9 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 endif
 	source "package/dmidecode/Config.in"
 	source "package/dmraid/Config.in"
-	source "package/dtv-scan-tables/Config.in"
 	source "package/dvb-apps/Config.in"
 	source "package/dvbsnoop/Config.in"
+	source "package/dtv-scan-tables/Config.in"
 	source "package/eeprog/Config.in"
 	source "package/eudev/Config.in"
 	source "package/evemu/Config.in"
@@ -379,7 +377,6 @@ endif
 	source "package/ti-gfx/Config.in"
 	source "package/ti-uim/Config.in"
 	source "package/ti-utils/Config.in"
-	source "package/triggerhappy/Config.in"
 	source "package/uboot-tools/Config.in"
 	source "package/udev/Config.in"
 	source "package/udisks/Config.in"
@@ -394,14 +391,13 @@ endmenu
 menu "Interpreter languages and scripting"
 	source "package/enscript/Config.in"
 	source "package/erlang/Config.in"
-	source "package/guile/Config.in"
 	source "package/haserl/Config.in"
 	source "package/jamvm/Config.in"
 	source "package/jimtcl/Config.in"
 	source "package/lua/Config.in"
 	source "package/luainterpreter/Config.in"
 	source "package/luajit/Config.in"
-if BR2_PACKAGE_HAS_LUAINTERPRETER && !BR2_STATIC_LIBS
+if BR2_PACKAGE_HAS_LUAINTERPRETER && !BR2_PREFER_STATIC_LIB
 # lua modules are dynamically loaded, so not available on static builds
 menu "Lua libraries/modules"
 	source "package/cgilua/Config.in"
@@ -424,6 +420,7 @@ menu "Lua libraries/modules"
 	source "package/lua-messagepack/Config.in"
 	source "package/lua-msgpack-native/Config.in"
 	source "package/lua-testmore/Config.in"
+	source "package/luasql-sqlite3/Config.in"
 	source "package/luabitop/Config.in"
 	source "package/luacrypto/Config.in"
 	source "package/luaexpat/Config.in"
@@ -434,7 +431,6 @@ menu "Lua libraries/modules"
 	source "package/luaposix/Config.in"
 	source "package/luasec/Config.in"
 	source "package/luasocket/Config.in"
-	source "package/luasql-sqlite3/Config.in"
 	source "package/lunit/Config.in"
 	source "package/lzlib/Config.in"
 	source "package/orbit/Config.in"
@@ -460,13 +456,13 @@ menu "Perl libraries/modules"
 	source "package/perl-try-tiny/Config.in"
 	source "package/perl-xml-libxml/Config.in"
 	source "package/perl-xml-namespacesupport/Config.in"
-	source "package/perl-xml-sax/Config.in"
 	source "package/perl-xml-sax-base/Config.in"
+	source "package/perl-xml-sax/Config.in"
 endmenu
 endif
 	source "package/php/Config.in"
 if BR2_PACKAGE_PHP
-if !BR2_STATIC_LIBS
+if !BR2_PREFER_STATIC_LIB
 menu "External php extensions"
 	source "package/php-geoip/Config.in"
 	source "package/php-gnupg/Config.in"
@@ -477,7 +473,7 @@ menu "External php extensions"
 	source "package/php-zmq/Config.in"
 endmenu
 endif
-if BR2_STATIC_LIBS
+if BR2_PREFER_STATIC_LIB
 comment "External PHP extensions need a toolchain w/ dynamic library"
 endif
 endif
@@ -485,46 +481,29 @@ endif
 	source "package/python3/Config.in"
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "external python modules"
-	source "package/python-alsaaudio/Config.in"
 	source "package/python-bottle/Config.in"
-	source "package/python-certifi/Config.in"
 	source "package/python-cffi/Config.in"
-	source "package/python-cheetah/Config.in"
 	source "package/python-configobj/Config.in"
 	source "package/python-configshell-fb/Config.in"
 	source "package/python-crc16/Config.in"
 	source "package/python-daemon/Config.in"
 	source "package/python-dialog/Config.in"
-	source "package/python-docopt/Config.in"
 	source "package/python-dpkt/Config.in"
-	source "package/python-enum/Config.in"
-	source "package/python-enum34/Config.in"
-	source "package/python-flask/Config.in"
 	source "package/python-flup/Config.in"
-	source "package/python-gobject/Config.in"
-	source "package/python-httplib2/Config.in"
 	source "package/python-id3/Config.in"
-	source "package/python-ipaddr/Config.in"
 	source "package/python-ipy/Config.in"
 	source "package/python-ipython/Config.in"
-	source "package/python-itsdangerous/Config.in"
-	source "package/python-jinja2/Config.in"
 	source "package/python-json-schema-validator/Config.in"
 	source "package/python-keyring/Config.in"
 	source "package/python-libconfig/Config.in"
 	source "package/python-mad/Config.in"
-	source "package/python-markdown/Config.in"
-	source "package/python-markupsafe/Config.in"
 	source "package/python-meld3/Config.in"
 	source "package/python-msgpack/Config.in"
 	source "package/python-netifaces/Config.in"
-	source "package/python-networkmanager/Config.in"
 	source "package/python-nfc/Config.in"
 	source "package/python-numpy/Config.in"
-	source "package/python-pam/Config.in"
 	source "package/python-posix-ipc/Config.in"
 	source "package/python-protobuf/Config.in"
-	source "package/python-psutil/Config.in"
 	source "package/python-pyasn/Config.in"
 	source "package/python-pycrypto/Config.in"
 	source "package/python-pygame/Config.in"
@@ -536,7 +515,6 @@ menu "external python modules"
 	source "package/python-pysnmp-mibs/Config.in"
 	source "package/python-pyusb/Config.in"
 	source "package/python-pyzmq/Config.in"
-	source "package/python-requests/Config.in"
 	source "package/python-rtslib-fb/Config.in"
 	source "package/python-serial/Config.in"
 	source "package/python-setuptools/Config.in"
@@ -545,8 +523,6 @@ menu "external python modules"
 	source "package/python-tornado/Config.in"
 	source "package/python-urwid/Config.in"
 	source "package/python-versiontools/Config.in"
-	source "package/python-webpy/Config.in"
-	source "package/python-werkzeug/Config.in"
 endmenu
 endif
 	source "package/ruby/Config.in"
@@ -599,6 +575,7 @@ menu "Compression and decompression"
 	source "package/lzo/Config.in"
 	source "package/snappy/Config.in"
 	source "package/zlib/Config.in"
+	source "package/szip/Config.in"
 endmenu
 
 menu "Crypto"
@@ -649,7 +626,6 @@ menu "Graphics"
 	source "package/adwaita-icon-theme/Config.in"
 	source "package/atk/Config.in"
 	source "package/cairo/Config.in"
-	source "package/exiv2/Config.in"
 	source "package/fltk/Config.in"
 	source "package/fontconfig/Config.in"
 	source "package/freetype/Config.in"
@@ -710,7 +686,6 @@ menu "Hardware handling"
 	source "package/libfreefare/Config.in"
 	source "package/libftdi/Config.in"
 	source "package/libhid/Config.in"
-	source "package/libiio/Config.in"
 	source "package/libinput/Config.in"
 	source "package/libiqrf/Config.in"
 	source "package/libllcp/Config.in"
@@ -827,7 +802,6 @@ menu "Networking"
 	source "package/libmnl/Config.in"
 	source "package/libmodbus/Config.in"
 	source "package/libndp/Config.in"
-	source "package/libnice/Config.in"
 	source "package/libnetfilter_acct/Config.in"
 	source "package/libnetfilter_conntrack/Config.in"
 	source "package/libnetfilter_cthelper/Config.in"
@@ -842,16 +816,15 @@ menu "Networking"
 	source "package/libosip2/Config.in"
 	source "package/libpcap/Config.in"
 	source "package/librsync/Config.in"
+	source "package/libsocketcan/Config.in"
 	source "package/libshairplay/Config.in"
 	source "package/libshout/Config.in"
-	source "package/libsocketcan/Config.in"
 	source "package/libsoup/Config.in"
 	source "package/libstrophe/Config.in"
 	source "package/libtirpc/Config.in"
 	source "package/libtorrent/Config.in"
 	source "package/libupnp/Config.in"
 	source "package/libupnpp/Config.in"
-	source "package/liburiparser/Config.in"
 	source "package/libvncserver/Config.in"
 	source "package/libwebsockets/Config.in"
 	source "package/neon/Config.in"
@@ -876,12 +849,10 @@ menu "Other"
 	source "package/apr-util/Config.in"
 	source "package/argp-standalone/Config.in"
 	source "package/armadillo/Config.in"
-	source "package/bdwgc/Config.in"
 	source "package/boost/Config.in"
 	source "package/clapack/Config.in"
 	source "package/classpath/Config.in"
 	source "package/cppcms/Config.in"
-	source "package/ding-libs/Config.in"
 	source "package/eigen/Config.in"
 	source "package/elfutils/Config.in"
 	source "package/fftw/Config.in"
@@ -907,7 +878,6 @@ menu "Other"
 	source "package/libgc/Config.in"
 	source "package/libglib2/Config.in"
 	source "package/libical/Config.in"
-	source "package/liblinear/Config.in"
 	source "package/libnspr/Config.in"
 	source "package/libpfm4/Config.in"
 	source "package/libplist/Config.in"
@@ -968,17 +938,6 @@ endmenu
 
 endmenu
 
-menu "Mail"
-	source "package/dovecot/Config.in"
-	source "package/exim/Config.in"
-	source "package/fetchmail/Config.in"
-	source "package/heirloom-mailx/Config.in"
-	source "package/libesmtp/Config.in"
-	source "package/msmtp/Config.in"
-	source "package/mutt/Config.in"
-	source "package/sylpheed/Config.in"
-endmenu
-
 menu "Miscellaneous"
 	source "package/aespipe/Config.in"
 	source "package/bc/Config.in"
@@ -996,6 +955,17 @@ menu "Miscellaneous"
 	source "package/sound-theme-freedesktop/Config.in"
 endmenu
 
+menu "Mail"
+	source "package/dovecot/Config.in"
+	source "package/exim/Config.in"
+	source "package/fetchmail/Config.in"
+	source "package/heirloom-mailx/Config.in"
+	source "package/libesmtp/Config.in"
+	source "package/msmtp/Config.in"
+	source "package/mutt/Config.in"
+	source "package/sylpheed/Config.in"
+endmenu
+
 menu "Networking applications"
 	source "package/aiccu/Config.in"
 	source "package/aircrack-ng/Config.in"
@@ -1049,7 +1019,6 @@ endif
 	source "package/igmpproxy/Config.in"
 	source "package/inadyn/Config.in"
 	source "package/iperf/Config.in"
-	source "package/iperf3/Config.in"
 	source "package/iproute2/Config.in"
 	source "package/ipsec-tools/Config.in"
 	source "package/ipset/Config.in"
@@ -1147,7 +1116,6 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	source "package/tftpd/Config.in"
 endif
 	source "package/thttpd/Config.in"
-	source "package/tinc/Config.in"
 	source "package/tinyhttpd/Config.in"
 	source "package/tn5250/Config.in"
 	source "package/transmission/Config.in"
@@ -1230,7 +1198,6 @@ endif
 	source "package/cpuload/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	source "package/dcron/Config.in"
-	source "package/debianutils/Config.in"
 endif
 	source "package/dsp-tools/Config.in"
 	source "package/ftop/Config.in"
@@ -1245,8 +1212,8 @@ endif
 	source "package/numactl/Config.in"
 	source "package/nut/Config.in"
 	source "package/openvmtools/Config.in"
-	source "package/polkit/Config.in"
 	source "package/powerpc-utils/Config.in"
+	source "package/polkit/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	source "package/procps-ng/Config.in"
 	source "package/psmisc/Config.in"
diff --git a/package/szip/Config.in b/package/szip/Config.in
new file mode 100644
index 0000000..9883977
--- /dev/null
+++ b/package/szip/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_SZIP
+  bool "szip"
+  help
+    Szip is an implementation of the extended-Rice lossless 
+    compression algorithm. 
+    The Consultative Committee on Space Data Systems (CCSDS) has
+    adopted the extended-Rice algorithm for international standards
+    for space applications[1,6,7]. Szip is reported to provide 
+    fast and effective compression, specifically for the EOS data 
+    generated by the NASA Earth Observatory System (EOS)[1]. 
+    It was originally developed at University of New Mexico (UNM)
+    and integrated with HDF4 by UNM researchers and developers.
+    
+    http://www.hdfgroup.org/doc_resource/SZIP
\ No newline at end of file
diff --git a/package/szip/szip.mk b/package/szip/szip.mk
new file mode 100644
index 0000000..f3a4758
--- /dev/null
+++ b/package/szip/szip.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# szip
+#
+################################################################################
+
+SZIP_VERSION = 2.1
+SZIP_SITE = http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src
+SZIP_LICENSE = szip license
+SZIP_LICENSE_FILES = COPYING
+SZIP_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
-- 
2.1.0

