-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resources: translations, appstream metainfo, desktop file update
- Loading branch information
Showing
15 changed files
with
657 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
License: BSD-3-Clause | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. Neither the name of the University nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR | ||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | ||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#=============================================================================== | ||
# Editable project configuration | ||
# | ||
# Essential, non translatable application information (except DESCRIPTION). | ||
# Translatable strings are passed via code. | ||
#=============================================================================== | ||
set(PROJECT_ID "labwc-tweaks") | ||
list(APPEND PROJECT_CATEGORIES "Settings;System") # Freedesktop menu categories | ||
list(APPEND PROJECT_KEYWORDS "labwc;wayland;compositor") | ||
set(PROJECT_AUTHOR_NAME "Labwc Team") | ||
set(PROJECT_COPYRIGHT_YEAR "2024") # TODO: from git | ||
set(PROJECT_DESCRIPTION "Labwc Wayland compositor settings") | ||
set(PROJECT_ORGANIZATION_NAME "labwc") | ||
set(PROJECT_ORGANIZATION_URL "${PROJECT_ORGANIZATION_NAME}.github.io") | ||
set(PROJECT_ORGANIZATION_ID "io.github.${PROJECT_ORGANIZATION_NAME}") | ||
set(PROJECT_REPOSITORY_URL "https://github.com/${PROJECT_ORGANIZATION_NAME}/${PROJECT_ID}") | ||
set(PROJECT_REPOSITORY_BRANCH "master") | ||
set(PROJECT_HOMEPAGE_URL ${PROJECT_REPOSITORY_URL}) # TODO: "https://${PROJECT_ORGANIZATION_URL}/${PROJECT_ID}" | ||
set(PROJECT_SPDX_ID "GPL-2.0-only") | ||
set(PROJECT_TRANSLATIONS_DIR "${CMAKE_SOURCE_DIR}/data/translations") | ||
set(PROJECT_SCREENSHOT_URL "https://github-production-user-asset-6210df.s3.amazonaws.com/1019119/294060534-84ef3747-f336-444e-9e2c-9a417ebe67e5.png") | ||
#=============================================================================== | ||
# Appstream | ||
#=============================================================================== | ||
set(PROJECT_APPSTREAM_SPDX_ID "CC0-1.0") | ||
set(PROJECT_APPSTREAM_ID "labwc_tweaks") | ||
#=============================================================================== | ||
# Adapt to CMake variables | ||
#=============================================================================== | ||
set(${PROJECT_NAME}_DESCRIPTION "${PROJECT_DESCRIPTION}") | ||
set(${PROJECT_NAME}_HOMEPAGE_URL "${PROJECT_HOMEPAGE_URL}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/sh | ||
|
||
#============================================================================= | ||
# Copyright 2018 Alf Gaida <[email protected]> | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions | ||
# are met: | ||
# | ||
# 1. Redistributions of source code must retain the copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# 2. Redistributions in binary form must reproduce the copyright | ||
# notice, this list of conditions and the following disclaimer in the | ||
# documentation and/or other materials provided with the distribution. | ||
# 3. The name of the author may not be used to endorse or promote products | ||
# derived from this software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
#============================================================================= | ||
|
||
# lxqt-transupdate | ||
# Update LXQt translation files. | ||
|
||
# just to be sure - for distributions that user qtchooser | ||
# Debian and derivatives, Fedora, FreeBSD, Mageia, OpenMandriva, PCLinuxOS | ||
export QT_SELECT=6 | ||
|
||
TEMPLATES=$(find . -name \*.ts | grep -v '_') | ||
for i in $TEMPLATES; do | ||
echo "\n\n==== $i ====\n" | ||
TRANSDIR=$(dirname $i) | ||
SOURCEDIR=$(dirname $TRANSDIR) | ||
# template-update | ||
echo "== Template Update ==" | ||
echo "lupdate $SOURCEDIR -ts $i -locations absolute -no-obsolete\n" | ||
lupdate $SOURCEDIR -ts $i -locations absolute -no-obsolete | ||
echo | ||
echo "== Language updates ==" | ||
echo "lupdate $SOURCEDIR -ts $TRANSDIR/*_*.ts -locations absolute -no-obsolete\n" | ||
lupdate $SOURCEDIR -ts $TRANSDIR/*_*.ts -locations absolute -no-obsolete | ||
done |
Oops, something went wrong.