Replace all references to x52pro-linux with libx52

reverse-scroll
nirenjan 2021-09-29 00:30:55 -07:00
parent f51985dd20
commit e7d91fd3a4
14 changed files with 39 additions and 37 deletions

View File

@ -22,8 +22,8 @@ jobs:
- name: Find release tarball - name: Find release tarball
id: find_release id: find_release
run: | run: |
echo "::set-output name=path::$(find $PWD -name 'x52pro-linux*.tar*')" echo "::set-output name=path::$(find $PWD -name 'libx52*.tar*')"
echo "::set-output name=asset::$(find . -name 'x52pro-linux*.tar*' -exec basename {} \; | sed 's/x52pro-linux-\(.*\)\.tar/x52pro-linux_\1.orig.tar/')" echo "::set-output name=asset::$(find . -name 'libx52*.tar*' -exec basename {} \; | sed 's/libx52-\(.*\)\.tar/libx52_\1.orig.tar/')"
- name: Create Release - name: Create Release
id: create_release id: create_release

2
.gitignore vendored
View File

@ -15,7 +15,7 @@ udev/*.rules
x52d* x52d*
!daemon/x52d_*.* !daemon/x52d_*.*
test-* test-*
x52pro-linux-*.tar.gz libx52-*.tar.gz
# Module files # Module files
modules.order modules.order

View File

@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file.
The format is based upon [Keep a Changelog]. The format is based upon [Keep a Changelog].
## [Unreleased] ## [Unreleased]
### Changed
- Renamed project from `x52pro-linux` to `libx52`
## [0.2.3] - 2021-09-20 ## [0.2.3] - 2021-09-20
### Added ### Added
@ -13,9 +15,9 @@ The format is based upon [Keep a Changelog].
### Fixed ### Fixed
- Device erratic behavior when running daemon. See - Device erratic behavior when running daemon. See
[#33](https://github.com/nirenjan/x52pro-linux/issues/33). [#33](https://github.com/nirenjan/libx52/issues/33).
- `make install` on OpenSUSE Tumbleweed. See - `make install` on OpenSUSE Tumbleweed. See
[#35](https://github.com/nirenjan/x52pro-linux/issues/35). [#35](https://github.com/nirenjan/libx52/issues/35).
## [0.2.2] - 2021-09-03 ## [0.2.2] - 2021-09-03
### Added ### Added
@ -61,7 +63,7 @@ The format is based upon [Keep a Changelog].
- Handling of very large time_t values in `libx52_set_clock` - Handling of very large time_t values in `libx52_set_clock`
- Secondary and tertiary clock setting when primary clock is set to local time - Secondary and tertiary clock setting when primary clock is set to local time
and local timezone is observing daylight savings time (summer time). See and local timezone is observing daylight savings time (summer time). See
[#20](https://github.com/nirenjan/x52pro-linux/issues/20). [#20](https://github.com/nirenjan/libx52/issues/20).
## [0.2.0] - 2020-04-14 ## [0.2.0] - 2020-04-14
### Changed ### Changed
@ -137,13 +139,13 @@ The format is based upon [Keep a Changelog].
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: http://semver.org/spec/v2.0.0.html [Semantic Versioning]: http://semver.org/spec/v2.0.0.html
[TAP]: https://testanything.org [TAP]: https://testanything.org
[Unreleased]: https://github.com/nirenjan/x52pro-linux/compare/v0.2.3...HEAD [Unreleased]: https://github.com/nirenjan/libx52/compare/v0.2.3...HEAD
[0.2.3]: https://github.com/nirenjan/x52pro-linux/compare/v0.2.3...v0.2.2 [0.2.3]: https://github.com/nirenjan/libx52/compare/v0.2.3...v0.2.2
[0.2.2]: https://github.com/nirenjan/x52pro-linux/compare/v0.2.2...v0.2.1 [0.2.2]: https://github.com/nirenjan/libx52/compare/v0.2.2...v0.2.1
[0.2.1]: https://github.com/nirenjan/x52pro-linux/compare/v0.2.0...v0.2.1 [0.2.1]: https://github.com/nirenjan/libx52/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/nirenjan/x52pro-linux/compare/v0.1.2...v0.2.0 [0.2.0]: https://github.com/nirenjan/libx52/compare/v0.1.2...v0.2.0
[0.1.2]: https://github.com/nirenjan/x52pro-linux/compare/v0.1.1...v0.1.2 [0.1.2]: https://github.com/nirenjan/libx52/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/nirenjan/x52pro-linux/compare/v0.1.0...v0.1.1 [0.1.1]: https://github.com/nirenjan/libx52/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/nirenjan/x52pro-linux/compare/v0.0.2...v0.1.0 [0.1.0]: https://github.com/nirenjan/libx52/compare/v0.0.2...v0.1.0
[0.0.2]: https://github.com/nirenjan/x52pro-linux/compare/v0.0.1...v0.0.2 [0.0.2]: https://github.com/nirenjan/libx52/compare/v0.0.1...v0.0.2
[0.0.1]: https://github.com/nirenjan/x52pro-linux/releases/tag/v0.0.1 [0.0.1]: https://github.com/nirenjan/libx52/releases/tag/v0.0.1

View File

@ -34,7 +34,7 @@
<tab type="globals" visible="yes" title="" intro=""/> <tab type="globals" visible="yes" title="" intro=""/>
</tab> </tab>
<tab type="examples" visible="yes" title="" intro=""/> <tab type="examples" visible="yes" title="" intro=""/>
<tab type="user" url="https://github.com/nirenjan/x52pro-linux" title="View on GitHub" /> <tab type="user" url="https://github.com/nirenjan/libx52" title="View on GitHub" />
</navindex> </navindex>
<!-- Layout definition for a class page --> <!-- Layout definition for a class page -->

View File

@ -1,4 +1,4 @@
Installation instructions for x52pro-linux Installation instructions for libx52
========================================== ==========================================
Build has been tested on the following operating systems (x86-64 only): Build has been tested on the following operating systems (x86-64 only):
@ -41,12 +41,12 @@ Build has been tested on the following operating systems (x86-64 only):
1. Clone the repository 1. Clone the repository
``` ```
git clone https://github.com/nirenjan/x52pro-linux.git git clone https://github.com/nirenjan/libx52.git
``` ```
2. Run autogen.sh 2. Run autogen.sh
``` ```
cd ./x52pro-linux cd ./libx52
./autogen.sh ./autogen.sh
``` ```

View File

@ -1,4 +1,4 @@
# Top level Automake for x52pro-linux # Top level Automake for libx52
# #
# Copyright (C) 2012-2018 Nirenjan Krishnan (nirenjan@nirenjan.org) # Copyright (C) 2012-2018 Nirenjan Krishnan (nirenjan@nirenjan.org)
# #

View File

@ -1,9 +1,9 @@
Saitek X52Pro joystick driver for Linux Saitek X52Pro joystick driver for Linux
======================================= =======================================
![Build/Test](https://github.com/nirenjan/x52pro-linux/workflows/Build/Test/badge.svg) ![Build/Test](https://github.com/nirenjan/libx52/workflows/Build/Test/badge.svg)
![Kernel Module](https://github.com/nirenjan/x52pro-linux/workflows/Kernel%20Module/badge.svg) ![Kernel Module](https://github.com/nirenjan/libx52/workflows/Kernel%20Module/badge.svg)
![CodeQL](https://github.com/nirenjan/x52pro-linux/workflows/CodeQL/badge.svg) ![CodeQL](https://github.com/nirenjan/libx52/workflows/CodeQL/badge.svg)
This project adds a new driver for the Saitek/MadCatz X52 Pro flight This project adds a new driver for the Saitek/MadCatz X52 Pro flight
control system. The X52 pro is a HOTAS (hand on throttle and stick) control system. The X52 pro is a HOTAS (hand on throttle and stick)
@ -34,7 +34,7 @@ This project has been released as a PPA on Ubuntu. To install the package, run
the following commands in the terminal. the following commands in the terminal.
``` ```
sudo apt-add-repository ppa:nirenjan/x52pro-linux sudo apt-add-repository ppa:nirenjan/libx52
sudo apt update sudo apt update
sudo apt install libx52-1 sudo apt install libx52-1
``` ```

View File

@ -1,4 +1,4 @@
# Autoconf settings for x52pro-linux # Autoconf settings for libx52
# #
# Copyright (C) 2012-2021 Nirenjan Krishnan (nirenjan@nirenjan.org) # Copyright (C) 2012-2021 Nirenjan Krishnan (nirenjan@nirenjan.org)
# #

View File

@ -17,14 +17,14 @@ libx52 is available on Ubuntu as a PPA. Follow the instructions below to
install on Ubuntu: install on Ubuntu:
@code{.unparsed} @code{.unparsed}
sudo add-apt-repository nirenjan:x52pro-linux sudo add-apt-repository nirenjan:libx52
sudo apt update sudo apt update
sudo apt install -y libx52-1 sudo apt install -y libx52-1
@endcode @endcode
@subsection building Building from source @subsection building Building from source
Please follow the instructions in [INSTALL.md](https://github.com/nirenjan/x52pro-linux/blob/master/INSTALL.md) specific to your system to build from source. Please follow the instructions in [INSTALL.md](https://github.com/nirenjan/libx52/blob/master/INSTALL.md) specific to your system to build from source.
@section features Features @section features Features

View File

@ -34,4 +34,4 @@ automatically. Otherwise, simply disconnect and reconnect your X52.
# Reporting issues # Reporting issues
Please report any issues seen as a [Github issue](https://github.com/nirenjan/x52pro-linux/issues). Please report any issues seen as a [Github issue](https://github.com/nirenjan/libx52/issues).

View File

@ -41,7 +41,7 @@ PACKAGE_GNU = no
# It can be your email address, or a mailing list address where translators # It can be your email address, or a mailing list address where translators
# can write to without being subscribed, or the URL of a web page through # can write to without being subscribed, or the URL of a web page through
# which the translators can contact you. # which the translators can contact you.
MSGID_BUGS_ADDRESS = https://github.com/nirenjan/x52pro-linux/issues MSGID_BUGS_ADDRESS = https://github.com/nirenjan/libx52/issues
# This is the list of locale categories, beyond LC_MESSAGES, for which the # This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty. # message catalogs shall be used. It is usually empty.

View File

@ -1,7 +1,7 @@
Notes for translators Notes for translators
===================== =====================
x52pro-linux is slowly being migrated to use the GNU gettext library to support libx52 is slowly being migrated to use the GNU gettext library to support
internationalization (i18n). Contributions are welcome to both update the internationalization (i18n). Contributions are welcome to both update the
existing code to use `gettext`, and to add new translations. existing code to use `gettext`, and to add new translations.
@ -22,14 +22,14 @@ Once you add new strings to be translated, update `po/POTFILES.in` to include
any new files that have to be translated. The file path is relative to the root any new files that have to be translated. The file path is relative to the root
of the project. of the project.
The next step is to rebuild the translation template `x52pro-linux.pot`. To do The next step is to rebuild the translation template `libx52.pot`. To do
this, run `make -C po update-po` from your build directory (where you ran this, run `make -C po update-po` from your build directory (where you ran
`configure`). This also updates any translation files (with `.po` extension) to `configure`). This also updates any translation files (with `.po` extension) to
include the new source strings. include the new source strings.
# Adding new languages (translators) # Adding new languages (translators)
Run `msginit -l <language-code> x52pro-linux.pot` to generate a new `.po` file Run `msginit -l <language-code> libx52.pot` to generate a new `.po` file
for that language. Language code is a 2 letter for that language. Language code is a 2 letter
[ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code with an [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) code with an
optional [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) region optional [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) region

View File

@ -7,7 +7,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: libx52 0.2.3\n" "Project-Id-Version: libx52 0.2.3\n"
"Report-Msgid-Bugs-To: https://github.com/nirenjan/x52pro-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
"POT-Creation-Date: 2021-09-22 02:44-0700\n" "POT-Creation-Date: 2021-09-22 02:44-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"

View File

@ -1,12 +1,12 @@
# Language xx translations for x52pro-linux package. # Language xx translations for libx52 package.
# Copyright (C) 2020 Nirenjan Krishnan # Copyright (C) 2020 Nirenjan Krishnan
# This file is distributed under the same license as the x52pro-linux package. # This file is distributed under the same license as the libx52 package.
# Nirenjan Krishnan <nirenjan@gmail.com>, 2020. # Nirenjan Krishnan <nirenjan@gmail.com>, 2020.
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: libx52 0.2.3\n" "Project-Id-Version: libx52 0.2.3\n"
"Report-Msgid-Bugs-To: https://github.com/nirenjan/x52pro-linux/issues\n" "Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
"POT-Creation-Date: 2021-09-22 02:44-0700\n" "POT-Creation-Date: 2021-09-22 02:44-0700\n"
"PO-Revision-Date: 2021-09-16 23:04-0700\n" "PO-Revision-Date: 2021-09-16 23:04-0700\n"
"Last-Translator: Nirenjan Krishnan <nirenjan@gmail.com>\n" "Last-Translator: Nirenjan Krishnan <nirenjan@gmail.com>\n"