rev |
line source |
al@17280
|
1 Gvfs itself is a module system, so let we compile as much modules as we can,
|
al@17280
|
2 and then break big gvfs package into modules packages.
|
al@17280
|
3
|
al@17280
|
4 Here results of my reading of "./configure" script.
|
al@17280
|
5 We see what libs (and its versions) are checked.
|
al@17280
|
6 At the right "+" means that we have all needed libs and we'll compile that
|
al@17280
|
7 module. While "-" means that we'll not compile that module, among them:
|
al@17280
|
8 - DNS-SD (Avahi) - SliTaz wok missed that packages;
|
al@17280
|
9 - GDU Volume Monitor - too;
|
al@17280
|
10 - libsystemd-login - wok includes "systemd" package, but missed "systemd-dev",
|
al@17280
|
11 sorry, do we need it really?
|
al@17280
|
12 - HAL Volume Monitor - HAL is deprecated;
|
al@17280
|
13 - AFC - need to update libs (too many changes there, and I can't cope with
|
al@17280
|
14 compilation, and have no one Apple device around me);
|
al@17280
|
15 - GOA (GNOME Online Accounts) Volume Monitor - not on wok;
|
al@17280
|
16 - GNOME Keyring - not on wok;
|
al@17280
|
17 - Blu-ray metadata support - not on wok;
|
al@17280
|
18 - BASH-completion - BASH isn't popular on SliTaz.
|
al@17280
|
19
|
al@17280
|
20
|
al@17280
|
21 # HTTP: libsoup-2.4 (libsoup-dev); libxml-2.0 (libxml2-dev) [HTTP/WebDAV]+
|
al@17280
|
22
|
al@17280
|
23 # AVAHI: avahi-glib >= 0.6; avahi-client >= 0.6 (ABSENT) [DNS-SD]-
|
al@17280
|
24
|
al@17280
|
25 # LIBXML: libxml-2.0 (libxml2-dev) ?
|
al@17280
|
26
|
al@17280
|
27 # UDEV: libudev >= 138 (udev-dev) ?
|
al@17280
|
28
|
al@17280
|
29 # FUSE: fuse >= 2.8.0 (fuse-dev) [FUSE]+
|
al@17280
|
30
|
al@17280
|
31 # GDU: gdu >= 3.0.2 (ABSENT) [GDU VM]-
|
al@17280
|
32
|
al@17280
|
33 # UDISKS2: udisks2 >= 1.97 (udisks2-dev) [udisks2 VM]+
|
al@17280
|
34
|
al@17280
|
35 # LIBSYSTEMD_LOGIN: libsystemd-login >=44 (ABSENT "systemd-dev") \
|
al@17280
|
36 # [libsystemd-login]-
|
al@17280
|
37
|
al@17280
|
38 # HAL: hal >= 0.5.10 (hav-dev) (DEPRECATED) [HAL VM]-
|
al@17280
|
39
|
al@17280
|
40 # GUDEV: gudev-1.0 >= 147 (libgudev-dev) [gudev]+
|
al@17280
|
41
|
al@17280
|
42 # CDDA: libcdio_paranoia >= 0.78.2 (libcdio-dev) [CDDA]+
|
al@17280
|
43
|
al@17280
|
44 # AFC: libimobiledevice-1.0 >= 1.1.5 (libimobiledevice-dev-1.1.1 OLD); \
|
al@17280
|
45 # libplist >= 0.15 (libplist-dev) [AFC]-
|
al@17280
|
46
|
al@17280
|
47 # GOA: goa-1.0 >= 3.7.1 (ABSENT) [GOA VM]-
|
al@17280
|
48
|
al@17280
|
49 # OBEXFTP: dbus-glib-1 (dbus-glib-dev); bluez >= 4.0 (bluez-dev); \
|
al@17280
|
50 # -lexpat (expat-dev) [ObexFTP]+
|
al@17280
|
51
|
al@17280
|
52 # GPHOTO2: libgphoto2 >= 2.4.0 (libgphoto2-dev) [Gphoto2]+
|
al@17280
|
53 # GPHOTO25:libgphoto2 >= 2.5.0
|
al@17280
|
54
|
al@17280
|
55 # KEYRING: libsecret-unstable (ABSENT) [GNOME Keyring]-
|
al@17280
|
56
|
al@17280
|
57 # BLURAY: libbluray (ABSENT) [Blu-ray]-
|
al@17280
|
58
|
al@17280
|
59 # LIBMTP: libmtp >= 1.1.0 (libmtp-dev)
|
al@17280
|
60 # libmtp >= 1.1.5 (libmtp-dev)
|
al@17280
|
61 # libmtp >= 1.1.6 (libmtp-dev) [MTP]+
|
al@17280
|
62
|
al@17280
|
63 # SMBCLIENT: smbclient (ABSENT "smbclient-dev"); libsmbclient.h (samba-dev); \
|
al@17280
|
64 # -lsmbclient (smbclient)
|
al@17280
|
65 # samba >= 3.4.0 [Samba]+
|
al@17280
|
66
|
al@17280
|
67 # GTK gtk+-3.0 >= 3.0 (gtk+3-dev) [GTK+]+
|
al@17280
|
68
|
al@17280
|
69 # ARCHIVE: archive.h, -larchive (libarchive-dev); >= 3.0.22 (libarchive-dev) \
|
al@17280
|
70 # [archive]+
|
al@17280
|
71
|
al@17280
|
72 # LIBGCRYPT: */bin/libgcrypt-config (libgcrypt-dev); libgcrypt >= 1.2.2 ?
|
al@17280
|
73
|
al@17280
|
74 # AFP: ? langinfo.h (glibc-dev) [AFP]+
|
al@17280
|
75
|
al@17280
|
76 # BASHCOMP: - [BASH-completion]-
|
al@17280
|
77
|
al@17280
|
78 # GLIB_GENMARSHAL: glib
|
al@17280
|
79 # sys/statfs.h, sys/statvfs.h, sys/vfs.h, sys/mount.h, sys/param.h (glibc-dev)
|
al@17280
|
80
|
al@17280
|
81 ===============================================================================
|
al@17280
|
82
|
al@17280
|
83 = --disable-nls do not use Native Language Support
|
al@17280
|
84 + --disable-http build without http/dav backend
|
al@17280
|
85 - --disable-avahi build without avahi support
|
al@17280
|
86 = --disable-udev build without libudev
|
al@17280
|
87 + --disable-fuse build without FUSE support
|
al@17280
|
88 - --disable-gdu build without GDU volume monitor
|
al@17280
|
89 + --disable-udisks2 build without libudisks2
|
al@17280
|
90 - --disable-libsystemd-login
|
al@17280
|
91 build without liblibsystemd-login
|
al@17280
|
92 - --disable-hal build without HAL support
|
al@17280
|
93 = --disable-gudev build without gudev support
|
al@17280
|
94 + --disable-cdda build without CDDA backend
|
al@17280
|
95 - --disable-afc build without AFC backend
|
al@17280
|
96 - --disable-goa build without GOA backend
|
al@17280
|
97 + --disable-obexftp build without ObexFTP backend
|
al@17280
|
98 + --disable-gphoto2 build without gphoto2 support
|
al@17280
|
99 - --disable-keyring build without GNOME Keyring support
|
al@17280
|
100 - --disable-bluray build without bluray metadata support
|
al@17280
|
101 + --disable-libmtp build without libmtp support
|
al@17280
|
102 + --disable-samba build without samba support
|
al@17280
|
103 + --disable-gtk build without GTK+
|
al@17280
|
104 + --disable-archive build without archive support
|
al@17280
|
105 + --disable-afp build without AFP support
|
al@17280
|
106 - --disable-bash-completion
|
al@17280
|
107 build without bash-completion support
|
al@17280
|
108 --enable-more-warnings Maximum compiler warnings
|
al@17280
|
109 --enable-installed-tests
|
al@17280
|
110 Enable installation of some test cases
|
al@17280
|
111 --enable-always-build-tests
|
al@17280
|
112 Enable always building tests during 'make all'
|
al@17280
|
113
|
al@17280
|
114 ===============================================================================
|
al@17280
|
115 ./configure \
|
al@17280
|
116 --prefix=/usr \
|
al@17280
|
117 --libexecdir=/usr/lib/$PACKAGE \
|
al@17280
|
118 --sysconfdir=/etc \
|
al@17280
|
119 --disable-documentation \
|
al@17280
|
120 --disable-bash-completion \
|
al@17280
|
121 --disable-gudev \
|
al@17280
|
122 $CONFIGURE_ARGS && \
|
al@17280
|
123
|
al@17280
|
124 gvfs configuration summary:
|
al@17280
|
125
|
al@17280
|
126 gio module directory : ${exec_prefix}/lib/gio/modules
|
al@17280
|
127
|
al@17280
|
128 hotplug backend: none
|
al@17280
|
129
|
al@17280
|
130 Blu-ray metadata support: no
|
al@17280
|
131 HTTP/WebDAV support: yes
|
al@17280
|
132 ObexFTP support yes
|
al@17280
|
133 Samba support: yes
|
al@17280
|
134 FUSE support: yes
|
al@17280
|
135 CDDA support: no
|
al@17280
|
136 Gphoto2 support: no
|
al@17280
|
137 MTP support: no
|
al@17280
|
138 archive support: yes
|
al@17280
|
139 AFC support: no
|
al@17280
|
140 AFP support: yes
|
al@17280
|
141 DNS-SD support: no
|
al@17280
|
142 Build HAL volume monitor: no (with fast init path: no)
|
al@17280
|
143 Build GDU volume monitor: no
|
al@17280
|
144 Build udisks2 volume monitor: yes
|
al@17280
|
145 Build GOA volume monitor: no
|
al@17280
|
146 Use libsystemd-login: no
|
al@17280
|
147 GNOME Keyring support: no
|
al@17280
|
148 GTK+ support: yes
|
al@17280
|
149 Bash-completion support: no
|
al@17280
|
150 Installed tests: no
|
al@17280
|
151
|
al@17280
|
152 In file included from udisks2volumemonitordaemon.c:33:0:
|
al@17280
|
153 gvfsudisks2volumemonitor.h:32:25: fatal error: gudev/gudev.h: No such file or directory
|
al@17280
|
154 compilation terminated.
|
al@17280
|
155 make[3]: *** [gvfs_udisks2_volume_monitor-udisks2volumemonitordaemon.o] Error 1
|
al@17280
|
156 make[3]: *** Waiting for unfinished jobs....
|
al@17280
|
157 In file included from gvfsudisks2volumemonitor.c:38:0:
|
al@17280
|
158 gvfsudisks2volumemonitor.h:32:25: fatal error: gudev/gudev.h: No such file or directory
|
al@17280
|
159 compilation terminated.
|
al@17280
|
160 make[3]: *** [gvfs_udisks2_volume_monitor-gvfsudisks2volumemonitor.o] Error 1
|
al@17280
|
161 make[3]: Leaving directory `/home/slitaz/wok/gvfs/source/gvfs-1.22.1/monitor/udisks2'
|
al@17280
|
162 make[2]: *** [all-recursive] Error 1
|
al@17280
|
163 make[2]: Leaving directory `/home/slitaz/wok/gvfs/source/gvfs-1.22.1/monitor'
|
al@17280
|
164 make[1]: *** [all-recursive] Error 1
|
al@17280
|
165 make[1]: Leaving directory `/home/slitaz/wok/gvfs/source/gvfs-1.22.1'
|
al@17280
|
166 make: *** [all] Error 2
|
al@17280
|
167
|
al@17280
|
168 SO, WE CAN'T DISABLE GUDEV IN ANY CASE.
|
al@17280
|
169 ===============================================================================
|
al@17280
|
170 ./configure \
|
al@17280
|
171 --prefix=/usr \
|
al@17280
|
172 --libexecdir=/usr/lib/$PACKAGE \
|
al@17280
|
173 --sysconfdir=/etc \
|
al@17280
|
174 --disable-documentation \
|
al@17280
|
175 --disable-bash-completion \
|
al@17280
|
176 --disable-udev \
|
al@17280
|
177 $CONFIGURE_ARGS && \
|
al@17280
|
178
|
al@17280
|
179 gvfs configuration summary:
|
al@17280
|
180
|
al@17280
|
181 gio module directory : ${exec_prefix}/lib/gio/modules
|
al@17280
|
182
|
al@17280
|
183 hotplug backend: gudev
|
al@17280
|
184
|
al@17280
|
185 Blu-ray metadata support: no
|
al@17280
|
186 HTTP/WebDAV support: yes
|
al@17280
|
187 ObexFTP support yes
|
al@17280
|
188 Samba support: yes
|
al@17280
|
189 FUSE support: yes
|
al@17280
|
190 CDDA support: yes
|
al@17280
|
191 Gphoto2 support: yes
|
al@17280
|
192 MTP support: yes
|
al@17280
|
193 archive support: yes
|
al@17280
|
194 AFC support: no
|
al@17280
|
195 AFP support: yes
|
al@17280
|
196 DNS-SD support: no
|
al@17280
|
197 Build HAL volume monitor: no (with fast init path: no)
|
al@17280
|
198 Build GDU volume monitor: no
|
al@17280
|
199 Build udisks2 volume monitor: yes
|
al@17280
|
200 Build GOA volume monitor: no
|
al@17280
|
201 Use libsystemd-login: no
|
al@17280
|
202 GNOME Keyring support: no
|
al@17280
|
203 GTK+ support: yes
|
al@17280
|
204 Bash-completion support: no
|
al@17280
|
205 Installed tests: no
|
al@17280
|
206
|
al@17280
|
207 diff -r install-all install
|
al@17280
|
208 --- ./install-all/usr/lib/gio/modules/libgvfsdbus.la
|
al@17280
|
209 +++ ./install/usr/lib/gio/modules/libgvfsdbus.la
|
al@17280
|
210 @@ -17,7 +17,7 @@
|
al@17280
|
211 inherited_linker_flags=' -pthread'
|
al@17280
|
212
|
al@17280
|
213 # Libraries that this one depends upon.
|
al@17280
|
214 -dependency_libs=' /usr/lib/gvfs/libgvfscommon.la -L/usr/lib /usr/lib/libgio-2.0.la /usr/lib/libgmodule-2.0.la -ldl -lz -lresolv /usr/lib/libgobject-2.0.la /usr/lib/libffi.la /usr/lib/libglib-2.0.la /usr/lib/libpcre.la -lpthread /lib/libudev.la -lrt -lutil'
|
al@17280
|
215 +dependency_libs=' /usr/lib/gvfs/libgvfscommon.la -L/usr/lib /usr/lib/libgio-2.0.la /usr/lib/libgmodule-2.0.la -ldl -lz -lresolv /usr/lib/libgobject-2.0.la /usr/lib/libffi.la /usr/lib/libglib-2.0.la /usr/lib/libpcre.la -lpthread -lrt -lutil'
|
al@17280
|
216
|
al@17280
|
217 # Names of additional weak libraries provided by this library
|
al@17280
|
218 weak_library_names=''
|
al@17280
|
219 Files ./install-all/usr/lib/gio/modules/libgvfsdbus.so and ./install/usr/lib/gio/modules/libgvfsdbus.so differ
|
al@17280
|
220 Files ./install-all/usr/lib/gvfs/gvfsd-metadata and ../install/usr/lib/gvfs/gvfsd-metadata differ
|
al@17280
|
221
|
al@17280
|
222 SO, LET I NOT DISABLE UDEV IN ANY CASE.
|
al@17280
|
223 ===============================================================================
|