mirror of
https://github.com/wb2osz/direwolf
synced 2026-08-13 17:44:58 -04:00
this step unify the builing system for all platforms (windows, linux,
osx and *BSD)
* Requirements:
- gcc/clang (C/C++ compiler) (in debian build-essential)
- cmake (in debian cmake)
- git if you build from source (in debian git)
- posix threads
** Requirements on *BSD/macOS:
- portaudio
** Optional Requirements:
- gpsd (in debian libgps-dev)
- libhamlib (in debian libhamlib-dev)
** Optional Requirements in Linux
- udev (in debian libudev-dev)
- alsa (in debian libasound2-dev)
* Main changes:
- version is now set only on CMakeLists.txt and automatically used
on the code
- cpu flags are auto-discovered in the default build and it works
on gcc/clang/msvc on x86/x86_64/arm; you can force cpu flags with
-DFORCE_SSE=1 for example (see CMakeLists.txt on root)
- use a more "complex" tag on generic.conf to facilitate parsing
by cmake (not more platform dependent). Now it is %C% or %R% for
example
- target `tocalls-symbols` is now called `data-update`
- created debian/ directory to contains files to use debuild
* Example to build:
mkdir build && cd build
cmake ..
make
make install
make install-conf
then you have the binary files on src/ and in the system directory
* CMake options (see the head of CMakeLists.txt)
- FORCE_SSE force sse instruction
- FORCE_SSSE3 force ssse3 instruction
- FORCE_SSE41 force ssse4.1 instruction
- OPTIONAL_TEST compile optional test (might be broken)
- BUILD_TESTING enable tests (ctest framework)
- CMAKE_INSTALL_PREFIX if you want to change your install path
prefix
for example:
cmake .. -DOPTIONAL_TEST=ON
176 lines
No EOL
8.2 KiB
Text
176 lines
No EOL
8.2 KiB
Text
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
Upstream-Name: direwolf
|
|
Files-Excluded: doc/*.pdf
|
|
Source: https://github.com/wb2osz/direwolf
|
|
Comment:
|
|
The files in misc/ are copied directly from the Cygwin source code. These are
|
|
listed here as dual licensed as they are both part of the Cygwin distribution
|
|
and originally part of BSD. See misc/README-dire-wolf.txt for more information.
|
|
.
|
|
Please see ftp-master's comments on this here:
|
|
https://lists.debian.org/debian-hams/2014/09/msg00063.html
|
|
https://lists.debian.org/debian-hams/2014/10/msg00003.html
|
|
|
|
Files: *
|
|
Copyright: (C) 2011-2014 John Langner WB2OSZ
|
|
License: GPL-2+
|
|
|
|
Files: geotranz/*
|
|
Copyright: National Geospatial-Intelligence Agency
|
|
License: Permissive-NGA
|
|
|
|
Files: regex/*
|
|
Copyright: (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
|
License: LGPL-2.1+
|
|
|
|
Files: misc/strcasestr.c
|
|
Copyright:
|
|
(C) 1990, 1993 The Regents of the University of California
|
|
(C) RedHat
|
|
License: BSD-4-clause or GPL-2+
|
|
|
|
Files: misc/strtok_r.c misc/strsep.c
|
|
Copyright:
|
|
(C) 1988 Regents of the University of California
|
|
(C) RedHat
|
|
License: BSD-3-clause or GPL-2+
|
|
|
|
Files: debian/*
|
|
Copyright: (C) 2014 Iain R. Learmonth <irl@fsfe.org>
|
|
License: GPL-2+
|
|
|
|
License: BSD-3-clause
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
.
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
.
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the distribution.
|
|
.
|
|
3. Neither the name of the University nor the names of its contributors
|
|
may be used to endorse or promote products derived from this software
|
|
without specific prior written permission.
|
|
.
|
|
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
SUCH DAMAGE.
|
|
|
|
License: BSD-4-clause
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
.
|
|
1. Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
.
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the distribution.
|
|
.
|
|
3. All advertising materials mentioning features or use of this software
|
|
must display the following acknowledgement:
|
|
This product includes software developed by the University of
|
|
California, Berkeley and its contributors.
|
|
.
|
|
4. Neither the name of the University nor the names of its contributors
|
|
may be used to endorse or promote products derived from this software
|
|
without specific prior written permission.
|
|
.
|
|
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
SUCH DAMAGE.
|
|
|
|
License: GPL-2+
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
(at your option) any later version.
|
|
.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
.
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
.
|
|
On Debian systems, a copy of the full license text is available in
|
|
/usr/share/common-licenses/GPL-2.
|
|
|
|
License: LGPL-2.1+
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
.
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
.
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
.
|
|
On Debian systems, a copy of the full license text is available in
|
|
/usr/share/common-licenses/LGPL-2.1.
|
|
|
|
License: Permissive-NGA
|
|
1. The GEOTRANS source code ("the software") is provided free of charge by the
|
|
National Geospatial-Intelligence Agency (NGA) of the United States Department
|
|
of Defense. Although NGA makes no copyright claim under Title 17 U.S.C., NGA
|
|
claims copyrights in the source code under other legal regimes. NGA hereby
|
|
grants to each user of the software a license to use and distribute the
|
|
software, and develop derivative works.
|
|
.
|
|
2. NGA requests that products developed using the software credit the source of
|
|
the software with the following statement, "The product was developed using
|
|
GEOTRANS, a product of the National Geospatial-Intelligence Agency (NGA) and
|
|
U.S. Army Engineering Research and Development Center." Do not use the name
|
|
GEOTRANS for any derived work.
|
|
.
|
|
3. Warranty Disclaimer: The software was developed to meet only the internal
|
|
requirements of the National Geospatial-Intelligence Agency (NGA). The software
|
|
is provided "as is," and no warranty, express or implied, including but not
|
|
limited to the implied warranties of merchantability and fitness for particular
|
|
purpose or arising by statute or otherwise in law or from a course of dealing
|
|
or usage in trade, is made by NGA as to the accuracy and functioning of the
|
|
software.
|
|
.
|
|
4. NGA and its personnel are not required to provide technical support or
|
|
general assistance with respect to public use of the software. Government
|
|
customers may contact NGA.
|
|
.
|
|
5. Neither NGA nor its personnel will be liable for any claims, losses, or
|
|
damages arising from or connected with the use of the software. The user agrees
|
|
to hold harmless the United States National Geospatial-Intelligence Agency
|
|
(NGA). The user's sole and exclusive remedy is to stop using the software.
|
|
.
|
|
6. Please be advised that pursuant to the United States Code, 10 U.S.C. 425,
|
|
the name of the National Geospatial-Intelligence Agency, the initials "NGA",
|
|
the seal of the National Geospatial-Intelligence Agency, or any colorable
|
|
imitation thereof shall not be used to imply approval, endorsement, or
|
|
authorization of a product without prior written permission from United States
|
|
Secretary of Defense. Do not create the impression that NGA, the Secretary of
|
|
Defense or the Director of National Intelligence has endorsed any product
|
|
derived from GEOTRANS. |