1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-12 11:28:26 -06:00
Commit Graph

55 Commits

Author SHA1 Message Date
Mounir IDRASSI
440df02355 Linux: Fix compatibility of generic installers with old Linux distros
In old Linux distributions, tar command doesn't support
"--keep-directory-symlink" so we now dynamically detect if this switch
is support and then we use it if it is available
2023-06-13 23:34:04 +02:00
Mounir IDRASSI
b25ebeb7b4 Linux/macOS: Fix error during creation of installation package
"-R" switch was missing from the "cp" command
2023-06-05 22:46:20 +02:00
Mounir IDRASSI
abfef8821d MacOSX: remove write permission also from group on application bundle 2022-01-08 11:08:47 +01:00
Mounir IDRASSI
68131ac91b MacOSX: correct permission of VeraCrypt application bundle during packaging 2021-12-24 23:57:27 +01:00
Mounir IDRASSI
491fed3494 Linux/FreeBSD: Fix calling "make install" without specifying DESTDIR, which should work by installing into /usr 2021-11-21 21:45:01 +01:00
Mounir IDRASSI
7df5a58adc Linux: Better Linux desktop integration. Add mount.veracrypt script for fstab (proposed by unit193 at https://github.com/veracrypt/VeraCrypt/issues/814) 2021-08-21 22:36:48 +02:00
Mounir IDRASSI
8ae5a715d6 MacOSX: First native Apple M1 support 2021-08-15 01:07:17 +02:00
Mounir IDRASSI
d10739a45e Linux/MacOSX: make LanguageStrings.cpp build depend on Language.xml.h since it uses it 2020-12-20 01:22:25 +01:00
T-Bonhagen
38ad7650ac new xml Tag for en and de (#708)
* new xml Tag for en and de

* add linux support for env LANG

* precopiled header into TrueCrypt.fdp to substitute '_()' with 'LangString[]'

* more LangString in Code

* add Language xml's to Linux Setup location

* backup language for linux is en

* remove Language.en.xml install

* rearange new xml lines to end

* yes/no dialogs now translated

* All OK/Cancel Button now support international

Co-authored-by: tb@tbon.de <tb@tbon.de>
2020-12-11 18:42:59 +01:00
Mounir IDRASSI
0015420c43 MacOSX: always use "pkg-config fuse" for linking since recent versions of osxfuse 3.x support this 2020-11-29 00:51:51 +01:00
Thierry Lelegard
66e550d11f Fixed macFUSE support for macOS 11 (Big Sur) (#699) 2020-11-28 17:10:51 +01:00
Gokturk Yuksek
de52f51f5b Fix the compilation against WxWidgets when NOGUI=1 (#570)
* Revert "Linux: Fix failure to run VeraCrypt binary built for console mode on headless machines (fix issue https://github.com/veracrypt/VeraCrypt/issues/531)"

The build failure still exists for system wxGTK compiled with '--disable-gui':

```
In file included from TextUserInterface.cpp:27:
TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’:
TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared
   50 |   virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
```

This reverts commit 737e1f126b.

* Revert "Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets"

The build failure still exists for system wxGTK compiled with '--disable-gui':

```
In file included from TextUserInterface.cpp:27:
TextUserInterface.h: In member function ‘virtual bool VeraCrypt::TextUserInterface::Initialize(int&, wxChar**)’:
TextUserInterface.h:50:63: error: ‘wxAppBase’ has not been declared
   50 |   virtual bool Initialize (int &argc, wxChar **argv) { return wxAppBase::Initialize(argc, argv); }
```

This reverts commit 14bee5e6a2.

* src/Main/Main.make: simplify the WX_CONFIG_LIBS logic

Irrespective of whether we are linking against widgets statically or
dynamically, pull in only 'base' when GUI is disabled, and
'adv,core,base' when GUI is enabled. When GUI is disabled, the C/CXX
flag must include '-DwxUSE_GUI=0' for this to work.

* src/Makefile: pass '-DwxUSE_GUI=0' when NOGUI=1

veracrypt with NOGUI=1 fails to properly link against wxGTK compiled
with '--disable-gui' only using the 'base' library because the wx's
setup.h implicitly defines wxUSE_GUI=1, which then changes the
definition of various structures, requiring symbols from the core
library as well.

For example, wxwidgets include/wx/app.h defines:

  #if wxUSE_GUI

  class WXDLLIMPEXP_CORE wxAppBase : public wxAppConsole
  ...
  [snip]
  ...
  #else // !GUI

  // wxApp is defined in core and we cannot define another one in wxBase,
  // so use the preprocessor to allow using wxApp in console programs too
  #define wxApp wxAppConsole

  #endif // GUI/!GUI

To fix this, pass '-DwxUSE_GUI=0' when compiling veracrypt with
NOGUI=1.

Closes: https://github.com/veracrypt/VeraCrypt/issues/531
2019-12-20 13:39:43 +01:00
Mounir IDRASSI
14bee5e6a2 Linux: fix compilation error when building console-only version of VeraCrypt that is statically linked to wxWidgets 2019-12-11 23:53:47 +01:00
Mounir IDRASSI
0e4ab56e12 MacOSX: Update build script and Makefile to correctly build Legacy version of VeraCrypt that targets OSX 10.7+. 2019-10-26 00:17:23 +02:00
Mounir IDRASSI
b6dcea013e MacOSX: Add build scripts and modifications to linking against wxWidgets 3.1.2 for non legacy build targeting OSX 10.9+ 2019-10-14 15:05:24 +02:00
Mounir IDRASSI
a4145721a7 Linux/FreeBSD: change location of documentation from /usr/share/veracrypt/doc to the standard /usr/share/doc/veracrypt 2019-10-06 13:30:47 +02:00
El Mostafa Idrassi
48ef6c3736 Linux : Added missing 'mkdir' before installing in case $DESTDIR does not exist (#510) 2019-10-04 21:26:25 +02:00
Unit 193
bb2eaa6697 Utilize $(BASE_DIR) in the install targets rather than $(PWD) and $(CURDIR) (#472)
As $(PWD) is not always the expected value and can result in failing the target.
2019-10-02 21:59:13 +02:00
Mounir IDRASSI
5455c89a50 Linux/FreeBSD: Add 32-bit build configuration targetting legacy CPUs that don't support SSE2 instructions. 2018-09-01 01:15:33 +02:00
Mounir IDRASSI
700b54aee9 MacOSX: Update reference of code signing certificate in Makefile to use new IDRIX certificates. 2017-12-06 23:25:46 +01:00
Mounir IDRASSI
342b8636d8 Add support for building under FreeBSD 11 2017-07-10 00:14:18 +02:00
Mounir IDRASSI
c193911655 Linux: remove existing "Setup/Linux/usr" if any before preparing for packaging. 2017-07-02 00:51:55 +02:00
Mounir IDRASSI
bded7901c5 Linux: Use $(CURDIR) instead of $(PWD) for the install target, as well as $(DESTDIR)/ (which will still install into / if 'DESTDIR' is unset.) 2017-07-02 00:51:55 +02:00
Mounir IDRASSI
0ebc26e125 Update IDRIX copyright year 2017-06-23 22:15:59 +02:00
Mounir IDRASSI
5d0321291f Linux/MacOSX: Modify Makefile to separate between build and packaging. Add install target for local installation. 2017-06-13 18:21:13 +02:00
Mounir IDRASSI
d5b0e0db3f Linux/MacOSX: Replace User Guide PDF with local HTML documentation. Replace UI links to point towards local HTML documentation if it exists 2017-06-05 01:44:03 +02:00
Mounir IDRASSI
e7873197a6 Linux/MacOSX: Update location of User Guide pdf in Makefile 2017-06-01 01:56:12 +02:00
Mounir IDRASSI
a8fea1d643 MacOSX: Make VeraCrypt default handler of .hc and .tc files on OSX and add custom icon to these files on Finder. 2016-12-26 00:00:04 +01:00
Mounir IDRASSI
7ff3c5d108 Linux/MacOSX: fix error in Makefile caused by erroneous extra character 2016-10-17 18:40:23 +02:00
Mounir IDRASSI
7d6347f468 MacOSX: remove MacFUSE dependency and link against OSXFuse library. Now, only standard OSXFuse install is needed without MacFUSE compatibility option. 2016-10-17 18:40:21 +02:00
David Foerster
11716ed2da Remove trailing whitespace 2016-05-10 22:18:34 +02:00
Mounir IDRASSI
bda7a1d0bd Copyright: update dates to include 2016. 2016-01-20 00:53:24 +01:00
Mounir IDRASSI
90957cd9d9 MacOSX: Ensure that time-stamping is always activated when performing code signing by using --timestamp switch. 2016-01-17 14:55:13 +01:00
Mounir IDRASSI
4f17e0cfe9 MacOSX: Customize dmg file using VeraCrypt new logo 2015-12-06 11:51:23 +01:00
Mounir IDRASSI
533b7e1eb8 Linux/MacOSX: use new icons contributed by Andreas Becker (https://github.com/veracrypt/VeraCrypt/issues/9#issuecomment-118353850) 2015-12-04 22:20:45 +01:00
Mounir IDRASSI
041024fbb9 Update license information to reflect the use of a dual license Apache 2.0 and TrueCrypt 3.0. 2015-08-06 00:04:25 +02:00
Mounir IDRASSI
944b6aa53f Linux: Solve error when building against dynamic wxWidgets library, especially under Ubuntu. 2015-07-11 01:58:36 +02:00
Mounir IDRASSI
439e0a9588 Linux/MacOSX: Add dedicated PIM page in the volume creation wizard. Correct PIM value check logic. 2015-06-28 20:25:22 +02:00
Mounir IDRASSI
856395962b Linux installer: Add support for kdesudo and correct usage of konsole external call. 2015-04-19 16:12:53 +02:00
Mounir IDRASSI
b920bb2a6a Linux: modify installer script to make it run when the "less" command doesn't support the -X argument (Busybox case) 2015-02-11 09:02:41 +01:00
Mounir IDRASSI
5012e0941a Linux: Add graphical installer support when xterm is not available (Linux Mint case) 2015-02-10 12:45:36 +01:00
Mounir IDRASSI
ad9b40d599 Linux: solve link error on recent Ubuntu when using shared wxWidgets. 2015-01-02 17:12:36 +01:00
Mounir IDRASSI
d90d9f0c40 Linux/MacOSX: Implement waiting dialog for lengthy operations in order to have a better user experience. 2014-12-26 00:51:52 +01:00
Mounir IDRASSI
bb5e96a679 Linux: update the embedded data index inside the installer because the license content became bigger. 2014-12-20 22:36:10 +01:00
Mounir IDRASSI
bb7ef68040 MacOSX : Update Main Makefile to used the new package name that include the version. 2014-11-08 23:22:41 +01:00
Mounir IDRASSI
3e2cf28d92 MacOSX : Correct typos in Main Makefile 2014-11-08 23:22:35 +01:00
Mounir IDRASSI
ce44ad4c57 MacOSX : modify Makefile to automatically build and sign the MacOSX installer for VeraCrypt. 2014-11-08 23:22:29 +01:00
Mounir IDRASSI
41a31ac76f MacOSX : Copy console version of VeraCrypt inside the bundle under the name veracrypt_console. 2014-11-08 23:22:21 +01:00
Mounir IDRASSI
7aceaf124e MacOSX : copy the help pdf into the VeraCrypt bundle during package creation 2014-11-08 23:22:13 +01:00
Mounir IDRASSI
f143182cbc MacOSX : correct the name of dmg file used by the rm command 2014-11-08 23:22:10 +01:00