Skip to content

Commit 07bee20

Browse files
authored
Merge pull request #37 from Hayao0819/master
3.2.32.1 ← wut
2 parents 96aa28c + a176f9f commit 07bee20

File tree

309 files changed

+76668
-59631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+76668
-59631
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ CMakeLists.txt.user
5050

5151
# Backup files
5252
*~
53+
*.bak
5354

5455
# Kate
5556
*.kate-swp

3rdparty/kdsingleapplicationguard/kdsingleapplicationguard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class DLLEXPORT KDSingleApplicationGuard : public QObject
4141
explicit KDSingleApplicationGuard( Policy policy, QObject * parent=nullptr );
4242
explicit KDSingleApplicationGuard( const QStringList & arguments, QObject * parent=nullptr );
4343
explicit KDSingleApplicationGuard( const QStringList & arguments, Policy policy, QObject * parent=nullptr );
44-
~KDSingleApplicationGuard();
44+
~KDSingleApplicationGuard() override;
4545

4646
bool isOperational() const;
4747

@@ -70,7 +70,7 @@ public Q_SLOTS:
7070
void killOtherInstances();
7171

7272
protected:
73-
/*! \reimp */ bool event( QEvent * event );
73+
/*! \reimp */ bool event( QEvent * event ) override;
7474

7575
private:
7676
#ifndef Q_WS_WIN

3rdparty/waitingspinnerwidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private slots:
8585
void rotate();
8686

8787
protected:
88-
void paintEvent(QPaintEvent *paintEvent);
88+
void paintEvent(QPaintEvent *paintEvent) override;
8989

