Merge branch 'experimental'
Conflicts:
debian/gbp.conf
Michael Biebl
15 years ago
0 | eiciel (0.9.6.1-2exp1) experimental; urgency=low | |
1 | ||
2 | * debian/control | |
3 | - Build against libnautilus-extension-dev from experimental. | |
4 | - Add Build-Depends on cvs. Apparently autopoint (part of gettext, called | |
5 | by autoreconf) needs it. | |
6 | * debian/rules | |
7 | - Run "autoreconf -vfi" instead of calling libtoolize et al. individually. | |
8 | Closes: #506563 | |
9 | * debian/patches/02-gio.patch | |
10 | - Port eiciel to GIO to get rid of the GnomeVFS dependency. | |
11 | Thanks to Andreas Henriksson for the patch. | |
12 | * debian/patches/01-makefile_am.patch | |
13 | - Drop gnomevfs-2 from LDFLAGS. | |
14 | ||
15 | -- Michael Biebl <biebl@debian.org> Sat, 06 Dec 2008 12:39:08 +0100 | |
16 | ||
0 | 17 | eiciel (0.9.6.1-2) unstable; urgency=low |
1 | 18 | |
2 | 19 | * debian/control |
1 | 1 | Section: gnome |
2 | 2 | Priority: optional |
3 | 3 | Maintainer: Michael Biebl <biebl@debian.org> |
4 | Build-Depends: cdbs, debhelper (>= 5.0.0), automake1.9, autoconf, libtool, libacl1-dev, libattr1-dev, libgtkmm-2.4-dev, libnautilus-extension-dev, libgnome2-dev, libgnomeui-dev, libgnomevfs2-dev, pkg-config, quilt | |
4 | Build-Depends: cdbs, debhelper (>= 5.0.0), automake, autoconf, libtool, cvs, libacl1-dev, libattr1-dev, libgtkmm-2.4-dev, libnautilus-extension-dev (>= 2.22), libgnome2-dev, libgnomeui-dev, libgnomevfs2-dev, pkg-config, quilt | |
5 | 5 | Standards-Version: 3.8.0 |
6 | 6 | Vcs-Git: git://git.debian.org/git/users/biebl/eiciel.git |
7 | 7 | Vcs-Browser: http://git.debian.org/?p=users/biebl/eiciel.git;a=summary |
6 | 6 | eiciel_CPPFLAGS = -I@top_srcdir@/lib -DDATADIR="\"$(datadir)\"" -DPKGDATADIR="\"$(pkgdatadir)\"" |
7 | 7 | eiciel_CXXFLAGS = @GTKMM_CFLAGS@ -Wall |
8 | 8 | -eiciel_LDFLAGS = @GTKMM_LIBS@ @llibreria_acl@ |
9 | +eiciel_LDFLAGS = -lgnomevfs-2 -lgnome-2 -lgnomeui-2 -lgtkmm-2.4 -lnautilus-extension @llibreria_acl@ | |
9 | +eiciel_LDFLAGS = -lgnome-2 -lgnomeui-2 -lgtkmm-2.4 -lnautilus-extension @llibreria_acl@ | |
10 | 10 | eiciel_SOURCES = \ |
11 | 11 | eiciel_main_controler.cpp \ |
12 | 12 | eiciel_main_controler.hpp \ |
15 | 15 | libeiciel_nautilus_la_CPPFLAGS = -I@top_srcdir@/lib -DDATADIR="\"$(datadir)\"" -DPKGDATADIR="\"$(pkgdatadir)\"" |
16 | 16 | libeiciel_nautilus_la_CXXFLAGS = @GTKMM_CFLAGS@ -Wall |
17 | 17 | -libeiciel_nautilus_la_LDFLAGS = @GTKMM_LIBS@ @llibreria_acl@ -module -avoid-version |
18 | +libeiciel_nautilus_la_LDFLAGS = -lgnomevfs-2 -lgnome-2 -lgtkmm-2.4 -lnautilus-extension @llibreria_acl@ -module -avoid-version | |
18 | +libeiciel_nautilus_la_LDFLAGS = -lgnome-2 -lgtkmm-2.4 -lnautilus-extension @llibreria_acl@ -module -avoid-version | |
19 | 19 | libeiciel_nautilus_la_SOURCES = \ |
20 | 20 | eiciel_nautilus_page.cpp \ |
21 | 21 | eiciel_nautilus_page.hpp \ |
0 | --- eiciel-0.9.6.orig/src/eiciel_nautilus_page.cpp | |
1 | +++ eiciel-0.9.6/src/eiciel_nautilus_page.cpp | |
2 | @@ -23,7 +23,7 @@ | |
3 | #include <gtk/gtklabel.h> | |
4 | #include <libnautilus-extension/nautilus-property-page.h> | |
5 | #include <libnautilus-extension/nautilus-property-page-provider.h> | |
6 | -#include <libgnomevfs/gnome-vfs.h> | |
7 | +#include <gio/gio.h> | |
8 | #include <gettext.h> | |
9 | ||
10 | #include "eiciel_main_controler.hpp" | |
11 | @@ -98,23 +98,18 @@ | |
12 | return NULL; | |
13 | } | |
14 | ||
15 | - GnomeVFSURI* guri = gnome_vfs_uri_new(uri); | |
16 | + GFile *guri = g_file_new_for_uri (uri); | |
17 | ||
18 | - if (guri == NULL) | |
19 | - { | |
20 | - return NULL; | |
21 | - } | |
22 | // i comprovem que és local | |
23 | - const gchar* scheme = gnome_vfs_uri_get_scheme(guri); | |
24 | - if (strcmp(scheme, "file") != 0) | |
25 | + if (!g_file_has_uri_scheme (guri, "file")) | |
26 | { | |
27 | - g_free(guri); | |
28 | + g_object_unref (guri); | |
29 | return NULL; | |
30 | } | |
31 | ||
32 | // Si és local obtenim el path del fitxer | |
33 | - local_file = gnome_vfs_get_local_path_from_uri(uri); | |
34 | - g_free(guri); | |
35 | + local_file = g_file_get_path (guri); | |
36 | + g_object_unref (guri); | |
37 | ||
38 | // Alguns fitxers son locals pero no corresponen a un fitxer real | |
39 | if (local_file == NULL) | |
40 | --- eiciel-0.9.6.orig/src/eiciel_container.hpp | |
41 | +++ eiciel-0.9.6/src/eiciel_container.hpp | |
42 | @@ -18,7 +18,6 @@ | |
43 | */ | |
44 | #include <config.hpp> | |
45 | #include <gtkmm.h> | |
46 | -#include <libgnomevfs/gnome-vfs.h> | |
47 | #include <libgnome/libgnome.h> | |
48 | #include <gettext.h> | |
49 | ||
50 | --- eiciel-0.9.6.orig/configure.ac 2008-04-13 18:51:18.000000000 +0200 | |
51 | +++ eiciel-0.9.6/configure.ac 2008-04-12 19:18:53.000000000 +0200 | |
52 | @@ -38,7 +38,7 @@ | |
53 | AC_PROG_LIBTOOL | |
54 | ||
55 | dnl Comprovem si hi ha la llibreria gtkmm-2.0 | |
56 | -PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 gnome-vfs-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) | |
57 | +PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.0 libgnome-2.0 >= 2.10.0 libgnomeui-2.0 >= 2.10.0 libnautilus-extension >= 2.10.0) | |
58 | ||
59 | AC_MSG_CHECKING([for nautilus extensions directory]) | |
60 |
6 | 6 | DEB_DH_MAKESHLIBS_ARGS_eiciel := -Xlibeiciel-nautilus |
7 | 7 | DEB_INSTALL_DOCS_eiciel := -XNEWS |
8 | 8 | |
9 | ||
10 | 9 | post-patches:: debian/stamp-bootstrap |
11 | 10 | |
12 | 11 | # Update libtool files and regenerate autotools files afterwards. |
13 | 12 | # config.(guess|sub) is updated by cdbs automatically. |
14 | 13 | debian/stamp-bootstrap: |
15 | libtoolize --copy --force | |
16 | aclocal-1.9 | |
17 | automake-1.9 | |
18 | autoconf | |
14 | autoreconf -vfi | |
19 | 15 | touch debian/stamp-bootstrap |
20 | 16 | |
21 | 17 | binary-install/eiciel:: |