diff --git a/.bzrignore b/.bzrignore index 622e63a..2d841b4 100644 --- a/.bzrignore +++ b/.bzrignore @@ -1,3 +1,9 @@ +# SPDX-FileCopyrightText: © 2008-2012 Stéphane Graber +# SPDX-FileCopyrightText: © 2020 Peter J. Mello +# +# SPDX-License-Identifier: CC0-1.0 +# ------------------------------------------------------------------------------ + #---- Gambas files to ignore (v1) .gambas/* .kdbg* diff --git a/.editorconfig b/.editorconfig index c3c84cc..3bc6d73 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,11 @@ +# SPDX-FileCopyrightText: © 2020 Peter J. Mello +# +# SPDX-License-Identifier: MPL-2.0 +# +# Version: 1.1.0 (Using ) +# Updated: 2020-08-12 # Visit for more information. +# ------------------------------------------------------------------------------ root = true @@ -22,9 +29,8 @@ trim_trailing_whitespace = false [*.py] indent_size = 4 -[**/Makefile*] +[**/{Makefile*,rules}] indent_style = tab -tab_width = 4 [ChangeLog] indent_style = tab diff --git a/.gitmodules b/.gitmodules index 4d40f68..c51b017 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "libcpuid"] - path = libcpuid - url = https://github.com/anrieff/libcpuid.git + path = libcpuid + url = https://github.com/anrieff/libcpuid.git diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 0000000..c0e8367 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,200 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: I-Nex +Upstream-Contact: eloaders +Source: https://github.com/i-nex/I-Nex/releases + +Files: * +Copyright: 2006-2012, Stéphane Graber + 2007-2013, Adam Jackson + 2011-2019, eloaders +License: LGPL-3.0-or-later + +Files: I-Nex/i-nex/Data/GPU_LOGO/* +Copyright: 2006-2020, Intel Corporation + 1994-2020, Advanced Micro Devices, Inc. +License: LicenseRef-Intel-Acknowledgment AND LicenseRef-AMD-Disclaimer +Comment: The most recent version of the Intel Trademark Usage Acknowledgments + are available at + . + . + The most recent version of the AMD Terms of Use at available at + . + +Files: I-Nex/i-nex/Data/GPU_LOGO/nvidia.png +Copyright: 1997-2019, NVIDIA Corporation +License: LicenseRef-NVIDIA-Disclaimer +Comment: The most recent version of these legal notices is available at + . + +Files: I-Nex/i-nex/Database/Distlogos/* +Copyright: 2007-2008, David Vignoni +License: GPL-3.0-or-later OR LGPL-3.0-or-later + +Files: I-Nex/i-nex/Database/Logos/* +Copyright: 2006-2020, Intel Corporation + 1994-2020, Advanced Micro Devices, Inc. +License: LicenseRef-Intel-Acknowledgment AND LicenseRef-AMD-Disclaimer +Comment: The most recent version of the Intel Trademark Usage Acknowledgments + are available at + . + . + The most recent version of the AMD Terms of Use at available at + . + +Files: JSON/i-nex-edid.c +Copyright: 2006-2012, Adam Jackson + 2006-2012, Red Hat, Inc. + 2014-2016, eloaders + 2020, Peter J. Mello +License: MIT AND GPL-3.0-or-later + +Files: pl.linux.I_Nex.metainfo.xml +Copyright: 2019, Martin Gansser + 2019, eloaders + 2020, Peter J. Mello +License: MIT + +Files: release.conf +Copyright: 2011, Stéphane Graber + 2012, eloaders +License: GPL-3.0-or-later + +Files: debian/* +Copyright: 2011-2016, eloaders + 2020, Peter J. Mello +License: GPL-3.0-or-later OR MPL-2.0 + +License: LGPL-3.0-or-later + This package 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 3 of the License, or (at your option) any + later version. + . + This package 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 package; if not, write to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian(-based) GNU/Linux systems, the complete text of the GNU Lesser + General Public License, version 3, can be found in the file + `/usr/share/common-licenses/LGPL-3'. + +License: LicenseRef-Intel-Acknowledgment + 3D XPoint, Altera, APEX, AnyWAN, Arria, Avalon, Axxia, BunnyPeople, Celeron, + Cilk, CONVERGATE, Cyclone, Docea, eASIC, easicopy, Enpirion, Hyperflex, Intel, + the Intel logo, Intel Adaptix, Intel Agilex, Intel Atom, Intel CoFluent, Intel + Core, Intel Inside, the Intel Inside logo, Intel Nervana, Intel Optane, Intel + RealSense, Intel Shooting Star, Intel Sirius, Intel SpeedStep, Intel Unite, + Intel vPro, Intel Xeon Phi, Iris, Itanium, MAX, Movidius, Myriad, neon, Nios, + OpenVINO, the OpenVINO logo, Pentium, Puma, Quark, Quartus, SICOFI, Simics, + SoftSilicon, Sound Mark, StarPro, Stratix, the Stratix logo, Stay With It, the + Engineering Stay With It logo, StreamSight, Tarari, The Journey Inside, + Thunderbolt, the Thunderbolt logo, Tofino, Transcede, Ultrabook, VTune, and + Xeon logos and other brand artwork are trademarks of Intel Corporation or its + subsidiaries. All rights reserved. + . + Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052-8119, USA. + +License: LicenseRef-AMD-Disclaimer + THESE PROPRIETARY LOGOS, SERVICE MARKS AND TRADEMARKS ARE PROVIDED "AS IS" + WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF + MERCHANTABILITY, NON-INFRINGEMENT OF INTELLECTUAL PROPERTY, OR FITNESS FOR ANY + PARTICULAR PURPOSE. IN NO EVENT SHALL AMD OR ITS SUPPLIERS BE LIABLE FOR ANY + DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, + BUSINESS INTERRUPTION, LOSS OF INFORMATION, INDIRECT, CONSEQUENTIAL OR PUNITIVE + DAMAGES) ARISING OUT OF THE USE OF OR INABILITY TO USE THE MATERIALS, EVEN IF + AMD HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. AMD and its suppliers + further do not warrant the accuracy or completeness of the information, text, + graphics, links or other items contained within this package. + +License: LicenseRef-NVIDIA-Disclaimer + Copyright (C) 1997-2004 NVIDIA Corporation. All rights reserved. NVIDIA + Corporation, 2701 San Tomas Expressway Santa Clara, CA 95050, USA. + . + NVIDIA, the NVIDIA logo, 3D Play, 3D Vision Pro, 4-Plus-1, APEX, BattleBox, + BFGD, Big Format Gaming Display, CUDA, Dabbler, DALI, DGX Station, + DirectStylus, DirectTouch, Game Ready, GameStream, Geared For Gaming, GeForce, + GeForce Experience, GeForce GTX, GeForce RTX, GPUDirect, G-SYNC, GRID LINK, + GRID VGX, IceClear, ICERA, I AM AI, Iray, Jetson, Jetson AGX Xavier, Kepler, + Made To Game, Maximus, Mental Ray, NSIST on NVIDIA, nTersect, NVIDIA 3D Vision, + NVIDIA AGX, NVIDIA AutoWorks, NVIDIA BATTERY BOOST, NVIDIA BFGD, NVIDIA Big + Format Gaming Display, NVIDIA Business Platform, NVIDIA Clara, NVIDIA DALI, + NVIDIA Denver, NVIDIA DesignWorks, NVIDIA DGX, NVIDIA DGX POD, NVIDIA DGX + Superpod, NVIDIA DRIVE, NVIDIA DRIVE Autopilot, NVIDIA DRIVE Constellation, + NVIDIA DRIVE Hyperion, NVIDIA DRIVE Sim, NVIDIA GameWorks, NVIDIA GPU BOOST, + NVIDIA GPU CLOUD, NVIDIA GRID, NVIDIA GRID vGPU, NVIDIA G-SYNC, NVIDIA HGX, + NVIDIA Holodeck, NVIDIA IndeX, NVIDIA Isaac, NVIDIA Isaac SDK, NVIDIA Isaac + SIM, NVIDIA Jetpack, NVIDIA Kepler, NVIDIA Maglev, NVIDIA Maximus, NVIDIA + Maxwell, NVIDIA nForce, NVIDIA OptiX, NVIDIA Orin, NVIDIA PartnerForce, NVIDIA + PureAudio, NVIDIA Quadro, NVIDIA RTX, NVIDIA SHIELD, NVIDIA SLI, NVIDIA SLI + Ready, NVIDIA Slide Cover, NVIDIA SPOT, NVIDIA Tegra, NVIDIA Turing, nView, + NVLink, NVS, NVSwitch, OpenACC, Openautomate, Optimus, OptiX, Pascal, Pegasus, + PGI, PGI Visual Fortran, PhysX, Quadro, Quadro Experience, Quadro RTX, + RealityServer, SceniX, Shadowplay, SHIELD, SLI, Surround, Tegra, Tegra NOTE, + TegraZone, TensorRT, Tesla, The Way It's Meant to be Played, TWIMTBP, ULMB, + vGPU, Vibrante, VisionWorks, VirtualLink, VRLync, and Xavier are trademarks + and/or registered trademarks of NVIDIA Corporation in the U.S. and/or other + countries. Other company and product names may be trademarks of the respective + companies with which they are associated. + . + THESE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF + ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT OF + INTELLECTUAL PROPERTY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT SHALL + NVIDIA OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, + WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, LOSS OF + INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE THE MATERIALS, EVEN + IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME + JURISDICTIONS PROHIBIT THE EXCLUSION OR LIMITATION OF LIABILITY FOR + CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU. + NVIDIA does not warrant the accuracy or completeness of the information, text, + graphics, links or other items contained within these materials. NVIDIA may + make changes to these materials, or to the products described therein, at any + time without notice, but makes no commitment to update the Materials. + +License: GPL-3.0-or-later + 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 3 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 . + . + On Debian(-based) GNU/Linux systems, the full text of the GNU General Public + License, version 3, can be found in the file + `/usr/share/common-licenses/GPL-3'. + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +License: MPL-2.0 + This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain + one at . + . + On Debian(-based) GNU/Linux systems, the full text of the Mozilla Public + License, v. 2.0, can be found in the file `/usr/share/common-licenses/MPL-2.0'. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..412bbe9 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,76 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and +expression, level of experience, education, socio-economic status, nationality, +personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, or to ban temporarily or permanently any +contributor for other behaviors that they deem inappropriate, threatening, +offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at eloaders@linux.pl. All complaints +will be reviewed and investigated and will result in a response that is deemed +necessary and appropriate to the circumstances. The project team is obligated to +maintain confidentiality with regard to the reporter of an incident. Further +details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 1.4, available at . + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..691a5b5 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,174 @@ +# Contributing to I-Nex + +## First off, thank you for considering contributing to I-Nex + +It's awesome people like you that make I-Nex such a great tool. Know that you +are welcome to participate here and please read this entire document so you'll +know how to ask questions and create a successful contribution. + +Adhering to these guidelines helps to communicate that you respect the time of +the developers managing this open source project. In return, they will endeavor +to reciprocate that respect by addressing your issue, assessing changes, and +helping you finalize your pull requests. + +We love to receive contributions from our community — you! There are many ways +to do so, whether writing tutorials or blog posts, improving the documentation, +submitting bug reports, suggesting new features or writing code which can be +incorporated into I-Nex itself. + +## What we're trying to accomplish + +* Distribution-agnostic operation that can be equally useful to any Linux user, + whether they run Ubuntu, CentOS, Manjaro, or something known only to the + dustiest crevices of Reddit. Interoperability standards such as the + [Cross-Desktop Group/FreeDesktop][XDG], [Linux Standard Base][LSB], the + [Filesystem Hierarchy Standard][FHS] and others like them make things better + for all of us and we promote their widespread adoption by making every effort + to be compliant with their specifications ourselves. +* DemocraticCreate issues for any major changes and enhancements that you wish to make. Discuss things transparently and get community feedback. +> * Don't add any classes to the codebase unless absolutely needed. Err on the side of using functions. +> * Keep feature versions as small as possible, preferably one new feature per version. +> * Be welcoming to newcomers and encourage diverse new contributors from all backgrounds. See the [Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/). + +[source: [cookiecutter](https://github.com/audreyr/cookiecutter/blob/master/CONTRIBUTING.rst)] **Need more inspiration?** [1] [Celery](https://github.com/celery/celery/blob/master/CONTRIBUTING.rst#community-code-of-conduct) [2] [geocoder](https://github.com/alexreisner/geocoder#contributing) + +# Your First Contribution +Help people who are new to your project understand where they can be most helpful. This is also a good time to let people know if you follow a label convention for flagging beginner issues. + +> Unsure where to begin contributing to Atom? You can start by looking through these beginner and help-wanted issues: +> Beginner issues - issues which should only require a few lines of code, and a test or two. +> Help wanted issues - issues which should be a bit more involved than beginner issues. +> Both issue lists are sorted by total number of comments. While not perfect, number of comments is a reasonable proxy for impact a given change will have. + +[source: [Atom](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#your-first-code-contribution)] **Need more inspiration?** [1] [Read the Docs](http://docs.readthedocs.org/en/latest/contribute.html#contributing-to-development) [2] [Django](https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/#first-steps) (scroll down to "Guidelines" as well) + +### Bonus points: Add a link to a resource for people who have never contributed to open source before. +Here are a couple of friendly tutorials you can include: http://makeapullrequest.com/ and http://www.firsttimersonly.com/ + +> Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github). + +[source: [React](https://github.com/facebook/react/blob/master/CONTRIBUTING.md#pull-requests)] + +As a side note, it helps to use newcomer-friendly language throughout the rest of your document. Here are a couple of examples from [Active Admin](https://github.com/activeadmin/activeadmin/blob/master/CONTRIBUTING.md): + +>At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first :smile_cat: +> +>If a maintainer asks you to "rebase" your PR, they're saying that a lot of code has changed, and that you need to update your branch so it's easier to merge. + +# Getting started +### Give them a quick walkthrough of how to submit a contribution. +How you write this is up to you, but some things you may want to include: + +* Let them know if they need to sign a CLA, agree to a DCO, or get any other legal stuff out of the way +* If tests are required for contributions, let them know, and explain how to run the tests +* If you use anything other than GitHub to manage issues (ex. JIRA or Trac), let them know which tools they’ll need to contribute + +>For something that is bigger than a one or two line fix: + +>1. Create your own fork of the code +>2. Do the changes in your fork +>3. If you like the change and think the project could use it: + * Be sure you have followed the code style for the project. + * Sign the Contributor License Agreement, CLA, with the jQuery Foundation. + * Note the jQuery Foundation Code of Conduct. + * Send a pull request indicating that you have a CLA on file. + +[source: [Requirejs](http://requirejs.org/docs/contributing.html)] **Need more inspiration?** [1] [Active Admin](https://github.com/activeadmin/activeadmin/blob/master/CONTRIBUTING.md#1-where-do-i-go-from-here) [2] [Node.js](https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#code-contributions) [3] [Ember.js](https://github.com/emberjs/ember.js/blob/master/CONTRIBUTING.md#pull-requests) + +### If you have a different process for small or "obvious" fixes, let them know. + +> Small contributions such as fixing spelling errors, where the content is small enough to not be considered intellectual property, can be submitted by a contributor as a patch, without a CLA. +> +>As a rule of thumb, changes are obvious fixes if they do not introduce any new functionality or creative thinking. As long as the change does not affect functionality, some likely examples include the following: +>* Spelling / grammar fixes +>* Typo correction, white space and formatting changes +>* Comment clean up +>* Bug fixes that change default return values or error codes stored in constants +>* Adding logging messages or debugging output +>* Changes to ‘metadata’ files like Gemfile, .gitignore, build scripts, etc. +>* Moving source files from one directory or package to another + +[source: [Chef](https://github.com/chef/chef/blob/master/CONTRIBUTING.md#chef-obvious-fix-policy)] **Need more inspiration?** [1] [Puppet](https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md#making-trivial-changes) + +# How to report a bug +### Explain security disclosures first! +At bare minimum, include this sentence: +> If you find a security vulnerability, do NOT open an issue. Email XXXX instead. + +If you don’t want to use your personal contact information, set up a “security@” email address. Larger projects might have more formal processes for disclosing security, including encrypted communication. (Disclosure: I am not a security expert.) + +> Any security issues should be submitted directly to security@travis-ci.org +> In order to determine whether you are dealing with a security issue, ask yourself these two questions: +> * Can I access something that's not mine, or something I shouldn't have access to? +> * Can I disable something for other people? +> +> If the answer to either of those two questions are "yes", then you're probably dealing with a security issue. Note that even if you answer "no" to both questions, you may still be dealing with a security issue, so if you're unsure, just email us at security@travis-ci.org. + +[source: [Travis CI](https://github.com/travis-ci/travis-ci/blob/master/CONTRIBUTING.md)] **Need more inspiration?** [1] [Celery](https://github.com/celery/celery/blob/master/CONTRIBUTING.rst#security) [2] [Express.js](https://github.com/expressjs/express/blob/master/Security.md) + +### Tell your contributors how to file a bug report. +You can even include a template so people can just copy-paste (again, less work for you). + +> When filing an issue, make sure to answer these five questions: +> +> 1. What version of Go are you using (go version)? +> 2. What operating system and processor architecture are you using? +> 3. What did you do? +> 4. What did you expect to see? +> 5. What did you see instead? +> General questions should go to the golang-nuts mailing list instead of the issue tracker. The gophers there will answer or ask you to file an issue if you've tripped over a bug. + +[source: [Go](https://github.com/golang/go/blob/master/CONTRIBUTING.md#filing-issues)] **Need more inspiration?** [1] [Celery](https://github.com/celery/celery/blob/master/CONTRIBUTING.rst#other-bugs ) [2] [Atom](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#reporting-bugs) (includes template) + +# How to suggest a feature or enhancement +### If you have a particular roadmap, goals, or philosophy for development, share it here. +This information will give contributors context before they make suggestions that may not align with the project’s needs. + +> The Express philosophy is to provide small, robust tooling for HTTP servers, making it a great solution for single page applications, web sites, hybrids, or public HTTP APIs. +> +> Express does not force you to use any specific ORM or template engine. With support for over 14 template engines via Consolidate.js, you can quickly craft your perfect framework. + +[source: [Express](https://github.com/expressjs/express#philosophy)] **Need more inspiration?** [Active Admin](https://github.com/activeadmin/activeadmin#goals) + +### Explain your desired process for suggesting a feature. +If there is back-and-forth or signoff required, say so. Ask them to scope the feature, thinking through why it’s needed and how it might work. + +> If you find yourself wishing for a feature that doesn't exist in Elasticsearch, you are probably not alone. There are bound to be others out there with similar needs. Many of the features that Elasticsearch has today have been added because our users saw the need. Open an issue on our issues list on GitHub which describes the feature you would like to see, why you need it, and how it should work. + +[source: [Elasticsearch](https://github.com/elastic/elasticsearch/blob/master/CONTRIBUTING.md#feature-requests)] **Need more inspiration?** [1] [Hoodie](https://github.com/hoodiehq/hoodie/blob/master/CONTRIBUTING.md#feature-requests) [2] [Ember.js](https://github.com/emberjs/ember.js/blob/master/CONTRIBUTING.md#requesting-a-feature) + +# Code review process +### Explain how a contribution gets accepted after it’s been submitted. +Who reviews it? Who needs to sign off before it’s accepted? When should a contributor expect to hear from you? How can contributors get commit access, if at all? + +> The core team looks at Pull Requests on a regular basis in a weekly triage meeting that we hold in a public Google Hangout. The hangout is announced in the weekly status updates that are sent to the puppet-dev list. Notes are posted to the Puppet Community community-triage repo and include a link to a YouTube recording of the hangout. +> After feedback has been given we expect responses within two weeks. After two weeks we may close the pull request if it isn't showing any activity. + +[source: [Puppet](https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md#submitting-changes)] **Need more inspiration?** [1] [Meteor](https://meteor.hackpad.com/Responding-to-GitHub-Issues-SKE2u3tkSiH ) [2] [Express.js](https://github.com/expressjs/express/blob/master/Contributing.md#becoming-a-committer) + +# Community +If there are other channels you use besides GitHub to discuss contributions, mention them here. You can also list the author, maintainers, and/or contributors here, or set expectations for response time. + +> You can chat with the core team on https://gitter.im/cucumber/cucumber. We try to have office hours on Fridays. + +[source: [cucumber-ruby](https://github.com/cucumber/cucumber-ruby/blob/master/CONTRIBUTING.md#talking-with-other-devs)] **Need more inspiration?** + [1] [Chef](https://github.com/chef/chef/blob/master/CONTRIBUTING.md#-developer-office-hours) [2] [Cookiecutter](https://github.com/audreyr/cookiecutter#community) + +# BONUS: Code, commit message and labeling conventions +These sections are not necessary, but can help streamline the contributions you receive. + +### Explain your preferred style for code, if you have any. + +**Need inspiration?** [1] [Requirejs](http://requirejs.org/docs/contributing.html#codestyle) [2] [Elasticsearch](https://github.com/elastic/elasticsearch/blob/master/CONTRIBUTING.md#contributing-to-the-elasticsearch-codebase) + +### Explain if you use any commit message conventions. + +**Need inspiration?** [1] [Angular](https://github.com/angular/material/blob/master/.github/CONTRIBUTING.md#submit) [2] [Node.js](https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit) + +### Explain if you use any labeling conventions for issues. + +**Need inspiration?** [1] [StandardIssueLabels](https://github.com/wagenet/StandardIssueLabels#standardissuelabels) [2] [Atom](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#issue-and-pull-request-labels) + +[XDG]: https://www.freedesktop.org/wiki/Specifications/ +[LSB]: https://refspecs.linuxfoundation.org/lsb.shtml +[FHS]: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html diff --git a/JSON/Makefile b/JSON/Makefile index a58f217..672ce49 100644 --- a/JSON/Makefile +++ b/JSON/Makefile @@ -1,26 +1,32 @@ #!/usr/bin/make -f +# -*- mode: makefile-gmake; coding: utf-8 -*- include ../i-nex.mk +all: compile-i-nex-edid set-executable-i-nex-edid + make: make-binary make-binary: compile-i-nex-edid compile-i-nex-edid: - @echo -e '$(OK_COLOR)Compile i-nex-edid $(OK_STRING)$(NO_COLOR)' + @echo -e '$(OK_COLOR)Compiling EDID parser... $(OK_STRING)$(NO_COLOR)' $(CC) -o i-nex-edid i-nex-edid.c $(CFLAGS) $(additional_confflags) install: install-set-executables install-bin install-set-executables: set-executable-i-nex-edid set-executable-i-nex-edid: - chmod 0755 i-nex-edid + chmod 0755 $(CURDIR)/i-nex-edid install-bin: install-bin-i-nex-edid install-bin-i-nex-edid: - install -D --mode=0755 --target-directory=$(DESTDIR)$(bindir) i-nex-edid + $(INSTALL_DM)0755 -t $(DESTDIR)$(bindir) $(CURDIR)/i-nex-edid clean: - @echo -e '$(ACTION_COLOR)Clean JSON$(NO_COLOR)' - $(RM_COM) $(RMFILE_OPT) i-nex-edid + @echo -e '$(ACTION_COLOR)Cleaning EDID parser build directory...$(NO_COLOR)' + $(RM) $(CURDIR)/i-nex-edid + +.PHONY: all make make-binary install install-set-executables \ + set-executable-i-nex-edid install-bin install-bin-i-nex-edid clean diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..4857566 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,156 @@ +# GNU LESSER GENERAL PUBLIC LICENSE + +Version 3, 29 June 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + + +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. + +This version of the GNU Lesser General Public License incorporates the +terms and conditions of version 3 of the GNU General Public License, +supplemented by the additional permissions listed below. + +## 0. Additional Definitions + +As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the +GNU General Public License. + +"The Library" refers to a covered work governed by this License, other +than an Application or a Combined Work as defined below. + +An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + +A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + +The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + +The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + +## 1. Exception to Section 3 of the GNU GPL + +You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + +## 2. Conveying Modified Versions + +If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + +- a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs whatever + part of its purpose remains meaningful, or +- b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + +## 3. Object Code Incorporating Material from Library Header Files + +The object code form of an Application may incorporate material from a +header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + +- a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are covered + by this License. +- b) Accompany the object code with a copy of the GNU GPL and this + license document. + +## 4. Combined Works + +You may convey a Combined Work under terms of your choice that, taken +together, effectively do not restrict modification of the portions of +the Library contained in the Combined Work and reverse engineering for +debugging such modifications, if you also do each of the following: + +- a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. +- b) Accompany the Combined Work with a copy of the GNU GPL and this + license document. +- c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among these + notices, as well as a reference directing the user to the copies of + the GNU GPL and this license document. +- d) Do one of the following: + - 0) Convey the Minimal Corresponding Source under the terms of + this License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to recombine + or relink the Application with a modified version of the Linked + Version to produce a modified Combined Work, in the manner + specified by section 6 of the GNU GPL for conveying + Corresponding Source. + - 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time a + copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version of + the Library that is interface-compatible with the Linked + Version. +- e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the GNU + GPL, and only to the extent that such information is necessary to + install and execute a modified version of the Combined Work produced + by recombining or relinking the Application with a modified version + of the Linked Version. (If you use option 4d0, the Installation + Information must accompany the Minimal Corresponding Source and + Corresponding Application Code. If you use option 4d1, you must + provide the Installation Information in the manner specified by + section 6 of the GNU GPL for conveying Corresponding Source.) + +## 5. Combined Libraries + +You may place library facilities that are a work based on the Library +side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + +- a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. +- b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + +## 6. Revised Versions of the GNU Lesser General Public License + +The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +as you received it specifies that a certain numbered version of the +GNU Lesser General Public License "or any later version" applies to +it, you have the option of following the terms and conditions either +of that published version or of any later version published by the +Free Software Foundation. If the Library as you received it does not +specify a version number of the GNU Lesser General Public License, you +may choose any version of the GNU Lesser General Public License ever +published by the Free Software Foundation. + +If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt new file mode 100644 index 0000000..0e259d4 --- /dev/null +++ b/LICENSES/CC0-1.0.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt new file mode 100644 index 0000000..5990771 --- /dev/null +++ b/LICENSES/GPL-3.0-or-later.txt @@ -0,0 +1,604 @@ +GNU GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +Preamble + +The GNU General Public License is a free, copyleft license for software and +other kinds of works. + +The licenses for most software and other practical works are designed to take +away your freedom to share and change the works. By contrast, the GNU General +Public License is intended to guarantee your freedom to share and change all +versions of a program--to make sure it remains free software for all its users. +We, the Free Software Foundation, use the GNU General Public License for most +of our software; it applies also to any other work released this way by its +authors. You can apply it to your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom +to distribute copies of free software (and charge for them if you wish), that +you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs, and that you know you +can do these things. + +To protect your rights, we need to prevent others from denying you these rights +or asking you to surrender the rights. Therefore, you have certain responsibilities +if you distribute copies of the software, or if you modify it: responsibilities +to respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or +for a fee, you must pass on to the recipients the same freedoms that you received. +You must make sure that they, too, receive or can get the source code. And +you must show them these terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert +copyright on the software, and (2) offer you this License giving you legal +permission to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that +there is no warranty for this free software. For both users' and authors' +sake, the GPL requires that modified versions be marked as changed, so that +their problems will not be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified +versions of the software inside them, although the manufacturer can do so. +This is fundamentally incompatible with the aim of protecting users' freedom +to change the software. The systematic pattern of such abuse occurs in the +area of products for individuals to use, which is precisely where it is most +unacceptable. Therefore, we have designed this version of the GPL to prohibit +the practice for those products. If such problems arise substantially in other +domains, we stand ready to extend this provision to those domains in future +versions of the GPL, as needed to protect the freedom of users. + +Finally, every program is threatened constantly by software patents. States +should not allow patents to restrict development and use of software on general-purpose +computers, but in those that do, we wish to avoid the special danger that +patents applied to a free program could make it effectively proprietary. To +prevent this, the GPL assures that patents cannot be used to render the program +non-free. + +The precise terms and conditions for copying, distribution and modification +follow. + +TERMS AND CONDITIONS + +0. Definitions. + +“This License” refers to version 3 of the GNU General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of works, +such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this License. +Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals +or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in +a fashion requiring copyright permission, other than the making of an exact +copy. The resulting work is called a “modified version” of the earlier work +or a work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on the +Program. + +To “propagate” a work means to do anything with it that, without permission, +would make you directly or secondarily liable for infringement under applicable +copyright law, except executing it on a computer or modifying a private copy. +Propagation includes copying, distribution (with or without modification), +making available to the public, and in some countries other activities as +well. + +To “convey” a work means any kind of propagation that enables other parties +to make or receive copies. Mere interaction with a user through a computer +network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the +extent that it includes a convenient and prominently visible feature that +(1) displays an appropriate copyright notice, and (2) tells the user that +there is no warranty for the work (except to the extent that warranties are +provided), that licensees may convey the work under this License, and how +to view a copy of this License. If the interface presents a list of user commands +or options, such as a menu, a prominent item in the list meets this criterion. + +1. Source Code. +The “source code” for a work means the preferred form of the work for making +modifications to it. “Object code” means any non-source form of a work. + +A “Standard Interface” means an interface that either is an official standard +defined by a recognized standards body, or, in the case of interfaces specified +for a particular programming language, one that is widely used among developers +working in that language. + +The “System Libraries” of an executable work include anything, other than +the work as a whole, that (a) is included in the normal form of packaging +a Major Component, but which is not part of that Major Component, and (b) +serves only to enable use of the work with that Major Component, or to implement +a Standard Interface for which an implementation is available to the public +in source code form. A “Major Component”, in this context, means a major essential +component (kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to produce +the work, or an object code interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all the source +code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. +However, it does not include the work's System Libraries, or general-purpose +tools or generally available free programs which are used unmodified in performing +those activities but which are not part of the work. For example, Corresponding +Source includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically linked +subprograms that the work is specifically designed to require, such as by +intimate data communication or control flow between those subprograms and +other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +2. Basic Permissions. +All rights granted under this License are granted for the term of copyright +on the Program, and are irrevocable provided the stated conditions are met. +This License explicitly affirms your unlimited permission to run the unmodified +Program. The output from running a covered work is covered by this License +only if the output, given its content, constitutes a covered work. This License +acknowledges your rights of fair use or other equivalent, as provided by copyright +law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey +covered works to others for the sole purpose of having them make modifications +exclusively for you, or provide you with facilities for running those works, +provided that you comply with the terms of this License in conveying all material +for which you do not control copyright. Those thus making or running the covered +works for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of your copyrighted +material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under the conditions +stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. +No covered work shall be deemed part of an effective technological measure +under any applicable law fulfilling obligations under article 11 of the WIPO +copyright treaty adopted on 20 December 1996, or similar laws prohibiting +or restricting circumvention of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention +of technological measures to the extent such circumvention is effected by +exercising rights under this License with respect to the covered work, and +you disclaim any intention to limit operation or modification of the work +as a means of enforcing, against the work's users, your or third parties' +legal rights to forbid circumvention of technological measures. + +4. Conveying Verbatim Copies. +You may convey verbatim copies of the Program's source code as you receive +it, in any medium, provided that you conspicuously and appropriately publish +on each copy an appropriate copyright notice; keep intact all notices stating +that this License and any non-permissive terms added in accord with section +7 apply to the code; keep intact all notices of the absence of any warranty; +and give all recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you +may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. +You may convey a work based on the Program, or the modifications to produce +it from the Program, in the form of source code under the terms of section +4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified it, and +giving a relevant date. + +b) The work must carry prominent notices stating that it is released under +this License and any conditions added under section 7. This requirement modifies +the requirement in section 4 to “keep intact all notices”. + +c) You must license the entire work, as a whole, under this License to anyone +who comes into possession of a copy. This License will therefore apply, along +with any applicable section 7 additional terms, to the whole of the work, +and all its parts, regardless of how they are packaged. This License gives +no permission to license the work in any other way, but it does not invalidate +such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display Appropriate +Legal Notices; however, if the Program has interactive interfaces that do +not display Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, +which are not by their nature extensions of the covered work, and which are +not combined with it such as to form a larger program, in or on a volume of +a storage or distribution medium, is called an “aggregate” if the compilation +and its resulting copyright are not used to limit the access or legal rights +of the compilation's users beyond what the individual works permit. Inclusion +of a covered work in an aggregate does not cause this License to apply to +the other parts of the aggregate. + +6. Conveying Non-Source Forms. +You may convey a covered work in object code form under the terms of sections +4 and 5, provided that you also convey the machine-readable Corresponding +Source under the terms of this License, in one of these ways: + +a) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by the Corresponding Source fixed +on a durable physical medium customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product (including +a physical distribution medium), accompanied by a written offer, valid for +at least three years and valid for as long as you offer spare parts or customer +support for that product model, to give anyone who possesses the object code +either (1) a copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical medium customarily +used for software interchange, for a price no more than your reasonable cost +of physically performing this conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the written +offer to provide the Corresponding Source. This alternative is allowed only +occasionally and noncommercially, and only if you received the object code +with such an offer, in accord with subsection 6b. + +d) Convey the object code by offering access from a designated place (gratis +or for a charge), and offer equivalent access to the Corresponding Source +in the same way through the same place at no further charge. You need not +require recipients to copy the Corresponding Source along with the object +code. If the place to copy the object code is a network server, the Corresponding +Source may be on a different server (operated by you or a third party) that +supports equivalent copying facilities, provided you maintain clear directions +next to the object code saying where to find the Corresponding Source. Regardless +of what server hosts the Corresponding Source, you remain obligated to ensure +that it is available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided you inform +other peers where the object code and Corresponding Source of the work are +being offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from +the Corresponding Source as a System Library, need not be included in conveying +the object code work. + +A “User Product” is either (1) a “consumer product”, which means any tangible +personal property which is normally used for personal, family, or household +purposes, or (2) anything designed or sold for incorporation into a dwelling. +In determining whether a product is a consumer product, doubtful cases shall +be resolved in favor of coverage. For a particular product received by a particular +user, “normally used” refers to a typical or common use of that class of product, +regardless of the status of the particular user or of the way in which the +particular user actually uses, or expects or is expected to use, the product. +A product is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent the +only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, procedures, +authorization keys, or other information required to install and execute modified +versions of a covered work in that User Product from a modified version of +its Corresponding Source. The information must suffice to ensure that the +continued functioning of the modified object code is in no case prevented +or interfered with solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically +for use in, a User Product, and the conveying occurs as part of a transaction +in which the right of possession and use of the User Product is transferred +to the recipient in perpetuity or for a fixed term (regardless of how the +transaction is characterized), the Corresponding Source conveyed under this +section must be accompanied by the Installation Information. But this requirement +does not apply if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has been installed +in ROM). + +The requirement to provide Installation Information does not include a requirement +to continue to provide support service, warranty, or updates for a work that +has been modified or installed by the recipient, or for the User Product in +which it has been modified or installed. Access to a network may be denied +when the modification itself materially and adversely affects the operation +of the network or violates the rules and protocols for communication across +the network. + +Corresponding Source conveyed, and Installation Information provided, in accord +with this section must be in a format that is publicly documented (and with +an implementation available to the public in source code form), and must require +no special password or key for unpacking, reading or copying. + +7. Additional Terms. +“Additional permissions” are terms that supplement the terms of this License +by making exceptions from one or more of its conditions. Additional permissions +that are applicable to the entire Program shall be treated as though they +were included in this License, to the extent that they are valid under applicable +law. If additional permissions apply only to part of the Program, that part +may be used separately under those permissions, but the entire Program remains +governed by this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when +you modify the work.) You may place additional permissions on material, added +by you to a covered work, for which you have or can give appropriate copyright +permission. + +Notwithstanding any other provision of this License, for material you add +to a covered work, you may (if authorized by the copyright holders of that +material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed +by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or requiring +that modified versions of such material be marked in reasonable ways as different +from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or authors +of the material; or + +e) Declining to grant rights under trademark law for use of some trade names, +trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that material by +anyone who conveys the material (or modified versions of it) with contractual +assumptions of liability to the recipient, for any liability that these contractual +assumptions directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further restrictions” +within the meaning of section 10. If the Program as you received it, or any +part of it, contains a notice stating that it is governed by this License +along with a term that is a further restriction, you may remove that term. +If a license document contains a further restriction but permits relicensing +or conveying under this License, you may add to a covered work material governed +by the terms of that license document, provided that the further restriction +does not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, +in the relevant source files, a statement of the additional terms that apply +to those files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form +of a separately written license, or stated as exceptions; the above requirements +apply either way. + +8. Termination. +You may not propagate or modify a covered work except as expressly provided +under this License. Any attempt otherwise to propagate or modify it is void, +and will automatically terminate your rights under this License (including +any patent licenses granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from +a particular copyright holder is reinstated (a) provisionally, unless and +until the copyright holder explicitly and finally terminates your license, +and (b) permanently, if the copyright holder fails to notify you of the violation +by some reasonable means prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently +if the copyright holder notifies you of the violation by some reasonable means, +this is the first time you have received notice of violation of this License +(for any work) from that copyright holder, and you cure the violation prior +to 30 days after your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses +of parties who have received copies or rights from you under this License. +If your rights have been terminated and not permanently reinstated, you do +not qualify to receive new licenses for the same material under section 10. + +9. Acceptance Not Required for Having Copies. +You are not required to accept this License in order to receive or run a copy +of the Program. Ancillary propagation of a covered work occurring solely as +a consequence of using peer-to-peer transmission to receive a copy likewise +does not require acceptance. However, nothing other than this License grants +you permission to propagate or modify any covered work. These actions infringe +copyright if you do not accept this License. Therefore, by modifying or propagating +a covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. +Each time you convey a covered work, the recipient automatically receives +a license from the original licensors, to run, modify and propagate that work, +subject to this License. You are not responsible for enforcing compliance +by third parties with this License. + +An “entity transaction” is a transaction transferring control of an organization, +or substantially all assets of one, or subdividing an organization, or merging +organizations. If propagation of a covered work results from an entity transaction, +each party to that transaction who receives a copy of the work also receives +whatever licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the Corresponding +Source of the work from the predecessor in interest, if the predecessor has +it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights +granted or affirmed under this License. For example, you may not impose a +license fee, royalty, or other charge for exercise of rights granted under +this License, and you may not initiate litigation (including a cross-claim +or counterclaim in a lawsuit) alleging that any patent claim is infringed +by making, using, selling, offering for sale, or importing the Program or +any portion of it. + +11. Patents. +A “contributor” is a copyright holder who authorizes use under this License +of the Program or a work on which the Program is based. The work thus licensed +is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or controlled +by the contributor, whether already acquired or hereafter acquired, that would +be infringed by some manner, permitted by this License, of making, using, +or selling its contributor version, but do not include claims that would be +infringed only as a consequence of further modification of the contributor +version. For purposes of this definition, “control” includes the right to +grant patent sublicenses in a manner consistent with the requirements of this +License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent +license under the contributor's essential patent claims, to make, use, sell, +offer for sale, import and otherwise run, modify and propagate the contents +of its contributor version. + +In the following three paragraphs, a “patent license” is any express agreement +or commitment, however denominated, not to enforce a patent (such as an express +permission to practice a patent or covenant not to sue for patent infringement). +To “grant” such a patent license to a party means to make such an agreement +or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free +of charge and under the terms of this License, through a publicly available +network server or other readily accessible means, then you must either (1) +cause the Corresponding Source to be so available, or (2) arrange to deprive +yourself of the benefit of the patent license for this particular work, or +(3) arrange, in a manner consistent with the requirements of this License, +to extend the patent license to downstream recipients. “Knowingly relying” +means you have actual knowledge that, but for the patent license, your conveying +the covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that country +that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, +you convey, or propagate by procuring conveyance of, a covered work, and grant +a patent license to some of the parties receiving the covered work authorizing +them to use, propagate, modify or convey a specific copy of the covered work, +then the patent license you grant is automatically extended to all recipients +of the covered work and works based on it. + +A patent license is “discriminatory” if it does not include within the scope +of its coverage, prohibits the exercise of, or is conditioned on the non-exercise +of one or more of the rights that are specifically granted under this License. +You may not convey a covered work if you are a party to an arrangement with +a third party that is in the business of distributing software, under which +you make payment to the third party based on the extent of your activity of +conveying the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory patent +license (a) in connection with copies of the covered work conveyed by you +(or copies made from those copies), or (b) primarily for and in connection +with specific products or compilations that contain the covered work, unless +you entered into that arrangement, or that patent license was granted, prior +to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied +license or other defenses to infringement that may otherwise be available +to you under applicable patent law. + +12. No Surrender of Others' Freedom. +If conditions are imposed on you (whether by court order, agreement or otherwise) +that contradict the conditions of this License, they do not excuse you from +the conditions of this License. If you cannot convey a covered work so as +to satisfy simultaneously your obligations under this License and any other +pertinent obligations, then as a consequence you may not convey it at all. +For example, if you agree to terms that obligate you to collect a royalty +for further conveying from those to whom you convey the Program, the only +way you could satisfy both those terms and this License would be to refrain +entirely from conveying the Program. + +13. Use with the GNU Affero General Public License. +Notwithstanding any other provision of this License, you have permission to +link or combine any covered work with a work licensed under version 3 of the +GNU Affero General Public License into a single combined work, and to convey +the resulting work. The terms of this License will continue to apply to the +part which is the covered work, but the special requirements of the GNU Affero +General Public License, section 13, concerning interaction through a network +will apply to the combination as such. + +14. Revised Versions of this License. +The Free Software Foundation may publish revised and/or new versions of the +GNU General Public License from time to time. Such new versions will be similar +in spirit to the present version, but may differ in detail to address new +problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies +that a certain numbered version of the GNU General Public License “or any +later version” applies to it, you have the option of following the terms and +conditions either of that numbered version or of any later version published +by the Free Software Foundation. If the Program does not specify a version +number of the GNU General Public License, you may choose any version ever +published by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future versions of +the GNU General Public License can be used, that proxy's public statement +of acceptance of a version permanently authorizes you to choose that version +for the Program. + +Later license versions may give you additional or different permissions. However, +no additional obligations are imposed on any author or copyright holder as +a result of your choosing to follow a later version. + +15. Disclaimer of Warranty. +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE +LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM +PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +16. Limitation of Liability. +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM +AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO +USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED +INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE +PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. +If the disclaimer of warranty and limitation of liability provided above cannot +be given local legal effect according to their terms, reviewing courts shall +apply local law that most closely approximates an absolute waiver of all civil +liability in connection with the Program, unless a warranty or assumption +of liability accompanies a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively state the exclusion +of warranty; and each file should have at least the “copyright” line and a +pointer to where the full notice is found. + + + Copyright (C) + +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 3 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 . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like +this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +This is free software, and you are welcome to redistribute it under certain +conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands might +be different; for a GUI interface, you would use an “about box”. + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a “copyright disclaimer” for the program, if necessary. For +more information on this, and how to apply and follow the GNU GPL, see . + +The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General Public +License instead of this License. But first, please read . diff --git a/LICENSES/LGPL-3.0-or-later.txt b/LICENSES/LGPL-3.0-or-later.txt new file mode 100644 index 0000000..9e2e9f7 --- /dev/null +++ b/LICENSES/LGPL-3.0-or-later.txt @@ -0,0 +1,144 @@ +GNU LESSER GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +This version of the GNU Lesser General Public License incorporates the terms +and conditions of version 3 of the GNU General Public License, supplemented +by the additional permissions listed below. + +0. Additional Definitions. + +As used herein, "this License" refers to version 3 of the GNU Lesser General +Public License, and the "GNU GPL" refers to version 3 of the GNU General Public +License. + +"The Library" refers to a covered work governed by this License, other than +an Application or a Combined Work as defined below. + +An "Application" is any work that makes use of an interface provided by the +Library, but which is not otherwise based on the Library. Defining a subclass +of a class defined by the Library is deemed a mode of using an interface provided +by the Library. + +A "Combined Work" is a work produced by combining or linking an Application +with the Library. The particular version of the Library with which the Combined +Work was made is also called the "Linked Version". + +The "Minimal Corresponding Source" for a Combined Work means the Corresponding +Source for the Combined Work, excluding any source code for portions of the +Combined Work that, considered in isolation, are based on the Application, +and not on the Linked Version. + +The "Corresponding Application Code" for a Combined Work means the object +code and/or source code for the Application, including any data and utility +programs needed for reproducing the Combined Work from the Application, but +excluding the System Libraries of the Combined Work. + +1. Exception to Section 3 of the GNU GPL. +You may convey a covered work under sections 3 and 4 of this License without +being bound by section 3 of the GNU GPL. + +2. Conveying Modified Versions. +If you modify a copy of the Library, and, in your modifications, a facility +refers to a function or data to be supplied by an Application that uses the +facility (other than as an argument passed when the facility is invoked), +then you may convey a copy of the modified version: + +a) under this License, provided that you make a good faith effort to ensure +that, in the event an Application does not supply the function or data, the +facility still operates, and performs whatever part of its purpose remains +meaningful, or + +b) under the GNU GPL, with none of the additional permissions of this License +applicable to that copy. + +3. Object Code Incorporating Material from Library Header Files. +The object code form of an Application may incorporate material from a header +file that is part of the Library. You may convey such object code under terms +of your choice, provided that, if the incorporated material is not limited +to numerical parameters, data structure layouts and accessors, or small macros, +inline functions and templates (ten or fewer lines in length), you do both +of the following: + +a) Give prominent notice with each copy of the object code that the Library +is used in it and that the Library and its use are covered by this License. + +b) Accompany the object code with a copy of the GNU GPL and this license document. + +4. Combined Works. +You may convey a Combined Work under terms of your choice that, taken together, +effectively do not restrict modification of the portions of the Library contained +in the Combined Work and reverse engineering for debugging such modifications, +if you also do each of the following: + +a) Give prominent notice with each copy of the Combined Work that the Library +is used in it and that the Library and its use are covered by this License. + +b) Accompany the Combined Work with a copy of the GNU GPL and this license +document. + +c) For a Combined Work that displays copyright notices during execution, include +the copyright notice for the Library among these notices, as well as a reference +directing the user to the copies of the GNU GPL and this license document. + + d) Do one of the following: + +0) Convey the Minimal Corresponding Source under the terms of this License, +and the Corresponding Application Code in a form suitable for, and under terms +that permit, the user to recombine or relink the Application with a modified +version of the Linked Version to produce a modified Combined Work, in the +manner specified by section 6 of the GNU GPL for conveying Corresponding Source. + +1) Use a suitable shared library mechanism for linking with the Library. +A suitable mechanism is one that (a) uses at run time a copy of the Library +already present on the user's computer system, and (b) will operate properly +with a modified version of the Library that is interface-compatible with the +Linked Version. + +e) Provide Installation Information, but only if you would otherwise be required +to provide such information under section 6 of the GNU GPL, and only to the +extent that such information is necessary to install and execute a modified +version of the Combined Work produced by recombining or relinking the Application +with a modified version of the Linked Version. (If you use option 4d0, the +Installation Information must accompany the Minimal Corresponding Source and +Corresponding Application Code. If you use option 4d1, you must provide the +Installation Information in the manner specified by section 6 of the GNU GPL +for conveying Corresponding Source.) + +5. Combined Libraries. +You may place library facilities that are a work based on the Library side +by side in a single library together with other library facilities that are +not Applications and are not covered by this License, and convey such a combined +library under terms of your choice, if you do both of the following: + +a) Accompany the combined library with a copy of the same work based on the +Library, uncombined with any other library facilities, conveyed under the +terms of this License. + +b) Give prominent notice with the combined library that part of it is a work +based on the Library, and explaining where to find the accompanying uncombined +form of the same work. + +6. Revised Versions of the GNU Lesser General Public License. +The Free Software Foundation may publish revised and/or new versions of the +GNU Lesser General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to address +new problems or concerns. + +Each version is given a distinguishing version number. If the Library as you +received it specifies that a certain numbered version of the GNU Lesser General +Public License "or any later version" applies to it, you have the option of +following the terms and conditions either of that published version or of +any later version published by the Free Software Foundation. If the Library +as you received it does not specify a version number of the GNU Lesser General +Public License, you may choose any version of the GNU Lesser General Public +License ever published by the Free Software Foundation. + +If the Library as you received it specifies that a proxy can decide whether +future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is permanent +authorization for you to choose that version for the Library. diff --git a/LICENSES/LicenseRef-AMD-Disclaimer.txt b/LICENSES/LicenseRef-AMD-Disclaimer.txt new file mode 100644 index 0000000..58e6fa0 --- /dev/null +++ b/LICENSES/LicenseRef-AMD-Disclaimer.txt @@ -0,0 +1,10 @@ +THESE PROPRIETARY LOGOS, SERVICE MARKS AND TRADEMARKS ARE PROVIDED "AS IS" +WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF +MERCHANTABILITY, NON-INFRINGEMENT OF INTELLECTUAL PROPERTY, OR FITNESS FOR ANY +PARTICULAR PURPOSE. IN NO EVENT SHALL AMD OR ITS SUPPLIERS BE LIABLE FOR ANY +DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, +BUSINESS INTERRUPTION, LOSS OF INFORMATION, INDIRECT, CONSEQUENTIAL OR PUNITIVE +DAMAGES) ARISING OUT OF THE USE OF OR INABILITY TO USE THE MATERIALS, EVEN IF +AMD HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. AMD and its suppliers +further do not warrant the accuracy or completeness of the information, text, +graphics, links or other items contained within this package. diff --git a/LICENSES/LicenseRef-Intel-Acknowledgment.txt b/LICENSES/LicenseRef-Intel-Acknowledgment.txt new file mode 100644 index 0000000..b040f04 --- /dev/null +++ b/LICENSES/LicenseRef-Intel-Acknowledgment.txt @@ -0,0 +1,14 @@ +3D XPoint, Altera, APEX, AnyWAN, Arria, Avalon, Axxia, BunnyPeople, Celeron, +Cilk, CONVERGATE, Cyclone, Docea, eASIC, easicopy, Enpirion, Hyperflex, Intel, +the Intel logo, Intel Adaptix, Intel Agilex, Intel Atom, Intel CoFluent, Intel +Core, Intel Inside, the Intel Inside logo, Intel Nervana, Intel Optane, Intel +RealSense, Intel Shooting Star, Intel Sirius, Intel SpeedStep, Intel Unite, +Intel vPro, Intel Xeon Phi, Iris, Itanium, MAX, Movidius, Myriad, neon, Nios, +OpenVINO, the OpenVINO logo, Pentium, Puma, Quark, Quartus, SICOFI, Simics, +SoftSilicon, Sound Mark, StarPro, Stratix, the Stratix logo, Stay With It, the +Engineering Stay With It logo, StreamSight, Tarari, The Journey Inside, +Thunderbolt, the Thunderbolt logo, Tofino, Transcede, Ultrabook, VTune, and +Xeon logos and other brand artwork are trademarks of Intel Corporation or its +subsidiaries. All rights reserved. + +Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052-8119, USA. diff --git a/LICENSES/LicenseRef-NVIDIA-Disclaimer.txt b/LICENSES/LicenseRef-NVIDIA-Disclaimer.txt new file mode 100644 index 0000000..d401ea9 --- /dev/null +++ b/LICENSES/LicenseRef-NVIDIA-Disclaimer.txt @@ -0,0 +1,42 @@ +Copyright © 1997-2004 NVIDIA Corporation. All rights reserved. +NVIDIA Corporation, 2701 San Tomas Expressway Santa Clara, CA 95050, USA. + +NVIDIA, the NVIDIA logo, 3D Play, 3D Vision Pro, 4-Plus-1, APEX, BattleBox, +BFGD, Big Format Gaming Display, CUDA, Dabbler, DALI, DGX Station, DirectStylus, +DirectTouch, Game Ready, GameStream, Geared For Gaming, GeForce, GeForce +Experience, GeForce GTX, GeForce RTX, GPUDirect, G-SYNC, GRID LINK, GRID VGX, +IceClear, ICERA, I AM AI, Iray, Jetson, Jetson AGX Xavier, Kepler, Made To Game, +Maximus, Mental Ray, NSIST on NVIDIA, nTersect, NVIDIA 3D Vision, NVIDIA AGX, +NVIDIA AutoWorks, NVIDIA BATTERY BOOST, NVIDIA BFGD, NVIDIA Big Format Gaming +Display, NVIDIA Business Platform, NVIDIA Clara, NVIDIA DALI, NVIDIA Denver, +NVIDIA DesignWorks, NVIDIA DGX, NVIDIA DGX POD, NVIDIA DGX Superpod, NVIDIA +DRIVE, NVIDIA DRIVE Autopilot, NVIDIA DRIVE Constellation, NVIDIA DRIVE +Hyperion, NVIDIA DRIVE Sim, NVIDIA GameWorks, NVIDIA GPU BOOST, NVIDIA GPU +CLOUD, NVIDIA GRID, NVIDIA GRID vGPU, NVIDIA G-SYNC, NVIDIA HGX, NVIDIA +Holodeck, NVIDIA IndeX, NVIDIA Isaac, NVIDIA Isaac SDK, NVIDIA Isaac SIM, NVIDIA +Jetpack, NVIDIA Kepler, NVIDIA Maglev, NVIDIA Maximus, NVIDIA Maxwell, NVIDIA +nForce, NVIDIA OptiX, NVIDIA Orin, NVIDIA PartnerForce, NVIDIA PureAudio, NVIDIA +Quadro, NVIDIA RTX, NVIDIA SHIELD, NVIDIA SLI, NVIDIA SLI Ready, NVIDIA Slide +Cover, NVIDIA SPOT, NVIDIA Tegra, NVIDIA Turing, nView, NVLink, NVS, NVSwitch, +OpenACC, Openautomate, Optimus, OptiX, Pascal, Pegasus, PGI, PGI Visual Fortran, +PhysX, Quadro, Quadro Experience, Quadro RTX, RealityServer, SceniX, Shadowplay, +SHIELD, SLI, Surround, Tegra, Tegra NOTE, TegraZone, TensorRT, Tesla, The Way +It's Meant to be Played, TWIMTBP, ULMB, vGPU, Vibrante, VisionWorks, +VirtualLink, VRLync, and Xavier are trademarks and/or registered trademarks of +NVIDIA Corporation in the U.S. and/or other countries. Other company and product +names may be trademarks of the respective companies with which they are +associated. + +THESE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF +ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT OF +INTELLECTUAL PROPERTY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT SHALL +NVIDIA OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT +LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, LOSS OF +INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE THE MATERIALS, EVEN +IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME +JURISDICTIONS PROHIBIT THE EXCLUSION OR LIMITATION OF LIABILITY FOR +CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY TO YOU. +NVIDIA does not warrant the accuracy or completeness of the information, text, +graphics, links or other items contained within these materials. NVIDIA may make +changes to these materials, or to the products described therein, at any time +without notice, but makes no commitment to update the Materials. diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..f0fd20a --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,20 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/LICENSES/MPL-2.0.txt b/LICENSES/MPL-2.0.txt new file mode 100644 index 0000000..d231cff --- /dev/null +++ b/LICENSES/MPL-2.0.txt @@ -0,0 +1,292 @@ +Mozilla Public License Version 2.0 + +1. Definitions + +1.1. "Contributor" means each individual or legal entity that creates, contributes +to the creation of, or owns Covered Software. + +1.2. "Contributor Version" means the combination of the Contributions of others +(if any) used by a Contributor and that particular Contributor's Contribution. + + 1.3. "Contribution" means Covered Software of a particular Contributor. + +1.4. "Covered Software" means Source Code Form to which the initial Contributor +has attached the notice in Exhibit A, the Executable Form of such Source Code +Form, and Modifications of such Source Code Form, in each case including portions +thereof. + + 1.5. "Incompatible With Secondary Licenses" means + +(a) that the initial Contributor has attached the notice described in Exhibit +B to the Covered Software; or + +(b) that the Covered Software was made available under the terms of version +1.1 or earlier of the License, but not also under the terms of a Secondary +License. + +1.6. "Executable Form" means any form of the work other than Source Code Form. + +1.7. "Larger Work" means a work that combines Covered Software with other +material, in a separate file or files, that is not Covered Software. + + 1.8. "License" means this document. + +1.9. "Licensable" means having the right to grant, to the maximum extent possible, +whether at the time of the initial grant or subsequently, any and all of the +rights conveyed by this License. + + 1.10. "Modifications" means any of the following: + +(a) any file in Source Code Form that results from an addition to, deletion +from, or modification of the contents of Covered Software; or + +(b) any new file in Source Code Form that contains any Covered Software. + +1.11. "Patent Claims" of a Contributor means any patent claim(s), including +without limitation, method, process, and apparatus claims, in any patent Licensable +by such Contributor that would be infringed, but for the grant of the License, +by the making, using, selling, offering for sale, having made, import, or +transfer of either its Contributions or its Contributor Version. + +1.12. "Secondary License" means either the GNU General Public License, Version +2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero General +Public License, Version 3.0, or any later versions of those licenses. + +1.13. "Source Code Form" means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") means an individual or a legal entity exercising rights +under this License. For legal entities, "You" includes any entity that controls, +is controlled by, or is under common control with You. For purposes of this +definition, "control" means (a) the power, direct or indirect, to cause the +direction or management of such entity, whether by contract or otherwise, +or (b) ownership of more than fifty percent (50%) of the outstanding shares +or beneficial ownership of such entity. + +2. License Grants and Conditions + + 2.1. Grants +Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive +license: + +(a) under intellectual property rights (other than patent or trademark) Licensable +by such Contributor to use, reproduce, make available, modify, display, perform, +distribute, and otherwise exploit its Contributions, either on an unmodified +basis, with Modifications, or as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer for +sale, have made, import, and otherwise transfer either its Contributions or +its Contributor Version. + + 2.2. Effective Date +The licenses granted in Section 2.1 with respect to any Contribution become +effective for each Contribution on the date the Contributor first distributes +such Contribution. + + 2.3. Limitations on Grant Scope +The licenses granted in this Section 2 are the only rights granted under this +License. No additional rights or licenses will be implied from the distribution +or licensing of Covered Software under this License. Notwithstanding Section +2.1(b) above, no patent license is granted by a Contributor: + +(a) for any code that a Contributor has removed from Covered Software; or + +(b) for infringements caused by: (i) Your and any other third party's modifications +of Covered Software, or (ii) the combination of its Contributions with other +software (except as part of its Contributor Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of its +Contributions. + +This License does not grant any rights in the trademarks, service marks, or +logos of any Contributor (except as may be necessary to comply with the notice +requirements in Section 3.4). + + 2.4. Subsequent Licenses +No Contributor makes additional grants as a result of Your choice to distribute +the Covered Software under a subsequent version of this License (see Section +10.2) or under the terms of a Secondary License (if permitted under the terms +of Section 3.3). + + 2.5. Representation +Each Contributor represents that the Contributor believes its Contributions +are its original creation(s) or it has sufficient rights to grant the rights +to its Contributions conveyed by this License. + + 2.6. Fair Use +This License is not intended to limit any rights You have under applicable +copyright doctrines of fair use, fair dealing, or other equivalents. + + 2.7. Conditions +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in +Section 2.1. + +3. Responsibilities + + 3.1. Distribution of Source Form +All distribution of Covered Software in Source Code Form, including any Modifications +that You create or to which You contribute, must be under the terms of this +License. You must inform recipients that the Source Code Form of the Covered +Software is governed by the terms of this License, and how they can obtain +a copy of this License. You may not attempt to alter or restrict the recipients' +rights in the Source Code Form. + + 3.2. Distribution of Executable Form + If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code Form, +as described in Section 3.1, and You must inform recipients of the Executable +Form how they can obtain a copy of such Source Code Form by reasonable means +in a timely manner, at a charge no more than the cost of distribution to the +recipient; and + +(b) You may distribute such Executable Form under the terms of this License, +or sublicense it under different terms, provided that the license for the +Executable Form does not attempt to limit or alter the recipients' rights +in the Source Code Form under this License. + + 3.3. Distribution of a Larger Work +You may create and distribute a Larger Work under terms of Your choice, provided +that You also comply with the requirements of this License for the Covered +Software. If the Larger Work is a combination of Covered Software with a work +governed by one or more Secondary Licenses, and the Covered Software is not +Incompatible With Secondary Licenses, this License permits You to additionally +distribute such Covered Software under the terms of such Secondary License(s), +so that the recipient of the Larger Work may, at their option, further distribute +the Covered Software under the terms of either this License or such Secondary +License(s). + + 3.4. Notices +You may not remove or alter the substance of any license notices (including +copyright notices, patent notices, disclaimers of warranty, or limitations +of liability) contained within the Source Code Form of the Covered Software, +except that You may alter any license notices to the extent required to remedy +known factual inaccuracies. + + 3.5. Application of Additional Terms +You may choose to offer, and to charge a fee for, warranty, support, indemnity +or liability obligations to one or more recipients of Covered Software. However, +You may do so only on Your own behalf, and not on behalf of any Contributor. +You must make it absolutely clear that any such warranty, support, indemnity, +or liability obligation is offered by You alone, and You hereby agree to indemnify +every Contributor for any liability incurred by such Contributor as a result +of warranty, support, indemnity or liability terms You offer. You may include +additional disclaimers of warranty and limitations of liability specific to +any jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +If it is impossible for You to comply with any of the terms of this License +with respect to some or all of the Covered Software due to statute, judicial +order, or regulation then You must: (a) comply with the terms of this License +to the maximum extent possible; and (b) describe the limitations and the code +they affect. Such description must be placed in a text file included with +all distributions of the Covered Software under this License. Except to the +extent prohibited by statute or regulation, such description must be sufficiently +detailed for a recipient of ordinary skill to be able to understand it. + +5. Termination + +5.1. The rights granted under this License will terminate automatically if +You fail to comply with any of its terms. However, if You become compliant, +then the rights granted under this License from a particular Contributor are +reinstated (a) provisionally, unless and until such Contributor explicitly +and finally terminates Your grants, and (b) on an ongoing basis, if such Contributor +fails to notify You of the non-compliance by some reasonable means prior to +60 days after You have come back into compliance. Moreover, Your grants from +a particular Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the first +time You have received notice of non-compliance with this License from such +Contributor, and You become compliant prior to 30 days after Your receipt +of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent infringement +claim (excluding declaratory judgment actions, counter-claims, and cross-claims) +alleging that a Contributor Version directly or indirectly infringes any patent, +then the rights granted to You by any and all Contributors for the Covered +Software under Section 2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all end +user license agreements (excluding distributors and resellers) which have +been validly granted by You or Your distributors under this License prior +to termination shall survive termination. + +6. Disclaimer of Warranty +Covered Software is provided under this License on an "as is" basis, without +warranty of any kind, either expressed, implied, or statutory, including, +without limitation, warranties that the Covered Software is free of defects, +merchantable, fit for a particular purpose or non-infringing. The entire risk +as to the quality and performance of the Covered Software is with You. Should +any Covered Software prove defective in any respect, You (not any Contributor) +assume the cost of any necessary servicing, repair, or correction. This disclaimer +of warranty constitutes an essential part of this License. No use of any Covered +Software is authorized under this License except under this disclaimer. + +7. Limitation of Liability +Under no circumstances and under no legal theory, whether tort (including +negligence), contract, or otherwise, shall any Contributor, or anyone who +distributes Covered Software as permitted above, be liable to You for any +direct, indirect, special, incidental, or consequential damages of any character +including, without limitation, damages for lost profits, loss of goodwill, +work stoppage, computer failure or malfunction, or any and all other commercial +damages or losses, even if such party shall have been informed of the possibility +of such damages. This limitation of liability shall not apply to liability +for death or personal injury resulting from such party's negligence to the +extent applicable law prohibits such limitation. Some jurisdictions do not +allow the exclusion or limitation of incidental or consequential damages, +so this exclusion and limitation may not apply to You. + +8. Litigation +Any litigation relating to this License may be brought only in the courts +of a jurisdiction where the defendant maintains its principal place of business +and such litigation shall be governed by laws of that jurisdiction, without +reference to its conflict-of-law provisions. Nothing in this Section shall +prevent a party's ability to bring cross-claims or counter-claims. + +9. Miscellaneous +This License represents the complete agreement concerning the subject matter +hereof. If any provision of this License is held to be unenforceable, such +provision shall be reformed only to the extent necessary to make it enforceable. +Any law or regulation which provides that the language of a contract shall +be construed against the drafter shall not be used to construe this License +against a Contributor. + +10. Versions of the License + + 10.1. New Versions +Mozilla Foundation is the license steward. Except as provided in Section 10.3, +no one other than the license steward has the right to modify or publish new +versions of this License. Each version will be given a distinguishing version +number. + + 10.2. Effect of New Versions +You may distribute the Covered Software under the terms of the version of +the License under which You originally received the Covered Software, or under +the terms of any subsequent version published by the license steward. + + 10.3. Modified Versions +If you create software not governed by this License, and you want to create +a new license for such software, you may create and use a modified version +of this License if you rename the license and remove any references to the +name of the license steward (except to note that such modified license differs +from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses +If You choose to distribute Source Code Form that is Incompatible With Secondary +Licenses under the terms of this version of the License, the notice described +in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice + +This Source Code Form is subject to the terms of the Mozilla Public License, +v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain +one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular file, +then You may include the notice in a location (such as a LICENSE file in a +relevant directory) where a recipient would be likely to look for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice + +This Source Code Form is "Incompatible With Secondary Licenses", as defined +by the Mozilla Public License, v. 2.0. diff --git a/Makefile b/Makefile index c9a0726..76ec055 100755 --- a/Makefile +++ b/Makefile @@ -1,77 +1,80 @@ #!/usr/bin/make -f +# -*- mode: makefile-gmake; coding: utf-8 -*- include i-nex.mk +all: make + make: build-inex build-json -install: install-pixmaps install-desktop-files install-manpages \ - install-changelogs install-json install-inex install-udev-rule link-inex +install: install-inex install-json install-changelogs install-desktop-files \ + install-manpages install-pixmaps install-udev-rule link-inex -clean: clean-json clean-inex clean-all +clean: clean-inex clean-json distclean: clean + find . \( -name '.gambas' -o -name '*.gambas' -o -name '.directory' \) \ + -type d -execdir $(RM) $(RMDIR_OPT) '{}' \+ + cd I-Nex && $(RM) $(RMDIR_OPT) ./i-nex/.gambas ./autom4te.cache + cd I-Nex && $(RM) config.log config.status configure install-sh missing -sysclean: uninstall rmgambas +sysclean: + @echo -e '$(OK_BGCOLOR)Uninstalling I-Nex...$(NO_COLOR)' + $(MAKE) -C I-Nex uninstall build-inex: - @echo -e '\033[1;32mBuild I-Nex...\033[0m' + @echo -e '$(OK_BGCOLOR)Building I-Nex...$(NO_COLOR)' $(MAKE) -C I-Nex build-json: - @echo -e '\033[1;32mBuild JSON...\033[0m' + @echo -e '$(OK_BGCOLOR)Building EDID parser...$(NO_COLOR)' $(MAKE) -C JSON -install-desktop-files: - @echo -e '\033[1;32mCreate needed dirs...\033[0m' - install -D --mode=0644 \ - --target-directory=$(DESTDIR)$(PREFIX)/share/applications \ - debian/pl.linux.I_Nex.desktop - install -D --mode=0644 \ - --target-directory=$(DESTDIR)$(PREFIX)/share/metainfo \ - pl.linux.I_Nex.metainfo.xml - -install-pixmaps: - @echo -e '\033[1;32mInstall pixmaps...\033[0m' - $(MAKE) -C pixmaps install - -install-manpages: - @echo -e '\033[1;32mInstall manpages...\033[0m' - $(MAKE) --eval .NOTPARALLEL: -C manpages install +install-inex: build-inex + @echo -e '$(OK_BGCOLOR)Installing I-Nex...$(NO_COLOR)' + $(MAKE) -C I-Nex install install-json: build-json - @echo -e '\033[1;32mInstall JSON...\033[0m' + @echo -e '$(OK_BGCOLOR)Installing EDID parser...$(NO_COLOR)' $(MAKE) -C JSON install -install-inex: build-inex - @echo -e '\033[1;32mInstall I-Nex...\033[0m' - $(MAKE) -C I-Nex install - install-changelogs: - @echo -e '\033[1;32mInstalling Changelogs...\033[0m' - install -D --mode=0644 --target-directory=$(DESTDIR)$(PREFIX)$(DOCSDIR) \ - Changelog.md + @echo -e '$(OK_BGCOLOR)Installing Changelogs...$(NO_COLOR)' + $(INSTALL_DM)0644 -t $(DESTDIR)$(PREFIX)$(DOCSDIR) $(CURDIR)/Changelog.md -clean-json: - $(MAKE) -C JSON clean +install-desktop-files: + @echo -e '$(OK_BGCOLOR)Installing XDG desktop/metainfo files...$(NO_COLOR)' + $(INSTALL_DM)0644 -t $(DESTDIR)$(PREFIX)/share/applications \ + pl.linux.i_nex.desktop + $(INSTALL_DM)0644 -t $(DESTDIR)$(PREFIX)/share/metainfo \ + pl.linux.i_nex.metainfo.xml -clean-inex: - if test -f "I-Nex/Makefile" ; then $(MAKE) -C I-Nex distclean ; fi +install-manpages: + @echo -e '$(OK_BGCOLOR)Installing manpages...$(NO_COLOR)' + $(MAKE) -j1 -C manpages install + +install-pixmaps: + @echo -e '$(OK_BGCOLOR)Installing pixmaps...$(NO_COLOR)' + $(MAKE) -C pixmaps install install-udev-rule: - $(INSTALL_DM) 0644 i2c_smbus.rules $(DESTDIR)$(UDEV_RULES_DIR)/i2c_smbus.rules - -clean-all: - $(RM_COM) $(RMDIR_OPT) `find . -name ".gambas"` - $(RM_COM) $(RMDIR_OPT) `find . -name "*.gambas"` - $(RM_COM) $(RMDIR_OPT) `find . -name ".directory"` - $(RM_COM) $(RMDIR_OPT) I-Nex/i-nex/.gambas - $(RM_COM) $(RMDIR_OPT) I-Nex/autom4te.cache - $(RM_COM) $(RMDIR_OPT) I-Nex/config.log - $(RM_COM) $(RMDIR_OPT) I-Nex/config.status - $(RM_COM) $(RMDIR_OPT) I-Nex/configure - $(RM_COM) $(RMDIR_OPT) I-Nex/install-sh - $(RM_COM) $(RMDIR_OPT) I-Nex/missing + @echo -e '$(OK_BGCOLOR)Installing udev rules...$(NO_COLOR)' + $(INSTALL_DM)0644 $(CURDIR)/i2c_smbus.rules \ + $(DESTDIR)$(UDEV_RULES_DIR)/60-i2c_smbus.rules link-inex: install-inex install -d $(DESTDIR)$(bindir) ln -s $(DESTDIR)$(bindir)/i-nex.gambas $(DESTDIR)$(bindir)/i-nex + +clean-inex: +ifneq (,$(wildcard I-Nex/Makefile)) + $(MAKE) -C I-Nex distclean +endif + +clean-json: + $(MAKE) -C JSON clean + +.PHONY: all make install clean distclean sysclean build-inex build-json \ + install-inex install-json install-changelogs install-desktop-files \ + install-manpages install-pixmaps install-udev-rule link-inex clean-inex \ + clean-json diff --git a/README.md b/README.md index 93c171d..054849f 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,34 @@ -# I-Nex: a system hardware & configuration inventory tool +# I-Nex: a system hardware & configuration inventory tool [![I-Nex logo](I-Nex/i-nex/logo/i-nex.0.4.x.png)](https://i-nex.linux.pl/) -[![I-Nex logo](I-Nex/i-nex/logo/i-nex.0.4.x.png)](https://i-nex.linux.pl/) [![Screenshot](http://i-nex.linux.pl/wp-content/uploads/2016/09/09072016074858692-1.png)](http://i-nex.linux.pl/screenshots/) +[SPDX-FileCopyrightText: © 2014-2016 eloaders ]:: +[SPDX-FileCopyrightText: © 2020 Peter J. Mello ]:: + +[SPDX-License-Identifier: CC0-1.0]:: + +[![Screenshot](http://i-nex.linux.pl/wp-content/uploads/2016/09/09072016074858692-1.png)](https://i-nex.linux.pl/screenshots/) **[Homepage](https://i-nex.linux.pl/)** -I-Nex is an application that gathers information about the hardware components installed in your system the configuration of the software using it, then neatly organizes it using an user interface similar to the popular Windows tool CPU-Z. +I-Nex is an application that gathers information about the hardware components +installed in your system the configuration of the software using it, then neatly +organizes it using an user interface similar to the popular Windows tool CPU-Z. -I-Nex can display information for the following components: CPU, GPU, Motherboard, Sound, Hard disks, RAM, Network and USB as well as some system info like the hostname, Linux distribution and version, Xorg, GCC, GLX versions and Linux Kernel info. +I-Nex can display information for the following components: CPU, GPU, RAM, +motherboard, sound, permanent and removable storage devices (hard drives), +network interfaces and USB, as well as some system info like the hostname, +GNU/Linux distribution and version, Xorg, GCC, GLX versions and Linux kernel +info. -Besides being able to display hardware information, I-Nex can also generate an advanced report for which you can select what to include and optionally send the report to a service such as Pastebin (and others). It also features an option to take a screenshot of the I-Nex window directly from the application. +Besides being able to display hardware information, I-Nex can also generate an +advanced report with options to select what to include and, optionally, send the +report to a service such as Pastebin (and others) to easily share with someone +who is trying to help you troubleshoot a problem remotely. It also features an +option to take a screenshot of the I-Nex window directly from the application. -The difference between I-Nex and the other hardware information GUI tools available for Linux is that the information is better organized and is displayed faster (than lshw-gtk for instance). Also, the hardware information is presented in a way that’s easier to understand than other such tools. +The difference between I-Nex and the other hardware information GUI tools +available for Linux is that the information is better organized, displayed +faster (when compared to lshw-gtk, for instance) and presented in a way that’s +easier to understand. ## Tested on @@ -36,40 +54,38 @@ The difference between I-Nex and the other hardware information GUI tools availa * pastebinit * [libcpuid](https://github.com/anrieff/libcpuid) -### Build in Ubuntu - -Adding required repositories: - -```bash -sudo add-apt-repository -y ppa:gambas-team/gambas3 && \ -sudo add-apt-repository -yu ppa:i-nex-development-team/i-nex -``` - -Install from repository: - -```bash -sudo apt install i-nex -``` - -## Build Debian package from source - -Installing dependencies: - -```bash -sudo apt install debhelper devscripts git imagemagick lsb-release pkg-config \ -libcpuid-dev gambas3-dev gambas3-gb-desktop gambas3-gb-desktop-x11 \ -gambas3-gb-form gambas3-gb-image gambas3-gb-qt5 -``` - -Download source code, compile & install: - -```bash -git clone https://github.com/i-nex/I-Nex.git && cd I-Nex -debuild -b --no-sign -sudo apt install ../i-nex*.deb -``` - -## Install RPM package +## Debian/Ubuntu/Linux Mint and other dpkg-based distributions (.deb package) + +### Install pre-built binary package from third-party repositories + + 1. Add required repositories: + [Gambas 3 Stable PPA](https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3) + and [I-Nex PPA](https://launchpad.net/~i-nex-development-team/+archive/ubuntu/i-nex) + ```bash + sudo add-apt-repository -yn ppa:gambas-team/gambas3 + sudo add-apt-repository -yu ppa:i-nex-development-team/i-nex + ``` + 1. Install with apt: + ```bash + sudo apt install i-nex + ``` + +### Build package from source + + 1. Install required build dependency packages: + ```bash + sudo apt install debhelper devscripts git lsb-release pkg-config \ + libcpuid-dev gambas3-devel gambas3-gb-desktop gambas3-gb-desktop-x11 \ + gambas3-gb-form gambas3-gb-image gambas3-gb-qt5 + ``` + 1. Download source code, compile package & install with apt: + ```bash + git clone https://github.com/i-nex/I-Nex.git && cd I-Nex + debuild -b --no-sign + sudo apt install ../i-nex*.deb + ``` + +## Fedora/CentOS/RHEL/SUSE and other dnf-based distributions (.rpm package) ### Fedora (≳ 30) @@ -143,14 +159,14 @@ unzip ~/rpmbuild/SOURCES/I-Nex-.zip -d cp /dists/redhat/i-nex.spec ~/rpmbuild/SPECS ``` -> _NOTE:__Edit %define _gittag_, _gitlong_, and _gitdate_ at the top of ~/rpmbuild/SPECS/i-nex.spec +> _**NOTE:**_ Edit %define _gittag_, _gitlong_, and _gitdate_ at the top of ~/rpmbuild/SPECS/i-nex.spec `rpmbuild -bb ~/rpmbuild/SPECS/i-nex.spec` ### Build lastest git snapshot I-Nex release in Arch Linux ```bash -yaourt -S i-nex-git --needed --noconfirm +yay -S i-nex-git --needed --noconfirm ``` ### Install lastest backported I-Nex release in Manjaro Linux @@ -159,27 +175,14 @@ yaourt -S i-nex-git --needed --noconfirm sudo pacman -S i-nex ``` -### Main guide build app from sources +## Build and install from source (via git clone) -| NOTE: Don't report issues about manual build I-Nex app from sources based on this guide. First of all be sure you have installed all dependencies. Changes specify in pastebinit and inex.mk via sed command are needed for Arch Linux here. In Your distro these values can be different. | - -## Downloading sources - -```bash -git clone https://github.com/eloaders/I-Nex.git -``` - -## Build and install app from sources +| _**NOTE:** Don't report issues about manual builds from source based on this guide. Most build failures arise from failing to first correctly install all the needed dependencies._ | ```bash -cd I-Nex -sed -i 's|python3$|python2|' pastebinit -sed -i -e 's|^STATIC.*|STATIC = false|' i-nex.mk -sed -i -e 's|^UDEV_RULES_DIR.*|UDEV_RULES_DIR = /usr/lib/udev/rules.d|' i-nex.mk -cd I-Nex -autoreconf -i -./configure --prefix=/usr -cd .. -make +git clone https://github.com/i-nex/I-Nex.git && cd I-Nex +autoreconf -fi ./I-Nex +./I-Nex/configure --prefix=/usr +make -j$(nproc) sudo make install ``` diff --git a/README.md.license b/README.md.license new file mode 100644 index 0000000..923c71b --- /dev/null +++ b/README.md.license @@ -0,0 +1,4 @@ +SPDX-FileCopyrightText: © 2014-2016 eloaders +SPDX-FileCopyrightText: © 2020 Peter J. Mello + +SPDX-License-Identifier: CC0-1.0 diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..6c48f9b --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,13 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| ------- | ------------------ | +| 7.6.1 | :white_check_mark: | +| < 7.6.0 | :x: | + +## Reporting a Vulnerability + +If you encounter a security vulnerability in I-Nex, you can tell us about it by +[opening an issue](https://github.com/i-nex/I-Nex/issues/new) here on GitHub. diff --git a/changelog.awk b/changelog.awk index b549215..aaa5376 100755 --- a/changelog.awk +++ b/changelog.awk @@ -15,7 +15,6 @@ BEGIN { } else { printCommit($2, $3, $4) } - } } function printTag(input) { diff --git a/debian/changelog b/debian/changelog index e94bbff..dccefa9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +i-nex (7.6.1-2) groovy; urgency=medium + + * Rebuild against libcpuid15 from released with Ubuntu 20.10 "Groovy" + + -- Peter J. Mello Sun, 06 Dec 2020 14:58:39 -0800 + i-nex (7.6.1-1) focal; urgency=medium * New upstream release. @@ -10,13 +16,14 @@ i-nex (7.6.1-1) focal; urgency=medium * Add About tab to interface for application metadata * Fix sorting of entries in drop-down menus * Improve removable drive recognition (LP: #1634466) - * d/control: Bump to debhelper level 12 via B-D on debhelper-compat - * d/control: Drop versions on dependencies with values < oldoldstable archive - * d/control: Bump S-V to 4.5.0, removed debian/triggers file. - * d/control: Add R³ field with 'no' value - * d/copyright: Add early contributors and update header URL to https - * d/copyright: Update proprietary usage statements and remove those no longer - included in package + * debian/control: + + Bump to debhelper level 12 via B-D on debhelper-compat + + Bump S-V to 4.5.0, removed debian/triggers file + + Add R³ field with 'no' value + - Drop versions on dependencies with values < oldoldstable archive + * d/copyright: + + Add early contributors and update header URL to https + * Update proprietary usage statements, remove ones no longer inc. in package -- Peter J. Mello Tue, 05 May 2020 16:37:56 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control index 9499217..e9c216a 100644 --- a/debian/control +++ b/debian/control @@ -3,22 +3,22 @@ Section: utils Priority: optional Maintainer: eloaders Uploaders: Peter J. Mello -Build-Depends: debhelper-compat (= 12), imagemagick, libcpuid-dev, lsb-release, - pkg-config, gambas3-dev (>= 3.8.4~), gambas3-gb-desktop (>= 3.8.4~), +Build-Depends: debhelper (>= 10~), lsb-release, pkg-config, + gambas3-devel (>= 3.8.4~), gambas3-gb-desktop (>= 3.8.4~), gambas3-gb-desktop-x11, gambas3-gb-form (>= 3.8.4~), - gambas3-gb-image (>= 3.8.4~), gambas3-gb-qt5 -Standards-Version: 4.5.0 + gambas3-gb-image (>= 3.8.4~), gambas3-gb-qt5, libcpuid-dev | libcpuid14-dev +Standards-Version: 4.5.1 Homepage: https://i-nex.linux.pl/ -Vcs-Git: https://github.com/eloaders/I-Nex.git -Vcs-Browser: https://github.com/eloaders/I-Nex +Vcs-Git: https://github.com/i-nex/I-Nex.git +Vcs-Browser: https://github.com/i-nex/I-Nex Rules-Requires-Root: no Package: i-nex Architecture: any-amd64 any-i386 -Depends: libcpuid14, mesa-utils, pastebinit, gambas3-gb-desktop (>= 3.8.4~), - gambas3-gb-desktop-x11, gambas3-gb-form (>= 3.8.4~), - gambas3-gb-image (>= 3.8.4~), gambas3-gb-qt5, gambas3-runtime (>= 3.8.4~), - ${shlibs:Depends}, ${misc:Depends} +Depends: libcpuid15 | libcpuid14, mesa-utils, pastebinit, + gambas3-gb-desktop (>= 3.8.4~), gambas3-gb-desktop-x11, + gambas3-gb-form (>= 3.8.4~), gambas3-gb-image (>= 3.8.4~), gambas3-gb-qt5, + gambas3-runtime (>= 3.8.4~), ${shlibs:Depends}, ${misc:Depends} Recommends: lsb-release, mount, pciutils, x11-utils, x11-xserver-utils Replaces: i-nex (<< 0.6.0~) Description: probe and view system architecture and device information diff --git a/debian/copyright b/debian/copyright index 56e4e41..932da3a 100644 --- a/debian/copyright +++ b/debian/copyright @@ -9,10 +9,21 @@ Copyright: 2006-2012, Stéphane Graber 2011-2019, eloaders License: LGPL-3.0-or-later +Files: README.md +Copyright: 2014-2016, eloaders + 2020, Peter J. Mello +License: CC0-1.0 + +Files: pl.linux.i_nex.metainfo.xml +Copyright: 2019, Martin Gansser + 2019, eloaders + 2020, Peter J. Mello +License: CC0-1.0 + Files: I-Nex/i-nex/Data/GPU_LOGO/* Copyright: 2006-2020, Intel Corporation 1994-2020, Advanced Micro Devices, Inc. -License: Intel-Acknowledgment AND AMD-Disclaimer +License: LicenseRef-Intel-Acknowledgment AND LicenseRef-AMD-Disclaimer Comment: The most recent version of the Intel Trademark Usage Acknowledgments are available at . @@ -22,7 +33,7 @@ Comment: The most recent version of the Intel Trademark Usage Acknowledgments Files: I-Nex/i-nex/Data/GPU_LOGO/nvidia.png Copyright: 1997-2019, NVIDIA Corporation -License: NVIDIA-Disclaimer +License: LicenseRef-NVIDIA-Disclaimer Comment: The most recent version of these legal notices is available at . @@ -33,7 +44,7 @@ License: GPL-3.0-or-later OR LGPL-3.0-or-later Files: I-Nex/i-nex/Database/Logos/* Copyright: 2006-2020, Intel Corporation 1994-2020, Advanced Micro Devices, Inc. -License: Intel-Acknowledgment AND AMD-Disclaimer +License: LicenseRef-Intel-Acknowledgment AND LicenseRef-AMD-Disclaimer Comment: The most recent version of the Intel Trademark Usage Acknowledgments are available at . @@ -48,17 +59,6 @@ Copyright: 2006-2012, Adam Jackson 2020, Peter J. Mello License: MIT AND GPL-3.0-or-later -Files: pl.linux.I_Nex.metainfo.xml -Copyright: 2019, Martin Gansser - 2019, eloaders - 2020, Peter J. Mello -License: MIT - -Files: release.conf -Copyright: 2011, Stéphane Graber - 2012, eloaders -License: GPL-3.0-or-later - Files: debian/* Copyright: 2011-2016, eloaders 2020, Peter J. Mello @@ -82,52 +82,16 @@ License: LGPL-3.0-or-later General Public License, version 3, can be found in the file `/usr/share/common-licenses/LGPL-3'. -License: GPL-3.0-or-later - 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 3 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 . - . - On Debian(-based) GNU/Linux systems, the full text of the GNU General Public - License, version 3, can be found in the file - `/usr/share/common-licenses/GPL-3'. - -License: MPL-2.0 - This Source Code Form is subject to the terms of the Mozilla Public License, - v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain - one at . +License: CC0-1.0 + To the extent possible under law, the author(s) have waived all copyright and + related or neighboring rights to this software. This work is published from + Cuba and is distributed without any warranty . - On Debian(-based) GNU/Linux systems, the full text of the Mozilla Public - License, v. 2.0, can be found in the file `/usr/share/common-licenses/MPL-2.0'. - -License: MIT - Permission is hereby granted, free of charge, to any person obtaining a copy of - this software and associated documentation files (the "Software"), to deal in - the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - of the Software, and to permit persons to whom the Software is furnished to do - so, subject to the following conditions: - . - The above copyright notice and this permission notice (including the next - paragraph) shall be included in all copies or substantial portions of the - Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. + On Debian(-based) GNU/Linux systems, the complete text of the Creative Commons + Zero Universal License, v1.0, can be found in the file + `/usr/share/common-licenses/CC0-1.0'. -License: Intel-Acknowledgment +License: LicenseRef-Intel-Acknowledgment 3D XPoint, Altera, APEX, AnyWAN, Arria, Avalon, Axxia, BunnyPeople, Celeron, Cilk, CONVERGATE, Cyclone, Docea, eASIC, easicopy, Enpirion, Hyperflex, Intel, the Intel logo, Intel Adaptix, Intel Agilex, Intel Atom, Intel CoFluent, Intel @@ -143,7 +107,7 @@ License: Intel-Acknowledgment . Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052-8119, USA. -License: AMD-Disclaimer +License: LicenseRef-AMD-Disclaimer THESE PROPRIETARY LOGOS, SERVICE MARKS AND TRADEMARKS ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT OF INTELLECTUAL PROPERTY, OR FITNESS FOR ANY @@ -155,7 +119,7 @@ License: AMD-Disclaimer further do not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within this package. -License: NVIDIA-Disclaimer +License: LicenseRef-NVIDIA-Disclaimer Copyright (C) 1997-2004 NVIDIA Corporation. All rights reserved. NVIDIA Corporation, 2701 San Tomas Expressway Santa Clara, CA 95050, USA. . @@ -198,3 +162,48 @@ License: NVIDIA-Disclaimer graphics, links or other items contained within these materials. NVIDIA may make changes to these materials, or to the products described therein, at any time without notice, but makes no commitment to update the Materials. + +License: GPL-3.0-or-later + 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 3 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 . + . + On Debian(-based) GNU/Linux systems, the full text of the GNU General Public + License, version 3, can be found in the file + `/usr/share/common-licenses/GPL-3'. + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + . + The above copyright notice and this permission notice (including the next + paragraph) shall be included in all copies or substantial portions of the + Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +License: MPL-2.0 + This Source Code Form is subject to the terms of the Mozilla Public License, + v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain + one at . + . + On Debian(-based) GNU/Linux systems, the full text of the Mozilla Public + License, v. 2.0, can be found in the file `/usr/share/common-licenses/MPL-2.0'. diff --git a/debian/rules b/debian/rules index fe96a17..dac6a9c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,24 +1,42 @@ #!/usr/bin/make -f +# -*- mode: makefile-gmake; coding: utf-8 -*- -DEB_BUILD_MAINT_OPTIONS = future=+lfs hardening=+all reproducible=+fixfilepath -DH_INTERNAL_OPTIONS = -v -DH_VERBOSE = 1 -export DEB_BUILD_MAINT_OPTIONS DH_INTERNAL_OPTIONS DH_VERBOSE +BASH_PATH ::= $(shell which bash) +DEB_BUILD_MAINT_OPTIONS ::= hardening=+all +DH_VERBOSE ::= 1 +DPKG_EXPORT_BUILDFLAGS ::= 1 +SHELL ::= $(shell realpath -Leq $(BASH_PATH)) +SHELL ?= /bin/sh +UBUNTUVER ::= $(shell lsb_release -rs | cut -c-5) + +ifeq ($(shell dpkg-vendor --query Vendor),Ubuntu) +ifneq ($(UBUNTUVER),$(shell printf "$(UBUNTUVER)\n17.10\n" | sort -g | head -1)) + DEB_BUILD_MAINT_OPTIONS += future=+lfs + DPKG_EXPORT_BUILDTOOLS ::= 1 + include /usr/share/dpkg/buildtools.mk +endif +ifneq ($(UBUNTUVER),$(shell printf "$(UBUNTUVER)\n19.04\n" | sort -g | head -1)) + DEB_BUILD_MAINT_OPTIONS += reproducible=+fixfilepath +endif +endif + +include /usr/share/dpkg/default.mk +export DEB_BUILD_MAINT_OPTIONS DH_VERBOSE %: - dh $@ + dh $@ -v override_dh_autoreconf: - dh_autoreconf -DI-Nex + dh_autoreconf -O-v -DI-Nex override_dh_auto_configure: - cd I-Nex && ./configure --build=x86_64-linux-gnu --prefix=/usr \ + cd I-Nex && ./configure --build=$(DEB_HOST_MULTIARCH) --prefix=/usr \ --sysconfdir=/etc --runstatedir=/run --localstatedir=/var \ - --libdir=/usr/lib/x86_64-linux-gnu --includedir=/usr/include\ + --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) --includedir=/usr/include\ --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules override_dh_auto_install: - dh_auto_install --exclude=$(CURDIR)/debian/i-nex/usr/bin/i-nex \ + dh_auto_install -O-v --exclude=$(CURDIR)/debian/i-nex/usr/bin/i-nex \ --exclude=$(CURDIR)/debian/i-nex/usr/share/doc/i-nex/Changelog.md -- diff --git a/debian/upstream/metadata b/debian/upstream/metadata index 9f761e2..04dac42 100644 --- a/debian/upstream/metadata +++ b/debian/upstream/metadata @@ -1,6 +1,7 @@ --- -Bug-Database: "https://github.com/i-nex/I-Nex/issues" -Bug-Submit: "https://github.com/i-nex/I-Nex/issues/new/choose" +Bug: + Database: "https://github.com/i-nex/I-Nex/issues" + Submit: "https://github.com/i-nex/I-Nex/issues/new/choose" Changelog: "https://github.com/i-nex/I-Nex/blob/master/Changelog.md" Donation: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6QHXF6TLWAWKA&source=url" Other-References: "http://i-nex.linux.pl/about/" diff --git a/debian/watch b/debian/watch index 680ccfa..e5d0baa 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ version=4 -opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/i-nex-$1\.tar\.gz/ \ - https://github.com/i-nex/I-Nex/tags .*/v?(\d\S*)\.tar\.gz +opts="filenamemangle=s%(?:.*?)?[-_]?v?(\d[\-+\.:\~\da-zA-Z]*)\.\ +(?i)(tar\.(xz|bz2|gz)|zip|tgz|tbz|txz)%@PACKAGE@-$1.$2%" \ + https://github.com/i-nex/I-Nex/tags .*/v?@ANY_VERSION@@ARCHIVE_EXT@ diff --git a/i-nex.mk b/i-nex.mk index 74cd82c..2e86ea8 100644 --- a/i-nex.mk +++ b/i-nex.mk @@ -1,54 +1,56 @@ #!/usr/bin/make -f +# -*- mode: makefile-gmake; coding: utf-8 -*- -PWD = $(shell pwd) -PN = i-nex -PREFIX = /usr -DOCSDIR = /share/doc/i-nex -MANDIR = /share/man/man1 -APP_NAME = $(PN) -LSB_CS = $(shell lsb_release -cs) -ARCH = $(shell uname -m) -GBC = /usr/bin/gbc3 -GBCOPTS = -eagtpm -GBA = gba3 -CC = gcc -CFLAGS = -g -Wall -bindir = $(PREFIX)/bin -INSTALL = install -m -INSTALL_DM = install -Dm -MKDIR_P = mkdir -p -COMPRESS = gzip -9 -RM_COM = rm -RMFILE_OPT = -f -RMDIR_OPT = -Rf -STATIC = true -UDEV_RULES_DIR = /lib/udev/rules.d +PN ::= i-nex +APP_NAME ::= $(PN) +ARCH ::= $(shell uname -m) +CC ?= gcc +CFLAGS ?= -g -Wall +COMPRESS ::= gzip -9 +DOCSDIR ::= /share/doc/i-nex +GBA ::= gba3 +GBC ::= /usr/bin/gbc3 +GBCOPTS ::= -eagtpm +INSTALL_D ::= install -d +INSTALL_M ::= install -m +INSTALL_DM ::= install -Dm +LSB_CS ::= $(shell lsb_release -cs) +MANDIR ::= /share/man/man1 +MKDIR_P ::= mkdir -p +PREFIX ?= /usr +PWD ::= $(shell pwd) +RM ::= rm -f +RMDIR_OPT ::= -R +STATIC ::= true +UDEV_RULES_DIR ::= /usr/lib/udev/rules.d + +bindir ::= $(PREFIX)/bin +sysconfdir ::= /etc ifeq ($(ARCH),x86) -additional_confflags := --disable-sse2 + additional_confflags ::= --disable-sse2 endif ifeq ($(ARCH),x86_64) -additional_confflags := -O2 + additional_confflags ::= -O2 endif +NO_COLOR ::= \033[0m +OK_COLOR ::= \033[32m +ERROR_COLOR ::= \033[91m +WARN_COLOR ::= \033[93m +ACTION_COLOR ::= \033[95m +OK_BGCOLOR ::= \033[1;32m +OK_STRING ::= $(OK_COLOR)✔$(NO_COLOR) +ERROR_STRING ::= $(ERROR_COLOR)✖$(NO_COLOR) +WARN_STRING ::= $(WARN_COLOR)⚑$(NO_COLOR) -NO_COLOR = \033[0m -OK_COLOR = \033[92m -ERROR_COLOR = \033[91m -WARN_COLOR = \033[93m -ACTION_COLOR = \033[95m -OK_STRING = $(OK_COLOR)✔ -ERROR_STRING = $(ERROR_COLOR)✖ -WARN_STRING = $(WARN_COLOR)⚑ - -sysconfdir = /etc -DATABASE_CPU_LOGOS_DIR = ../Database/Logos -DATABASE_CPU_LOGOS = $(wildcard $(DATABASE_CPU_LOGOS_DIR)/*.gif) -DATABASE_DIST_LOGOS_DIR = ../Database/Distlogos -DATABASE_DIST_LOGOS = $(wildcard $(DATABASE_DIST_LOGOS_DIR)/*.png) -DATABASE_CPU_JSON_DIR = ../Database -DATABASE_CPU_JSON = $(wildcard $(DATABASE_CPU_JSON_DIR)/*.json) -DATABASE_I2C_JSON_DIR = ../Database/i2c -DATABASE_I2C_JSON = $(wildcard $(DATABASE_I2C_JSON_DIR)/*.json) -DATABASE_SIV_DIR = ../SIV -DATABASE_SIV = $(wildcard $(DATABASE_SIV_DIR)/*.txt) +DATABASE_CPU_LOGOS_DIR ::= ../Database/Logos +DATABASE_CPU_LOGOS ::= $(wildcard $(DATABASE_CPU_LOGOS_DIR)/*.gif) +DATABASE_DIST_LOGOS_DIR ::= ../Database/Distlogos +DATABASE_DIST_LOGOS ::= $(wildcard $(DATABASE_DIST_LOGOS_DIR)/*.png) +DATABASE_CPU_JSON_DIR ::= ../Database +DATABASE_CPU_JSON ::= $(wildcard $(DATABASE_CPU_JSON_DIR)/*.json) +DATABASE_I2C_JSON_DIR ::= ../Database/i2c +DATABASE_I2C_JSON ::= $(wildcard $(DATABASE_I2C_JSON_DIR)/*.json) +DATABASE_SIV_DIR ::= ../SIV +DATABASE_SIV ::= $(wildcard $(DATABASE_SIV_DIR)/*.txt) diff --git a/manpages/Makefile b/manpages/Makefile index 5808d07..bf32fb0 100644 --- a/manpages/Makefile +++ b/manpages/Makefile @@ -1,4 +1,5 @@ #!/usr/bin/make -f +# -*- mode: makefile-gmake; coding: utf-8 -*- include ../i-nex.mk @@ -7,10 +8,9 @@ MANPAGE_FILES = $(wildcard *.1) install: install-man compress-man install-man: - @echo -e '\033[1;32mInstalling Man pages 1...\033[0m' - install -D --mode=0644 --target-directory="$(DESTDIR)$(PREFIX)$(MANDIR)" \ - $(MANPAGE_FILES) + @echo -e '$(OK_BGCOLOR)Installing manpages...$(NO_COLOR)' + $(INSTALL_DM)0644 -t $(DESTDIR)$(PREFIX)$(MANDIR) $(MANPAGE_FILES) compress-man: install-man - @echo -e '\033[1;32mCompress Man pages 1...\033[0m' - gzip -9 $(addprefix $(DESTDIR)$(PREFIX)$(MANDIR)/,$(MANPAGE_FILES)) + @echo -e '$(OK_BGCOLOR)Compressing manpages...$(NO_COLOR)' + $(COMPRESS) $(addprefix $(DESTDIR)$(PREFIX)$(MANDIR)/,$(MANPAGE_FILES)) diff --git a/pixmaps/Makefile b/pixmaps/Makefile index 57f720b..2a03988 100644 --- a/pixmaps/Makefile +++ b/pixmaps/Makefile @@ -1,42 +1,24 @@ #!/usr/bin/make -f +# -*- mode: makefile-gmake; coding: utf-8 -*- include ../i-nex.mk +IMG_SIZES ::= 16 22 32 48 64 128 256 + +all: install + install: - install -d $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps - install --mode=0644 i-nex.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps - install --mode=0644 -T i-nex-128.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/i-nex.png - install --mode=0644 -T i-nex-64.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/i-nex.png - install --mode=0644 -T i-nex-48.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/i-nex.png - install --mode=0644 -T i-nex-32.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/i-nex.png - install --mode=0644 -T i-nex-22.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps/i-nex.png - install --mode=0644 -T i-nex-16.png \ - $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/i-nex.png + cp $(CURDIR)/i-nex.png $(CURDIR)/i-nex-256.png + for px in $(IMG_SIZES) ; do \ + $(INSTALL_DM)0644 -t $(DESTDIR)$(PREFIX)/share/icons/hicolor/$${px}x$${px}/apps \ + $(CURDIR)/i-nex-$${px}.png ; \ + done + $(RM) $(CURDIR)/i-nex-256.png uninstall: - if test -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/256x256/apps/i-nex.png ; fi - if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/128x128/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/128x128/apps/i-nex.png ; fi - if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/64x64/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/64x64/apps/i-nex.png ; fi - if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/48x48/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/i-nex.png ; fi - if test -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/32x32/apps/i-nex.png ; fi - if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/22x22/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/22x22/apps/i-nex.png ; fi - if test -f ${DESTDIR}$(PREFIX)/share/icons/hicolor/16x16/apps/i-nex.png ; then \ - ${RM} $(DESTDIR)$(PREFIX)/share/icons/hicolor/16x16/apps/i-nex.png ; fi + for px in $(IMG_SIZES) ; do \ + if test -f $(DESTDIR)$(PREFIX)/share/icons/hicolor/$${px}x$${px}/apps/i-nex.png ; then \ + $(RM) $(DESTDIR)$(PREFIX)/share/icons/hicolor/$${px}x$${px}/apps/i-nex.png ; fi ; \ + done + +.PHONY: all install uninstall diff --git a/debian/pl.linux.I_Nex.desktop b/pl.linux.i_nex.desktop similarity index 57% rename from debian/pl.linux.I_Nex.desktop rename to pl.linux.i_nex.desktop index 6799808..baa71ad 100644 --- a/debian/pl.linux.I_Nex.desktop +++ b/pl.linux.i_nex.desktop @@ -2,12 +2,13 @@ Version=1.1 Type=Application Name=I-Nex -GenericName=System Device Information +GenericName=System hardware inventory/identification +Comment=Display (and share) a highly detailed system hardware inventory TryExec=/usr/bin/i-nex.gambas Exec=i-nex.gambas Icon=i-nex Categories=System; -Keywords=i-nex;hardware;library;inventory; +Keywords=i-nex;hardware;library;inventory;components;libcpuid;gpu;cpu; Terminal=false StartupNotify=true StartupWMClass=i-nex.gambas @@ -17,6 +18,6 @@ Hidden=false Actions=Library; [Desktop Action Library] -Name=I-Nex Library +Name=Display major system library versions Icon=i-nex Exec=i-nex.gambas --library diff --git a/pl.linux.I_Nex.metainfo.xml b/pl.linux.i_nex.metainfo.xml similarity index 51% rename from pl.linux.I_Nex.metainfo.xml rename to pl.linux.i_nex.metainfo.xml index bd277b0..1455661 100644 --- a/pl.linux.I_Nex.metainfo.xml +++ b/pl.linux.i_nex.metainfo.xml @@ -1,52 +1,49 @@ - pl.linux.I_Nex + pl.linux.i_nex eloaders I-Nex - i-nex - System and Hardware information tool + A system hardware and configuration inventory tool - MIT + CC0-1.0 GPL-3.0-or-later AND LGPL-3.0-or-later

