Commit Graph

48 Commits

Author SHA1 Message Date
Christoph Brinkhaus
b906739f0e po: update german translation
This fixes https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/179.

Signed-off-by: Christoph Brinkhaus <c.brinkhaus@t-online.de>
2023-11-14 17:57:24 +00:00
NorwayFun
b3b97a975b po: Add Georgian translation
Signed-off-by: NorwayFun <temuri.doghonadze@gmail.com>
Acked-by: Frediano Ziglio <freddy77@gmail.com>
2022-09-08 08:55:38 +01:00
Victor Toso
e7a3b3710f po: update po files
Generated with `ninja spice-gtk-update-po`

Fixes: https://gitlab.freedesktop.org/spice/spice-gtk/issues/119
Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2020-03-16 13:34:34 +01:00
Victor Toso
caefbe9ac4 po/ru: Add russian translation
Thanks to @Illumaria
Fixes: #96
2020-03-10 17:13:19 +01:00
Frediano Ziglio
756e31b03e po/it: Update some Italian translations
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Francesco Giudici <fgiudici@redhat.com>
2019-12-16 16:30:54 +00:00
Frediano Ziglio
2340de0de0 po/it: Update po file
Simple automatic update of the file to sync with sources

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Francesco Giudici <fgiudici@redhat.com>
2019-12-16 16:30:30 +00:00
Marc-André Lureau
9837f974cc Drop autotools
Maintaining 1 build system is hard. Maintaining 2 is even harder.

It seems the meson build system is now in good shape to replace
autotools. Like many desktop projects, let's move entirely to meson
and drop autotools support.

Known changes:
- generating changelog files in the dist tarball. This is not strictly
  required, and can be added back later.
- generated files are not included in the dist tarball. In some ways,
  this can be considered a good thing.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2019-07-09 11:05:29 +01:00
Frediano Ziglio
86b03ea310 po: Fix some Italian translations
"devices" is translated to "dispositivi" (plural) not "dispositivo"
(singular).
In other occurrences "Some devices" is correctly translated to
"Qualche dispositivo".

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Snir Sheriber <ssheribe@redhat.com>
2019-04-25 10:37:02 +01:00
David Jaša
945cce07c6 Add Czech Translation
Signed-off-by: David Jaša <djasa@redhat.com>
Acked-by: Jakub Janku <jjanku@redhat.com>
2019-04-22 08:15:24 +01:00
Jakub Janků
d02a1f18e3 gettext: fix ngettext usage
_() should not be used in conjunction with ngettext(),
otherwise it's impossible to properly translate the message into
languages that have multiple plural forms, such as Czech.

Additionally, spice-gtk must use dngettext instead of ngettext,
otherwise the translation strings are searched within a wrong domain.

Fix ngettext usage in usb-device-widget.c and
update the PO files accordingly.

Signed-off-by: Jakub Janků <jjanku@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-04-18 08:31:38 +01:00
Frediano Ziglio
5d765f1bbc meson: Pass --msgid-bugs-address to PO generation
As autoconf provide e-mail address in the .po files.
The change in main meson.build is just a move to allow the
other meson.buuild to see the setting.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Marc-André Lureau <marcandre.lureau@gmail.com>
2019-02-19 22:41:43 +00:00
Marc-André Lureau
ef082bf1b1 meson: fix po generation
Use glib preset (from meson v0.37) to catch all our translatable
strings and use good default settings.

While at it, remove the needless directory argument.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2019-02-15 09:41:11 +00:00
Marc-André Lureau
254f3e20be po: misc gtk-vnc/spice-gtk subst 2019-01-05 12:51:16 +04:00
Marc-André Lureau
cf17f1c2e9 po: add german translation
Fixes:
https://gitlab.freedesktop.org/spice/spice-gtk/issues/76

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-01-05 12:49:47 +04:00
Eduardo Lima (Etrunko)
7a87356bd2 Add support for building with meson/ninja
In a comparison with current autotools build system, meson/ninja
provides a huge improvement in build speed, while keeping the same
functionalities currently available and being considered more user
friendly.

The new system coexists within the same repository with the current one,
so we can do more extensive testing of its functionality before deciding
if the old system can be removed, or for some reason, has to stay for
good.