9090
private:
9191
static int lineCountDistanceFromPrimary(int current, int primary,

CHANGES

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,76 @@ contributors are listed. Note that Calamares does not have a historical
77
changelog -- this log starts with version 3.2.0. The release notes on the
88
website will have to do for older versions.
99

10+
# 3.2.32.1 (2020-10-17) #
11+
12+
This is a release to address source-incompatible changes in KPMcore 4.2.0,
13+
which was released just before Calamares 3.2.32 and had not yet been
14+
compile-tested. There is also one changed message in the translations,
15+
reported by Yuri Chornoivan.
16+
17+
18+
# 3.2.32 (2020-10-16) #
19+
20+
This release contains contributions from (alphabetically by first name):
21+
- Fabian Tomat
22+
- Gaël PORTAY
23+
24+
## Core ##
25+
- When doing GeoIP lookups, Calamares pretends to be Firefox.
26+
This resolves an issue where the GeoIP provider was refusing
27+
QNAM connections with the default User-Agent.
28+
- New translation available, Friulian. Welcome!
29+
30+
## Modules ##
31+
- The *netinstall* module has some tricky configuration files;
32+
it now complains about more cases of bad syntax or poor structure.
33+
- The *partition* module can now be constrained to work only with
34+
a particular kind of partition table. (thanks Gaël)
35+
- The *partition* module is a little more resilient to variations
36+
in btrfs notation from os-prober.
37+
- The *shellprocess* module now supports having a different progress
38+
message (other than "Shell Processes Job") through the config file.
39+
40+
41+
# 3.2.31 (2020-10-06) #
42+
43+
This release contains contributions from (alphabetically by first name):
44+
- Corentin Noël
45+
- kadler15 (new contributor! hi!)
46+
47+
## Core ##
48+
- At the start of the *exec* phase, an overview is given of the
49+
various job weights, which allows you to tweak the overall
50+
progress reporting during the installation.
51+
- Problems with running Calamares on a 1-core single CPU have been resolved.
52+
53+
## Modules ##
54+
- The *keyboard* module now recognizes Turkish "F" layout and
55+
will set the vconsole keyboard layout correctly even if xkb
56+
keymaps are not found.
57+
- The *machineid* module, which generates UUIDs for systemd and dbus
58+
and can generate entropy files (filled from `/dev/urandom` in the host
59+
system) now supports more than one entropy file; generate them as needed
60+
(or copy a fixed value to all, depending on *entropy-copy*). Deprecate
61+
*entropy* (which generates a specific output file) as too inflexible.
62+
- In the *partition* module, swap can now be chosen as *file*, which is
63+
**not** create a swap partition, but write a `/swapfile` in the root
64+
directory, 512MiB large, and set that as swap. There is as yet no
65+
"smarts" about the size of the swap file.
66+
- Multiple problems in the *partition* module around partition
67+
sizing have been resolved by Corentin Noël.
68+
- The *preservefiles* module documentation did not match the functionality,
69+
and when used, didn't work right. #1521 (thanks kadler15)
70+
- Progress reporting from the *unpackfs* module has been revamped:
71+
it reports more often now, so that it is more obvious that files
72+
are being transferred even when the percentage progress does not
73+
change.
74+
- The *unpackfs* module now supports a *weight* setting for each
75+
of the unpack entries. For a single entry this does not matter,
76+
but if there are multiple entries it allows tweaking the relative
77+
progress between each entry.
78+
79+
1080
# 3.2.30 (2020-09-03) #
1181

1282
This release contains contributions from (alphabetically by first name):

CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
# TODO:3.3: Require CMake 3.12
4242
cmake_minimum_required( VERSION 3.3 FATAL_ERROR )
4343
project( CALAMARES
44-
VERSION 3.2.30
44+
VERSION 3.2.32.1
4545
LANGUAGES C CXX )
4646

4747
set( CALAMARES_VERSION_RC 0 ) # Set to 0 during release cycle, 1 during development
@@ -140,15 +140,14 @@ set( CALAMARES_DESCRIPTION_SUMMARY
140140
# NOTE: update these lines by running `txstats.py`, or for full automation
141141
# `txstats.py -e`. See also
142142
#
143-
# Total 69 languages
144-
set( _tx_complete az az_AZ ca cs_CZ da fi_FI he hi hr ja nl pt_BR
145-
sq sv tg tr_TR uk zh_TW )
146-
set( _tx_good as ast be de es fr hu it_IT ko lt ml pt_PT ru sk
147-
zh_CN )
148-
set( _tx_ok ar bg bn el en_GB es_MX es_PR et eu fa gl id is mr nb
149-
pl ro sl sr sr@latin te th )
143+
# Total 70 languages
144+
set( _tx_complete ca cs_CZ he hr sq tr_TR uk )
145+
set( _tx_good as ast az az_AZ be da de es fa fi_FI fr hi hu it_IT
146+
ja ko lt ml nl pt_BR pt_PT ru sk sv tg zh_CN zh_TW )
147+
set( _tx_ok ar bg bn el en_GB es_MX es_PR et eu fur gl id is mr nb
148+
pl ro sl sr sr@latin th )
150149
set( _tx_incomplete ca@valencia eo fr_CH gu ie kk kn lo lv mk ne_NP
151-
ur uz )
150+
te ur uz )
152151

153152
### Required versions
154153
#

CMakeModules/CalamaresAddTest.cmake

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# calamares_add_test(
1515
# <NAME>
1616
# [GUI]
17+
# [RESOURCES FILE]
1718
# SOURCES <FILE..>
1819
# )
1920

@@ -24,13 +25,14 @@ function( calamares_add_test )
2425
# parse arguments (name needs to be saved before passing ARGN into the macro)
2526
set( NAME ${ARGV0} )
2627
set( options GUI )
28+
set( oneValueArgs NAME RESOURCES )
2729
set( multiValueArgs SOURCES LIBRARIES DEFINITIONS )
28-
cmake_parse_arguments( TEST "${options}" "" "${multiValueArgs}" ${ARGN} )
30+
cmake_parse_arguments( TEST "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
2931
set( TEST_NAME ${NAME} )
3032

3133
if( ECM_FOUND AND BUILD_TESTING )
3234
ecm_add_test(
33-
${TEST_SOURCES}
35+
${TEST_SOURCES} ${TEST_RESOURCES}
3436
TEST_NAME
3537
${TEST_NAME}
3638
LINK_LIBRARIES
@@ -44,5 +46,8 @@ function( calamares_add_test )
4446
if( TEST_GUI )
4547
target_link_libraries( ${TEST_NAME} calamaresui Qt5::Gui )
4648
endif()
49+
if( TEST_RESOURCES )
50+
calamares_autorcc( ${TEST_NAME} ${TEST_RESOURCES} )
51+
endif()
4752
endif()
4853
endfunction()

CMakeModules/KPMcoreHelper.cmake

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# === This file is part of Calamares - <https://calamares.io> ===
2+
#
3+
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <[email protected]>
4+
# SPDX-License-Identifier: BSD-2-Clause
5+
#
6+
###
7+
#
8+
# Finds KPMcore and consistently sets API flags based on the version.
9+
#
10+
if ( NOT KPMcore_searched_for )
11+
set( KPMcore_searched_for TRUE )
12+
13+
find_package( KPMcore 3.3 )
14+
set_package_properties(
15+
KPMcore PROPERTIES
16+
URL "https://invent.kde.org/kde/kpmcore"
17+
DESCRIPTION "KDE Partitioning library"
18+
TYPE RECOMMENDED
19+
PURPOSE "For disk partitioning support"
20+
)
21+
22+
if( KPMcore_FOUND )
23+
set( KPMcore_API_DEFINITIONS "" )
24+
if( KPMcore_VERSION VERSION_GREATER "3.3.70" AND KPMcore_VERSION VERSION_LESS "4.0" )
25+
message( FATAL_ERROR "KPMCore beta versions ${KPMcore_VERSION} not supported" )
26+
endif()
27+
if ( KPMcore_VERSION VERSION_GREATER "3.3.0")
28+
list( APPEND KPMcore_API_DEFINITIONS WITH_KPMCORE331API) # kpmcore > 3.3.0 with deprecations
29+
endif()
30+
if ( KPMcore_VERSION VERSION_GREATER_EQUAL "4.0")
31+
list( APPEND KPMcore_API_DEFINITIONS WITH_KPMCORE4API) # kpmcore 4 with new API
32+
endif()
33+
if( KPMcore_VERSION VERSION_GREATER_EQUAL "4.2" )
34+
list( APPEND KPMcore_API_DEFINITIONS WITH_KPMCORE42API) # kpmcore 4.2 with new API
35+
endif()
36+
else()
37+
set( KPMcore_API_DEFINITIONS WITHOUT_KPMcore )
38+
endif()
39+
endif()

CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!-- SPDX-FileCopyrightText: no
2+
SPDX-License-Identifier: CC0-1.0
3+
-->
4+
5+
# Contributing to Calamares
6+
7+
### Dependencies
8+
9+
Main:
10+
* Compiler with C++14 support: GCC >= 5 or Clang >= 3.5.1
11+
* CMake >= 3.3
12+
* Qt >= 5.9
13+
* yaml-cpp >= 0.5.1
14+
* Python >= 3.3 (required for some modules)
15+
* Boost.Python >= 1.55.0 (required for some modules)
16+
* KDE extra-cmake-modules >= 5.18 (recommended; required for some modules;
17+
required for some tests)
18+
* KDE Frameworks KCoreAddons (>= 5.58 recommended)
19+
* PythonQt (optional, deprecated)
20+
21+
Individual modules may have their own requirements;
22+
these are listed in CMake output.
23+
Particular requirements (not complete):
24+
25+
* *fsresizer* KPMCore >= 3.3 (>= 4.2 recommended)
26+
* *partition* KPMCore >= 3.3 (>= 4.2 recommended)
27+
* *users* LibPWQuality (optional)
28+
29+
### Building
30+
31+
See [wiki](https://github.com/calamares/calamares/wiki) for up to date
32+
[building](https://github.com/calamares/calamares/wiki/Develop-Guide)
33+
and [deployment](https://github.com/calamares/calamares/wiki/Deploy-Guide)
34+
instructions.
35+

README.md

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SPDX-License-Identifier: CC0-1.0
33
-->
44

5-
### Calamares: Distribution-Independent Installer Framework
5+
# Calamares: Distribution-Independent Installer Framework
66
---------
77

88
[![GitHub release](https://img.shields.io/github/v/release/sereneteam/alterlinux-calamares?color=%234169e1&include_prereleases&style=flat-square)](https://github.com/sereneteam/alterlinux-calamares/releases)
@@ -35,7 +35,31 @@ Modules:
3535

3636
### Building (Vanilla)
3737

38-
See [wiki](https://github.com/calamares/calamares/wiki) for up to date
39-
[building](https://github.com/calamares/calamares/wiki/Develop-Guide)
40-
and [deployment](https://github.com/calamares/calamares/wiki/Deploy-Guide)
41-
instructions.
38+
Clone Calamares from GitHub. The default branch is called *calamares*.
39+
40+
```
41+
git clone https://github.com/calamares/calamares.git
42+
```
43+
44+
Calamares is a KDE-Frameworks and Qt-based, C++14, CMake-built application.
45+
The dependencies are explainged in [CONTRIBUTING.md](CONTRIBUTING.md).
46+
47+
## Contributing to Calamares
48+
49+
Calamares welcomes PRs. New issues are welcome, too.
50+
There are both the Calamares **core** repository (this one),
51+
and an *extensions** repository ([Calamares extensions](https://github.com/calamares/calamares-extensions).
52+
53+
Contributions to code, modules, documentation, the wiki and the website are all welcome.
54+
There is more information in the [CONTRIBUTING.md](CONTRIBUTING.md) file.
55+
56+
## Join the Conversation
57+
58+
GitHub Issues are **one** place for discussing Calamares if there are concrete
59+
problems or a new feature to discuss.
60+
61+
Regular Calamares development chit-chat happens on old-school IRC
62+
(no registration required). Responsiveness is best during the day
63+
in Europe, but feel free to idle.
64+
65+
[![Visit our IRC channel](https://kiwiirc.com/buttons/webchat.freenode.net/calamares.png)](https://webchat.freenode.net/?channel=#calamares?nick=guest|)

calamares.desktop

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Name[fr]=Installer le système
7878
Icon[fr]=calamares
7979
GenericName[fr]=Installateur système
8080
Comment[fr]=Calamares - Installateur système
81+
Name[fur]=Instale il sisteme
82+
Icon[fur]=calamares
83+
GenericName[fur]=Program di instalazion dal sisteme
84+
Comment[fur]=Calamares — Program di instalazion dal sisteme
8185
Name[gl]=Instalación do Sistema
8286
Icon[gl]=calamares
8387
GenericName[gl]=Instalador de sistemas

0 commit comments

Comments
 (0)