- I-Nex is an application that gathers information for hardware components - available on your system and displays it using a user interface similar - to the popular Windows tool CPU-Z. + I-Nex is an application that gathers information about the hardware + components installed in your system the configuration of the software + using it, then neatly organizes it using an user interface similar to the + popular Windows tool CPU-Z.

- I-Nex can display information for the following components: CPU, GPU, - Motherboard, Sound, Hard disks, RAM, Network and USB as well as some - system info like the hostname, Linux distribution and version, Xorg, GCC, - GLX versions and Linux Kernel info. + I-Nex can display information for the following components: CPU, GPU, RAM, + motherboard, sound, permanent and removable storage devices (hard drives), + network interfaces and USB, as well as some system info like the hostname, + GNU/Linux distribution and version, Xorg, GCC, GLX versions and Linux + kernel info.

Besides being able to display hardware information, I-Nex can also - generate an advanced report for which you can select what to include and - optionally send the report to a service such as Pastebin (and others). It - also features an option to take a screenshot of the I-Nex window directly - from the application. + generate an advanced report with options to select what to include and, + optionally, send the report to a service such as Pastebin (and others) to + easily share with someone who is trying to help you troubleshoot a problem + remotely. It also features an option to take a screenshot of the I-Nex + window directly from the application.

The difference between I-Nex and the other hardware information GUI tools - available for Linux is that the information is better organized and is - displayed faster (than lshw-gtk for instance). Also, the hardware - information is presented in a way that’s easier to understand than other - such tools. + available for Linux is that the information is better organized, displayed + faster (when compared to lshw-gtk, for instance) and presented in a way + that’s easier to understand.

