Commit graph

183 commits

Author SHA1 Message Date
Mike Fleetwood
40fb05f043 Modernise to a minimum of autoconf 2.50
1)  Require autoconf >= 2.50
    (Released May 2001).

2)  Rename file to configure.ac
    (Recommended with autoconf >= 2.50).

3)  Update macro from AC_TRY_RUN to AC_RUN_IFELSE
    (As wanted by the autoupdate program).
2013-03-20 11:46:20 -06:00
Mike Fleetwood
a042107883 Only use Gtk::Window::set_default_icon_name method when available (#695279)
GParted fails to compile on RHEL/CentOS 5.9 because it doesn't provide
the Gtk::Window::set_default_icon_name() method.  The "gtkmm GTK::Window
Class Reference" document says that set_default_icon_name() is available
in gtkmm >= 2.6, however it is not available in RHEL/CentOS 5.9 with
gtkmm 2.10.

Add an autoconf compile and link check for the set_default_icon_name()
method and make GParted only use the method when available.

Bug #695279 - GParted doesn't compile on RHEL / CentOS 5.9
2013-03-20 11:46:20 -06:00
Mike Fleetwood
456932846b Implement fallback if Glib::Regex class is missing (#695279)
GParted fails to compile on RHEL/CentOS 5.9 because it doesn't provide
the Glib::Regex class.  Glib::Regex class requires glibmm >= 2.14,
however RHEL/CentOS 5.9 only provides glibmm 2.12.

Add an autoconf check for the Glib::Regex class and fallback code using
the POSIX regex function.  Fall back code is the same as that used prior
to commit:
    b6f1c56fb1
    Enhance regexp_label method to handle unicode characters

Bug #695279 - GParted doesn't compile on RHEL / CentOS 5.9
2013-03-20 11:46:20 -06:00
Curtis Gedak
897c5b3008 Append -git to version for continuing development 2013-03-19 09:24:40 -06:00
Curtis Gedak
8864b39731 ========== gparted-0.15.0 ========== 2013-03-19 09:22:59 -06:00
Curtis Gedak
c9e6dca42e Append -git to version for continuing development 2012-12-12 11:19:14 -07:00
Curtis Gedak
42705496a6 ========== gparted-0.14.1 ========== 2012-12-12 10:02:48 -07:00
Curtis Gedak
88a2939880 Use gksudo, if available, in gparted.desktop
If gksu was installed on a KDE system (tested with kubuntu 12.04 LTS),
then gksu would prompt for the password three times and always fail to
load gparted.  In a prior version of kubuntu 8.04 LTS, gksu would
properly invoke gparted from the "K --> System --> GParted" menu
entry.

Since gksudo also works on KDE (and kubuntu 12.04 LTS), add gksudo to
the root privilege invocation search list ahead of gksu.

Note that gksu has been kept for backwards compatibility with systems
that provide only gksu and not gksudo.

Related to Bug #687813 - Use kdesudo on KDE, as gksu is not
                         installed by default
2012-11-11 12:19:39 +00:00
Curtis Gedak
ec4a2ac09b Use kdesudo in gparted.desktop when gksu is not installed (#687813)
Normally gksu is not installed by default on KDE systems.  When
compiling and installing gparted on a KDE system without gksu, the
desktop menu entry would try to run gparted as the user, and not with
root privileges.

To fix this, add kdesudo to the search list of root privilege
invocation programs.

Closes Bug #687813 - Use kdesudo on KDE, as gksu is not installed by
                     default
2012-11-11 12:19:39 +00:00
Curtis Gedak
c49edb369f Append -git to version for continuing development 2012-10-10 11:00:58 -06:00
Curtis Gedak
d553b148a6 ========== gparted-0.14.0 ========== 2012-10-10 09:59:42 -06:00
Mike Fleetwood
590f1377f9 Add fallback implementation to new delete LVM2 PV warning dialog (#670171)
The new delete non-empty LVM2 Physical Volume warning dialog uses
Gtk::MessageDialog::get_message_area() in the display of Volume Group
members.  This function was new in gtkmm 2.22, released September 2010,
which is not available in a number of current distributions including:
Unbuntu 10.04 LTS, RHEL 6.3, SLES 11-SP2, Debian 6.0.

Implement fallback method to display the VG name and member PVs in the
warning dialog for when get_message_area() is not available.

Bug #670171 - Add LVM PV read-write support
2012-08-30 13:47:45 -06:00
Curtis Gedak
c0a9673146 Append -git to version for continuing development 2012-08-08 10:18:16 -06:00
Curtis Gedak
e606eae836 ========== gparted-0.13.1 ========== 2012-08-08 09:26:05 -06:00
Curtis Gedak
6a68734a1e Append -git to version for continuing development 2012-07-13 10:38:04 -06:00
Curtis Gedak
09761dd0d4 ========== gparted-0.13.0 ========== 2012-07-13 09:21:19 -06:00
Curtis Gedak
a593579d91 Append -git to version for continuing development 2012-04-09 13:46:54 -06:00
Curtis Gedak
d6315941b0 ========== gparted-0.12.1 ========== 2012-04-09 13:24:56 -06:00
Curtis Gedak
0fda1d011d Enable new fs resize library available with parted-3.1 (#668281)
The parted-3.1 release brings back FAT16/FAT32 and HFS/HFS+ file
system resize capabilities in a new libparted fs resize library.

The following operations are again available when GParted is linked
with parted-3.1:

   FAT16 - grow and shrink
   FAT32 - grow and shrink
   HFS   - shrink
   HFS+  - shrink

Note that there is a difference in how move actions are handled for
FAT16/FAT32 file systems based on parted version.

When GParted is linked with parted >= 3.0:

   FAT16 - move performed internally by GParted
   FAT32 - move performed internally by GParted

When GParted is linked with parted < 3.0:

   FAT16 - move performed by libparted
   FAT32 - move performed by libparted

Thanks goes to Jim Meyering for restoring these file system resizing
capabilities in Parted 3.1 with a new libparted fs resize library.

Closes Bug #668281 - minimal file-system resize API? (FAT and HFS*
                     only)
2012-03-03 11:55:20 -07:00
Curtis Gedak
81d5bb5ead Append -git to version for continuing development 2012-02-21 10:37:27 -07:00
Curtis Gedak
08fc3832c5 ========== gparted-0.12.0 ========== 2012-02-21 10:05:58 -07:00
Vincent Untz
e52384b258 build: Correctly link to gthread
https://bugzilla.gnome.org/show_bug.cgi?id=667412
2012-01-06 12:42:31 -07:00
Curtis Gedak
46973f8721 Append -git to version for continuing development 2011-12-13 10:31:19 -07:00
Curtis Gedak
3f9a11df0a ========== gparted-0.11.0 ========== 2011-12-13 09:27:29 -07:00
Curtis Gedak
2a9c13e6e1 Append -git to version for continuing development 2011-11-01 10:32:12 -06:00
Curtis Gedak
3251cc1618 ========== gparted-0.10.0 ========== 2011-11-01 10:11:12 -06:00
Curtis Gedak
7533a153bb Append -git to version for continuing development 2011-09-19 14:09:23 -06:00
Curtis Gedak
ee555227c7 ========== gparted-0.9.1 ========== 2011-09-19 13:24:18 -06:00
Curtis Gedak
e7a0fa05ea Append -git to version for continuing development 2011-07-18 13:27:26 -06:00
Curtis Gedak
16e2cb1b23 ========== gparted-0.9.0 ========== 2011-07-18 10:42:32 -06:00
Curtis Gedak
13568bcee7 Add configure check for libparted version 3.0.0 or higher
This enhancement is in preparation for addressing the following bug
report:
Bug #651559 - Doesn't compile against parted 3.0
2011-06-08 10:38:55 -06:00
Curtis Gedak
9cdd6c0092 Minor format changes to final configuration summary 2011-06-07 11:01:13 -06:00
Curtis Gedak
c21146c547 Append -git to version for continuing development 2011-05-23 10:39:29 -06:00
Curtis Gedak
899d226793 ========== gparted-0.8.1 ========== 2011-05-23 09:46:51 -06:00
Curtis Gedak
2f99511228 Add flag --enable-libparted-dmraid to use native libparted dmraid
The new configure option --enable-libparted-dmraid enables the native
use of /dev/mapper dmraid support in the libparted library.

If this option is not specified, or is disabled, then gparted code
will be used to support dmraid.  The gparted code uses the old dmraid
partition naming scheme of always appending the partition number to
the device name.  The letter 'p' is not inserted between the device
name and the partition number.  The gparted code is particularly
useful when used with older versions of libparted that do not support
/dev/mapper dmraid.

Ubuntu launchpad bug 719129 - [Natty] Gparted duplicates dmraid
                              partition devices
https://bugs.launchpad.net/ubuntu/+source/gparted/+bug/719129
2011-02-22 13:22:49 -07:00
Curtis Gedak
9d0ae38839 Append -git to version for continuing development 2011-02-15 12:05:33 -07:00
Curtis Gedak
1ad6bb68a0 ========== gparted-0.8.0 ========== 2011-02-15 10:16:49 -07:00
Curtis Gedak
a9e080f555 Append -git to version for continuing development 2010-12-13 10:33:26 -07:00
Curtis Gedak
a66f6d542c ========== gparted-0.7.1 ========== 2010-12-13 09:25:25 -07:00
Curtis Gedak
47f1f3d33f Append -git to version for continuing development 2010-10-29 10:09:26 -06:00
Curtis Gedak
75ce6c3729 ========== gparted-0.7.0 ========== 2010-10-29 09:20:06 -06:00
Curtis Gedak
b0e36132b0 Make btrfs support a normal part of gparted
Remove need to configure with the --enable-btrfs option in order
to include btrfs support in gparted.
2010-10-18 15:28:40 -06:00
Luca Bruno
a64cc98bb5 Add --enable-btrfs to ./configure for experimental Btrfs support
This will take care of setting BTRFS_SUPPORT in config.h, included
all around the sources to conditionally enable Btrfs capability.
2010-10-03 17:00:53 +02:00
Curtis Gedak
30efae4b8d Append -git to version for continuing development 2010-10-01 09:36:30 -06:00
Curtis Gedak
a4bbdb0c86 ========== gparted-0.6.4 ========== 2010-10-01 09:08:27 -06:00
Curtis Gedak
e2c0cb6a4b Append -git to version for continuing development 2010-09-23 10:45:42 -06:00
Curtis Gedak
69ba15be35 ========== gparted-0.6.3 ========== 2010-09-23 09:50:02 -06:00
Markus Elfring
c1e72d04ca Bug #622598: Complete quoting for macro parameters
Some square brackets were added to be more explicit where macro expansion
will not be required.
http://autogen.sourceforge.net/acquoting.html
http://www.gnu.org/software/autoconf/manual/m4/Quoting-Arguments.html

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
2010-09-11 16:57:59 -06:00
Curtis Gedak
36c1c1a084 Append -git to version for continuing development 2010-08-01 11:02:38 -06:00
Curtis Gedak
5f04965ae0 ========== gparted-0.6.2 ========== 2010-08-01 10:51:14 -06:00