Commit graph

20 commits

Author SHA1 Message Date
Ernestas Kulik 983892a656 build: general cleanups
This commit does the following:
  * Canonicalize the style:
    * Use two-space indentations.
    * Un-Autotools-ify option names.
    * Don’t align arguments, simply increase indentation.
    * Don’t add a space before opening parenthesis in calls.
  * Remove unused variables.
  * Remove unused dependencies.
  * Remove config.h.meson.
  * Optimize dependencies.
  * Use disabler functionality for libselinux dependency, to save lines.
2018-01-02 12:51:32 +02:00
Ernestas Kulik 857a90c29b autotools: kill it
We’re moving to Meson this cycle, so this is losing some deadweight.

https://bugzilla.gnome.org/show_bug.cgi?id=780366
2017-03-22 17:18:29 +02:00
Ernestas Kulik ed5652c89a general: add support for Meson
Since it’s 2017 already, Nautilus should use a build system that doesn’t
take longer to set up the build than it takes to actually build. An
observed build time using Ninja of roughly one-fifth of what it took
Autotools is more than reason enough to add support for Meson. Along
with that, this commit adds a convenience script to generate a tarball
for releases, since we use libgd as a submodule and Meson does not
handle source distributions.

https://bugzilla.gnome.org/show_bug.cgi?id=778167
2017-02-24 00:24:27 +02:00
Ernestas Kulik 728300331d general: drop git.mk
This commit removes git.mk and adds hand-written gitignore files. That
is needed to ignore build/, which is the directory of choice for Meson
builds.

https://bugzilla.gnome.org/show_bug.cgi?id=778167
2017-02-24 00:24:27 +02:00
Carlos Soriano 52d960542b general: run uncrustify
And make the style of Nautilus the same for all files.
Hopefully we can fix all the style issues we can find in the next days,
so expect a little of movement on this.

https://bugzilla.gnome.org/show_bug.cgi?id=770564
2016-08-29 18:37:10 +02:00
Ernestas Kulik fc2139c117 Port from intltool
gettext has been continuously improving, up to a point where intltool
can be deprecated in favor of it. This commit ports the project files to
use upstream gettext.

https://bugzilla.gnome.org/show_bug.cgi?id=769362
2016-08-03 10:42:40 +03:00
Carlos Soriano 7acd94420d send-to: use Send to... for the label
We were using "Email.." for the label, but mockups use
"Send to..." which feels more intuitive.
Eventually we want to provide more options to send files via
sharing or so. For now, just use the same functionality we had
previously, just email.

https://bugzilla.gnome.org/show_bug.cgi?id=745654
2015-08-31 14:05:38 +02:00
Cosimo Cecchi cbc37d3ecd Don't mention FSF address
Use the website instead.

https://bugzilla.gnome.org/show_bug.cgi?id=721518
2014-02-17 14:41:43 -08:00
Andrés G. Aragoneses 9473dd41c1 build: stop using INCLUDES, deprecated by automake 1.7
We already depend on automake 1.9, so using the replacement of
INCLUDES (AM_CPPFLAGS) won't hurt, especially now that it is
a warning shown by default since automake 1.13, as evidenced by
this build log of mine:

Makefile.am: installing './INSTALL'
eel/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
eel/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
libnautilus-extension/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
libnautilus-private/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
nautilus-sendto-extension/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
test/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2013-06-18 11:30:31 +02:00
Plamena Manolova 837091b55d sendto-extension: Check for available mail client
The sendto extension now checks for an available client
supported by nautilus sendto and conditionaly adds the
"Email" option to the file menu list.

https://bugzilla.gnome.org/show_bug.cgi?id=701653
2013-06-07 14:49:15 -07:00
Bastien Nocera e507f27bdf sendto: We only send mails now
https://bugzilla.gnome.org/show_bug.cgi?id=680983
2013-04-04 16:55:47 -04:00
Jeremy Bicha 075b6bd12f sendto-extension: Use proper Unicode ellipsis instead of three periods
Thanks Alex for pointing this out!

https://bugzilla.gnome.org/show_bug.cgi?id=689586
2012-12-04 11:04:09 -05:00
Cosimo Cecchi c6a1bf5fa5 build: use GNOME_MAINTAINER_MODE_DEFINES
Instead of defining our own set of deprecation cflags.
2012-10-23 20:04:03 -04:00
William Jon McCann 0ab374ea0b Use git.mk 2012-09-17 18:07:25 -04:00
Cosimo Cecchi 3416a81837 sendto-extension: fix curly quotes regression
We shouldn't use curly quotes when launching a command line.
2012-09-05 14:02:59 -04:00
William Jon McCann 6b3dd822dc Use double quotes instead of ascii quotes
https://bugzilla.gnome.org/show_bug.cgi?id=681808
2012-08-14 10:47:11 -04:00
Cosimo Cecchi d4230de866 all: silence new warnings from GCC 4.6
GCC 4.6 introduced a new warning about variables declared and
initialized, but not really used in the function body. Remove all of
these occurrences to build cleanly.
2011-01-25 09:21:07 -05:00
Sjoerd Simons 8f9bb67e39 Add base libraries so building with --as-needed works 2011-01-10 10:47:03 +00:00
Cosimo Cecchi fdae502d65 libnautilus-extension: use a different directory for 3.0
So that old extensions do not pull in GTK+2 code.

https://bugzilla.gnome.org/show_bug.cgi?id=624244
2010-12-03 13:49:36 +01:00
Bastien Nocera b4aa3c083a Move nautilus-sendto extension to nautilus
And add a check for the presence of nautilus-sendto to the
initialisation of the object.

Building the extension is optional, though on by default.

https://bugzilla.gnome.org/show_bug.cgi?id=633485
2010-11-01 13:17:49 +00:00