aboutsummaryrefslogtreecommitdiff
path: root/i18n/fr_FR/projects/libreboot-sources
diff options
context:
space:
mode:
authorLibreboot Contributor <contributor@libreboot.org>2020-04-02 20:59:23 +0200
committerLibreboot Contributor <contributor@libreboot.org>2020-04-02 20:59:43 +0200
commita2f4bef6de0e1f5770d489e861c78890f81229c1 (patch)
treebc74ce87d44cfcae1eecff62c0fbf6a97b1812fc /i18n/fr_FR/projects/libreboot-sources
parentc6cb6cf4769cd535eee9abfd41fbf717a51d067c (diff)
downloadlibrebootfr-a2f4bef6de0e1f5770d489e861c78890f81229c1.tar.gz
librebootfr-a2f4bef6de0e1f5770d489e861c78890f81229c1.zip
link to french version of gplv3 at the top of i18n/fr_FR/COPYING . Also, we remove files that we haven't translated yet, it weights a lot.
Diffstat (limited to 'i18n/fr_FR/projects/libreboot-sources')
-rw-r--r--i18n/fr_FR/projects/libreboot-sources/install/install1
-rwxr-xr-xi18n/fr_FR/projects/libreboot-sources/install/libreboot-sources146
-rwxr-xr-xi18n/fr_FR/projects/libreboot-sources/libreboot-sources67
3 files changed, 0 insertions, 214 deletions
diff --git a/i18n/fr_FR/projects/libreboot-sources/install/install b/i18n/fr_FR/projects/libreboot-sources/install/install
deleted file mode 100644
index 97696cfe..00000000
--- a/i18n/fr_FR/projects/libreboot-sources/install/install
+++ /dev/null
@@ -1 +0,0 @@
-libreboot-sources:libreboot-sources
diff --git a/i18n/fr_FR/projects/libreboot-sources/install/libreboot-sources b/i18n/fr_FR/projects/libreboot-sources/install/libreboot-sources
deleted file mode 100755
index 162aef32..00000000
--- a/i18n/fr_FR/projects/libreboot-sources/install/libreboot-sources
+++ /dev/null
@@ -1,146 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr>
-#
-# 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 <http://www.gnu.org/licenses/>.
-
-BUILD_SYSTEM="libreboot"
-
-SOURCES="sources"
-ARCHIVE="tar.xz"
-
-usage() {
- printf 1>&2 '%s\n' "$executable [action] [sources path] (extract path)"
-
- printf 1>&2 '\n%s\n' 'Actions:'
- printf 1>&2 '%s\n' ' extract - Extract build system sources'
- printf 1>&2 '%s\n' ' copy - Copy projects sources'
- printf 1>&2 '%s\n' ' prepare - Extract and copy sources'
-
- printf '\n%s\n' ' When no extract path is provided, sources are extracted in the current'
- printf '%s\n' ' directory.'
-}
-
-extract() {
- local sources_path=$1
- local extract_path=$2
-
- local build_system_path
- local archive
-
- build_system_path="$extract_path/$BUILD_SYSTEM"
-
- if [ -d "$build_system_path" ]
- then
- return
- fi
-
- archive=$( find $sources_path -name "$BUILD_SYSTEM-sources.$ARCHIVE" || true )
- if [ -z "$archive" ]
- then
- printf 1>&2 '%s\n' "Finding $BUILD_SYSTEM sources archive failed!"
- usage
- exit 1
- fi
-
- tar -xf "$archive" -ps -C "$extract_path"
-
- printf '\n%s\n' "Extracted $BUILD_SYSTEM sources from $sources_path to $extract_path"
-}
-
-copy() {
- local sources_path=$1
- local extract_path=$2
-
- local build_system_path
- local build_system_sources_path
- local archives
- local file
-
- build_system_path="$extract_path/$BUILD_SYSTEM"
- build_system_sources_path="$build_system_path/$SOURCES"
-
- if ! [ -d "$build_system_path" ]
- then
- return
- fi
-
- mkdir -p "$build_system_path/$SOURCES"
-
- ( find "$sources_path" -type f -not -name "$BUILD_SYSTEM*" || true ) | while read file
- do
- cp "$file" "$build_system_sources_path"
- done
-
- printf '\n%s\n' "Copied $BUILD_SYSTEM sources from $sources_path to $extract_path"
-}
-
-requirements() {
- local requirement
- local requirement_path
-
- for requirement in "$@"
- do
- requirement_path=$( which "$requirement" || true )
-
- if [ -z "$requirement_path" ]
- then
- printf 1>&2 '%s\n' "Missing requirement: $requirement"
- exit 1
- fi
- done
-}
-
-setup() {
- root=$(readlink -f "$( dirname "$0" )" )
- executable=$( basename "$0" )
-}
-
-libreboot_sources() {
- local action=$1
- local sources_path=$2
- local extract_path=$3
-
- set -e
-
- setup "$@"
-
- if [ -z "$sources_path" ]
- then
- usage
- exit 1
- fi
-
- if [ -z "$extract_path" ]
- then
- extract_path=$root
- fi
-
- requirements "tar" "sha256sum" "gpg"
-
- case $action in
- "extract")
- extract "$sources_path" "$extract_path"
- ;;
- "copy")
- copy "$sources_path" "$extract_path"
- ;;
- "prepare")
- extract "$sources_path" "$extract_path"
- copy "$sources_path" "$extract_path"
- ;;
- esac
-}
-
-libreboot_sources "$@"
diff --git a/i18n/fr_FR/projects/libreboot-sources/libreboot-sources b/i18n/fr_FR/projects/libreboot-sources/libreboot-sources
deleted file mode 100755
index 7dbf4b97..00000000
--- a/i18n/fr_FR/projects/libreboot-sources/libreboot-sources
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/usr/bin/env bash
-
-# Copyright (C) 2016 Paul Kocialkowski <contact@paulk.fr>
-#
-# 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 <http://www.gnu.org/licenses/>.
-
-usage() {
- project_usage_actions "$project"
-}
-
-update() {
- local repository_path=$root
-
- git_fetch "$repository_path"
- git_merge "$repository_path" "$ORIGIN_HEAD"
-}
-
-install() {
- local install_path=$(project_install_path "$project" "$@")
-
- project_install "$project" "$@"
-}
-
-install_check() {
- project_install_check "$project" "$@"
-}
-
-release() {
- local archive_path=$(project_release_archive_path "$project" "$SOURCES" "$@")
- local sources_path=$root
-
- project_release_install "$project" "$TOOLS" "$@"
-
- printf '%s\n' "$VERSION" > "$sources_path/$DOTVERSION"
- printf '%s\n' "$SOURCE_DATE_EPOCH" > "$sources_path/$DOTEPOCH"
-
- if git_check "$sources_path"
- then
- git_revision "$sources_path" > "$sources_path/$DOTREVISION"
- fi
-
- archive_create "$archive_path" "$sources_path" "$BUILD_SYSTEM"
- file_verification_create "$archive_path"
-}
-
-release_check() {
- local archive_path=$(project_release_archive_path "$project" "$SOURCES" "$@")
-
- project_release_install_check "$project" "$TOOLS" "$@"
-
- file_exists_check "$archive_path"
-}
-
-clean() {
- project_clean "$project" "$@"
-}