This file contains hidden or 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
| find_program(GETTEXT_MSGFMT_EXECUTABLE msgfmt) | |
| if(NOT GETTEXT_MSGFMT_EXECUTABLE) | |
| message( | |
| "------ | |
| NOTE: msgfmt not found. Translations will *not* be installed | |
| ------") | |
| else(NOT GETTEXT_MSGFMT_EXECUTABLE) | |
| set(catalogname ${CMAKE_PROJECT_NAME}) |
This file contains hidden or 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
| #!/bin/sh | |
| # SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL | |
| # SPDX-FileCopyrightText: 2024 Thomas Duckworth <tduck973564@gmail.com> | |
| o="$(udevadm info -q property -p /sys/devices/virtual/dmi/id --no-pager)" | |
| # Calculate minimum width required for all output | |
| width="$(echo "$o"| grep -e "MEMORY_ARRAY" -e "MEMORY_DEVICE" | awk -F '=' ' | |
| { |