Commit graph

61 commits

Author SHA1 Message Date
Damien Elmes
0da2329557 default to release in dev mode as well 2020-03-10 13:36:21 +10:00
Damien Elmes
d59d62fa94 add DEVFLAGS for performance testing 2020-03-10 13:36:01 +10:00
Damien Elmes
780fc984ad check for files without a final newline 2020-03-09 18:57:55 +10:00
evandrocoan
33b5010075 Deprecate the Cygwin /usr/bin/ note README.development
Such change seem to break my Cygwin installation and it is not
required as a installation step anymore because it was only useful
when the user attempted to install `gettext` using `apt-cyg`, but
now I instruct them to download the binaries directly from their
website.
2020-03-02 16:51:27 -03:00
Damien Elmes
804474c1ff less wordy anki_extra_pip, and readme tweaks 2020-02-27 14:22:53 +10:00
evandrocoan
b0927266fa Reverted back to use pyenv (without using system wide packages) 2020-02-25 23:44:18 -03:00
evandrocoan
0eee3061dc Removed the qt/Makefile INSTALL_PYAUDIO variable and
created the Makefile SYSTEM_PACKAGES updating README.development
2020-02-25 21:08:05 -03:00
evandrocoan
3824358b93 Deprecated SHELLCMD, moved the pyaudio installation instructions to
its repository updating the instruction on README.development
2020-02-25 21:08:05 -03:00
evandrocoan
4c9e62c77a Added instructions to first try to download prebuilt pyaudio wheels
on README.development
2020-02-25 03:26:49 -03:00
evandrocoan
9e690f80e7 Renamed FIND_EXEC to FIND, replaced IS_WINDOWS by specific commands
as PYTHON_BIN, ACTIVE_SCRIPT and INSTALL_PYAUDIO.
Fixed echo statements not using @ to suppress double message output.
Deprecated the usage of ECHOCMD := /bin/echo -e because it has no
effect: https://stackoverflow.com/questions/60387684/how-to-make-the-makefile-echos-to-use-bin-echo-e

# Conflicts:
#	Makefile
2020-02-25 03:15:11 -03:00
evandrocoan
b7efeb78e6 Fixed misspelled word on README.development 2020-02-24 20:39:50 -03:00
evandrocoan
8b2ef692a9 Updated README.development to use gettext version 0.20.1 2020-02-24 17:55:33 -03:00
evandrocoan
2acda4eb63 Fixed misspelling on README.development and added missing FIND_EXEC
to rspy/Makefile
2020-02-24 17:03:00 -03:00
evandrocoan
6d16298254 Fixed development compilation with Windows 10
1. Documented on README.development how to setup the environment
   for Windows.
2. Fixed qt/ts/package.json not working due usage of ; instead
   of &&
3. Fixed copy-qt-files rsync using Windows paths instead of Unix
   ones
4. Fixed Makefile's using Windows Linux Subsystem bash instead of
    the Cygwin one.
5. Ensured running the correct pip module by using python -m pip
    instead of just pip.
6. Fixed Makefiles using Windows `find` command, instead of the
    Cygwin's one (POSIX find).
7. Fixed pyenv sourcing/activate using /pyevn/bin/ instead of
    /python/Scripts/ on Windows.
8. Fixed pyaudio not installing/linking with portaudio on Windows
    by installing for a patched fork at evandroforks/pyaudio
9. Forked and fixed portaudio not building with Visual Studio 2017
    or superior and added the reference for the patched fork on
    README.development at evandroforks/portaudio.
2020-02-24 14:59:11 -03:00
Damien Elmes
0d1a30c6d8 rework Fluent handling
- all .ftl files for a language are concatenated into a single file
at build time
- all languages are included in the binary
- external ftl files placed in the ftl folder can override the
built-in definitions
- constants are automatically generated for each string key
- dropped the separate StringsGroup enum
2020-02-23 13:22:50 +10:00
Yngve Høiseth
8966c17e76 Prevent "msgfmt: command not found" error 2020-01-22 22:53:06 +01:00
Damien Elmes
9232414095 bump minimum python version from 3.6 to 3.7 2020-01-07 18:34:36 +10:00
zjosua
391b213fa8 Add rsync to requirements 2020-01-06 18:30:11 +01:00
Damien Elmes
26dea84069 add a web UI proof of concept
See react/README
2020-01-06 14:28:07 +10:00
Damien Elmes
c88694333b update readme, remove submodule readmes 2020-01-04 12:21:58 +10:00
Damien Elmes
2a00e0a6b0 tweaking the folder names again
hopefully that's the last of it
2020-01-03 07:48:38 +10:00
Damien Elmes
5674264bfd add missing gettext dependency 2020-01-02 20:52:12 +10:00
Damien Elmes
eab54fd57a update docs 2020-01-02 19:55:27 +10:00
Damien Elmes
3ca39bfda3 move the separate components back into this monorepo
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.