- Meson: https://mesonbuild.com

  This is the equivalent of autogen/configure step in autotools. It
  generates the files that will be used by ninja to actually build the
  source code.

  The project has received lots of traction recently, with many GNOME
  projects willing to move to this new build system. The following wiki
  page has more details of the status of the many projects being ported:

    https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting

  Meson has a python-like syntax, easy to read, and the documentation
  on the project is very complete, with a dedicated page on how to port
  from autotools, explaining how most common use cases can be
  implemented using meson.

    http://mesonbuild.com/Porting-from-autotools.html

  Other important sources of information:

    http://mesonbuild.com/howtox.html
    http://mesonbuild.com/Syntax.html
    http://mesonbuild.com/Reference-manual.html

- Ninja: https://ninja-build.org

  Ninja is the equivalent of make in an autotools setup, which actually
  builds the source code. It has being used by large and complex
  projects such as Google Chrome, Android and LLVM. There is not much to
  say about ninja (other than it is much faster than make) because we
  won't interact directly with it as much, as meson does the middle man
  job here. The reasoning for creating ninja in the first place is
  explained on the following post:

    http://neugierig.org/software/chromium/notes/2011/02/ninja.html

  Also its manual provides more in-depth information about the design
  principles:

    https://ninja-build.org/manual.html

- Basic workflow:

  Meson package is available for most if not all distros, so, taking
  Fedora as an example, we only need to run:

    # dnf -y install meson ninja-build.

  With Meson, building in-tree is not possible at all, so we need to
  pass a directory as argument to meson where we want the build to be
  done. This has the advantage of creating builds with different options
  under the same parent directory, e.g.:

    $ meson ./build --prefix=/usr
    $ meson ./build-extra -Dextra-checks=true -Dalignment-checks=true

  After configuration is done, we call ninja to actually do the build.

    $ ninja -C ./build
    $ ninja -C ./build install

  Ninja defaults to parallel builds, and this can be changed with the -j
  flag.

    $ ninja -j 10 -C ./build

- Hacking:

  * meson.build: Mandatory for the project root and usually found under
                 each directory you want something to be built.

  * meson_options.txt: Options that can interfere with the result of the
                       build.

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2018-08-30 11:13:00 -03:00
Eduardo Lima (Etrunko)
58884a4572 build: Move spice-common to subprojects/ directory
The reason for this commit is that Meson expects all submodules to be
placed in this subdirectory, and since autotools build is more flexible
in this case, we make some small adjustments to configure.ac and
Makefile.am files to accommodate for this change.

The same has been done for spice-server in commit b0e141b3

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2018-08-01 14:38:15 -03:00
Pavel Grunt
5d00a4dc6d Do not update .po files with ./autogen.sh && make
It is enough to update them just before the release (`make dist`)

Reported-by: Victor Toso <victortoso@redhat.com>
2017-07-17 15:16:45 +02:00
Marc-André Lureau
17593eedd3 build-sys: update po files
As a result of make update-po (needed for make clean distcheck).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2017-07-12 18:35:11 +02:00
Marc-André Lureau
6195151f94 build-sys: modernize gettext
intltool and glib-gettext are somehow related, and upstream gettext
should now support everything needed for GNOME projects.

intltool support never really worked, and we removed some of its
commented usage a while ago when dropping spicy desktop/mime.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2017-07-12 17:25:37 +02:00
Victor Toso
47e37e7c9d Move spicy tools to its own folder
So we can have the tools and the libraries in different folders.

In the src/Makefile.am I've only removed the lines related to the
tools but not all lines were copied into tools/Makefile.am as we
don't really need them. Other lines were adjusted to have the paths
correctly;

Signed-off-by: Victor Toso <victortoso@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2017-01-23 09:30:47 +01:00
Christophe Fergeau
dc75526205 spicy: fix 'tabled' typo
Acked-by: Marc-André Lureau <mlureau@redhat.com>
2016-09-07 13:11:22 +01:00
Jonathon Jongsma
eece54cf67 Translate file transfer error messages
If we are to ever display error messages to a user in a UI, they need to
be translated.

Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
2016-09-01 10:38:16 -05:00
Frediano Ziglio
a131a63936 Add Italian .po file.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Marc-André Lureau <mlureau@redhat.com>
2016-08-19 11:06:40 +01:00
Pavel Grunt
0a9ec4ec01 Adjust to GLib 2.36
Dependency since 8693e7d3f7

Remove glib-compat files and most of GLIB_CHECK_VERSION guards

