From e7d91fd3a4d10023889a78ed8715aab6ff8af5f6 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Wed, 29 Sep 2021 00:30:55 -0700 Subject: [PATCH] Replace all references to x52pro-linux with libx52 --- .github/workflows/release.yml | 4 ++-- .gitignore | 2 +- ChangeLog.md | 28 +++++++++++++++------------- DoxygenLayout.xml | 2 +- INSTALL.md | 6 +++--- Makefile.am | 2 +- README.md | 8 ++++---- configure.ac | 2 +- docs/main.dox | 4 ++-- kernel_module/README.md | 2 +- po/Makevars | 2 +- po/README.md | 6 +++--- po/libx52.pot | 2 +- po/xx_PL.po | 6 +++--- 14 files changed, 39 insertions(+), 37 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 701e9d5..1148aa8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,8 @@ jobs: - name: Find release tarball id: find_release run: | - echo "::set-output name=path::$(find $PWD -name 'x52pro-linux*.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=path::$(find $PWD -name 'libx52*.tar*')" + echo "::set-output name=asset::$(find . -name 'libx52*.tar*' -exec basename {} \; | sed 's/libx52-\(.*\)\.tar/libx52_\1.orig.tar/')" - name: Create Release id: create_release diff --git a/.gitignore b/.gitignore index 9c5244e..ccbf738 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,7 @@ udev/*.rules x52d* !daemon/x52d_*.* test-* -x52pro-linux-*.tar.gz +libx52-*.tar.gz # Module files modules.order diff --git a/ChangeLog.md b/ChangeLog.md index 489b934..b35082d 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file. The format is based upon [Keep a Changelog]. ## [Unreleased] +### Changed +- Renamed project from `x52pro-linux` to `libx52` ## [0.2.3] - 2021-09-20 ### Added @@ -13,9 +15,9 @@ The format is based upon [Keep a Changelog]. ### Fixed - 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 - [#35](https://github.com/nirenjan/x52pro-linux/issues/35). + [#35](https://github.com/nirenjan/libx52/issues/35). ## [0.2.2] - 2021-09-03 ### Added @@ -61,7 +63,7 @@ The format is based upon [Keep a Changelog]. - Handling of very large time_t values in `libx52_set_clock` - Secondary and tertiary clock setting when primary clock is set to local time 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 ### Changed @@ -137,13 +139,13 @@ The format is based upon [Keep a Changelog]. [Keep a Changelog]: http://keepachangelog.com/en/1.0.0/ [Semantic Versioning]: http://semver.org/spec/v2.0.0.html [TAP]: https://testanything.org -[Unreleased]: https://github.com/nirenjan/x52pro-linux/compare/v0.2.3...HEAD -[0.2.3]: https://github.com/nirenjan/x52pro-linux/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.1]: https://github.com/nirenjan/x52pro-linux/compare/v0.2.0...v0.2.1 -[0.2.0]: https://github.com/nirenjan/x52pro-linux/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.1]: https://github.com/nirenjan/x52pro-linux/compare/v0.1.0...v0.1.1 -[0.1.0]: https://github.com/nirenjan/x52pro-linux/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.1]: https://github.com/nirenjan/x52pro-linux/releases/tag/v0.0.1 +[Unreleased]: https://github.com/nirenjan/libx52/compare/v0.2.3...HEAD +[0.2.3]: https://github.com/nirenjan/libx52/compare/v0.2.3...v0.2.2 +[0.2.2]: https://github.com/nirenjan/libx52/compare/v0.2.2...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/libx52/compare/v0.1.2...v0.2.0 +[0.1.2]: https://github.com/nirenjan/libx52/compare/v0.1.1...v0.1.2 +[0.1.1]: https://github.com/nirenjan/libx52/compare/v0.1.0...v0.1.1 +[0.1.0]: https://github.com/nirenjan/libx52/compare/v0.0.2...v0.1.0 +[0.0.2]: https://github.com/nirenjan/libx52/compare/v0.0.1...v0.0.2 +[0.0.1]: https://github.com/nirenjan/libx52/releases/tag/v0.0.1 diff --git a/DoxygenLayout.xml b/DoxygenLayout.xml index 6d2782c..429840f 100644 --- a/DoxygenLayout.xml +++ b/DoxygenLayout.xml @@ -34,7 +34,7 @@ - + diff --git a/INSTALL.md b/INSTALL.md index 8b20ec0..87df0e8 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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): @@ -41,12 +41,12 @@ Build has been tested on the following operating systems (x86-64 only): 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 ``` -cd ./x52pro-linux +cd ./libx52 ./autogen.sh ``` diff --git a/Makefile.am b/Makefile.am index 8b80fe2..b991fed 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Top level Automake for x52pro-linux +# Top level Automake for libx52 # # Copyright (C) 2012-2018 Nirenjan Krishnan (nirenjan@nirenjan.org) # diff --git a/README.md b/README.md index f229064..e82fac5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ Saitek X52Pro joystick driver for Linux ======================================= -![Build/Test](https://github.com/nirenjan/x52pro-linux/workflows/Build/Test/badge.svg) -![Kernel Module](https://github.com/nirenjan/x52pro-linux/workflows/Kernel%20Module/badge.svg) -![CodeQL](https://github.com/nirenjan/x52pro-linux/workflows/CodeQL/badge.svg) +![Build/Test](https://github.com/nirenjan/libx52/workflows/Build/Test/badge.svg) +![Kernel Module](https://github.com/nirenjan/libx52/workflows/Kernel%20Module/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 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. ``` -sudo apt-add-repository ppa:nirenjan/x52pro-linux +sudo apt-add-repository ppa:nirenjan/libx52 sudo apt update sudo apt install libx52-1 ``` diff --git a/configure.ac b/configure.ac index e9af59a..7fc1948 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# Autoconf settings for x52pro-linux +# Autoconf settings for libx52 # # Copyright (C) 2012-2021 Nirenjan Krishnan (nirenjan@nirenjan.org) # diff --git a/docs/main.dox b/docs/main.dox index b3cf35e..4f631c0 100644 --- a/docs/main.dox +++ b/docs/main.dox @@ -17,14 +17,14 @@ libx52 is available on Ubuntu as a PPA. Follow the instructions below to install on Ubuntu: @code{.unparsed} -sudo add-apt-repository nirenjan:x52pro-linux +sudo add-apt-repository nirenjan:libx52 sudo apt update sudo apt install -y libx52-1 @endcode @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 diff --git a/kernel_module/README.md b/kernel_module/README.md index ef6e18c..4515db4 100644 --- a/kernel_module/README.md +++ b/kernel_module/README.md @@ -34,4 +34,4 @@ automatically. Otherwise, simply disconnect and reconnect your X52. # 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). diff --git a/po/Makevars b/po/Makevars index d0a89dd..cb39539 100644 --- a/po/Makevars +++ b/po/Makevars @@ -41,7 +41,7 @@ PACKAGE_GNU = no # 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 # 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 # message catalogs shall be used. It is usually empty. diff --git a/po/README.md b/po/README.md index 1bd4a9a..6a3171e 100644 --- a/po/README.md +++ b/po/README.md @@ -1,7 +1,7 @@ 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 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 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 `configure`). This also updates any translation files (with `.po` extension) to include the new source strings. # Adding new languages (translators) -Run `msginit -l x52pro-linux.pot` to generate a new `.po` file +Run `msginit -l libx52.pot` to generate a new `.po` file 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 optional [ISO-3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) region diff --git a/po/libx52.pot b/po/libx52.pot index eef77ea..073121c 100644 --- a/po/libx52.pot +++ b/po/libx52.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" diff --git a/po/xx_PL.po b/po/xx_PL.po index b716d1d..6453173 100644 --- a/po/xx_PL.po +++ b/po/xx_PL.po @@ -1,12 +1,12 @@ -# Language xx translations for x52pro-linux package. +# Language xx translations for libx52 package. # 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 , 2020. # msgid "" msgstr "" "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" "PO-Revision-Date: 2021-09-16 23:04-0700\n" "Last-Translator: Nirenjan Krishnan \n"