The README files need updating again; I will push them out soon.

Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00
zjosua
f8595c148a Update README.development
Add instruction to build the Python virtual environment with --system-site-packages when using the distro-installed PyQt5.
2019-12-26 14:28:19 +01:00
Damien Elmes
56610a4e9d tweak dev docs 2019-12-25 12:13:28 +10:00
Damien Elmes
ce19144920 update dev docs 2019-12-24 19:57:54 +10:00
Damien Elmes
349c5ba049 make it possible to implement functionality in Rust 2019-12-24 19:57:54 +10:00
Damien Elmes
af013308c3 split qt requirements out again
PyQt didn't used to split WebEngine out separately, and that can
cause conflicts with distro-provided packages.
2019-12-19 09:34:31 +10:00
Damien Elmes
ad032053b5 add pyqt5 to deps 2019-12-18 15:13:07 +10:00
Damien Elmes
74599f0f23 automatically install deps as part of build 2019-12-18 15:09:46 +10:00
Damien Elmes
eb0622e664 update docs 2019-12-18 14:43:40 +10:00
Damien Elmes
fb6b53e234 add basic type checking for anki/ 2019-12-16 08:17:28 +10:00
Damien Elmes
9e3cd31e59 use locales instead of two digit lang codes
and move away from launchpad
2019-09-23 21:18:03 +10:00
Shan Rauf
cddd9a9dd8 Fix readme.development typo 2019-07-29 02:10:34 -07:00
Victor Khaustov
f2e741ad62 remove outdated pyqt mentions from Mac section 2019-07-15 12:18:57 +09:00
Damien Elmes
9e34a4aa72 as it's only a testing requirement, move mock into docs instead 2019-04-29 12:40:44 +10:00
Glutanimate
6cba67e9fe Update pip command for PyQt packaging changes
PyQtWebEngine is now shipped separately, and PyQ5-sip is automatically installed as a dependency of PyQt5.
2019-02-15 13:51:57 +01:00
Damien Elmes
74e0ced27b mention later qt versions in readme 2018-12-10 15:17:15 +10:00
Damien Elmes
3b868c8f31 mention pip+pyqt5 2018-07-12 16:09:14 +10:00
Damien Elmes
56aec99462 move back to requiring python 3.6
portions of libanki can run on python 3.5, but media syncing will fail
so we require 3.6 when running the GUI
2018-06-07 11:36:11 +10:00
Damien Elmes
d7fa18c1e6 avoid running on qt 5.11
updates will be needed for Qt's latest round of breaking changes
2018-05-29 19:25:23 +10:00
Andrew Sanchez
28d4ce6c43 Provide details regarding pyqt5 version
Following instructions as they were on mac osx resulted in the "5.10 is buggy"
exception
2018-02-21 12:48:18 -07:00
Romain
3cd52c63ee 'bzr clone' deprecated (use 'bzr branch' instead)
Using bazaar I get this advice :

```
$ bzr clone lp:anki i18n
The command 'bzr clone' has been deprecated in bzr 2.4. Please use 'bzr branch' instead.

$ bzr --version
Bazaar (bzr) 2.8.0dev1
  Python interpreter: /usr/bin/python 2.7.13
  Python standard library: /usr/lib/python2.7
  Platform: Linux-4.9.0-5-amd64-x86_64-with-debian-9.3
  bzrlib: /usr/lib/python2.7/dist-packages/bzrlib
```
2018-02-07 18:57:25 +01:00
Damien Elmes
1b87a5caa0 mplayer->mpv 2017-10-02 17:24:03 +10:00
Aristotelis
b176af79e9 Update required python version to 3.6+ 2017-08-25 08:24:38 +02:00
Damien Elmes
cc71a542a4 fix qt version in readme.development 2017-07-22 10:54:55 +10:00
Damien Elmes
82352800a8 fix reqs 2017-01-11 13:35:45 +10:00
Fredrick Lockert
39b12d6cfc Update required versions for Python & PyQt 2017-01-09 16:09:48 +01:00
Damien Elmes
72f128156e add README.contributing 2016-08-16 15:07:29 +10:00