- pl.linux.I_Nex.desktop + pl.linux.i_nex.desktop System - - ​ i-nex.gambas - ​ - @@ -70,22 +67,19 @@ - https://i-nex.linux.pl/wp-content/uploads/2016/09/09072016074858692-1.png - CPU Properties tab + https://i-nex.linux.pl/wp-content/uploads/2016/09/09072016074858692-1.png - https://i-nex.linux.pl/wp-content/uploads/2016/09/09072016080049101-1.png - System Properties tab + https://i-nex.linux.pl/wp-content/uploads/2016/09/09072016080049101-1.png - https://i-nex.linux.pl/wp-content/uploads/2016/09/09072016080027538-1.png - GPU Properties tab + https://i-nex.linux.pl/wp-content/uploads/2016/09/09072016080027538-1.png https://i-nex.linux.pl/ https://github.com/i-nex/I-Nex/issues - https://www.paypal.com/cgi-bin/webscr%3Fcmd%3D_s-xclick%26hosted_button_id%3D6QHXF6TLWAWKA%26source%3Durl + https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6QHXF6TLWAWKA&source=url eloaders_AT_linux.pl
diff --git a/release.conf b/release.conf deleted file mode 100644 index 52798bc..0000000 --- a/release.conf +++ /dev/null @@ -1,2 +0,0 @@ -NAME=pastebinit -VERSION=$(grep "version = " pastebinit | awk '{print $3}' | sed "s/[^0-9\.]//g") diff --git a/requirements.md b/requirements.md deleted file mode 100644 index d409d7e..0000000 --- a/requirements.md +++ /dev/null @@ -1,10 +0,0 @@ -### Dependencies -* Gambas3 - * gambas3-runtime (>= 3.5.0) - * gambas3-gb-image (>= 3.5.0) - * gambas3-gb-qt4 (<< 3.5.0) - * gambas3-gb-form (<< 3.5.0) - * gambas3-gb-desktop (>= 3.5.0) - * gambas3-gb-form-stock (>= 3.5.0) -* libc6 -* [libcpuid](https://github.com/anrieff/libcpuid)