Acked-by: Victor Toso <victortoso@redhat.com>
2016-03-18 11:42:31 +01:00
Jonathon Jongsma
3095455205 Update POTFILES.skip
spicy.desktop.in no longer exists.
2016-03-11 10:49:24 -06:00
Jonathon Jongsma
ae292bddde Move glib-compat.c to POTFILES.skip
Since these messages are only used for terminal debug output, let's not
waste time translating them.
2015-09-25 09:06:55 -05:00
Jonathon Jongsma
14a7faf35b Add glib-compat.c to POTFILES.in
Some translatable strings were added in commit 8c37a340.
2015-09-23 10:34:51 -05:00
Christophe Fergeau
93b213ebce spicy-*: Remove translation support
These are only meant to be test tools so they don't need to be
translated.
2015-06-19 11:56:01 +02:00
Lukas Venhoda
8a7058190a spicy: Move connect dialog to its own file
Connect dialog from spicy is now in its own file.

Renamed connect_dialog to spicy_connect_dialog.

Added new file for translation.
2015-06-18 17:06:42 +02:00
Marc-André Lureau
caf28401ca Move gtk/ -> src/
For historical reasons, the code was placed under gtk/ subdirectory.
If it was always bugging you, bug no more!
2015-06-08 17:38:58 +02:00
Christophe Fergeau
62a077978b Remove spice-mime.xml/spicy.desktop
They were never translated from .in files to actual files, and now it's
clear we don't want to promote spicy as a first-class desktop
application.
2014-10-30 17:47:15 +01:00
Fabiano Fidêncio
fce9201f2f Add support to handle username when connecting with SASL
Based on a patch from Dietmar Maurer <dietmar@proxmox.com>
http://lists.freedesktop.org/archives/spice-devel/2013-October/015138.html
2014-10-10 12:26:44 +02:00
Marc-André Lureau
382ecfa16f Add webdav channel
See spice-common for protocol details.  phodav, a webdav server library,
is imported thanks to a submodule, until this project has a stable API
and releases.

The webdav channel is reponsible for handling port events and
multiplexing the request streams. Extra care has been made to avoid
blocking and to enable some fairness between concurrent streams, however
this has been particularly tricky and is likely to have some issues
left.

The webdav server is run in a seperate thread, using libsoup. The client
communication is done via a local tcp socket, but protected to only
accept local connection and with a pretty strong password.

The home directory is exported for the remote to browse, which seems to
be a sensible default atm.
2014-03-19 15:24:23 +01:00
Christophe Fergeau
b473f9e1f5 Remove obsolete files from POTFILES.in
intltool-update -M complains about them
2013-06-24 17:18:28 +02:00
Marc-André Lureau
ca0b62b593 Rename snappy to spicy-screenshot
Following discussion on the ML:
http://lists.freedesktop.org/archives/spice-devel/2013-April/012953.html
2013-04-10 19:33:38 +02:00
Marc-André Lureau
b569d6ff7a build: fix make distcheck 2012-07-10 20:53:53 +02:00
Marc-André Lureau
d8d65a2f97 Release v0.11 2012-03-08 15:43:30 +01:00
Marc-André Lureau
e206e1a6e1 Fix make distcheck 2012-02-20 20:43:34 +01:00
Hans de Goede
bf0350423c Add a USB device selection widget
This patch adds a SpiceUsbDeviceWidget which apps can use to easily
add an UI to select USB devices to redirect (or unredirect).

See spicy for an example usage.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-01-31 14:31:38 +01:00
Marc-André Lureau
b84535b6db Release 0.8 2012-01-15 22:07:05 +01:00
Marc-André Lureau
9af74fb604 build: fix make distcheck 2011-07-18 20:28:05 +02:00
Christophe Fergeau
8b7c15aeb5 add really basic GDK GnomeRR backend
It doesn't know about available resolutions, nor about clones,
rotations, ..., it can't trigger resolution changes, but hopefully
it will be enough for basic GnomeRR support in the mac port.
2011-06-07 18:56:01 +02:00
Marc-André Lureau
58657d65ee build: fix make distcheck 2011-04-15 12:56:25 +02:00
Marc-André Lureau
7a135caee9 build: fix distcheck 2011-01-14 21:13:33 +01:00
Marc-André Lureau
4dbc6c2a24 po: add fr translation 2010-11-25 03:37:25 +01:00
Marc-André Lureau
b64d1a0275 gtk: mark spice-cmdline strings as translatable 2010-11-25 03:37:02 +01:00
Marc-André Lureau
8ebca049e6 gtk: make snappy translatable 2010-11-25 02:41:58 +01:00
Marc-André Lureau
1fc30e01d5 i18: add basic support - mark translatable spicy strings 2010-11-24 04:37:16 +01:00