Adriaan de Groot
54b211daa4
CMake: switch back to kdsingleapplicationguard
...
- Reports from downstream Manjaro that the DBus activation doesn't
work at all. Switch the default back to the old way, until it
can be debugged more.
2020-05-10 17:36:34 +02:00
Adriaan de Groot
b7214b8ede
[calamares] Switch over to DBus unique activation
...
- By default, try to use DBus service to keep Calamares unique
- The older implementation via KDSingleApplicationGuard is still
available, just not used by default.
2020-05-08 15:22:15 +02:00
Gaël PORTAY
ded923fb95
Docs: Add support for bash-completion
2020-04-23 12:38:12 +02:00
Adriaan de Groot
7664a913cc
Changes: post-release housekeeping
2020-04-17 15:25:15 +02:00
Adriaan de Groot
d24e2b561f
Changes: pre-release housekeeping
2020-04-17 13:16:53 +02:00
Adriaan de Groot
05990fb287
CMake: handle DEBUG_* consistently
...
- Make all four DEBUG_ flags actual CMake options, rather than
stuffing some of them in the rather-peculiar _enable_debug_flags.
Each debug option turns on suitable compile flags in the module(s)
that are affected.
2020-04-14 11:18:51 +02:00
Adriaan de Groot
3b69e48e04
Changes: post-release housekeeping
2020-04-10 22:00:03 +02:00
Adriaan de Groot
624b8ae853
Changes: pre-release housekeeping
2020-04-08 13:24:09 +02:00
Adriaan de Groot
599c72bade
Changes: post-release housekeeping
2020-03-28 10:48:13 +01:00
Adriaan de Groot
32ded8b731
Changes: pre-release housekeeping
2020-03-27 23:41:04 +01:00
Adriaan de Groot
948ecb4fd1
CMake: explain the policy settings
2020-03-18 10:25:16 +01:00
Adriaan de Groot
c15022462a
Changes: post-release housekeeping
2020-03-03 14:30:35 +01:00
Adriaan de Groot
3c059cc599
Changes: pre-release housekeeping
2020-02-27 23:12:03 +01:00
Adriaan de Groot
aacdb6be29
Changes: post-release housekeeping
2020-02-24 21:47:13 +01:00
Adriaan de Groot
801c3d4715
Changes: pre-release (hotfix) housekeeping
2020-02-24 11:41:18 +01:00
Adriaan de Groot
a7b0b03bde
Changes: post-release housekeeping
2020-02-21 22:07:15 +01:00
Adriaan de Groot
01c9916cb9
Changes: pre-release housekeeping
2020-02-21 18:53:03 +01:00
Adriaan de Groot
6bdc4a55de
CMake: new convenience module CalamaresAddTest
2020-02-17 12:02:53 +01:00
Adriaan de Groot
445eb1f640
Changes: post-release housekeeping
2020-01-29 11:42:22 +01:00
Adriaan de Groot
5107ce550b
Changes: pre-release housekeeping
2020-01-28 17:42:21 +01:00
Adriaan de Groot
b3f5e28738
CMake: update language list
...
- Add Assamese (as) in the *ok* group.
- Although languages move around a bit in the groupings,
that doesn't change their availability; just says something
about the current translation status.
2020-01-27 16:42:05 +01:00
Adriaan de Groot
c482990bc5
CMake: fix find-boost
2020-01-07 11:38:18 +01:00
Adriaan de Groot
1bc8a28eac
CMake: Calamares doesn't want -p in automoc
...
FIXES #1286
2020-01-07 11:20:45 +01:00
Adriaan de Groot
162ab2129e
Changes: post-release housekeeping
2019-12-03 11:57:25 +01:00
Adriaan de Groot
0eb666c56a
CMake: support TWEAK releases in version-information
2019-12-03 11:37:28 +01:00
Adriaan de Groot
8988e05f88
Changes: pre-release housekeeping
2019-12-02 11:47:58 +01:00
Adriaan de Groot
992746d558
Changes: post-release housekeeping
2019-11-28 16:51:07 +01:00
Adriaan de Groot
b69dd3a93c
Changes: pre-release housekeeping
2019-11-28 13:12:14 +01:00
Adriaan de Groot
ffbc1a3e7d
Changes: post-release housekeeping
2019-11-01 17:38:19 +01:00
Adriaan de Groot
9497540b64
Changes: pre-release housekeeping
2019-11-01 17:19:23 +01:00
Adriaan de Groot
300ebaaa03
Changes: post-release housekeeping
2019-10-13 21:12:24 +02:00
Adriaan de Groot
3a7d0d4ee7
Changes: pre-release housekeeping
2019-10-11 17:53:24 +02:00
Adriaan de Groot
160ecd5ddc
Changes: post-release housekeeping
2019-10-01 11:14:21 +02:00
Adriaan de Groot
9ad5ba36b0
Changes: pre-release housekeeping
2019-10-01 10:50:12 +02:00
Adriaan de Groot
409c90a5bf
i18n: welcome Malayalam translation
2019-09-23 12:56:51 +02:00
Adriaan de Groot
c9ab0524e2
Changes: post-release housekeeping
2019-08-30 13:38:00 +02:00
Adriaan de Groot
f156a683a8
Changes: pre-release housekeeping
2019-08-30 06:41:48 -04:00
Adriaan de Groot
e3f933259b
CMake: missing return statement should be an error
2019-08-29 14:46:16 +02:00
Adriaan de Groot
8c5caf9fd0
[packagechooser] Add CMake knobs to enable/disable item choices
...
- AppData and AppStream can be disabled independently of finding
their requirements (possibly useful if you want to ignore
AppStream even when it's installed in your build environment).
- Add a little top-level documentation about WITH_
2019-08-20 13:56:23 +02:00
Adriaan de Groot
bcb7f17584
[calamares] Make KCoreAddons a requirement
...
- Require KCoreAddons for KAboutData (also, optionally, for KOSRelease)
2019-08-12 13:24:53 +02:00
Adriaan de Groot
2bb1474ebb
Changes: post-release housekeeping
2019-08-07 22:15:08 +02:00
Adriaan de Groot
729616ac6a
Changes: pre-release housekeeping
2019-08-07 12:14:37 +02:00
Adriaan de Groot
fee2297e67
[packagechooser] Fix fallthrough situation
...
- Add a FALLTHRU macro to annotate fallthrough situations in both
Clang and GCC,
- Annotate intentional fallthroughs.
- Add missing break which meant that the selection mode was
always multiple-selection.
2019-08-06 00:24:53 +02:00
Adriaan de Groot
83df41ef06
CMake: bump required CMake to 3.3, enable Esperanto
...
- Require CMake 3.3 for the IN_LIST operator in if() statements
- It looks like Qt 5.12.2 (possibly earlier) supports a QLocale("eo")
so enable Esperanto if that Qt version or later is detected.
2019-08-05 18:24:31 +02:00
Adriaan de Groot
05daa22542
CMake: update language lists
2019-08-02 09:40:25 +02:00
Adriaan de Groot
ca58b67eb9
Changes: post-release housekeeping
2019-07-06 01:16:28 +02:00
Adriaan de Groot
e88269089b
Changes: pre-release housekeeping
2019-07-06 00:52:35 +02:00
Adriaan de Groot
69032ab5a0
Changes: post-release housekeeping
2019-06-28 13:47:25 +02:00
Adriaan de Groot
1bb3ea35b5
Changes: pre-release housekeeping
2019-06-28 12:59:44 +02:00
Adriaan de Groot
25fe8f73c9
CI: label languages "incomplete" at < 5%
2019-06-18 11:44:19 +02:00
Adriaan de Groot
36789d23fb
CMake: update language list (add ca@valencia)
2019-06-17 16:04:41 +02:00
Adriaan de Groot
e49beaea91
CMake: switch WITH_PYTHONQT default to OFF
2019-06-07 10:55:03 +02:00
Adriaan de Groot
0619f19536
CMake: post-release housekeeping
2019-06-07 10:45:53 +02:00
Adriaan de Groot
6dc83d692c
CMake: pre-release housekeeping
2019-06-03 15:00:04 +02:00
Adriaan de Groot
4de703430f
CMake: -O4 doesn't do anything in Clang, use -O3
2019-05-14 14:08:32 +02:00
Adriaan de Groot
10ba468748
[libcalamares] Avoid warnings / errors on both gcc and clang
...
- Clang 8 can detect that there is no need for a return if all
previous paths already return. GCC 8 does not. Clang warns if
the unreachable return is there, GCC errors out if it isn't.
- Introduce a hack NOTREACHED that comments-out on Clang, and
marks as unreachable (but still present) on GCC.
- This might go away with an [[unreachable]] annotation or
similar.
2019-05-14 05:29:18 -04:00
Adriaan de Groot
ba7ee445c6
CMake: switch to using autouic on plugins
...
- Use autouic so that we can also pass in --include to add
a code-warning-suppression to the generated code, just like
we can do with moc.
2019-05-13 14:52:26 +02:00
Adriaan de Groot
ec15cfb58d
CMake: post-release housekeeping
2019-05-10 19:17:04 -04:00
Adriaan de Groot
6d7fd9db26
CMake: pre-release housekeeping
2019-05-10 18:52:06 -04:00
Adriaan de Groot
b840bce22d
CMake: reduce Qt dependency back to 5.9
...
- Although KDE CI onlt tests with Qt 5.10, and KPMCore 4 requires
Qt 5.10, Calamares is still ok with older Qt and KPMCore 3.3,
so drop the dependency back down again. This means, though, that
the code will build against a Qt version we don't usually test.
We're going to assume that Someone Else does the LTS-Qt testing
for us.
2019-05-07 12:38:23 -04:00
Adriaan de Groot
f937ef6eb9
CMake: be compatible with clang 6
...
- Some of the pragmas in moc-warnings.h, intended to *reduce*
warnings from MOC code, generate a warning in their own right.
2019-04-30 17:08:12 +02:00
Adriaan de Groot
a01262a535
CMake: massage dependency-finding
...
- If KPMCore is not found, don't require the KF5 components
that it would depend on.
- If ECM is found, use KDEInstallDirs always, not just when
the partitioning module is used.
2019-04-30 13:38:46 +02:00
Adriaan de Groot
9eab61455a
CMake: bump versions post-release
2019-04-28 09:08:40 -04:00
Adriaan de Groot
cdcd45900b
Changes: document 3.2.7 hotfix
2019-04-27 11:03:09 -04:00
Adriaan de Groot
5373729572
Changes: prep for release
2019-04-25 09:49:00 -04:00
Adriaan de Groot
bdb7bf71a8
Reduce warnings from moc-generated code
...
- The auto-generated code produces a lot of warnings from
Clang 8; this obscures the more meaningful warnings from
actual Calamares code, so tone the warnings down.
- For Clang, set CALAMARES_MOC_OPTIONS.
- Add convenience CMake function for automoccing. It applies
the options as needed to a given target.
2019-04-18 12:06:09 +02:00
Adriaan de Groot
1f66062c81
CMake: bump version, new stub in CHANGES
2019-04-15 11:27:25 -04:00
Adriaan de Groot
14bedef411
CMake: change project identifier to simplify code
...
- Using CALAMARES means that the automatic versioning variables
are set using that name (instead of lower-case).
2019-04-04 16:43:04 +02:00
Adriaan de Groot
01f5ac22a0
CMake: use conventional method for setting version
...
- Using project() to set up the version is idiomatic for CMake
and more standardised than doing it by hand. Do retain the
RC flag, because that's used in other parts of versioning.
2019-04-04 15:58:07 +02:00
Adriaan de Groot
e71fa5963b
CMake: document top-level definitions and options
2019-03-20 11:26:02 +01:00
Adriaan de Groot
355987bfa1
CMake: QtConcurrent is required as well.
...
SEE #1082
2019-02-22 10:47:20 -05:00
Adriaan de Groot
7ed74cefa1
CMake: bump version
2019-02-12 08:25:24 -05:00
Adriaan de Groot
a0ed58267d
CMake: update translations, drop RC status
2019-02-12 05:27:54 -05:00
Adriaan de Groot
d5033f218f
CMake: drop es_ES which snuck into the language list
2019-01-24 15:24:34 -05:00
Adriaan de Groot
b98006b94b
i18n: welcome Nepali as language
...
- Nepali new language
- Asturian at 100%
- Polish documentation a bit
2019-01-24 08:24:08 -05:00
Adriaan de Groot
44211ee19a
Merge branch 'release-3.2.3'
...
- Pull in CHANGES and release-numbering modifications
- Pull in locale fixes
- Bump version again, to 3.2.4-RC1 in master
2019-01-09 13:07:32 +01:00
Adriaan de Groot
ba82526449
CMake: drop RC version for release
2019-01-08 22:25:25 +01:00
Adriaan de Groot
59eaf18b9f
CMake: bump required Qt version
...
- kpmcore will require Qt 5.10 shortly
- KDE CI tests only Qt 5.10 and later
2019-01-03 15:54:54 +01:00
Adriaan de Groot
0b6e1ca488
i18n: update list of translations from Transifex
...
- Add automatic tooling to retrieve translation stats and
output new CMake variable settings.
- If there are i18n language selection warnings, stop CMake.
2018-12-13 14:50:33 +01:00
Adriaan de Groot
b8595a1323
CMake: relax debugging flags again
2018-12-03 21:44:29 +01:00
Adriaan de Groot
9816b6951f
CMake: add debugging flags to compile in debug mode
2018-11-06 06:36:51 -05:00
Adriaan de Groot
7515386cf8
CMake: clean up test setup
...
- Remove redundant searches for ECM and Qt::Test, move
them to top-level.
2018-10-05 09:41:37 -04:00
Adriaan de Groot
3b6cb73975
CMake: bump version for next release
2018-09-04 17:34:39 -04:00
Adriaan de Groot
46687fcb4c
CMake: bump version and changelog
2018-09-04 08:03:59 -04:00
Adriaan de Groot
f65ec65fcc
CMake: bump version
...
- Set RC because this isn't near to a release yet
2018-06-28 05:51:12 -04:00
Adriaan de Groot
dfb42f2b49
CMake: add target show-version to get version information
2018-06-28 05:19:32 -04:00
Adriaan de Groot
0e314447ec
CMake: show the USE variable for services
2018-06-26 10:57:03 -04:00
Adriaan de Groot
b2c2b91645
CMake: introduce USE_<foo>
...
When there are multiple modules doing a thing and it really only
makes sense to have one of them in a given Calamares compilation,
the USE_<foo> variables allow you to select one, while ignoring
all the other implementations. If USE_<foo> is not set, all
implementations are included (as usual).
2018-06-26 05:18:10 -04:00
Adriaan de Groot
a6688504e8
CMake: switch INSTALL_CONFIG to OFF by default
...
- The examples files are not harmless, so distro's should take a
explicit decision to install the config examples (instead of
putting files in /etc/calamares).
2018-06-26 04:17:03 -04:00
Adriaan de Groot
018ee1cc06
CMake: bump version
2018-06-25 10:04:26 -04:00
Adriaan de Groot
25533c4dce
i18n: Update language lists with Korean and current stats
2018-06-16 19:40:23 -04:00
Adriaan de Groot
6a36e1dc8e
CMake: make docs and code consistent.
...
- Document the version requirements more accurately
2018-06-15 14:50:35 -04:00
Adriaan de Groot
5935d57069
CMake: bump minimum Qt to 5.7 to match kpmcore
2018-06-14 05:50:24 -04:00
Calamares CI
ef897f59f5
i18n: Add Korean (ko) language translations
...
Since this is a new language, it is currently 0% translated.
That is why it goes into _tx_bad. It will move to one of the
other categories once some translation has happened. Add the
(still empty) Transifex files already.
2018-06-14 05:03:14 -04:00
Adriaan de Groot
52f2161c35
CMake: make polkit-qt5-1 optional
...
- This is only found in order to know where polkit files should
be installed. In distro's that don't use polkit, may as well
make it entirely optional.
2018-06-07 14:17:43 +02:00
Adriaan de Groot
e52c99685d
CMake: untangle more sections of top-level CMakeLists.txt
2018-06-07 13:45:29 +02:00
Adriaan de Groot
fd2afc3ba9
CMake: move dependency-versioning info to top
2018-06-07 13:45:29 +02:00
Adriaan de Groot
dfd76ed384
CMake: drop unused variable (no thirdparty/ dir anymore)
2018-06-07 13:36:03 +02:00
Adriaan de Groot
fc979404d1
CMake: move translation settings up
...
- Follow previous move of user-adaptable settings and regularly-updated
variables to the top of CMakeLists.txt with a move of the list of
translated languages.
2018-06-07 13:26:22 +02:00
Adriaan de Groot
91a5ec426d
CMake: shuffle the top-level CMakeLists
...
- Put all the options near the top, easy to spot when reading the file
- Put the settings that need regular updates, like version, near the top
- Add some "section headers"
2018-06-07 13:16:57 +02:00
Adriaan de Groot
cfcc753130
i18n: Enable Belorussian translation
2018-05-29 03:29:58 -04:00
Adriaan de Groot
41f70975ea
i18n: add Byelorussian (new translation team)
2018-05-26 12:27:55 +02:00
Adriaan de Groot
45b95e1b65
PythonQt: default to enabled
...
- This just causes it to be enabled and used when present
by default, rather than disabled by default (even when present).
2018-05-24 06:43:36 -04:00
Adriaan de Groot
4daf5fce10
CMake: drop RC status
2018-05-17 11:13:54 -04:00
Adriaan de Groot
b5d667f76e
i18n: disable Esperanto again
...
I consider this a Qt bug: there is an enum value for the language,
the language is fully (?) detailed in the ICU tables, and yet
it gets mapped hard to C locale.
2018-05-14 16:05:55 -04:00
Adriaan de Groot
b0e5e13221
i18n: enable Esperanto translation
2018-05-14 06:28:57 -04:00
Adriaan de Groot
37ce9a0838
CMake: bump RC number
2018-05-10 08:53:45 -04:00
Adriaan de Groot
45731b554b
i18n: update lists of translated languages
...
- add Esperanto
- add checks for new or misspelled translations
2018-05-10 08:53:29 -04:00
Adriaan de Groot
96887e754c
i18n: drop es_ES, add tooling
2018-05-07 09:14:18 -04:00
Adriaan de Groot
ff43752f47
i18n: pl_PL has merged into pl
2018-05-07 05:58:04 -04:00
Adriaan de Groot
42f5ed5d41
[welcome] Fix build, reduce redundancy
...
- constexpr isn't applicable because of non-trivial destructor
- May as well only create " (%1)" once.
FIXES #938
2018-04-23 10:47:31 -04:00
Adriaan de Groot
a47b3f8d14
[libcalamares] Document special-case translations
2018-04-19 09:10:13 -04:00
Adriaan de Groot
d9a1f6b18b
CMake: restore en to translations list
2018-03-28 07:25:22 -04:00
Adriaan de Groot
24305bd58f
CMake: make the translations more transparent; easier to update
2018-03-27 11:10:14 -04:00
Adriaan de Groot
902e392b6d
CMake: bump version for -rc4
2018-03-12 10:13:33 -04:00
Adriaan de Groot
f047b0b110
CMake: reduce duplicate ECM searches
2018-02-14 13:41:12 -05:00
Adriaan de Groot
af67ab2722
CMake: install missing module
...
- The CMake modules for Calamares expect to find CMakeColors
- Also the translation support macro
- Restore CalamaresUse.cmake
- File was removed after 3.1 in db105079
, but it is actually useful
for out-of-tree modules. Restore it and massage into better shape.
- Simplify by adding path to the search path (otherwise the individual
macro files would also have to switch to including with a full path).
2018-02-14 08:55:41 -05:00
Adriaan de Groot
8c4a298f16
CMake: bump version in preparation for -RC3
2018-01-24 14:06:04 +01:00
Adriaan de Groot
66c03b4055
CMake: fix broken logic around Python
2018-01-15 22:27:56 +01:00
Adriaan de Groot
6e01bb0fa4
CMake: factor out explanation of skipped modules.
...
Make a function out of explaining-skipped-modules, and call it
not only after collecting all the modules, but also after
the feature summary, so that it's quite clear which modules
are skipped.
2018-01-10 09:20:49 -05:00
Adriaan de Groot
c582ff0d6b
Merge branch '3.1.x-stable'
2017-12-20 08:13:55 -05:00
Adriaan de Groot
c2ee0c6ed4
CMake: bump version number
2017-12-20 04:22:06 -05:00
Adriaan de Groot
d42210eb93
Merge branch '3.1-pinebook' into 3.1.x-stable
2017-12-19 11:13:21 -05:00
Adriaan de Groot
0116465303
CMake: bump version
2017-12-07 08:42:49 -05:00
Adriaan de Groot
3a94f02547
CMake: look for ECM at top-level, add to search path if found.
2017-12-03 12:48:23 -05:00
Adriaan de Groot
839c039168
Merge remote-tracking branch 'origin/plasma-lnf'
2017-12-03 04:43:55 -05:00
Adriaan de Groot
63af8c1b92
Drop -rc status
2017-11-29 08:50:22 -05:00
Adriaan de Groot
790073cddc
i18n: enable Albanian (sq)
2017-11-28 06:04:47 -05:00
Adriaan de Groot
49fda9da28
CMake: bump version to 3.2.0rc1 (not that there's an RC pending or anything)
2017-11-24 09:29:42 -05:00
Adriaan de Groot
3ae65d5771
Merge branch '3.1.x-stable'
2017-11-24 09:28:35 -05:00
Adriaan de Groot
992d5b4e9d
CMake: always automoc generated files
2017-11-23 17:32:29 +01:00
Adriaan de Groot
0812f035d0
CMake: pick up KDE D8951 to reduce CMake automoc warnings
2017-11-23 13:28:21 +01:00
Adriaan de Groot
7e2e2cabfe
CMake: bump version to 3.1.9rc1 (no functional changes yet)
2017-11-21 04:25:32 -05:00
Adriaan de Groot
848d532a58
CMake: drop -rc status
2017-11-14 10:18:58 -05:00
Adriaan de Groot
78e601edb4
[kcrash] Simplify search for KF5::Crash
2017-11-13 07:33:24 -05:00
Adriaan de Groot
e8e284f724
Merge remote-tracking branch 'origin/kcrash'
2017-11-13 13:18:53 +01:00
Adriaan de Groot
105e06798e
CMake: look for ECM at top-level, add to search path if found.
2017-11-01 05:50:04 -04:00
Adriaan de Groot
b303acf12a
Merge branch '3.1.x-stable'
...
- KPMCore code moved
- Small fixes
2017-10-31 06:44:14 -04:00
Adriaan de Groot
4ea8b2e6ef
CMake: report on the example-distro feature correctly
2017-10-30 11:43:37 -04:00
Adriaan de Groot
3b30bbde67
Bump version number, pretending 3.1.8-rc1 is pending
2017-10-25 08:55:59 -04:00
Adriaan de Groot
055d416321
Merge branch '3.1.x-stable'
2017-10-24 07:54:30 -04:00
Adriaan de Groot
a64e6efb85
Bump version number
2017-10-24 07:46:03 -04:00
Adriaan de Groot
c15db95046
Merge branch '3.1.x-stable' (netinstall fixes)
2017-10-23 11:53:30 -04:00
Adriaan de Groot
aabcd6ba86
Bump version
2017-10-13 16:45:37 -03:00
Adriaan de Groot
9f84519e87
Merge branch '3.1.x-stable'
...
- pull in northern-locations fixes
- pull in testing yaml-config
2017-10-12 14:00:24 -03:00
Adriaan de Groot
b805a8df74
CMake: minor docs, typo's
2017-10-12 12:33:03 -03:00
Adriaan de Groot
27e9852e9d
CMake: be more descriptive about squashfs
2017-10-04 11:13:38 -04:00
Adriaan de Groot
a397297b5b
i18n: enable Hindi and Marathi, even though they're currently at 0%
2017-09-28 10:33:23 -04:00
Adriaan de Groot
33f78b375d
Merge branch 'master' into kcrash
2017-09-27 09:52:01 -04:00
Adriaan de Groot
cd3578ca71
Bump version number
2017-09-25 16:34:30 +02:00
Adriaan de Groot
6924bd7d23
Clang: produce fewer warnings (all caused by boost headers)
2017-09-25 16:33:48 +02:00
Adriaan de Groot
81db2bad5f
CMake: refactor boost.python search
...
- improve description of Python dependencies
- refactor search per python-version-style
- report on features and found boost modules the standard way
2017-09-23 10:22:41 -04:00
Adriaan de Groot
6f1f08f728
Restore Boost.Python detection.
...
FIXES #817
2017-09-23 02:57:26 -04:00
Adriaan de Groot
aa789bc8e9
CMake: improve reporting on dependencies
2017-09-21 06:47:58 -04:00
Adriaan de Groot
40c49bd50d
Clang: be more explicit about marking third-party code.
...
- This is only a partial solution to warnings caused by third-party
code, since #including the headers from other sources won't apply
the warning-suppressions.
- Flags are not applied when building the source as part of a larger
target, but are on re-building just one object (it seems -- CMake
issue to track down).
2017-09-21 04:53:09 -04:00
Adriaan de Groot
d89b17a244
Clang: partman_devices.c is not, in fact, C++ code
2017-09-21 04:16:35 -04:00
Adriaan de Groot
0c129f2460
Reduce third-part warnings a better way.
...
Thanks to Kevin Kofler for pointing out what I'd forgotten about
source-file flags. While at it, introduce a generic mechanism for
suppressing warnings in third-party code.
Mostly reverts 4930484931
2017-09-19 16:49:14 +02:00
Adriaan de Groot
13807ceabf
Licensing: add self
...
- to all the files I've touched recently
- to (very incomplete) AUTHORS list
Licensing: add license info to top-level CMakeLists.txt
2017-09-19 15:57:25 +02:00
Adriaan de Groot
a14e98ce95
Crashreporter: remove further reference to removed lib
2017-09-18 15:02:35 +02:00
Adriaan de Groot
5f213c0ec4
CMake: tidy way of adding Clang warnings
2017-09-17 07:01:59 -04:00
Adriaan de Groot
706ac47111
Clang: reduce warning settings
...
- turn off warnings for missing prototypes (for now) because of MOC
- turn off warnings about docs
2017-09-16 10:36:24 -04:00
Adriaan de Groot
03d9dbe099
Clean up CMakeLists, linking
2017-09-13 18:29:56 +02:00
Adriaan de Groot
90fc268cc4
Clean up CMakeLists wrt. optional
2017-09-13 18:04:36 +02:00
Adriaan de Groot
63ecce93fd
Remove unused CMake module
2017-09-13 08:56:29 -04:00
Adriaan de Groot
1996270128
Drop crashreporter-qt
...
- Reporting URL we use is unused right now anyway
- Not compatible with glibc 2.26
- Not compatible with ARM
2017-09-13 08:38:51 -04:00
Adriaan de Groot
cbef79bb93
Clean up CMake stuff, remove unneeded modules
2017-09-13 08:32:22 -04:00
Adriaan de Groot
510d2d22d5
Clang: reduce warnings to useful level
...
- suppress tons of warnings from Qt MOC due to pointer-casting
- suppress warnings about globals
2017-09-10 06:17:02 -04:00
Adriaan de Groot
d86ea76af2
Bump RC down to 0 for release
2017-09-07 05:46:34 -04:00
Adriaan de Groot
bba9651850
Create example distro squashfs (from build host)
...
- Add a target 'example-distro' which must be manually invoked
This creates an example.sqfs with a minimal binary distro
based on the build hosts's /bin and /lib.
The purpose is to provide a simple test image which the
default configuration of the unpackfs module can use to
create a system within which the *other* steps of the
installation can run.
Example files are some zoneinfo's (remember to choose an
existing zone when using the example distro), groups and
sudoers files, etc ..
The example distro has a special /xbin which contains bogus
binaries for many system-administration tasks (e.g. useradd
which would otherwise come from /usr/sbin).
2017-08-23 17:33:03 -04:00
Adriaan de Groot
2362a33613
Bump version numbers (again!) in preparation for next week's release
2017-08-23 06:43:37 -04:00
Adriaan de Groot
34846a6644
Bump Calamares version
2017-08-23 04:35:21 -04:00
Adriaan de Groot
7688ab7ad3
CMake: typos in filenames (thanks Riddell)
2017-08-08 23:59:15 +09:00
Adriaan de Groot
2fdccdf090
Merge branch 'simplify-module-desc'
2017-08-02 11:29:58 -04:00
Adriaan de Groot
137da0d8ba
CMake: document SKIP_MODULES
2017-07-25 09:00:30 +02:00
Adriaan de Groot
5efac3b2a8
CMake: remove now-nonsensical comment
2017-07-25 08:53:27 +02:00
Adriaan de Groot
978ff6591c
CMake: simplify module loading
2017-07-05 11:14:22 -04:00
Adriaan de Groot
db105079ba
CMake: drop meta-include CalamaresUse
2017-07-05 10:37:49 -04:00
Adriaan de Groot
2c97f393bc
CMake: adjust to moved location, drop useless CalamaresUse.cmake
2017-07-05 10:32:28 -04:00
Adriaan de Groot
7ad1c4ccb8
i18n: add Hebrew to the list of languages (new translation)
2017-07-05 04:48:50 -04:00
Adriaan de Groot
5704719ea4
CMake: minor styling
2017-07-03 08:16:09 -04:00
Adriaan de Groot
b20defc411
Clang: be less pedantic about c++98 compatibility
2017-06-27 07:21:05 -04:00
Adriaan de Groot
d756edfc9a
CMake: turn testing on, following KDE style.
...
A new option BUILD_TESTING is available; you can turn this off at
CMake-time, but building the tests themselves is harmless (although
it takes some CPU time).
The main advantage of doing this is that running the tests becomes
simple:
make test
Instead of figuring out which tests there are and how to run them
individually. Note that the partition-manager tests will normally
fail, because they require an additional environment variable to
be set to tell them what disk to destroy.
2017-06-27 05:05:12 -04:00
Adriaan de Groot
5a1a02197d
CMake: since 3.2 is required, no need for the check
2017-06-27 04:56:38 -04:00
Adriaan de Groot
70ed67744f
Release: drop rc-number
2017-06-21 18:38:53 -04:00
Adriaan de Groot
4841230801
Release: bump version number
2017-06-21 10:30:51 -04:00
Adriaan de Groot
4643ba0adc
Clang: improve usefullness of clang-warnings
...
- don't check c++98 compatibility
- don't show warnings on third-party code
- don't check for padding
2017-06-21 07:27:59 -04:00
Adriaan de Groot
ee030c4d56
CMake: revertlast, DESTDIR is the way to stage.
...
Thanks to Kevin Kofler for putting me back on the right track.
2017-06-19 17:40:51 -04:00
Adriaan de Groot
448af86242
CMake: follow prefix even for the polkit files, for easier staged installs.
2017-06-19 16:55:05 -04:00
Adriaan de Groot
e771845d91
Cleanup: bump CMake requirement, so we have better C++14 build support
2017-06-12 12:36:03 +02:00
Adriaan de Groot
b6715098e1
Manual: move to section 8, minor polishing
2017-06-07 03:03:29 -04:00
Teo Mrnjavac
a5280b6896
Bump.
2017-02-24 17:15:34 +01:00
Teo Mrnjavac
6cb4291b4d
Bump.
2017-02-17 17:04:15 +01:00
Teo Mrnjavac
44839a37c6
Bump.
2017-02-10 16:47:37 +01:00
Teo Mrnjavac
65aa914127
Bump.
2017-01-27 11:20:00 +01:00
Teo Mrnjavac
2cb8c1d248
Bump.
2017-01-20 16:18:23 +01:00
Teo Mrnjavac
c990dc037f
Bump.
2017-01-19 18:08:00 +01:00
Teo Mrnjavac
fddddc5cb9
Bump.
2017-01-18 14:55:55 +01:00
Teo Mrnjavac
ada620effc
Find PythonQt.
2016-12-16 17:03:00 +01:00
shainer
8d5fbaafeb
New cmake switch to skip installing configuration.
...
The INSTALL_CONFIG is "on" by default. When set to off,
no *.conf file, both global and related to a single module,
will be installed. A warning message is printed by cmake too,
and the module description is edited to make this visible.
This is useful for testing, when we want to install our
own libraries and binary but keep the configuration of the
live system we are testing on (e.g. path to distro image).
Tested on the master branch.
2016-11-21 00:36:49 +00:00
Kevin Kofler
d6e0e09bc1
Bump version to 2.4.80.
...
We need master to have a higher version than the stable branch. I used
2.4.80 so that it can be bumped again to 2.4.90 when starting to do
alpha/beta/RC releases.
2016-11-13 03:56:55 +01:00
shainer
ab40626c5d
Bump QT_VERSION to 5.6 in cmake.
2016-10-02 15:33:27 +01:00
Teo Mrnjavac
1c3d5c67e9
Bump.
2016-09-02 15:57:15 +02:00
Teo Mrnjavac
5cf3770b62
Bump.
2016-08-24 16:11:03 +02:00
Teo Mrnjavac
737b982eb2
Bump.
2016-08-18 16:39:49 +02:00
Teo Mrnjavac
3064632592
Bump.
2016-08-11 18:02:10 +02:00
Teo Mrnjavac
c197985c01
Bump
2016-07-29 17:12:51 +02:00
Teo Mrnjavac
59e68ad29a
Bump.
2016-07-22 16:58:05 +02:00
Teo Mrnjavac
b20e18cc26
Update languages list.
2016-07-22 16:36:26 +02:00
Teo Mrnjavac
d568f18145
Bump.
2016-06-30 13:57:11 +02:00
Teo Mrnjavac
e7c3d0b7ac
Update languages list.
2016-06-30 13:09:08 +02:00
Teo Mrnjavac
d4d2fd1432
Bump.
2016-06-24 17:28:52 +02:00
Teo Mrnjavac
7c89bc87ce
Bump.
2016-06-17 18:11:00 +02:00
Teo Mrnjavac
7cd60673e7
Bump!
2016-06-10 18:10:03 +02:00
Teo Mrnjavac
bc27821b27
Bump.
2016-06-03 18:22:03 +02:00
Teo Mrnjavac
cde6e68d29
Bump.
2016-05-13 18:36:18 +02:00
Teo Mrnjavac
fb04800d4a
Bumpitybump.
2016-05-06 19:01:27 +02:00
Teo Mrnjavac
e090463545
Bumpitybump.
2016-05-06 18:37:11 +02:00
Teo Mrnjavac
db9c671704
Bump version.
2016-04-08 09:19:19 +02:00
Teo Mrnjavac
3a6eb3b790
Correctly fail when YAML-CPP is not found.
2016-03-29 09:28:38 +02:00
Teo Mrnjavac
b0506be1f3
Bump.
2016-03-25 10:43:49 +01:00
Teo Mrnjavac
f51f20548a
Set THIRDPARTY_DIR
2016-03-23 18:48:08 +01:00
Teo Mrnjavac
e64050821a
And build it.
2016-03-23 18:48:08 +01:00
Teo Mrnjavac
2a5b22f584
If building with KCrash, require KCoreAddons.
2016-03-16 12:18:35 +01:00
Teo Mrnjavac
24a60c4650
Make KCrash an optional dependency (option: WITH_KF5Crash).
2016-03-16 11:34:35 +01:00
Teo Mrnjavac
c83662f0e9
Bump.
2016-03-11 13:36:18 +01:00
Teo Mrnjavac
e65c94150f
Bump.
2016-03-09 16:38:31 +01:00
Teo Mrnjavac
dcaadeca78
Update list of enabled translation languages.
2016-02-24 15:17:14 +01:00
Teo Mrnjavac
f470756d5f
Bump for 2.0.
2016-02-24 15:17:14 +01:00
konqoro
56a522c278
Enable Greek translation of the project
2016-02-20 22:35:45 +02:00
Teo Mrnjavac
12e20f6c7f
Bump.
2016-02-19 18:18:48 +01:00
Teo Mrnjavac
a21f44aa68
Bump.
2016-02-12 16:48:58 +01:00
Teo Mrnjavac
e2a77ce93d
Bump.
2016-01-29 17:46:56 +01:00
Teo Mrnjavac
6fa8d7d197
Bump for beta6.
2016-01-15 18:41:56 +01:00
Teo Mrnjavac
491ab94463
Bump version.
2016-01-14 15:32:52 +01:00
Teo Mrnjavac
a7bdec7e49
Update languages.
2016-01-08 18:13:34 +01:00
Teo Mrnjavac
d1c22f53e1
Bump.
2016-01-08 18:09:52 +01:00
Teo Mrnjavac
beb338ad29
Bump minor for 2.0-beta3.
2015-12-31 17:01:45 +01:00
Teo Mrnjavac
6cd8e089d8
Bump for beta2.
2015-12-30 17:27:13 +01:00
Teo Mrnjavac
d258837f04
Bump minor for beta.
2015-12-30 17:27:13 +01:00
Teo Mrnjavac
b0ad19bca3
Enable target uninstall.
2015-12-30 17:27:02 +01:00
Teo Mrnjavac
481b283602
Bump version for 2.0-alpha1.
2015-09-15 16:51:15 +02:00
Teo Mrnjavac
ea77f36431
Bump Qt dependency.
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
da79082b13
Update deps.
2015-09-15 16:48:41 +02:00
Teo Mrnjavac
3e4b19400a
Enable CMake policy CMP0028.
2015-09-15 16:48:40 +02:00
Teo Mrnjavac
4a59be796e
Bump version for 1.1.3.
2015-09-14 17:48:41 +02:00
Teo Mrnjavac
9f5d5a4620
Bump version for 1.1.2.
2015-07-17 17:14:42 +02:00
Teo Mrnjavac
d9e80aeec6
Bump for 1.1.1.
2015-07-03 11:51:44 +02:00
Teo Mrnjavac
d6362bc364
Bump version for final.
2015-06-26 16:32:24 +02:00
Teo Mrnjavac
ab8b26fd7a
Bump RC for release.
2015-06-20 20:44:37 +02:00
Teo Mrnjavac
ab37c301d5
Version bump for 1.1-RC2.
2015-06-13 19:14:06 +02:00
Teo Mrnjavac
8cdaa935e2
Update languages list.
2015-06-13 19:10:02 +02:00
Teo Mrnjavac
e5b0cddb38
Bump version for 1.1-rc1
2015-06-10 02:09:18 +02:00
Teo Mrnjavac
ac36cf222e
Make Clang warn about everything.
2015-06-10 00:53:25 +02:00
Teo Mrnjavac
06d912612d
Add some flags for Clang.
2015-06-04 02:27:58 +02:00
Teo Mrnjavac
997c61921e
Translations update.
2015-04-15 12:20:26 +02:00
Kevin Kofler
18da15a087
Fix build without Python support.
...
Only search for BoostPython3 if Python was found. Otherwise,
${PYTHONLIBS_VERSION_STRING} expands to nothing and the
find_boost_python3 macro gets called with invalid arguments.
2015-02-14 22:45:36 +01:00
Teo Mrnjavac
a09efcf73e
Add explicit warning when building without Python support.
2015-02-05 11:18:45 +01:00
Teo Mrnjavac
ff1459e3ca
Version bump for 1.0
2015-01-30 21:37:19 +01:00
Teo Mrnjavac
14ddba70ef
Initial commit for QML slideshow support.
2015-01-23 20:24:45 +01:00
Manjaro Linux
580a142da8
Bump version
...
<a href="https://github.com/calamares/calamares/issues?q=milestone%3A0.17 ">Milestone 0.17</a> got closed.
2014-11-24 17:06:55 +01:00
Teo Mrnjavac
869ace58b8
Remove obsolete languages from enabled list.
2014-11-18 16:31:03 +01:00
Teo Mrnjavac
53c1e1f708
Update enabled translation languages + bump version.
2014-11-18 15:57:07 +01:00
Kevin Kofler
bc9b9d2ce4
Rename pkexec policy file to .policy extension.
...
Rename com.github.calamares.calamares.bin to
com.github.calamares.calamares.policy. This matches how other policy
files in the same directory are named.
2014-11-05 23:34:03 +01:00
Rohan Garg
b9af5b7d54
XDG_APPS_INSTALL_DIR comes from ECM, use a different var
2014-11-04 18:31:01 +01:00
Rohan Garg
36bd745e65
Install the desktop file
2014-11-04 18:09:30 +01:00
Rohan Garg
fe9a768f29
Use pkexec to execute calamares with the right permissions
2014-11-04 17:59:31 +01:00
Teo Mrnjavac
5fd2ad2f22
Enable all the translation languages we currently have on Transifex.
2014-10-30 11:16:24 +01:00
Rohan Garg
89fe455163
Only output colors when the screen supports it
...
Fixes #124
2014-10-20 17:33:56 +02:00
Teo Mrnjavac
068c6e9f8a
Don't set CMP0043 on old CMake, take 3.
2014-10-14 17:17:41 +02:00
Teo Mrnjavac
b49b05f209
Make compile with old CMake.
2014-10-14 17:14:15 +02:00
Teo Mrnjavac
e648f23e18
CMP0043 doesn't apply <3.0.0
2014-10-14 17:11:04 +02:00
Teo Mrnjavac
d53643f7cc
New CalamaresAddBrandingSubdirectory macro.
2014-10-10 18:07:41 +02:00
Teo Mrnjavac
d97bb47f09
Add proper QResrouce system to libcalamaresui, finish up prepare checks
...
This also adds ImageRegistry, a SVG cache, a bunch of utility functions
for shared pixmaps in CalamaresUtilsGui and renames several qrc files
in viewmodules.
2014-08-26 18:24:51 +02:00
Teo Mrnjavac
26419f2c8a
Check for internet connection in prepare viewmodule.
2014-08-26 18:24:51 +02:00
Pier Luigi Fiorini
f0921a41b2
Try to find settings.conf from SYSCONFDIR
...
Honor SYSCONFDIR as specified by CMake arguments instead of
using a hard-coded path.
Since GNUInstallDirs set CMAKE_INSTALL_FULL_SYSCONFDIR to
CMAKE_INSTALL_PREFIX/etc we need to change the default ourselves.
2014-08-20 11:48:30 +02:00
Pier Luigi Fiorini
4cd217e4b6
Revert "Raise CMake requirement to 3.0+"
...
This doesn't work when the partition manager is enabled because it
uses ECM and ECMConfig.cmake fails with an error if the required
CMake is not less than 2.8.13
Added a note here to remember about this.
This reverts commit 2020eb0eb3
.
2014-08-19 18:03:40 +02:00
Pier Luigi Fiorini
2020eb0eb3
Raise CMake requirement to 3.0+
...
FindPythonLibs.cmake from CMake 2.8.x is not capable of finding Python
libraries on Maui, updating to CMake 3.x solves the problem.
Looks like it is better crafted.
Other parties interested in Calamares should already have CMake 3.x
so this is not a problem.
2014-08-18 12:55:20 +02:00
Pier Luigi Fiorini
f2c5f39f64
Make PythonLibs truly an optional component
...
PythonLibs is an optional dependency, remove REQUIRED otherwise the
build fails when it is not found.
2014-08-14 10:57:03 +02:00
Aurélien Gâteau
15e68e4b9a
calapmtest is not useful anymore
2014-08-08 13:27:41 +02:00
Teo Mrnjavac
4028db2b5c
Install Calamares macros
2014-07-17 19:42:16 +02:00
Teo Mrnjavac
a61a36d99d
We have a Python API for jobmodules!
...
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
2014-07-17 19:42:16 +02:00
Aurélien Gâteau
9c05ecef4d
Fix finding of Boost.Python on Ubuntu
2014-07-17 14:54:13 +02:00
Teo Mrnjavac
1dec58f178
Find Python3 + Boost.Python, and other buildsystem fixes.
2014-07-16 15:53:43 +02:00
Teo Mrnjavac
c57d99a21c
Add CalamaresAddModuleSubdirectory, a CMake function for modules that
...
do not require building through a CMakeLists.txt.
2014-07-14 16:26:10 +02:00
Teo Mrnjavac
4ec72f4afb
Refactored calamares_bin into calamares_bin and libcalamaresui.
...
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.
2014-07-03 18:00:40 +02:00
Aurélien Gâteau
0446bb1079
More readable partition sizes
2014-07-02 18:04:53 +02:00
Aurélien Gâteau
1b22ec890b
Install settings.conf
2014-07-01 10:38:08 +02:00
Aurélien Gâteau
c3fe6026f2
Shut up cmake 3.0
2014-06-27 15:42:12 +02:00
Aurélien Gâteau
02af2dccb9
Introduce libcalapm
...
This adds a submodule pointing to a fork of KDE Partition Manager. All
Calamares-specific changes are in the "calamares" branch of this fork.
2014-06-26 16:46:06 +02:00
Teo Mrnjavac
cbde9f3c0c
Make the compiler a little more pedantic
2014-06-25 19:31:02 +02:00
Teo Mrnjavac
5a5956052b
There's a better way to check for GCC 4.9
2014-06-25 19:22:52 +02:00
Teo Mrnjavac
1237f7acc5
Only enable colorized messages if g++ version is >=4.9
2014-06-25 19:12:21 +02:00
Teo Mrnjavac
f00337f379
Force error coloring in GCC 4.9
2014-06-25 18:42:59 +02:00
Teo Mrnjavac
3dd9578b95
Allow undefined symbols when linking plugin.
2014-06-19 11:04:47 +02:00
Teo Mrnjavac
13fcf387c7
A bunch of work on loading plugins.
...
Also switched to C++11.
2014-06-18 18:05:04 +02:00
Teo Mrnjavac
05d355f21f
Config files are YAML, not JSON. We depend on yaml-cpp for parsing.
2014-06-13 16:40:42 +02:00
Teo Mrnjavac
6899b1f0fa
Added CMake magic for plugin infrastructure.
...
Added ViewManager.
Added dummy Settings class.
Added dummy plugin interface (UI plugins only).
Added dummy greeting plugin.
Added DLLEXPORT macros for UI plugin interface and plugins.
2014-06-11 13:39:20 +02:00
Teo Mrnjavac
b21dc4fe4c
Added Utils, Logger, Translations, QCommandLineParser, init boilerplate
2014-06-06 17:19:59 +02:00
Teo Mrnjavac
b5ec7c4702
CMake skeleton.
2014-06-04 16:35:26 +02:00