34 Commits

Author SHA1 Message Date
Arjen Hiemstra
4464b7d40a Fix installation of AppData file 2016-10-10 13:38:03 +02:00
Richard Hughes
6c81c9a735 Add an example AppData file so that Cura is visible in Linux software centers
Fixes: https://github.com/Ultimaker/Cura/issues/530
2016-10-08 10:01:35 +01:00
awhiemstra
16605a3e01 Move the UraniumTranslationTools include into the enabled check
So that we can still build Cura even if we do not care about translations.
2016-09-06 17:13:15 +02:00
Thomas Karl Pietrowski
aa2ba26a82 Merge remote-tracking branch 'upstream/master' into master-CURA-1696 2016-09-05 22:15:18 +02:00
Thomas Karl Pietrowski
1699cd741f CMake: Skip looking for C/C++ compiler 2016-09-01 15:57:44 +02:00
Thomas Karl Pietrowski
6d18540fa7 CURA-1696: Using Uranium's translation tools 2016-08-14 19:30:31 +02:00
Thomas Karl Pietrowski
0a126cf809 Generate cura.desktop (#668)
Adds support to install Cura to an alternative path, while generating a correct .desktop file for it.

* Renaming cura.desktop to cura.desktop.in
* CMAKE: Generate .desktop from .desktop.in
* Replace hardcoded paths with FULL_PATHs
* Tell CMake to generate cura.desktop
* CMake: Set full paths for .desktop generation
   * It tells CMake where to find the .desktop.in is and where to store the result.
2016-08-07 08:38:15 +02:00
Jaime van Kessel
78a0c623ef Merge branch 'master' of github.com:Ultimaker/Cura into MachineActions 2016-06-17 14:59:16 +02:00
Thomas Karl Pietrowski
c62ab6e937 Adding a field of the build type to the spashscreen.
For example, if the community distributes Cura in a different way, they
can set CURA_BUILDTYPE via 'cmake -DCURA_BUILDTYPE=' and whenever Cura
is launched " (PPA)" will be appended. Of course, this could be done by
appending " (PPA)" to CURA_VERSION, but in case of my Ubuntu/Debian
packaging it will only need one modification in debian/changelog to
change the version. During build (debian/rules) this version will be
read from debian/changelog.
Changing the version number across different files, is a waste of time.

Finally, we can use that field in the future to indicate debug or other
other special builds.
2016-06-04 13:55:35 +02:00
Jaime van Kessel
2b3c3b1b51 Fixed python path for tests 2016-04-29 12:14:05 +02:00
Jaime van Kessel
46ff3f4408 Added unit test stub 2016-04-29 11:32:33 +02:00
Ghostkeeper
16bb754da2 Merge pull request #683 from thopiekar/master-i18n-cmake-fix
CMake: Remove all slashes from language codes
2016-03-29 10:33:48 +02:00
Thomas-Karl Pietrowski
f28cfbf735 CMake: Remove all slashes from language codes
Related to: 6833363b53
2016-03-29 10:17:53 +02:00
Thomas Karl Pietrowski
368718e82b Make all install(*) commands multiline
It makes the CMakeLists.txt (at least for me) easier to read.
2016-03-08 11:07:50 +01:00
Thomas Karl Pietrowski
ce9f6077a2 Renaming cura_app.py into cura on Linux* 2016-03-08 11:07:35 +01:00
Jaime van Kessel
2300410c2e Fuzzy translations are now used by default 2016-02-04 11:45:58 +01:00
Thomas-Karl Pietrowski
350466c73e Adding instructions to CMakeLists.txt to install cura.sharedmimeinfo as cura.xml into ${CMAKE_INSTALL_DATADIR}/mime/packages/ 2016-01-25 19:34:33 +01:00
Thomas-Karl Pietrowski
e1966a7ea5 Scanning i18n directory for languages:
Instead of having a list of languages hardcoded, we scan the i18n directory for available languages.
It was a TODO, which was left after fixing po-file installation. After finding the macro I decided to fix it here.
The reference to the added macro is there as an URL.
2016-01-14 18:31:23 +01:00
Thomas Karl Pietrowski
425a1df865 Fixing i18n build and install
* removes custom target copy-translations
* updating TODO to remove the language list with a nice algorithmus
* renaming file to po_file in foreach-loop
* etc.
2015-12-23 13:29:11 +01:00
Arjen Hiemstra
751f58fb02 Merge branch '15.10'
* 15.10: (39 commits)
  Remove unused import in StartSliceJob
  conforming to code style
  fix typo's..
  Adjust initial view to be slightly from the side
  uses a different method to check whether a machine name excists
  Sets the languageComboBox to the default language
  Remove per-group settings for now
  Make sure to send all settings when an object overrides the profile
  Properly emit writeStarted in RemovableDriveOutputDevice
  Add xy_offset setting to list of settings that trigger a disallowed area update
  Properly trigger a reslice when the active instance is changed
  Wizardpages without hack
  Only hides the window when there are no more pages
  Only add layer data node after all processing
  Also account for "xy_offset" setting for the disallowed areas
  JSON: workaround for stutter in spiralize vase: set travel speed to printing speed
  Adds a color for the error-messages
  Shows an error message when a user tries to add a printer with a name that already excists.
  JSON: support bottom stair step height defaults changed so that the bottom distance to the model isn't violated too much
  Try to use Protobuf CPP implementation if it is available
  ...
2015-11-13 11:31:29 +01:00
Arjen Hiemstra
98d2acaba7 Install the CuraVersion file in the right location on OSX/Win 2015-11-01 22:35:07 +01:00
Arjen Hiemstra
8d0924849f Make it possible to set Cura version from CMake
This helps with automating build so we can set version from one single
spot.
2015-11-01 22:02:54 +01:00
Olliver Schinagl
c94b13e680 Add cpack using the uranium style
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-09-29 13:42:08 +02:00
Arjen Hiemstra
8966054373 Remove Qt translation generation and only use gettext for extracting translations 2015-09-11 14:47:53 +02:00
Arjen Hiemstra
0962fdddf1 Add translations to ALL target and add install directives 2015-08-07 17:23:02 +02:00
Arjen Hiemstra
937ba1d317 Use a better default installation directory for Debian systems
Contributes to Ultimaker/Uranium#42
2015-07-07 11:47:43 +02:00
Arjen Hiemstra
a50159a99a Always install to $prefix/lib, do not use an arch-specific libdir
Contributes to Ultimaker/Uranium#42
2015-06-30 14:24:52 +02:00
Arjen Hiemstra
8c8885d77e Add missing translations to the list of translations to build
Contributes to #57
2015-06-17 15:16:22 +02:00
Arjen Hiemstra
27e734edb7 Install the entire plugins directory into $prefix/lib/cura instead of just the contents
This makes it easier to add the directory to the plugin search paths.

Contributes to Ultimaker/Uranium#41
2015-05-26 17:12:57 +02:00
Arjen Hiemstra
5762b2dfe8 Install the right source files 2015-05-26 11:05:37 +02:00
Arjen Hiemstra
96e0faf937 Rename cura.py to cura_app.py to prevent conflicts with "cura" directory
Contributes to Ultimaker/Uranium#41
2015-05-21 15:13:06 +02:00
Arjen Hiemstra
e62dee6993 Make it possible to ignore translation targets and add install target
Contributes to #41
2015-05-18 14:59:37 +02:00
Arjen Hiemstra
0bbb7f93e8 Add CMake targets to extract messages and create translations 2015-05-04 18:04:23 +02:00
Arjen Hiemstra
92afe31e37 Add gitignore, README, LICENSE and CMakeLists files 2015-04-30 13:37:18 +02:00