Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] subtitleeditor failed to compile/update
Date: Tue, 23 Feb 2016 05:55:12
Message-Id: CA+t6X7ei9Ce1GENRbJeyhc-z9Y+NR0Kg4pAMMPYs2dFtthqegQ@mail.gmail.com
1 During an update of my Gentoo box yesterday,
2 the subtitleeditor failed to compile.
3
4 Then, I uninstalled it, updated the rest of the
5 system and tried to install the subtitleeditor anew.
6
7 As a result, its compilation failed even more graciously.
8
9 Below is the output from the terminal and all the
10 additional information.
11
12 emerge --ask subtitleeditor
13 ...
14 In file included from subtitle.cc:25:0:
15 utility.h: In function 'bool from_string(const string&, T&)':
16 utility.h:77:72: warning: suggest braces around empty body in an 'if'
17 statement [-Wempty-body]
18 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
19 ^
20 utility.h: In function 'bool from_string(const Glib::ustring&, T&)':
21 utility.h:97:72: warning: suggest braces around empty body in an 'if'
22 statement [-Wempty-body]
23 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
24 ^
25 In file included from utility.h:34:0,
26 from subtitle.cc:25:
27 /usr/include/libintl.h: At global scope:
28 /usr/include/libintl.h:39:14: error: expected unqualified-id before 'const'
29 extern char *gettext (const char *__msgid)
30 ^
31 /usr/include/libintl.h:39:14: error: expected ')' before 'const'
32 /usr/include/libintl.h:39:14: error: expected initializer before 'const'
33 /usr/include/libintl.h:44:14: error: expected unqualified-id before 'const'
34 extern char *dgettext (const char *__domainname, const char *__msgid)
35 ^
36 /usr/include/libintl.h:44:14: error: expected ')' before 'const'
37 /usr/include/libintl.h:44:14: error: expected initializer before 'const'
38 /usr/include/libintl.h:51:14: error: expected unqualified-id before 'const'
39 extern char *dcgettext (const char *__domainname,
40 ^
41 /usr/include/libintl.h:51:14: error: expected ')' before 'const'
42 /usr/include/libintl.h:51:14: error: expected initializer before 'const'
43 /usr/include/libintl.h:61:14: error: expected unqualified-id before 'unsigned'
44 extern char *ngettext (const char *__msgid1, const char *__msgid2,
45 ^
46 /usr/include/libintl.h:61:14: error: expected ')' before 'unsigned'
47 /usr/include/libintl.h:61:14: error: expected ')' before 'unsigned'
48 /usr/include/libintl.h:61:14: error: expected ')' before 'unsigned'
49 /usr/include/libintl.h:61:14: error: expected initializer before 'unsigned'
50 /usr/include/libintl.h:82:14: error: expected unqualified-id before 'const'
51 extern char *textdomain (const char *__domainname) __THROW;
52 ^
53 /usr/include/libintl.h:82:14: error: expected ')' before 'const'
54 /usr/include/libintl.h:82:14: error: expected initializer before 'const'
55 /usr/include/libintl.h:86:14: error: expected unqualified-id before 'const'
56 extern char *bindtextdomain (const char *__domainname,
57 ^
58 /usr/include/libintl.h:86:14: error: expected ')' before 'const'
59 /usr/include/libintl.h:86:14: error: expected initializer before 'const'
60 /usr/include/libintl.h:91:14: error: expected unqualified-id before 'const'
61 extern char *bind_textdomain_codeset (const char *__domainname,
62 ^
63 /usr/include/libintl.h:91:14: error: expected ')' before 'const'
64 /usr/include/libintl.h:91:14: error: expected initializer before 'const'
65 Makefile:1063: recipe for target 'libsubtitleeditor_la-subtitle.lo' failed
66 make[2]: *** [libsubtitleeditor_la-subtitle.lo] Error 1
67 make[2]: *** Waiting for unfinished jobs....
68 make[2]: Leaving directory
69 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/src'
70 Makefile:466: recipe for target 'all-recursive' failed
71 make[1]: *** [all-recursive] Error 1
72 make[1]: Leaving directory
73 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
74 Makefile:397: recipe for target 'all' failed
75 make: *** [all] Error 2
76 * ERROR: media-video/subtitleeditor-0.52.1::gentoo failed (compile phase):
77 * emake failed
78 *
79 * If you need support, post the output of `emerge --info
80 '=media-video/subtitleeditor-0.52.1::gentoo'`,
81 * the complete build log and the output of `emerge -pqv
82 '=media-video/subtitleeditor-0.52.1::gentoo'`.
83 * The complete build log is located at
84 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/build.log'.
85 * The ebuild environment file is located at
86 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/environment'.
87 * Working directory:
88 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
89 * S: '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
90
91 >>> Failed to emerge media-video/subtitleeditor-0.52.1, Log file:
92
93 >>> '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/build.log'
94
95 * Messages for package media-video/subtitleeditor-0.52.1:
96
97 * ERROR: media-video/subtitleeditor-0.52.1::gentoo failed (compile phase):
98 * emake failed
99 *
100 * If you need support, post the output of `emerge --info
101 '=media-video/subtitleeditor-0.52.1::gentoo'`,
102 * the complete build log and the output of `emerge -pqv
103 '=media-video/subtitleeditor-0.52.1::gentoo'`.
104 * The complete build log is located at
105 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/build.log'.
106 * The ebuild environment file is located at
107 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/environment'.
108 * Working directory:
109 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
110 * S: '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
111
112 * GNU info directory index is up-to-date.
113
114 * IMPORTANT: config file '/etc/privoxy/config' needs updating.
115 * See the CONFIGURATION FILES section of the emerge
116 * man page to learn how to update config files.
117
118 # emerge --info '=media-video/subtitleeditor-0.52.1::gentoo
119 > '
120 Portage 2.2.26 (python 3.4.3-final-0,
121 default/linux/amd64/13.0/desktop/gnome, gcc-4.9.3, glibc-2.21-r2,
122 4.1.15-gentoo-r1 x86_64)
123 =================================================================
124 System Settings
125 =================================================================
126 System uname: Linux-4.1.15-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.2
127 KiB Mem: 7906004 total, 3815248 free
128 KiB Swap: 11999228 total, 11999060 free
129 Timestamp of repository gentoo: Mon, 22 Feb 2016 00:45:01 +0000
130 sh bash 4.3_p42-r1
131 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
132 app-shells/bash: 4.3_p42-r1::gentoo
133 dev-java/java-config: 2.2.0::gentoo
134 dev-lang/perl: 5.20.2::gentoo
135 dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo
136 dev-util/cmake: 3.3.1-r1::gentoo
137 dev-util/pkgconfig: 0.28-r2::gentoo
138 sys-apps/baselayout: 2.2::gentoo
139 sys-apps/openrc: 0.19.1::gentoo
140 sys-apps/sandbox: 2.10-r1::gentoo
141 sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
142 sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
143 sys-devel/binutils: 2.25.1-r1::gentoo
144 sys-devel/gcc: 4.9.3::gentoo
145 sys-devel/gcc-config: 1.7.3::gentoo
146 sys-devel/libtool: 2.4.6::gentoo
147 sys-devel/make: 4.1-r1::gentoo
148 sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
149 sys-libs/glibc: 2.21-r2::gentoo
150 Repositories:
151
152 gentoo
153 location: /usr/portage
154 sync-type: rsync
155 sync-uri: rsync://rsync.gentoo.org/gentoo-portage
156 priority: -1000
157
158 tox-overlay
159 location: /var/lib/layman/tox-overlay
160 masters: gentoo
161 priority: 0
162
163 ACCEPT_KEYWORDS="amd64"
164 ACCEPT_LICENSE="* -@EULA"
165 CBUILD="x86_64-pc-linux-gnu"
166 CFLAGS="-march=native -O2 -pipe"
167 CHOST="x86_64-pc-linux-gnu"
168 CONFIG_PROTECT="/etc /usr/share/X11/xkb/symbols/ /usr/share/gnupg/qualified.txt"
169 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
170 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
171 /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
172 /etc/texmf/language.dat.d /etc/texmf/language.def.d
173 /etc/texmf/updmap.d /etc/texmf/web2c"
174 CXXFLAGS="-march=native -O2 -pipe"
175 DISTDIR="/usr/portage/distfiles"
176 FCFLAGS="-O2 -pipe"
177 FEATURES="assume-digests binpkg-logs config-protect-if-modified
178 distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch
179 preserve-libs protect-owned sandbox sfperms strict
180 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
181 usersandbox usersync webrsync-gpg xattr"
182 FFLAGS="-O2 -pipe"
183 GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/
184 http://de-mirror.org/gentoo/"
185 LANG="en_US.UTF-8"
186 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
187 MAKEOPTS="-j3"
188 PKGDIR="/usr/portage/packages"
189 PORTAGE_CONFIGROOT="/"
190 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
191 --omit-dir-times --compress --force --whole-file --delete --stats
192 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
193 --exclude=/packages"
194 PORTAGE_TMPDIR="/var/tmp"
195 USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb branding
196 bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx
197 dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac
198 fortran gdbm gif glamor gnome-keyring gnome-online-accounts gpm
199 gstreamer gtk gtkstyle iconv introspection ipv6 jpeg lcms ldap libav
200 libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg multilib
201 nautilus ncurses nptl ogg opengl openmp pam pango pcre pdf png
202 policykit ppds pulseaudio qt3support readline sdl seccomp session smp
203 spell sse sse2 sse3 ssl startup-notification svg tcpd tiff tracker
204 truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr
205 xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000
206 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371
207 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident
208 usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core
209 authz_core socache_shmcb unixd actions alias auth_basic authn_alias
210 authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
211 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
212 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
213 file_cache filter headers include info log_config logio mem_cache mime
214 mime_magic negotiation rewrite setenvif speling status unique_id
215 userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan
216 sheets stage tables krita karbon braindump author" CAMERAS="ptp2"
217 COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
218 CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc"
219 GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
220 gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
221 rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox
222 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
223 cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
224 LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
225 OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
226 PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4"
227 RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="hp3500" USERLAND="GNU"
228 VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2
229 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
230 steal rawnat logmark ipmark dhcpmac delude chaos account"
231 Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
232 LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS,
233 PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
234
235 # emerge -pqv '=media-video/subtitleeditor-0.52.1::gentoo'
236 [ebuild N ] media-video/subtitleeditor-0.52.1 USE="-debug -nls"
237
238
239 /var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/build.log
240
241  * Package: media-video/subtitleeditor-0.52.1
242  * Repository: gentoo
243  * Maintainer: eva@g.o gnome@g.o
244  * USE: abi_x86_64 amd64 elibc_glibc
245 kernel_linux userland_GNU
246  * FEATURES: preserve-libs sandbox userpriv usersandbox
247 >>> Unpacking source...
248 >>> Unpacking subtitleeditor-0.52.1.tar.gz to /var/tmp/portage/media-video/subtitleeditor-0.52.1/work
249 >>> Source unpacked in /var/tmp/portage/media-video/subtitleeditor-0.52.1/work
250 >>> Preparing source in /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1 ...
251 * Applying subtitleeditor-0.52.1-build-fix.patch ...
252  [ ok ]
253 * Fixing OMF Makefiles ...
254  [ ok ]
255 * Disabling deprecation warnings ...
256  [ ok ]
257 * Running elibtoolize in: subtitleeditor-0.52.1/
258 * Applying portage/1.2.0 patch ...
259 * Applying sed/1.5.6 patch ...
260 * Applying as-needed/2.4.2 patch ...
261 * Applying target-nm/2.4.2 patch ...
262 >>> Source prepared.
263 >>> Configuring source in /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1 ...
264 * econf: updating subtitleeditor-0.52.1/config.sub with
265 /usr/share/gnuconfig/config.sub
266 * econf: updating subtitleeditor-0.52.1/config.guess with
267 /usr/share/gnuconfig/config.guess
268 ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
269 --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
270 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
271 --localstatedir=/var/lib --disable-dependency-tracking
272 --disable-silent-rules --libdir=/usr/lib64
273 --docdir=/usr/share/doc/subtitleeditor-0.52.1 --disable-debug
274 --disable-gl --disable-nls
275 checking for a BSD-compatible install...
276 /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
277 checking whether build environment is sane... yes
278 checking for a thread-safe mkdir -p... /bin/mkdir -p
279 checking for gawk... gawk
280 checking whether make sets $(MAKE)... yes
281 checking whether make supports nested variables... yes
282 checking whether UID '250' is supported by ustar format... yes
283 checking whether GID '250' is supported by ustar format... yes
284 checking how to create a ustar tar archive... gnutar
285 checking for style of include used by make... GNU
286 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
287 checking whether the C compiler works... yes
288 checking for C compiler default output file name... a.out
289 checking for suffix of executables...
290 checking whether we are cross compiling... no
291 checking for suffix of object files... o
292 checking whether we are using the GNU C compiler... yes
293 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
294 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
295 checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
296 checking dependency style of x86_64-pc-linux-gnu-gcc... none
297 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
298 checking for grep that handles long lines and -e... /bin/grep
299 checking for egrep... /bin/grep -E
300 checking for ANSI C header files... yes
301 checking for sys/types.h... yes
302 checking for sys/stat.h... yes
303 checking for stdlib.h... yes
304 checking for string.h... yes
305 checking for memory.h... yes
306 checking for strings.h... yes
307 checking for inttypes.h... yes
308 checking for stdint.h... yes
309 checking for unistd.h... yes
310 checking for stdlib.h... (cached) yes
311 checking for stdbool.h that conforms to C99... yes
312 checking for _Bool... yes
313 checking for an ANSI C-conforming const... yes
314 checking for inline... inline
315 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
316 checking whether we are using the GNU C++ compiler... yes
317 checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
318 checking dependency style of x86_64-pc-linux-gnu-g++... none
319 checking sys/select.h usability... yes
320 checking sys/select.h presence... yes
321 checking for sys/select.h... yes
322 checking sys/socket.h usability... yes
323 checking sys/socket.h presence... yes
324 checking for sys/socket.h... yes
325 checking types of arguments for select... int,fd_set *,struct timeval *
326 checking for select... yes
327 checking for egrep... /bin/grep -E
328 checking for sed... sed
329 checking build system type... x86_64-pc-linux-gnu
330 checking host system type... x86_64-pc-linux-gnu
331 checking how to print strings... printf
332 checking for a sed that does not truncate output... sed
333 checking for fgrep... /bin/grep -F
334 checking for ld used by x86_64-pc-linux-gnu-gcc...
335 /usr/x86_64-pc-linux-gnu/bin/ld
336 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
337 checking for BSD- or MS-compatible name lister (nm)...
338 /usr/bin/x86_64-pc-linux-gnu-nm -B
339 checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B)
340 interface... BSD nm
341 checking whether ln -s works... yes
342 checking the maximum length of command line arguments... 1572864
343 checking whether the shell understands some XSI constructs... yes
344 checking whether the shell understands "+="... yes
345 checking how to convert x86_64-pc-linux-gnu file names to
346 x86_64-pc-linux-gnu format... func_convert_file_noop
347 checking how to convert x86_64-pc-linux-gnu file names to toolchain
348 format... func_convert_file_noop
349 checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
350 checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
351 checking how to recognize dependent libraries... pass_all
352 checking for x86_64-pc-linux-gnu-dlltool... no
353 checking for dlltool... no
354 checking how to associate runtime and link libraries... printf %s\n
355 checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
356 checking for archiver @FILE support... @
357 checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
358 checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
359 checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output
360 from x86_64-pc-linux-gnu-gcc object... ok
361 checking for sysroot... no
362 checking for x86_64-pc-linux-gnu-mt... no
363 checking for mt... no
364 checking if : is a manifest tool... no
365 checking for dlfcn.h... yes
366 checking for objdir... .libs
367 checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
368 checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
369 checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
370 checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
371 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
372 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
373 checking whether the x86_64-pc-linux-gnu-gcc linker
374 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
375 libraries... yes
376 checking whether -lc should be explicitly linked in... no
377 checking dynamic linker characteristics... GNU/Linux ld.so
378 checking how to hardcode library paths into programs... immediate
379 checking whether stripping libraries is possible... yes
380 checking if libtool supports shared libraries... yes
381 checking whether to build shared libraries... yes
382 checking whether to build static libraries... no
383 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
384 checking for ld used by x86_64-pc-linux-gnu-g++...
385 /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
386 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64)
387 is GNU ld... yes
388 checking whether the x86_64-pc-linux-gnu-g++ linker
389 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
390 libraries... yes
391 checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
392 checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
393 checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
394 checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
395 checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
396 checking whether the x86_64-pc-linux-gnu-g++ linker
397 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
398 libraries... yes
399 checking dynamic linker characteristics... (cached) GNU/Linux ld.so
400 checking how to hardcode library paths into programs... immediate
401 checking whether NLS is requested... no
402 checking for intltool-update... /usr/bin/intltool-update
403 checking for intltool-merge... /usr/bin/intltool-merge
404 checking for intltool-extract... /usr/bin/intltool-extract
405 checking for xgettext... /usr/bin/xgettext
406 checking for msgmerge... /usr/bin/msgmerge
407 checking for msgfmt... /usr/bin/msgfmt
408 checking for gmsgfmt... /usr/bin/gmsgfmt
409 checking for perl... /usr/bin/perl
410 checking for perl >= 5.8.1... 5.20.2
411 checking for XML::Parser... ok
412 checking for x86_64-pc-linux-gnu-pkg-config...
413 /usr/bin/x86_64-pc-linux-gnu-pkg-config
414 checking pkg-config is at least version 0.9.0... yes
415 checking for GTKMM... yes
416 checking for ENCHANT... yes
417 checking for LIBXML... yes
418 checking for GSTREAMER... yes
419 checking for GSTREAMERMM... yes
420 checking whether iso-codes are available on this system... yes
421 checking whether iso-codes has iso-639 domain... yes
422 checking whether iso-codes has iso-3166 domain... yes
423 checking whether iso-codes has iso-15924 domain... yes
424 checking whether to change the video output preference... no, xvimagesink
425 checking whether to change the audio output preference... no, autoaudiosink
426 checking whether ccache support should be added... no
427 checking that generated files are newer than configure... done
428 configure: creating ./config.status
429 config.status: creating Makefile
430 config.status: creating src/Makefile
431 config.status: creating m4/Makefile
432 config.status: creating share/Makefile
433 config.status: creating share/appdata/Makefile
434 config.status: creating share/icons/Makefile
435 config.status: creating share/icons/16x16/Makefile
436 config.status: creating share/icons/22x22/Makefile
437 config.status: creating share/icons/24x24/Makefile
438 config.status: creating share/icons/32x32/Makefile
439 config.status: creating share/icons/scalable/Makefile
440 config.status: creating share/ui/Makefile
441 config.status: creating docs/Makefile
442 config.status: creating po/Makefile.in
443 config.status: creating plugins/Makefile
444 config.status: creating plugins/actions/Makefile
445 config.status: creating plugins/actions/about/Makefile
446 config.status: creating plugins/actions/adjusttime/Makefile
447 config.status: creating plugins/actions/applytranslation/Makefile
448 config.status: creating plugins/actions/bestfit/Makefile
449 config.status: creating plugins/actions/changeframerate/Makefile
450 config.status: creating plugins/actions/clipboard/Makefile
451 config.status: creating plugins/actions/combinesubtitles/Makefile
452 config.status: creating plugins/actions/command/Makefile
453 config.status: creating plugins/actions/configurekeyboardshortcuts/Makefile
454 config.status: creating plugins/actions/dialoguize/Makefile
455 config.status: creating plugins/actions/documentmanagement/Makefile
456 config.status: creating plugins/actions/documentsnavigation/Makefile
457 config.status: creating plugins/actions/duplicatesubtitle/Makefile
458 config.status: creating plugins/actions/editcell/Makefile
459 config.status: creating plugins/actions/errorchecking/Makefile
460 config.status: creating plugins/actions/extendlength/Makefile
461 config.status: creating plugins/actions/externalvideoplayer/Makefile
462 config.status: creating plugins/actions/findandreplace/Makefile
463 config.status: creating plugins/actions/insertsubtitle/Makefile
464 config.status: creating plugins/actions/insertsubtitlefromkeyframe/Makefile
465 config.status: creating plugins/actions/italicize/Makefile
466 config.status: creating plugins/actions/joindocument/Makefile
467 config.status: creating plugins/actions/keyframesmanagement/Makefile
468 config.status: creating plugins/actions/minimizeduration/Makefile
469 config.status: creating plugins/actions/moveafterprecedingsubtitle/Makefile
470 config.status: creating plugins/actions/movesubtitles/Makefile
471 config.status: creating plugins/actions/plaintext/Makefile
472 config.status: creating plugins/actions/preferences/Makefile
473 config.status: creating plugins/actions/removesubtitle/Makefile
474 config.status: creating plugins/actions/reversetextandtranslation/Makefile
475 config.status: creating plugins/actions/scalesubtitles/Makefile
476 config.status: creating plugins/actions/selection/Makefile
477 config.status: creating plugins/actions/sortsubtitles/Makefile
478 config.status: creating plugins/actions/spellchecking/Makefile
479 config.status: creating plugins/actions/splitdocument/Makefile
480 config.status: creating plugins/actions/splitsubtitle/Makefile
481 config.status: creating plugins/actions/stacksubtitles/Makefile
482 config.status: creating plugins/actions/styleeditor/Makefile
483 config.status: creating plugins/actions/stylize/Makefile
484 config.status: creating plugins/actions/textcorrection/Makefile
485 config.status: creating plugins/actions/timemodemanagement/Makefile
486 config.status: creating plugins/actions/timingfromplayer/Makefile
487 config.status: creating plugins/actions/typewriter/Makefile
488 config.status: creating plugins/actions/videoplayermanagement/Makefile
489 config.status: creating plugins/actions/viewmanager/Makefile
490 config.status: creating plugins/actions/waveformmanagement/Makefile
491 config.status: creating plugins/subtitleformats/Makefile
492 config.status: creating plugins/subtitleformats/adobeencoredvd/Makefile
493 config.status: creating plugins/subtitleformats/advancedsubstationalpha/Makefile
494 config.status: creating plugins/subtitleformats/avidds/Makefile
495 config.status: creating plugins/subtitleformats/bitc/Makefile
496 config.status: creating plugins/subtitleformats/dcsubtitle/Makefile
497 config.status: creating plugins/subtitleformats/microdvd/Makefile
498 config.status: creating plugins/subtitleformats/mpl2/Makefile
499 config.status: creating plugins/subtitleformats/mpsub/Makefile
500 config.status: creating plugins/subtitleformats/plaintextformat/Makefile
501 config.status: creating plugins/subtitleformats/sami/Makefile
502 config.status: creating plugins/subtitleformats/sbv/Makefile
503 config.status: creating plugins/subtitleformats/sprucestl/Makefile
504 config.status: creating plugins/subtitleformats/subrip/Makefile
505 config.status: creating plugins/subtitleformats/substationalpha/Makefile
506 config.status: creating plugins/subtitleformats/subtitleeditorproject/Makefile
507 config.status: creating plugins/subtitleformats/subviewer2/Makefile
508 config.status: creating
509 plugins/subtitleformats/timedtextauthoringformat1/Makefile
510 config.status: creating config.h
511 config.status: executing depfiles commands
512 config.status: executing libtool commands
513 config.status: executing po/stamp-it commands
514 configure:
515
516 subtitleeditor 0.52.1
517
518 prefix ............................... : /usr
519 gcc version .......................... : 4.9.3
520 gtk+ version ......................... : 3.18.7
521 gtkmm version ........................ : 3.18.0
522 gstreamer version .................... : 1.6.3
523 gstreamermm version .................. : 1.4.3
524
525 default video output ................. : xvimagesink
526 default audio output ................. : autoaudiosink
527
528 have iso-codes 639, 3166 and 15924 ... : yes, yes, yes
529 OpenGL waveform renderer ............. : no
530 OSX support .......................... : no
531 debug support ........................ : no
532 ccache support ....................... : no
533
534
535 Configuration complete. now run make
536
537 >>> Source configured.
538 >>> Compiling source in /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1 ...
539 make -j3
540 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
541 /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/missing
542 aclocal-1.14 -I m4
543 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
544 /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/missing
545 autoconf
546 cd . && /bin/sh
547 /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/missing
548 automake-1.14 --gnu
549 /bin/sh ./config.status --recheck
550 running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/usr
551 --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
552 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
553 --sysconfdir=/etc --localstatedir=/var/lib
554 --disable-dependency-tracking --disable-silent-rules
555 --libdir=/usr/lib64 --docdir=/usr/share/doc/subtitleeditor-0.52.1
556 --disable-debug --disable-gl --disable-nls
557 build_alias=x86_64-pc-linux-gnu host_alias=x86_64-pc-linux-gnu
558 CFLAGS=-march=native -O2 -pipe LDFLAGS=-Wl,-O1 -Wl,--as-needed
559 CXXFLAGS=-march=native -O2 -pipe -std=c++11
560 PKG_CONFIG_PATH=/usr/lib64/pkgconfig --no-create --no-recursion
561 checking for a BSD-compatible install...
562 /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c
563 checking whether build environment is sane... yes
564 checking for a thread-safe mkdir -p... /bin/mkdir -p
565 checking for gawk... gawk
566 checking whether make sets $(MAKE)... yes
567 checking whether make supports nested variables... yes
568 checking whether UID '250' is supported by ustar format... yes
569 checking whether GID '250' is supported by ustar format... yes
570 checking how to create a ustar tar archive... gnutar
571 checking for style of include used by make... GNU
572 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
573 checking whether the C compiler works... yes
574 checking for C compiler default output file name... a.out
575 checking for suffix of executables...
576 checking whether we are cross compiling... no
577 checking for suffix of object files... o
578 checking whether we are using the GNU C compiler... yes
579 checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
580 checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
581 checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
582 checking dependency style of x86_64-pc-linux-gnu-gcc... none
583 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
584 checking for grep that handles long lines and -e... /bin/grep
585 checking for egrep... /bin/grep -E
586 checking for ANSI C header files... yes
587 checking for sys/types.h... yes
588 checking for sys/stat.h... yes
589 checking for stdlib.h... yes
590 checking for string.h... yes
591 checking for memory.h... yes
592 checking for strings.h... yes
593 checking for inttypes.h... yes
594 checking for stdint.h... yes
595 checking for unistd.h... yes
596 checking for stdlib.h... (cached) yes
597 checking for stdbool.h that conforms to C99... yes
598 checking for _Bool... yes
599 checking for an ANSI C-conforming const... yes
600 checking for inline... inline
601 checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
602 checking whether we are using the GNU C++ compiler... yes
603 checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
604 checking dependency style of x86_64-pc-linux-gnu-g++... none
605 checking sys/select.h usability... yes
606 checking sys/select.h presence... yes
607 checking for sys/select.h... yes
608 checking sys/socket.h usability... yes
609 checking sys/socket.h presence... yes
610 checking for sys/socket.h... yes
611 checking types of arguments for select... int,fd_set *,struct timeval *
612 checking for select... yes
613 checking for egrep... /bin/grep -E
614 checking for sed... sed
615 checking build system type... x86_64-pc-linux-gnu
616 checking host system type... x86_64-pc-linux-gnu
617 checking how to print strings... printf
618 checking for a sed that does not truncate output... sed
619 checking for fgrep... /bin/grep -F
620 checking for ld used by x86_64-pc-linux-gnu-gcc...
621 /usr/x86_64-pc-linux-gnu/bin/ld
622 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
623 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
624 checking the name lister (/usr/bin/nm -B) interface... BSD nm
625 checking whether ln -s works... yes
626 checking the maximum length of command line arguments... 1572864
627 checking whether the shell understands some XSI constructs... yes
628 checking whether the shell understands "+="... yes
629 checking how to convert x86_64-pc-linux-gnu file names to
630 x86_64-pc-linux-gnu format... func_convert_file_noop
631 checking how to convert x86_64-pc-linux-gnu file names to toolchain
632 format... func_convert_file_noop
633 checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
634 checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
635 checking how to recognize dependent libraries... pass_all
636 checking for x86_64-pc-linux-gnu-dlltool... no
637 checking for dlltool... no
638 checking how to associate runtime and link libraries... printf %s\n
639 checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
640 checking for archiver @FILE support... @
641 checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
642 checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
643 checking command to parse /usr/bin/nm -B output from
644 x86_64-pc-linux-gnu-gcc object... ok
645 checking for sysroot... no
646 checking for x86_64-pc-linux-gnu-mt... no
647 checking for mt... no
648 checking if : is a manifest tool... no
649 checking for dlfcn.h... yes
650 checking for objdir... .libs
651 checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
652 checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
653 checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
654 checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
655 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
656 checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
657 checking whether the x86_64-pc-linux-gnu-gcc linker
658 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
659 libraries... yes
660 checking whether -lc should be explicitly linked in... no
661 checking dynamic linker characteristics... GNU/Linux ld.so
662 checking how to hardcode library paths into programs... immediate
663 checking whether stripping libraries is possible... yes
664 checking if libtool supports shared libraries... yes
665 checking whether to build shared libraries... yes
666 checking whether to build static libraries... no
667 checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
668 checking for ld used by x86_64-pc-linux-gnu-g++...
669 /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
670 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64)
671 is GNU ld... yes
672 checking whether the x86_64-pc-linux-gnu-g++ linker
673 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
674 libraries... yes
675 checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
676 checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
677 checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
678 checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
679 checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
680 checking whether the x86_64-pc-linux-gnu-g++ linker
681 (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared
682 libraries... yes
683 checking dynamic linker characteristics... (cached) GNU/Linux ld.so
684 checking how to hardcode library paths into programs... immediate
685 checking whether NLS is requested... no
686 checking for intltool-update... /usr/bin/intltool-update
687 checking for intltool-merge... /usr/bin/intltool-merge
688 checking for intltool-extract... /usr/bin/intltool-extract
689 checking for xgettext... /usr/bin/xgettext
690 checking for msgmerge... /usr/bin/msgmerge
691 checking for msgfmt... /usr/bin/msgfmt
692 checking for gmsgfmt... /usr/bin/gmsgfmt
693 checking for perl... /usr/bin/perl
694 checking for perl >= 5.8.1... 5.20.2
695 checking for XML::Parser... ok
696 checking for x86_64-pc-linux-gnu-pkg-config...
697 /usr/bin/x86_64-pc-linux-gnu-pkg-config
698 checking pkg-config is at least version 0.9.0... yes
699 checking for GTKMM... yes
700 checking for ENCHANT... yes
701 checking for LIBXML... yes
702 checking for GSTREAMER... yes
703 checking for GSTREAMERMM... yes
704 checking whether iso-codes are available on this system... yes
705 checking whether iso-codes has iso-639 domain... yes
706 checking whether iso-codes has iso-3166 domain... yes
707 checking whether iso-codes has iso-15924 domain... yes
708 checking whether to change the video output preference... no, xvimagesink
709 checking whether to change the audio output preference... no, autoaudiosink
710 checking whether ccache support should be added... no
711 checking that generated files are newer than configure... done
712 configure: creating ./config.status
713 src/Makefile.am:15: warning: source file 'extension/action.cc' is in a
714 subdirectory,
715 src/Makefile.am:15: but option 'subdir-objects' is disabled
716 automake-1.14: warning: possible forward-incompatibility.
717 automake-1.14: At least a source file is in a subdirectory, but the
718 'subdir-objects'
719 automake-1.14: automake option hasn't been enabled. For now, the
720 corresponding output
721 automake-1.14: object file(s) will be placed in the top-level
722 directory. However,
723 automake-1.14: this behaviour will change in future Automake versions: they will
724 automake-1.14: unconditionally cause object files to be placed in the
725 same subdirectory
726 automake-1.14: of the corresponding sources.
727 automake-1.14: You are advised to start using 'subdir-objects' option
728 throughout your
729 automake-1.14: project, to avoid future incompatibilities.
730 src/Makefile.am:97: warning: source file
731 'gui/automaticspellchecker.cc' is in a subdirectory,
732 src/Makefile.am:97: but option 'subdir-objects' is disabled
733 src/Makefile.am:97: warning: source file 'gui/cellrenderercustom.cc'
734 is in a subdirectory,
735 src/Makefile.am:97: but option 'subdir-objects' is disabled
736 src/Makefile.am:97: warning: source file 'gui/comboboxencoding.cc' is
737 in a subdirectory,
738 src/Makefile.am:97: but option 'subdir-objects' is disabled
739 src/Makefile.am:97: warning: source file 'gui/comboboxframerate.cc' is
740 in a subdirectory,
741 src/Makefile.am:97: but option 'subdir-objects' is disabled
742 src/Makefile.am:97: warning: source file 'gui/comboboxnewline.cc' is
743 in a subdirectory,
744 src/Makefile.am:97: but option 'subdir-objects' is disabled
745 src/Makefile.am:97: warning: source file
746 'gui/comboboxsubtitleformat.cc' is in a subdirectory,
747 src/Makefile.am:97: but option 'subdir-objects' is disabled
748 src/Makefile.am:97: warning: source file 'gui/comboboxvideo.cc' is in
749 a subdirectory,
750 src/Makefile.am:97: but option 'subdir-objects' is disabled
751 src/Makefile.am:97: warning: source file
752 'gui/dialogcharactercodings.cc' is in a subdirectory,
753 src/Makefile.am:97: but option 'subdir-objects' is disabled
754 src/Makefile.am:97: warning: source file 'gui/dialogfilechooser.cc' is
755 in a subdirectory,
756 src/Makefile.am:97: but option 'subdir-objects' is disabled
757 src/Makefile.am:97: warning: source file 'gui/dialogutility.cc' is in
758 a subdirectory,
759 src/Makefile.am:97: but option 'subdir-objects' is disabled
760 src/Makefile.am:97: warning: source file 'gui/spinbuttontime.cc' is in
761 a subdirectory,
762 src/Makefile.am:97: but option 'subdir-objects' is disabled
763 src/Makefile.am:97: warning: source file 'gui/textviewcell.cc' is in a
764 subdirectory,
765 src/Makefile.am:97: but option 'subdir-objects' is disabled
766 src/Makefile.am:97: warning: source file
767 'gui/treeviewextensionmanager.cc' is in a subdirectory,
768 src/Makefile.am:97: but option 'subdir-objects' is disabled
769 src/Makefile.am:147: warning: source file 'gui/application.cc' is in a
770 subdirectory,
771 src/Makefile.am:147: but option 'subdir-objects' is disabled
772 src/Makefile.am:147: warning: source file 'gui/menubar.cc' is in a subdirectory,
773 src/Makefile.am:147: but option 'subdir-objects' is disabled
774 src/Makefile.am:147: warning: source file 'gui/statusbar.cc' is in a
775 subdirectory,
776 src/Makefile.am:147: but option 'subdir-objects' is disabled
777 src/Makefile.am:147: warning: source file 'vp/gstplayer.cc' is in a
778 subdirectory,
779 src/Makefile.am:147: but option 'subdir-objects' is disabled
780 src/Makefile.am:147: warning: source file 'vp/videoplayer.cc' is in a
781 subdirectory,
782 src/Makefile.am:147: but option 'subdir-objects' is disabled
783 src/Makefile.am:147: warning: source file 'we/waveformeditor.cc' is in
784 a subdirectory,
785 src/Makefile.am:147: but option 'subdir-objects' is disabled
786 src/Makefile.am:147: warning: source file
787 'we/waveformrenderercairo.cc' is in a subdirectory,
788 src/Makefile.am:147: but option 'subdir-objects' is disabled
789 src/Makefile.am:147: warning: source file 'we/waveformrenderer.cc' is
790 in a subdirectory,
791 src/Makefile.am:147: but option 'subdir-objects' is disabled
792 src/Makefile.am:147: warning: source file 'we/waveformrenderergl.cc'
793 is in a subdirectory,
794 src/Makefile.am:147: but option 'subdir-objects' is disabled
795 configure:
796
797 subtitleeditor 0.52.1
798
799 prefix ............................... : /usr
800 gcc version .......................... : 4.9.3
801 gtk+ version ......................... : 3.18.7
802 gtkmm version ........................ : 3.18.0
803 gstreamer version .................... : 1.6.3
804 gstreamermm version .................. : 1.4.3
805
806 default video output ................. : xvimagesink
807 default audio output ................. : autoaudiosink
808
809 have iso-codes 639, 3166 and 15924 ... : yes, yes, yes
810 OpenGL waveform renderer ............. : no
811 OSX support .......................... : no
812 debug support ........................ : no
813 ccache support ....................... : no
814
815
816 Configuration complete. now run make
817
818 /bin/sh ./config.status
819 config.status: creating Makefile
820 config.status: creating src/Makefile
821 config.status: creating m4/Makefile
822 config.status: creating share/Makefile
823 config.status: creating share/appdata/Makefile
824 config.status: creating share/icons/Makefile
825 config.status: creating share/icons/16x16/Makefile
826 config.status: creating share/icons/22x22/Makefile
827 config.status: creating share/icons/24x24/Makefile
828 config.status: creating share/icons/32x32/Makefile
829 config.status: creating share/icons/scalable/Makefile
830 config.status: creating share/ui/Makefile
831 config.status: creating docs/Makefile
832 config.status: creating po/Makefile.in
833 config.status: creating plugins/Makefile
834 config.status: creating plugins/actions/Makefile
835 config.status: creating plugins/actions/about/Makefile
836 config.status: creating plugins/actions/adjusttime/Makefile
837 config.status: creating plugins/actions/applytranslation/Makefile
838 config.status: creating plugins/actions/bestfit/Makefile
839 config.status: creating plugins/actions/changeframerate/Makefile
840 config.status: creating plugins/actions/clipboard/Makefile
841 config.status: creating plugins/actions/combinesubtitles/Makefile
842 config.status: creating plugins/actions/command/Makefile
843 config.status: creating plugins/actions/configurekeyboardshortcuts/Makefile
844 config.status: creating plugins/actions/dialoguize/Makefile
845 config.status: creating plugins/actions/documentmanagement/Makefile
846 config.status: creating plugins/actions/documentsnavigation/Makefile
847 config.status: creating plugins/actions/duplicatesubtitle/Makefile
848 config.status: creating plugins/actions/editcell/Makefile
849 config.status: creating plugins/actions/errorchecking/Makefile
850 config.status: creating plugins/actions/extendlength/Makefile
851 config.status: creating plugins/actions/externalvideoplayer/Makefile
852 config.status: creating plugins/actions/findandreplace/Makefile
853 config.status: creating plugins/actions/insertsubtitle/Makefile
854 config.status: creating plugins/actions/insertsubtitlefromkeyframe/Makefile
855 config.status: creating plugins/actions/italicize/Makefile
856 config.status: creating plugins/actions/joindocument/Makefile
857 config.status: creating plugins/actions/keyframesmanagement/Makefile
858 config.status: creating plugins/actions/minimizeduration/Makefile
859 config.status: creating plugins/actions/moveafterprecedingsubtitle/Makefile
860 config.status: creating plugins/actions/movesubtitles/Makefile
861 config.status: creating plugins/actions/plaintext/Makefile
862 config.status: creating plugins/actions/preferences/Makefile
863 config.status: creating plugins/actions/removesubtitle/Makefile
864 config.status: creating plugins/actions/reversetextandtranslation/Makefile
865 config.status: creating plugins/actions/scalesubtitles/Makefile
866 config.status: creating plugins/actions/selection/Makefile
867 config.status: creating plugins/actions/sortsubtitles/Makefile
868 config.status: creating plugins/actions/spellchecking/Makefile
869 config.status: creating plugins/actions/splitdocument/Makefile
870 config.status: creating plugins/actions/splitsubtitle/Makefile
871 config.status: creating plugins/actions/stacksubtitles/Makefile
872 config.status: creating plugins/actions/styleeditor/Makefile
873 config.status: creating plugins/actions/stylize/Makefile
874 config.status: creating plugins/actions/textcorrection/Makefile
875 config.status: creating plugins/actions/timemodemanagement/Makefile
876 config.status: creating plugins/actions/timingfromplayer/Makefile
877 config.status: creating plugins/actions/typewriter/Makefile
878 config.status: creating plugins/actions/videoplayermanagement/Makefile
879 config.status: creating plugins/actions/viewmanager/Makefile
880 config.status: creating plugins/actions/waveformmanagement/Makefile
881 config.status: creating plugins/subtitleformats/Makefile
882 config.status: creating plugins/subtitleformats/adobeencoredvd/Makefile
883 config.status: creating plugins/subtitleformats/advancedsubstationalpha/Makefile
884 config.status: creating plugins/subtitleformats/avidds/Makefile
885 config.status: creating plugins/subtitleformats/bitc/Makefile
886 config.status: creating plugins/subtitleformats/dcsubtitle/Makefile
887 config.status: creating plugins/subtitleformats/microdvd/Makefile
888 config.status: creating plugins/subtitleformats/mpl2/Makefile
889 config.status: creating plugins/subtitleformats/mpsub/Makefile
890 config.status: creating plugins/subtitleformats/plaintextformat/Makefile
891 config.status: creating plugins/subtitleformats/sami/Makefile
892 config.status: creating plugins/subtitleformats/sbv/Makefile
893 config.status: creating plugins/subtitleformats/sprucestl/Makefile
894 config.status: creating plugins/subtitleformats/subrip/Makefile
895 config.status: creating plugins/subtitleformats/substationalpha/Makefile
896 config.status: creating plugins/subtitleformats/subtitleeditorproject/Makefile
897 config.status: creating plugins/subtitleformats/subviewer2/Makefile
898 config.status: creating
899 plugins/subtitleformats/timedtextauthoringformat1/Makefile
900 config.status: creating config.h
901 config.status: config.h is unchanged
902 config.status: executing depfiles commands
903 config.status: executing libtool commands
904 config.status: executing po/stamp-it commands
905 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
906 /var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/missing
907 autoheader)
908 rm -f stamp-h1
909 touch config.h.in
910 cd . && /bin/sh ./config.status config.h
911 config.status: creating config.h
912 config.status: config.h is unchanged
913 make all-recursive
914 make[1]: Entering directory
915 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
916 Making all in m4
917 make[2]: Entering directory
918 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/m4'
919 make[2]: Nothing to be done for 'all'.
920 make[2]: Leaving directory
921 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/m4'
922 Making all in share
923 make[2]: Entering directory
924 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share'
925 Making all in appdata
926 make[3]: Entering directory
927 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/appdata'
928 make[3]: Nothing to be done for 'all'.
929 make[3]: Leaving directory
930 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/appdata'
931 Making all in icons
932 make[3]: Entering directory
933 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons'
934 Making all in 16x16
935 make[4]: Entering directory
936 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/16x16'
937 make[4]: Nothing to be done for 'all'.
938 make[4]: Leaving directory
939 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/16x16'
940 Making all in 22x22
941 make[4]: Entering directory
942 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/22x22'
943 make[4]: Nothing to be done for 'all'.
944 make[4]: Leaving directory
945 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/22x22'
946 Making all in 24x24
947 make[4]: Entering directory
948 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/24x24'
949 make[4]: Nothing to be done for 'all'.
950 make[4]: Leaving directory
951 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/24x24'
952 Making all in 32x32
953 make[4]: Entering directory
954 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/32x32'
955 make[4]: Nothing to be done for 'all'.
956 make[4]: Leaving directory
957 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/32x32'
958 Making all in scalable
959 make[4]: Entering directory
960 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/scalable'
961 make[4]: Nothing to be done for 'all'.
962 make[4]: Leaving directory
963 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons/scalable'
964 make[4]: Entering directory
965 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons'
966 make[4]: Nothing to be done for 'all-am'.
967 make[4]: Leaving directory
968 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons'
969 make[3]: Leaving directory
970 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/icons'
971 Making all in ui
972 make[3]: Entering directory
973 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/ui'
974 make[3]: Nothing to be done for 'all'.
975 make[3]: Leaving directory
976 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share/ui'
977 make[3]: Entering directory
978 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share'
979 LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache
980 ../po subtitleeditor.desktop.in subtitleeditor.desktop
981 Generating and caching the translation database
982 Merging translations into subtitleeditor.desktop.
983 make[3]: Leaving directory
984 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share'
985 make[2]: Leaving directory
986 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/share'
987 Making all in src
988 make[2]: Entering directory
989 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/src'
990 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
991 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
992 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
993 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
994 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
995 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
996 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
997 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
998 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
999 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1000 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1001 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1002 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1003 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1004 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1005 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1006 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1007 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1008 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1009 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1010 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1011 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1012 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1013 -I/usr/include/enchant -I/usr/include/glib-2.0
1014 -I/usr/lib64/glib-2.0/include
1015 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1016 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1017 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1018 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1019 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1020 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1021 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1022 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1023 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1024 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1025 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1026 libsubtitleeditor_la-color.lo `test -f 'color.cc' || echo
1027 './'`color.cc
1028 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1029 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1030 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1031 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1032 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1033 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1034 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1035 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1036 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1037 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1038 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1039 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1040 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1041 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1042 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1043 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1044 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1045 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1046 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1047 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1048 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1049 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1050 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1051 -I/usr/include/enchant -I/usr/include/glib-2.0
1052 -I/usr/lib64/glib-2.0/include
1053 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1054 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1055 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1056 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1057 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1058 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1059 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1060 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1061 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1062 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1063 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1064 libsubtitleeditor_la-command.lo `test -f 'command.cc' || echo
1065 './'`command.cc
1066 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1067 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1068 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1069 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1070 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1071 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1072 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1073 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1074 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1075 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1076 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1077 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1078 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1079 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1080 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1081 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1082 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1083 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1084 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1085 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1086 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1087 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1088 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1089 -I/usr/include/enchant -I/usr/include/glib-2.0
1090 -I/usr/lib64/glib-2.0/include
1091 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1092 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1093 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1094 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1095 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1096 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1097 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1098 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1099 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1100 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1101 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1102 libsubtitleeditor_la-commandsystem.lo `test -f 'commandsystem.cc' ||
1103 echo './'`commandsystem.cc
1104 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1105 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1106 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1107 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1108 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1109 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1110 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1111 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1112 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1113 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1114 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1115 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1116 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1117 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1118 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1119 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1120 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1121 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1122 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1123 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1124 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1125 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1126 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1127 -I/usr/include/enchant -I/usr/include/glib-2.0
1128 -I/usr/lib64/glib-2.0/include
1129 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1130 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1131 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1132 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1133 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1134 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1135 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1136 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1137 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1138 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1139 -std=c++11 -Wall -Wextra -Wconversion -c color.cc -fPIC -DPIC -o
1140 .libs/libsubtitleeditor_la-color.o
1141 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1142 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1143 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1144 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1145 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1146 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1147 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1148 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1149 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1150 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1151 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1152 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1153 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1154 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1155 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1156 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1157 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1158 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1159 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1160 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1161 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1162 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1163 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1164 -I/usr/include/enchant -I/usr/include/glib-2.0
1165 -I/usr/lib64/glib-2.0/include
1166 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1167 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1168 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1169 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1170 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1171 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1172 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1173 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1174 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1175 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1176 -std=c++11 -Wall -Wextra -Wconversion -c commandsystem.cc -fPIC -DPIC
1177 -o .libs/libsubtitleeditor_la-commandsystem.o
1178 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1179 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1180 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1181 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1182 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1183 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1184 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1185 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1186 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1187 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1188 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1189 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1190 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1191 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1192 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1193 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1194 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1195 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1196 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1197 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1198 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1199 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1200 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1201 -I/usr/include/enchant -I/usr/include/glib-2.0
1202 -I/usr/lib64/glib-2.0/include
1203 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1204 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1205 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1206 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1207 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1208 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1209 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1210 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1211 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1212 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1213 -std=c++11 -Wall -Wextra -Wconversion -c command.cc -fPIC -DPIC -o
1214 .libs/libsubtitleeditor_la-command.o
1215 In file included from color.cc:26:0:
1216 utility.h: In function 'bool from_string(const
1217 string&, T&)':
1218 utility.h:77:72: warning: suggest
1219 braces around empty body in an 'if' statement
1220 [-Wempty-body]
1221 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1222 
1223 ^
1224 utility.h: In function 'bool from_string(const
1225 Glib::ustring&, T&)':
1226 utility.h:97:72: warning: suggest
1227 braces around empty body in an 'if' statement
1228 [-Wempty-body]
1229 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1230 
1231 ^
1232 In file included from
1233 /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
1234 from /usr/include/glib-2.0/glib/gtypes.h:32,
1235 from /usr/include/glib-2.0/glib/galloca.h:32,
1236 from /usr/include/glib-2.0/glib.h:30,
1237 from /usr/include/glibmm-2.4/glibmm/thread.h:40,
1238 from /usr/include/glibmm-2.4/glibmm.h:87,
1239 from /usr/include/gtkmm-3.0/gtkmm.h:87,
1240 from color.h:27,
1241 from color.cc:24:
1242 color.cc: In member function 'void
1243 Color::set(unsigned int, unsigned int, unsigned int, unsigned
1244 int)':
1245 /usr/include/glib-2.0/glib/gmacros.h:247:63:
1246 warning: comparison of unsigned expression < 0 is
1247 always false [-Wtype-limits]
1248 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) <
1249 (low)) ? (low) : (x)))
1250 
1251 ^
1252 color.cc:57:12: note: in expansion of
1253 macro 'CLAMP'
1254 m_rgba[0]=CLAMP(r, 0, 255);
1255  ^
1256 /usr/include/glib-2.0/glib/gmacros.h:247:63:
1257 warning: comparison of unsigned expression < 0 is
1258 always false [-Wtype-limits]
1259 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) <
1260 (low)) ? (low) : (x)))
1261 
1262 ^
1263 color.cc:58:12: note: in expansion of
1264 macro 'CLAMP'
1265 m_rgba[1]=CLAMP(g, 0, 255);
1266  ^
1267 /usr/include/glib-2.0/glib/gmacros.h:247:63:
1268 warning: comparison of unsigned expression < 0 is
1269 always false [-Wtype-limits]
1270 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) <
1271 (low)) ? (low) : (x)))
1272 
1273 ^
1274 color.cc:59:12: note: in expansion of
1275 macro 'CLAMP'
1276 m_rgba[2]=CLAMP(b, 0, 255);
1277  ^
1278 /usr/include/glib-2.0/glib/gmacros.h:247:63:
1279 warning: comparison of unsigned expression < 0 is
1280 always false [-Wtype-limits]
1281 #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) <
1282 (low)) ? (low) : (x)))
1283 
1284 ^
1285 color.cc:60:12: note: in expansion of
1286 macro 'CLAMP'
1287 m_rgba[3]=CLAMP(a, 0, 255);
1288  ^
1289 color.cc: In function 'bool hex(const
1290 Glib::ustring&, unsigned int*)':
1291 color.cc:105:49: warning: conversion to
1292 'gchar {aka char}' from
1293 'Glib::ustring::value_type {aka unsigned int}' may alter
1294 its value [-Wconversion]
1295 *c = (*c << 4) | g_ascii_xdigit_value(spec[i]);
1296  ^
1297 color.cc: In member function 'void
1298 Color::initColorButton(Gtk::ColorButton&)':
1299 color.cc:179:53: warning: conversion to
1300 'gushort {aka short unsigned int}' from
1301 'unsigned int' may alter its value [-Wconversion]
1302 gdkcolor.set_rgb(getR()*257, getG()*257, getB()*257);
1303  ^
1304 color.cc:179:53: warning: conversion to
1305 'gushort {aka short unsigned int}' from
1306 'unsigned int' may alter its value [-Wconversion]
1307 color.cc:179:53: warning: conversion to
1308 'gushort {aka short unsigned int}' from
1309 'unsigned int' may alter its value [-Wconversion]
1310 color.cc:181:29: warning: conversion to
1311 'guint16 {aka short unsigned int}' from
1312 'unsigned int' may alter its value [-Wconversion]
1313 button.set_alpha(getA()*257);
1314  ^
1315 In file included from commandsystem.cc:25:0:
1316 utility.h: In function 'bool from_string(const
1317 string&, T&)':
1318 utility.h:77:72: warning: suggest
1319 braces around empty body in an 'if' statement
1320 [-Wempty-body]
1321 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1322 
1323 ^
1324 utility.h: In function 'bool from_string(const
1325 Glib::ustring&, T&)':
1326 utility.h:97:72: warning: suggest
1327 braces around empty body in an 'if' statement
1328 [-Wempty-body]
1329 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1330 
1331 ^
1332 commandsystem.cc: In member function 'void
1333 CommandSystem::add(Command*)':
1334 commandsystem.cc:223:29: warning:
1335 comparison between signed and unsigned integer expressions
1336 [-Wsign-compare]
1337 while(m_undo_stack.size() > m_max_undo_stack)
1338  ^
1339 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1340 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1341 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1342 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1343 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1344 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1345 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1346 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1347 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1348 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1349 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1350 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1351 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1352 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1353 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1354 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1355 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1356 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1357 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1358 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1359 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1360 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1361 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1362 -I/usr/include/enchant -I/usr/include/glib-2.0
1363 -I/usr/lib64/glib-2.0/include
1364 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1365 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1366 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1367 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1368 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1369 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1370 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1371 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1372 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1373 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1374 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1375 libsubtitleeditor_la-cfg.lo `test -f 'cfg.cc' || echo './'`cfg.cc
1376 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1377 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1378 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1379 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1380 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1381 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1382 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1383 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1384 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1385 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1386 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1387 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1388 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1389 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1390 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1391 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1392 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1393 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1394 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1395 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1396 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1397 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1398 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1399 -I/usr/include/enchant -I/usr/include/glib-2.0
1400 -I/usr/lib64/glib-2.0/include
1401 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1402 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1403 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1404 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1405 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1406 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1407 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1408 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1409 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1410 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1411 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1412 libsubtitleeditor_la-debug.lo `test -f 'debug.cc' || echo
1413 './'`debug.cc
1414 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1415 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1416 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1417 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1418 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1419 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1420 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1421 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1422 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1423 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1424 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1425 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1426 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1427 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1428 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1429 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1430 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1431 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1432 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1433 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1434 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1435 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1436 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1437 -I/usr/include/enchant -I/usr/include/glib-2.0
1438 -I/usr/lib64/glib-2.0/include
1439 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1440 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1441 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1442 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1443 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1444 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1445 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1446 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1447 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1448 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1449 -std=c++11 -Wall -Wextra -Wconversion -c cfg.cc -fPIC -DPIC -o
1450 .libs/libsubtitleeditor_la-cfg.o
1451 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1452 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1453 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1454 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1455 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1456 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1457 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1458 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1459 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1460 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1461 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1462 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1463 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1464 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1465 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1466 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1467 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1468 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1469 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1470 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1471 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1472 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1473 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1474 -I/usr/include/enchant -I/usr/include/glib-2.0
1475 -I/usr/lib64/glib-2.0/include
1476 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1477 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1478 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1479 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1480 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1481 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1482 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1483 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1484 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1485 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1486 -std=c++11 -Wall -Wextra -Wconversion -c debug.cc -fPIC -DPIC -o
1487 .libs/libsubtitleeditor_la-debug.o
1488 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1489 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1490 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1491 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1492 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1493 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1494 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1495 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1496 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1497 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1498 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1499 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1500 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1501 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1502 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1503 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1504 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1505 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1506 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1507 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1508 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1509 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1510 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1511 -I/usr/include/enchant -I/usr/include/glib-2.0
1512 -I/usr/lib64/glib-2.0/include
1513 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1514 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1515 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1516 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1517 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1518 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1519 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1520 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1521 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1522 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1523 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1524 libsubtitleeditor_la-defaultcfg.lo `test -f 'defaultcfg.cc' || echo
1525 './'`defaultcfg.cc
1526 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1527 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1528 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1529 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1530 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1531 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1532 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1533 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1534 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1535 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1536 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1537 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1538 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1539 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1540 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1541 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1542 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1543 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1544 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1545 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1546 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1547 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1548 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1549 -I/usr/include/enchant -I/usr/include/glib-2.0
1550 -I/usr/lib64/glib-2.0/include
1551 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1552 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1553 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1554 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1555 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1556 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1557 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1558 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1559 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1560 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1561 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1562 libsubtitleeditor_la-document.lo `test -f 'document.cc' || echo
1563 './'`document.cc
1564 cfg.cc:73:2: warning: #warning "FIXME:
1565 convert to full path" [-Wcpp]
1566 #warning "FIXME: convert to full path"
1567  ^
1568 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1569 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1570 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1571 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1572 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1573 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1574 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1575 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1576 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1577 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1578 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1579 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1580 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1581 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1582 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1583 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1584 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1585 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1586 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1587 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1588 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1589 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1590 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1591 -I/usr/include/enchant -I/usr/include/glib-2.0
1592 -I/usr/lib64/glib-2.0/include
1593 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1594 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1595 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1596 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1597 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1598 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1599 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1600 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1601 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1602 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1603 -std=c++11 -Wall -Wextra -Wconversion -c defaultcfg.cc -fPIC -DPIC -o
1604 .libs/libsubtitleeditor_la-defaultcfg.o
1605 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1606 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1607 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1608 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1609 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1610 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1611 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1612 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1613 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1614 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1615 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1616 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1617 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1618 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1619 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1620 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1621 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1622 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1623 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1624 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1625 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1626 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1627 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1628 -I/usr/include/enchant -I/usr/include/glib-2.0
1629 -I/usr/lib64/glib-2.0/include
1630 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1631 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1632 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1633 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1634 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1635 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1636 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1637 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1638 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1639 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1640 -std=c++11 -Wall -Wextra -Wconversion -c document.cc -fPIC -DPIC -o
1641 .libs/libsubtitleeditor_la-document.o
1642 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1643 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1644 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1645 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1646 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1647 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1648 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1649 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1650 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1651 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1652 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1653 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1654 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1655 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1656 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1657 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1658 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1659 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1660 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1661 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1662 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1663 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1664 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1665 -I/usr/include/enchant -I/usr/include/glib-2.0
1666 -I/usr/lib64/glib-2.0/include
1667 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1668 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1669 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1670 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1671 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1672 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1673 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1674 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1675 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1676 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1677 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1678 libsubtitleeditor_la-documentsystem.lo `test -f 'documentsystem.cc' ||
1679 echo './'`documentsystem.cc
1680 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1681 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1682 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1683 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1684 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1685 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1686 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1687 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1688 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1689 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1690 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1691 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1692 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1693 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1694 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1695 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1696 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1697 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1698 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1699 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1700 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1701 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1702 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1703 -I/usr/include/enchant -I/usr/include/glib-2.0
1704 -I/usr/lib64/glib-2.0/include
1705 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1706 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1707 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1708 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1709 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1710 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1711 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1712 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1713 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1714 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1715 -std=c++11 -Wall -Wextra -Wconversion -c documentsystem.cc -fPIC
1716 -DPIC -o .libs/libsubtitleeditor_la-documentsystem.o
1717 In file included from cfg.cc:28:0:
1718 utility.h: In function 'bool from_string(const
1719 string&, T&)':
1720 utility.h:77:72: warning: suggest
1721 braces around empty body in an 'if' statement
1722 [-Wempty-body]
1723 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1724 
1725 ^
1726 utility.h: In function 'bool from_string(const
1727 Glib::ustring&, T&)':
1728 utility.h:97:72: warning: suggest
1729 braces around empty body in an 'if' statement
1730 [-Wempty-body]
1731 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1732 
1733 ^
1734 In file included from document.cc:27:0:
1735 utility.h: In function 'bool from_string(const
1736 string&, T&)':
1737 utility.h:77:72: warning: suggest
1738 braces around empty body in an 'if' statement
1739 [-Wempty-body]
1740 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1741 
1742 ^
1743 utility.h: In function 'bool from_string(const
1744 Glib::ustring&, T&)':
1745 utility.h:97:72: warning: suggest
1746 braces around empty body in an 'if' statement
1747 [-Wempty-body]
1748 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1749 
1750 ^
1751 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1752 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1753 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1754 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1755 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1756 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1757 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1758 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1759 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1760 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1761 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1762 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1763 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1764 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1765 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1766 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1767 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1768 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1769 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1770 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1771 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1772 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1773 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1774 -I/usr/include/enchant -I/usr/include/glib-2.0
1775 -I/usr/lib64/glib-2.0/include
1776 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1777 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1778 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1779 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1780 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1781 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1782 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1783 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1784 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1785 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1786 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1787 libsubtitleeditor_la-encodings.lo `test -f 'encodings.cc' || echo
1788 './'`encodings.cc
1789 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1790 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1791 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1792 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1793 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1794 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1795 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1796 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1797 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1798 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1799 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1800 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1801 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1802 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1803 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1804 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1805 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1806 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1807 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1808 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1809 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1810 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1811 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1812 -I/usr/include/enchant -I/usr/include/glib-2.0
1813 -I/usr/lib64/glib-2.0/include
1814 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1815 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1816 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1817 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1818 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1819 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1820 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1821 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1822 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1823 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1824 -std=c++11 -Wall -Wextra -Wconversion -c encodings.cc -fPIC -DPIC -o
1825 .libs/libsubtitleeditor_la-encodings.o
1826 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1827 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1828 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1829 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1830 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1831 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1832 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1833 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1834 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1835 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1836 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1837 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1838 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1839 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1840 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1841 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1842 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1843 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1844 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1845 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1846 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1847 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1848 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1849 -I/usr/include/enchant -I/usr/include/glib-2.0
1850 -I/usr/lib64/glib-2.0/include
1851 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1852 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1853 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1854 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1855 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1856 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1857 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1858 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1859 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1860 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1861 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1862 libsubtitleeditor_la-action.lo `test -f 'extension/action.cc' || echo
1863 './'`extension/action.cc
1864 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1865 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1866 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1867 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1868 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1869 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1870 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1871 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1872 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1873 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1874 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1875 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1876 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1877 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1878 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1879 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1880 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1881 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1882 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1883 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1884 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1885 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1886 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1887 -I/usr/include/enchant -I/usr/include/glib-2.0
1888 -I/usr/lib64/glib-2.0/include
1889 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1890 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1891 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1892 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1893 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1894 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1895 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1896 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1897 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1898 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1899 -std=c++11 -Wall -Wextra -Wconversion -c extension/action.cc -fPIC
1900 -DPIC -o .libs/libsubtitleeditor_la-action.o
1901 In file included from documentsystem.cc:24:0:
1902 utility.h: In function 'bool from_string(const
1903 string&, T&)':
1904 utility.h:77:72: warning: suggest
1905 braces around empty body in an 'if' statement
1906 [-Wempty-body]
1907 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1908 
1909 ^
1910 utility.h: In function 'bool from_string(const
1911 Glib::ustring&, T&)':
1912 utility.h:97:72: warning: suggest
1913 braces around empty body in an 'if' statement
1914 [-Wempty-body]
1915 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
1916 
1917 ^
1918 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
1919 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
1920 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
1921 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
1922 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
1923 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
1924 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
1925 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
1926 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
1927 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
1928 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
1929 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1930 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1931 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1932 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1933 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1934 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1935 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1936 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1937 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1938 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1939 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1940 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1941 -I/usr/include/enchant -I/usr/include/glib-2.0
1942 -I/usr/lib64/glib-2.0/include
1943 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
1944 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
1945 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
1946 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
1947 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
1948 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
1949 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
1950 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
1951 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
1952 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
1953 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
1954 libsubtitleeditor_la-extension.lo `test -f 'extension.cc' || echo
1955 './'`extension.cc
1956 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
1957 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
1958 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
1959 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
1960 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
1961 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
1962 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1963 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
1964 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
1965 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
1966 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
1967 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
1968 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
1969 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
1970 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
1971 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
1972 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
1973 -I/usr/include/libpng16 -I/usr/include/glib-2.0
1974 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
1975 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
1976 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
1977 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
1978 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
1979 -I/usr/include/enchant -I/usr/include/glib-2.0
1980 -I/usr/lib64/glib-2.0/include
1981 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
1982 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
1983 -DPACKAGE_SHARE_DIR_DEV=\"share\"
1984 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
1985 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
1986 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
1987 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
1988 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
1989 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
1990 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
1991 -std=c++11 -Wall -Wextra -Wconversion -c extension.cc -fPIC -DPIC -o
1992 .libs/libsubtitleeditor_la-extension.o
1993 In file included from encodings.cc:23:0:
1994 utility.h: In function 'bool from_string(const
1995 string&, T&)':
1996 utility.h:77:72: warning: suggest
1997 braces around empty body in an 'if' statement
1998 [-Wempty-body]
1999 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
2000 
2001 ^
2002 utility.h: In function 'bool from_string(const
2003 Glib::ustring&, T&)':
2004 utility.h:97:72: warning: suggest
2005 braces around empty body in an 'if' statement
2006 [-Wempty-body]
2007 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
2008 
2009 ^
2010 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2011 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2012 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2013 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2014 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2015 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2016 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2017 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2018 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2019 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2020 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2021 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2022 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2023 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2024 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2025 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2026 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2027 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2028 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2029 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2030 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2031 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2032 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2033 -I/usr/include/enchant -I/usr/include/glib-2.0
2034 -I/usr/lib64/glib-2.0/include
2035 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2036 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2037 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2038 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2039 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2040 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2041 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2042 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2043 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2044 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2045 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2046 libsubtitleeditor_la-extensioninfo.lo `test -f 'extensioninfo.cc' ||
2047 echo './'`extensioninfo.cc
2048 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2049 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2050 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2051 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2052 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2053 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2054 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2055 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2056 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2057 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2058 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2059 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2060 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2061 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2062 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2063 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2064 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2065 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2066 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2067 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2068 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2069 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2070 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2071 -I/usr/include/enchant -I/usr/include/glib-2.0
2072 -I/usr/lib64/glib-2.0/include
2073 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2074 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2075 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2076 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2077 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2078 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2079 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2080 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2081 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2082 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2083 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2084 libsubtitleeditor_la-extensionmanager.lo `test -f
2085 'extensionmanager.cc' || echo './'`extensionmanager.cc
2086 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2087 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2088 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2089 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2090 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2091 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2092 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2093 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2094 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2095 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2096 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2097 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2098 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2099 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2100 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2101 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2102 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2103 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2104 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2105 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2106 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2107 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2108 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2109 -I/usr/include/enchant -I/usr/include/glib-2.0
2110 -I/usr/lib64/glib-2.0/include
2111 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2112 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2113 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2114 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2115 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2116 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2117 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2118 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2119 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2120 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2121 -std=c++11 -Wall -Wextra -Wconversion -c extensioninfo.cc -fPIC -DPIC
2122 -o .libs/libsubtitleeditor_la-extensioninfo.o
2123 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2124 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2125 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2126 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2127 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2128 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2129 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2130 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2131 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2132 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2133 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2134 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2135 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2136 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2137 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2138 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2139 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2140 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2141 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2142 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2143 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2144 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2145 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2146 -I/usr/include/enchant -I/usr/include/glib-2.0
2147 -I/usr/lib64/glib-2.0/include
2148 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2149 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2150 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2151 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2152 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2153 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2154 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2155 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2156 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2157 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2158 -std=c++11 -Wall -Wextra -Wconversion -c extensionmanager.cc -fPIC
2159 -DPIC -o .libs/libsubtitleeditor_la-extensionmanager.o
2160 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2161 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2162 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2163 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2164 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2165 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2166 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2167 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2168 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2169 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2170 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2171 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2172 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2173 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2174 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2175 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2176 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2177 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2178 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2179 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2180 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2181 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2182 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2183 -I/usr/include/enchant -I/usr/include/glib-2.0
2184 -I/usr/lib64/glib-2.0/include
2185 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2186 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2187 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2188 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2189 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2190 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2191 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2192 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2193 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2194 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2195 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2196 libsubtitleeditor_la-filereader.lo `test -f 'filereader.cc' || echo
2197 './'`filereader.cc
2198 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2199 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2200 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2201 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2202 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2203 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2204 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2205 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2206 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2207 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2208 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2209 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2210 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2211 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2212 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2213 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2214 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2215 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2216 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2217 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2218 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2219 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2220 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2221 -I/usr/include/enchant -I/usr/include/glib-2.0
2222 -I/usr/lib64/glib-2.0/include
2223 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2224 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2225 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2226 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2227 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2228 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2229 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2230 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2231 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2232 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2233 -std=c++11 -Wall -Wextra -Wconversion -c filereader.cc -fPIC -DPIC -o
2234 .libs/libsubtitleeditor_la-filereader.o
2235 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2236 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2237 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2238 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2239 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2240 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2241 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2242 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2243 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2244 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2245 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2246 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2247 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2248 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2249 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2250 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2251 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2252 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2253 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2254 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2255 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2256 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2257 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2258 -I/usr/include/enchant -I/usr/include/glib-2.0
2259 -I/usr/lib64/glib-2.0/include
2260 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2261 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2262 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2263 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2264 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2265 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2266 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2267 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2268 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2269 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2270 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2271 libsubtitleeditor_la-filewriter.lo `test -f 'filewriter.cc' || echo
2272 './'`filewriter.cc
2273 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2274 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2275 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2276 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2277 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2278 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2279 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2280 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2281 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2282 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2283 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2284 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2285 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2286 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2287 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2288 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2289 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2290 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2291 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2292 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2293 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2294 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2295 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2296 -I/usr/include/enchant -I/usr/include/glib-2.0
2297 -I/usr/lib64/glib-2.0/include
2298 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2299 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2300 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2301 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2302 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2303 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2304 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2305 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2306 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2307 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2308 -std=c++11 -Wall -Wextra -Wconversion -c filewriter.cc -fPIC -DPIC -o
2309 .libs/libsubtitleeditor_la-filewriter.o
2310 filereader.cc: In function 'bool
2311 get_contents_from_file(const Glib::ustring&, const Glib::ustring&,
2312 Glib::ustring&, Glib::ustring&, int)':
2313 filereader.cc:38:22: warning:
2314 comparison between signed and unsigned integer expressions
2315 [-Wsign-compare]
2316 if(content.size() > max_data_size)
2317  ^
2318 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2319 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2320 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2321 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2322 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2323 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2324 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2325 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2326 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2327 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2328 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2329 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2330 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2331 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2332 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2333 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2334 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2335 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2336 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2337 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2338 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2339 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2340 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2341 -I/usr/include/enchant -I/usr/include/glib-2.0
2342 -I/usr/lib64/glib-2.0/include
2343 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2344 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2345 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2346 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2347 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2348 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2349 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2350 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2351 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2352 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2353 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2354 libsubtitleeditor_la-gtkmm_utility.lo `test -f 'gtkmm_utility.cc' ||
2355 echo './'`gtkmm_utility.cc
2356 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2357 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2358 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2359 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2360 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2361 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2362 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2363 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2364 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2365 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2366 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2367 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2368 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2369 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2370 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2371 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2372 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2373 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2374 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2375 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2376 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2377 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2378 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2379 -I/usr/include/enchant -I/usr/include/glib-2.0
2380 -I/usr/lib64/glib-2.0/include
2381 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2382 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2383 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2384 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2385 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2386 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2387 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2388 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2389 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2390 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2391 -std=c++11 -Wall -Wextra -Wconversion -c gtkmm_utility.cc -fPIC -DPIC
2392 -o .libs/libsubtitleeditor_la-gtkmm_utility.o
2393 In file included from extensionmanager.cc:28:0:
2394 utility.h: In function 'bool from_string(const
2395 string&, T&)':
2396 utility.h:77:72: warning: suggest
2397 braces around empty body in an 'if' statement
2398 [-Wempty-body]
2399 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
2400 
2401 ^
2402 utility.h: In function 'bool from_string(const
2403 Glib::ustring&, T&)':
2404 utility.h:97:72: warning: suggest
2405 braces around empty body in an 'if' statement
2406 [-Wempty-body]
2407 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
2408 
2409 ^
2410 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2411 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2412 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2413 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2414 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2415 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2416 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2417 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2418 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2419 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2420 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2421 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2422 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2423 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2424 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2425 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2426 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2427 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2428 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2429 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2430 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2431 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2432 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2433 -I/usr/include/enchant -I/usr/include/glib-2.0
2434 -I/usr/lib64/glib-2.0/include
2435 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2436 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2437 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2438 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2439 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2440 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2441 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2442 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2443 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2444 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2445 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2446 libsubtitleeditor_la-isocodes.lo `test -f 'isocodes.cc' || echo
2447 './'`isocodes.cc
2448 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2449 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2450 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2451 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2452 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2453 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2454 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2455 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2456 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2457 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2458 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2459 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2460 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2461 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2462 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2463 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2464 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2465 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2466 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2467 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2468 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2469 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2470 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2471 -I/usr/include/enchant -I/usr/include/glib-2.0
2472 -I/usr/lib64/glib-2.0/include
2473 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2474 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2475 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2476 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2477 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2478 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2479 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2480 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2481 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2482 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2483 -std=c++11 -Wall -Wextra -Wconversion -c isocodes.cc -fPIC -DPIC -o
2484 .libs/libsubtitleeditor_la-isocodes.o
2485 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2486 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2487 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2488 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2489 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2490 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2491 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2492 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2493 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2494 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2495 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2496 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2497 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2498 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2499 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2500 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2501 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2502 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2503 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2504 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2505 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2506 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2507 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2508 -I/usr/include/enchant -I/usr/include/glib-2.0
2509 -I/usr/lib64/glib-2.0/include
2510 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2511 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2512 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2513 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2514 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2515 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2516 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2517 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2518 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2519 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2520 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2521 libsubtitleeditor_la-keyframes.lo `test -f 'keyframes.cc' || echo
2522 './'`keyframes.cc
2523 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2524 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2525 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2526 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2527 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2528 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2529 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2530 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2531 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2532 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2533 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2534 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2535 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2536 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2537 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2538 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2539 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2540 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2541 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2542 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2543 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2544 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2545 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2546 -I/usr/include/enchant -I/usr/include/glib-2.0
2547 -I/usr/lib64/glib-2.0/include
2548 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2549 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2550 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2551 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2552 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2553 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2554 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2555 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2556 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2557 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2558 -std=c++11 -Wall -Wextra -Wconversion -c keyframes.cc -fPIC -DPIC -o
2559 .libs/libsubtitleeditor_la-keyframes.o
2560 isocodes.cc: In function 'bool
2561 isocodes::iso_codes_load_file(const Glib::ustring&, const
2562 Glib::ustring&, std::map<Glib::ustring, Glib::ustring>&)':
2563 isocodes.cc:64:51: warning: statement
2564 has no effect [-Wunused-value]
2565 bind_textdomain_codeset(iso_id.c_str(), "UTF-8");
2566  ^
2567 isocodes.cc: At global scope:
2568 isocodes.cc:105:50: warning: unused
2569 parameter 'domain' [-Wunused-parameter]
2570 Glib::ustring from_isocodes(const Glib::ustring &domain,
2571 std::map<Glib::ustring, Glib::ustring> &isocodes, const Glib::ustring
2572 &code)
2573  ^
2574 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2575 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2576 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2577 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2578 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2579 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2580 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2581 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2582 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2583 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2584 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2585 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2586 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2587 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2588 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2589 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2590 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2591 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2592 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2593 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2594 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2595 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2596 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2597 -I/usr/include/enchant -I/usr/include/glib-2.0
2598 -I/usr/lib64/glib-2.0/include
2599 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2600 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2601 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2602 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2603 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2604 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2605 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2606 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2607 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2608 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2609 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2610 libsubtitleeditor_la-player.lo `test -f 'player.cc' || echo
2611 './'`player.cc
2612 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2613 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2614 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2615 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2616 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2617 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2618 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2619 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2620 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2621 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2622 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2623 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2624 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2625 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2626 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2627 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2628 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2629 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2630 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2631 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2632 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2633 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2634 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2635 -I/usr/include/enchant -I/usr/include/glib-2.0
2636 -I/usr/lib64/glib-2.0/include
2637 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2638 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2639 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2640 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2641 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2642 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2643 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2644 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2645 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2646 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2647 -std=c++11 -Wall -Wextra -Wconversion -c player.cc -fPIC -DPIC -o
2648 .libs/libsubtitleeditor_la-player.o
2649 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2650 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2651 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2652 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2653 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2654 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2655 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2656 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2657 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2658 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2659 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2660 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2661 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2662 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2663 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2664 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2665 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2666 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2667 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2668 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2669 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2670 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2671 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2672 -I/usr/include/enchant -I/usr/include/glib-2.0
2673 -I/usr/lib64/glib-2.0/include
2674 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2675 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2676 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2677 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2678 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2679 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2680 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2681 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2682 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2683 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2684 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2685 libsubtitleeditor_la-reader.lo `test -f 'reader.cc' || echo
2686 './'`reader.cc
2687 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2688 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2689 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2690 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2691 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2692 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2693 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2694 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2695 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2696 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2697 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2698 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2699 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2700 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2701 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2702 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2703 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2704 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2705 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2706 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2707 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2708 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2709 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2710 -I/usr/include/enchant -I/usr/include/glib-2.0
2711 -I/usr/lib64/glib-2.0/include
2712 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2713 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2714 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2715 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2716 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2717 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2718 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2719 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2720 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2721 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2722 -std=c++11 -Wall -Wextra -Wconversion -c reader.cc -fPIC -DPIC -o
2723 .libs/libsubtitleeditor_la-reader.o
2724 In file included from keyframes.cc:28:0:
2725 utility.h: In function 'bool from_string(const
2726 string&, T&)':
2727 utility.h:77:72: warning: suggest
2728 braces around empty body in an 'if' statement
2729 [-Wempty-body]
2730 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
2731 
2732 ^
2733 utility.h: In function 'bool from_string(const
2734 Glib::ustring&, T&)':
2735 utility.h:97:72: warning: suggest
2736 braces around empty body in an 'if' statement
2737 [-Wempty-body]
2738 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
2739 
2740 ^
2741 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2742 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2743 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2744 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2745 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2746 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2747 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2748 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2749 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2750 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2751 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2752 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2753 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2754 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2755 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2756 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2757 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2758 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2759 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2760 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2761 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2762 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2763 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2764 -I/usr/include/enchant -I/usr/include/glib-2.0
2765 -I/usr/lib64/glib-2.0/include
2766 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2767 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2768 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2769 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2770 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2771 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2772 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2773 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2774 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2775 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2776 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2777 libsubtitleeditor_la-scriptinfo.lo `test -f 'scriptinfo.cc' || echo
2778 './'`scriptinfo.cc
2779 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2780 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2781 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2782 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2783 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2784 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2785 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2786 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2787 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2788 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2789 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2790 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2791 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2792 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2793 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2794 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2795 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2796 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2797 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2798 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2799 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2800 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2801 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2802 -I/usr/include/enchant -I/usr/include/glib-2.0
2803 -I/usr/lib64/glib-2.0/include
2804 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2805 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2806 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2807 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2808 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2809 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2810 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2811 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2812 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2813 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2814 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2815 libsubtitleeditor_la-spellchecker.lo `test -f 'spellchecker.cc' ||
2816 echo './'`spellchecker.cc
2817 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2818 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2819 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2820 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2821 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2822 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2823 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2824 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2825 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2826 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2827 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2828 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2829 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2830 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2831 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2832 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2833 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2834 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2835 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2836 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2837 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2838 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2839 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2840 -I/usr/include/enchant -I/usr/include/glib-2.0
2841 -I/usr/lib64/glib-2.0/include
2842 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2843 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2844 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2845 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2846 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2847 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2848 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2849 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2850 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2851 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2852 -std=c++11 -Wall -Wextra -Wconversion -c scriptinfo.cc -fPIC -DPIC -o
2853 .libs/libsubtitleeditor_la-scriptinfo.o
2854 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2855 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2856 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2857 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2858 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2859 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2860 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2861 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2862 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2863 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2864 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2865 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2866 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2867 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2868 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2869 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2870 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2871 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2872 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2873 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2874 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2875 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2876 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2877 -I/usr/include/enchant -I/usr/include/glib-2.0
2878 -I/usr/lib64/glib-2.0/include
2879 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2880 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2881 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2882 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2883 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2884 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2885 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2886 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2887 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2888 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2889 -std=c++11 -Wall -Wextra -Wconversion -c spellchecker.cc -fPIC -DPIC
2890 -o .libs/libsubtitleeditor_la-spellchecker.o
2891 player.cc: In member function 'void
2892 Player::got_tick()':
2893 player.cc:82:79: warning: conversion to
2894 'double' from 'long int' may alter its
2895 value [-Wconversion]
2896 double current_position = (stream_length == 0) ? 0 : (double)
2897 current_time / stream_length;
2898 
2899 ^
2900 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2901 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2902 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2903 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2904 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2905 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2906 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2907 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2908 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2909 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2910 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2911 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2912 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2913 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2914 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2915 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2916 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2917 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2918 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2919 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2920 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2921 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2922 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2923 -I/usr/include/enchant -I/usr/include/glib-2.0
2924 -I/usr/lib64/glib-2.0/include
2925 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
2926 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
2927 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
2928 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
2929 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
2930 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
2931 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
2932 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
2933 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
2934 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
2935 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
2936 libsubtitleeditor_la-style.lo `test -f 'style.cc' || echo
2937 './'`style.cc
2938 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
2939 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
2940 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
2941 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
2942 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
2943 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
2944 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2945 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
2946 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
2947 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
2948 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
2949 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2950 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2951 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2952 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2953 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2954 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2955 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2956 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2957 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2958 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2959 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2960 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2961 -I/usr/include/enchant -I/usr/include/glib-2.0
2962 -I/usr/lib64/glib-2.0/include
2963 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
2964 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
2965 -DPACKAGE_SHARE_DIR_DEV=\"share\"
2966 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
2967 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
2968 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
2969 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
2970 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
2971 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
2972 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
2973 -std=c++11 -Wall -Wextra -Wconversion -c style.cc -fPIC -DPIC -o
2974 .libs/libsubtitleeditor_la-style.o
2975 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
2976 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
2977 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
2978 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
2979 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
2980 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
2981 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
2982 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
2983 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
2984 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
2985 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
2986 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
2987 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
2988 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
2989 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
2990 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
2991 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
2992 -I/usr/include/libpng16 -I/usr/include/glib-2.0
2993 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
2994 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
2995 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
2996 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
2997 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
2998 -I/usr/include/enchant -I/usr/include/glib-2.0
2999 -I/usr/lib64/glib-2.0/include
3000 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
3001 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
3002 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
3003 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
3004 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
3005 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
3006 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
3007 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
3008 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
3009 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
3010 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
3011 libsubtitleeditor_la-stylemodel.lo `test -f 'stylemodel.cc' || echo
3012 './'`stylemodel.cc
3013 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
3014 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
3015 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
3016 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
3017 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
3018 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
3019 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3020 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
3021 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
3022 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
3023 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
3024 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3025 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3026 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3027 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3028 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3029 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3030 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3031 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3032 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3033 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3034 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3035 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3036 -I/usr/include/enchant -I/usr/include/glib-2.0
3037 -I/usr/lib64/glib-2.0/include
3038 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
3039 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
3040 -DPACKAGE_SHARE_DIR_DEV=\"share\"
3041 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
3042 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
3043 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
3044 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
3045 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
3046 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
3047 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
3048 -std=c++11 -Wall -Wextra -Wconversion -c stylemodel.cc -fPIC -DPIC -o
3049 .libs/libsubtitleeditor_la-stylemodel.o
3050 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
3051 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
3052 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
3053 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
3054 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
3055 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
3056 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
3057 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
3058 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
3059 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
3060 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
3061 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3062 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3063 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3064 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3065 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3066 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3067 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3068 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3069 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3070 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3071 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3072 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3073 -I/usr/include/enchant -I/usr/include/glib-2.0
3074 -I/usr/lib64/glib-2.0/include
3075 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
3076 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
3077 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
3078 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
3079 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
3080 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
3081 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
3082 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
3083 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
3084 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
3085 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
3086 libsubtitleeditor_la-styles.lo `test -f 'styles.cc' || echo
3087 './'`styles.cc
3088 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
3089 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
3090 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
3091 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
3092 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
3093 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
3094 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3095 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
3096 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
3097 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
3098 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
3099 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3100 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3101 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3102 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3103 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3104 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3105 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3106 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3107 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3108 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3109 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3110 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3111 -I/usr/include/enchant -I/usr/include/glib-2.0
3112 -I/usr/lib64/glib-2.0/include
3113 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
3114 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
3115 -DPACKAGE_SHARE_DIR_DEV=\"share\"
3116 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
3117 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
3118 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
3119 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
3120 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
3121 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
3122 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
3123 -std=c++11 -Wall -Wextra -Wconversion -c styles.cc -fPIC -DPIC -o
3124 .libs/libsubtitleeditor_la-styles.o
3125 In file included from style.cc:25:0:
3126 utility.h: In function 'bool from_string(const
3127 string&, T&)':
3128 utility.h:77:72: warning: suggest
3129 braces around empty body in an 'if' statement
3130 [-Wempty-body]
3131 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
3132 
3133 ^
3134 utility.h: In function 'bool from_string(const
3135 Glib::ustring&, T&)':
3136 utility.h:97:72: warning: suggest
3137 braces around empty body in an 'if' statement
3138 [-Wempty-body]
3139 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
3140 
3141 ^
3142 styles.cc:76:2: warning: #warning
3143 "VERIFIER ça -1" [-Wcpp]
3144 #warning "VERIFIER ça -1"
3145  ^
3146 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
3147 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
3148 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
3149 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
3150 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
3151 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
3152 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
3153 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
3154 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
3155 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
3156 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
3157 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3158 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3159 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3160 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3161 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3162 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3163 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3164 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3165 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3166 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3167 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3168 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3169 -I/usr/include/enchant -I/usr/include/glib-2.0
3170 -I/usr/lib64/glib-2.0/include
3171 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
3172 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
3173 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
3174 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
3175 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
3176 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
3177 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
3178 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
3179 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
3180 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
3181 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
3182 libsubtitleeditor_la-subtitle.lo `test -f 'subtitle.cc' || echo
3183 './'`subtitle.cc
3184 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
3185 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
3186 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
3187 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
3188 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
3189 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
3190 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3191 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
3192 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
3193 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
3194 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
3195 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3196 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3197 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3198 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3199 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3200 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3201 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3202 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3203 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3204 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3205 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3206 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3207 -I/usr/include/enchant -I/usr/include/glib-2.0
3208 -I/usr/lib64/glib-2.0/include
3209 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
3210 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
3211 -DPACKAGE_SHARE_DIR_DEV=\"share\"
3212 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
3213 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
3214 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
3215 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
3216 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
3217 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
3218 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
3219 -std=c++11 -Wall -Wextra -Wconversion -c subtitle.cc -fPIC -DPIC -o
3220 .libs/libsubtitleeditor_la-subtitle.o
3221 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
3222 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
3223 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
3224 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
3225 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
3226 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
3227 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
3228 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
3229 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
3230 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
3231 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
3232 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3233 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3234 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3235 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3236 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3237 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3238 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3239 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3240 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3241 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3242 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3243 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3244 -I/usr/include/enchant -I/usr/include/glib-2.0
3245 -I/usr/lib64/glib-2.0/include
3246 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
3247 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
3248 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
3249 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
3250 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
3251 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
3252 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
3253 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
3254 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
3255 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
3256 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
3257 libsubtitleeditor_la-subtitleeditorwindow.lo `test -f
3258 'subtitleeditorwindow.cc' || echo './'`subtitleeditorwindow.cc
3259 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
3260 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
3261 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
3262 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
3263 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
3264 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
3265 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3266 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
3267 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
3268 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
3269 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
3270 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3271 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3272 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3273 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3274 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3275 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3276 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3277 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3278 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3279 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3280 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3281 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3282 -I/usr/include/enchant -I/usr/include/glib-2.0
3283 -I/usr/lib64/glib-2.0/include
3284 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
3285 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
3286 -DPACKAGE_SHARE_DIR_DEV=\"share\"
3287 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
3288 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
3289 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
3290 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
3291 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
3292 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
3293 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
3294 -std=c++11 -Wall -Wextra -Wconversion -c subtitleeditorwindow.cc
3295 -fPIC -DPIC -o .libs/libsubtitleeditor_la-subtitleeditorwindow.o
3296 In file included from styles.cc:26:0:
3297 utility.h: In function 'bool from_string(const
3298 string&, T&)':
3299 utility.h:77:72: warning: suggest
3300 braces around empty body in an 'if' statement
3301 [-Wempty-body]
3302 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
3303 
3304 ^
3305 utility.h: In function 'bool from_string(const
3306 Glib::ustring&, T&)':
3307 utility.h:97:72: warning: suggest
3308 braces around empty body in an 'if' statement
3309 [-Wempty-body]
3310 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
3311 
3312 ^
3313 /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++
3314 -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtkmm-3.0
3315 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/atkmm-1.6
3316 -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
3317 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4
3318 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4
3319 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4
3320 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0
3321 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
3322 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
3323 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
3324 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3325 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3326 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3327 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3328 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3329 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3330 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3331 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3332 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3333 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3334 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3335 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3336 -I/usr/include/enchant -I/usr/include/glib-2.0
3337 -I/usr/lib64/glib-2.0/include
3338 -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
3339 -DPACKAGE_SHARE_DIR=\""/usr/share/subtitleeditor"\"
3340 -DPACKAGE_SHARE_DIR_DEV=\""share"\"
3341 -DPACKAGE_UI_DIR=\""/usr/share/subtitleeditor/ui"\"
3342 -DPACKAGE_UI_DIR_DEV=\""share/ui"\"
3343 -DPACKAGE_PLUGIN_LIB_DIR=\""/usr/lib64/subtitleeditor/plugins"\"
3344 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\""/usr/share/subtitleeditor/plugins-description"\"
3345 -DPACKAGE_PLUGIN_DIR_DEV=\""plugins"\"
3346 -DDEFAULT_PLAYER_VIDEO_SINK=\""xvimagesink"\"
3347 -DDEFAULT_PLAYER_AUDIO_SINK=\""autoaudiosink"\" -march=native -O2
3348 -pipe -std=c++11 -Wall -Wextra -Wconversion -c -o
3349 libsubtitleeditor_la-subtitleformatio.lo `test -f
3350 'subtitleformatio.cc' || echo './'`subtitleformatio.cc
3351 libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..
3352 -pthread -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include
3353 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-3.0/unix-print
3354 -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include
3355 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include
3356 -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include
3357 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3358 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0
3359 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0
3360 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0
3361 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
3362 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
3363 -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
3364 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include
3365 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2
3366 -I/usr/include/libdrm -I/usr/include/sigc++-2.0
3367 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gdk-pixbuf-2.0
3368 -I/usr/include/libpng16 -I/usr/include/glib-2.0
3369 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml++-2.6
3370 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2
3371 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include
3372 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
3373 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -pthread
3374 -I/usr/include/enchant -I/usr/include/glib-2.0
3375 -I/usr/lib64/glib-2.0/include
3376 -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"
3377 -DPACKAGE_SHARE_DIR=\"/usr/share/subtitleeditor\"
3378 -DPACKAGE_SHARE_DIR_DEV=\"share\"
3379 -DPACKAGE_UI_DIR=\"/usr/share/subtitleeditor/ui\"
3380 -DPACKAGE_UI_DIR_DEV=\"share/ui\"
3381 -DPACKAGE_PLUGIN_LIB_DIR=\"/usr/lib64/subtitleeditor/plugins\"
3382 -DPACKAGE_PLUGIN_DESCRIPTION_DIR=\"/usr/share/subtitleeditor/plugins-description\"
3383 -DPACKAGE_PLUGIN_DIR_DEV=\"plugins\"
3384 -DDEFAULT_PLAYER_VIDEO_SINK=\"xvimagesink\"
3385 -DDEFAULT_PLAYER_AUDIO_SINK=\"autoaudiosink\" -march=native -O2 -pipe
3386 -std=c++11 -Wall -Wextra -Wconversion -c subtitleformatio.cc -fPIC
3387 -DPIC -o .libs/libsubtitleeditor_la-subtitleformatio.o
3388 In file included from subtitle.cc:25:0:
3389 utility.h: In function 'bool from_string(const
3390 string&, T&)':
3391 utility.h:77:72: warning: suggest
3392 braces around empty body in an 'if' statement
3393 [-Wempty-body]
3394 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
3395 
3396 ^
3397 utility.h: In function 'bool from_string(const
3398 Glib::ustring&, T&)':
3399 utility.h:97:72: warning: suggest
3400 braces around empty body in an 'if' statement
3401 [-Wempty-body]
3402 se_debug_message(SE_DEBUG_UTILITY, "string:'%s'failed.", src.c_str());
3403 
3404 ^
3405 In file included from utility.h:34:0,
3406 from subtitle.cc:25:
3407 /usr/include/libintl.h: At global scope:
3408 /usr/include/libintl.h:39:14: error:
3409 expected unqualified-id before 'const'
3410 extern char *gettext (const char *__msgid)
3411  ^
3412 /usr/include/libintl.h:39:14: error:
3413 expected ')' before 'const'
3414 /usr/include/libintl.h:39:14: error:
3415 expected initializer before 'const'
3416 /usr/include/libintl.h:44:14: error:
3417 expected unqualified-id before 'const'
3418 extern char *dgettext (const char *__domainname, const char *__msgid)
3419  ^
3420 /usr/include/libintl.h:44:14: error:
3421 expected ')' before 'const'
3422 /usr/include/libintl.h:44:14: error:
3423 expected initializer before 'const'
3424 /usr/include/libintl.h:51:14: error:
3425 expected unqualified-id before 'const'
3426 extern char *dcgettext (const char *__domainname,
3427  ^
3428 /usr/include/libintl.h:51:14: error:
3429 expected ')' before 'const'
3430 /usr/include/libintl.h:51:14: error:
3431 expected initializer before 'const'
3432 /usr/include/libintl.h:61:14: error:
3433 expected unqualified-id before 'unsigned'
3434 extern char *ngettext (const char *__msgid1, const char *__msgid2,
3435  ^
3436 /usr/include/libintl.h:61:14: error:
3437 expected ')' before 'unsigned'
3438 /usr/include/libintl.h:61:14: error:
3439 expected ')' before 'unsigned'
3440 /usr/include/libintl.h:61:14: error:
3441 expected ')' before 'unsigned'
3442 /usr/include/libintl.h:61:14: error:
3443 expected initializer before 'unsigned'
3444 /usr/include/libintl.h:82:14: error:
3445 expected unqualified-id before 'const'
3446 extern char *textdomain (const char *__domainname) __THROW;
3447  ^
3448 /usr/include/libintl.h:82:14: error:
3449 expected ')' before 'const'
3450 /usr/include/libintl.h:82:14: error:
3451 expected initializer before 'const'
3452 /usr/include/libintl.h:86:14: error:
3453 expected unqualified-id before 'const'
3454 extern char *bindtextdomain (const char *__domainname,
3455  ^
3456 /usr/include/libintl.h:86:14: error:
3457 expected ')' before 'const'
3458 /usr/include/libintl.h:86:14: error:
3459 expected initializer before 'const'
3460 /usr/include/libintl.h:91:14: error:
3461 expected unqualified-id before 'const'
3462 extern char *bind_textdomain_codeset (const char *__domainname,
3463  ^
3464 /usr/include/libintl.h:91:14: error:
3465 expected ')' before 'const'
3466 /usr/include/libintl.h:91:14: error:
3467 expected initializer before 'const'
3468 Makefile:1063: recipe for target 'libsubtitleeditor_la-subtitle.lo' failed
3469 make[2]: *** [libsubtitleeditor_la-subtitle.lo] Error 1
3470 make[2]: *** Waiting for unfinished jobs....
3471 make[2]: Leaving directory
3472 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/src'
3473 Makefile:466: recipe for target 'all-recursive' failed
3474 make[1]: *** [all-recursive] Error 1
3475 make[1]: Leaving directory
3476 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
3477 Makefile:397: recipe for target 'all' failed
3478 make: *** [all] Error 2
3479 * ERROR: media-video/subtitleeditor-0.52.1::gentoo failed
3480 (compile phase):
3481 * emake failed
3482 *
3483 * If you need support, post the output of `emerge --info
3484 '=media-video/subtitleeditor-0.52.1::gentoo'`,
3485 * the complete build log and the output of `emerge -pqv
3486 '=media-video/subtitleeditor-0.52.1::gentoo'`.
3487 * The complete build log is located at
3488 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/build.log'.
3489 * The ebuild environment file is located at
3490 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/environment'.
3491 * Working directory:
3492 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
3493 * S:
3494 '/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1'
3495
3496
3497 /var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/environment
3498
3499 declare -x ABI="amd64"
3500 declare -x ABI_X86="64"
3501 declare -x ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
3502 ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
3503 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
3504 ymfpci"
3505 declare -x APACHE2_MODULES="authn_core authz_core socache_shmcb unixd
3506 actions alias auth_basic authn_alias authn_anon authn_dbm
3507 authn_default authn_file authz_dbm authz_default authz_groupfile
3508 authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs
3509 dav_lock deflate dir disk_cache env expires ext_filter file_cache
3510 filter headers include info log_config logio mem_cache mime mime_magic
3511 negotiation rewrite setenvif speling status unique_id userdir
3512 usertrack vhost_alias"
3513 declare -x ARCH="amd64"
3514 declare -x BOOTSTRAP_USE="cxx unicode internal-glib
3515 python_targets_python3_4 python_targets_python2_7 multilib"
3516 declare -x CALLIGRA_FEATURES="kexi words flow plan sheets stage tables
3517 krita karbon braindump author"
3518 declare -x CAMERAS="ptp2"
3519 declare -x CBUILD="x86_64-pc-linux-gnu"
3520 declare -x CFLAGS="-march=native -O2 -pipe"
3521 declare -x CFLAGS_amd64="-m64"
3522 declare -x CFLAGS_default
3523 declare -x CFLAGS_x32="-mx32"
3524 declare -x CFLAGS_x86="-m32"
3525 declare -x CHOST="x86_64-pc-linux-gnu"
3526 declare -x CHOST_amd64="x86_64-pc-linux-gnu"
3527 declare -x CHOST_default="x86_64-pc-linux-gnu"
3528 declare -x CHOST_x32="x86_64-pc-linux-gnux32"
3529 declare -x CHOST_x86="i686-pc-linux-gnu"
3530 declare -x COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
3531 declare -x CONF_PREFIX="/usr"
3532 declare -x CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3"
3533 declare -x CTARGET_default="x86_64-pc-linux-gnu"
3534 declare -x CXXFLAGS="-march=native -O2 -pipe -std=c++11"
3535 declare -x DEFAULT_ABI="amd64"
3536 declare -x DEFINED_PHASES=" compile configure install postinst postrm
3537 preinst prepare unpack"
3538 declare DEPEND="
3539 >=app-text/enchant-1.4
3540 app-text/iso-codes
3541 >=dev-cpp/cairomm-1.12
3542 >=dev-cpp/glibmm-2.46:2
3543 >=dev-cpp/gtkmm-3.18:3.0
3544 >=dev-cpp/gstreamermm-1.0:1.0
3545 >=dev-cpp/libxmlpp-2.40:2.6
3546 dev-libs/glib:2
3547 >=dev-libs/libsigc++-2.6:2
3548 media-libs/gst-plugins-base:1.0[X,pango]
3549 media-libs/gst-plugins-good:1.0
3550 media-libs/gstreamer:1.0
3551 media-plugins/gst-plugins-meta:1.0
3552 x11-libs/gtk+:3
3553 virtual/libintl
3554
3555 >=dev-util/intltool-0.40
3556 virtual/pkgconfig
3557 app-arch/xz-utils >=sys-apps/sed-4
3558 dev-util/desktop-file-utils
3559 x11-misc/shared-mime-info
3560 "
3561 declare DESCRIPTION="GTK+3 subtitle editing tool"
3562 declare -- DESKTOP_DATABASE_DIR="/usr/share/applications"
3563 declare -- DESKTOP_DATABASE_UPDATE_BIN="/usr/bin/update-desktop-database"
3564 declare -x DESKTOP_SESSION="xfce"
3565 declare -x DESTTREE="/usr"
3566 declare -x DIROPTIONS="-m0755"
3567 declare -x EAPI="5"
3568 declare -- ECONF_SOURCE="."
3569 declare -x ELIBC="glibc"
3570 declare -- ELTCONF=""
3571 declare -x ELT_APPLIED_PATCHES=" portage/1.2.0 sed/1.5.6
3572 as-needed/2.4.2 target-nm/2.4.2"
3573 declare -- EPATCH_COMMON_OPTS="-g0 -E --no-backup-if-mismatch"
3574 declare -- EPATCH_EXCLUDE=""
3575 declare -- EPATCH_FORCE="no"
3576 declare -- EPATCH_MULTI_MSG="Applying various patches (bugfixes/updates) ..."
3577 declare -- EPATCH_OPTS=""
3578 declare -- EPATCH_SINGLE_MSG=""
3579 declare -- EPATCH_SOURCE="/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/patch"
3580 declare -- EPATCH_SUFFIX="patch.bz2"
3581 declare -- EPATCH_USER_SOURCE="/etc/portage/patches"
3582 declare -x EXEOPTIONS="-m0755"
3583 declare -x FCFLAGS="-O2 -pipe"
3584 declare -x FETCHCOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ;
3585 host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[
3586 \\\${host} = \\\${port} ]] && port=22 ; exec rsync --rsh=\\\"ssh
3587 -p\\\${port} \\\${3}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\"
3588 \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\"
3589 \"\${PORTAGE_SSH_OPTS}\""
3590 declare -x FFLAGS="-O2 -pipe"
3591 declare -x FLTK_DOCDIR="/usr/share/doc/fltk-1.3.3-r3/html"
3592 declare -- G2CONF=""
3593 declare -x GCC_SPECS=""
3594 declare -- GCONFTOOL_BIN="/usr/bin/gconftool-2"
3595 declare -- GCONF_DEBUG="no"
3596 declare -x GLADE_CATALOG_PATH=":"
3597 declare -x GLADE_MODULE_PATH=":"
3598 declare -x GLADE_PIXMAP_PATH=":"
3599 declare -- GLIB_COMPILE_SCHEMAS="/usr/bin/glib-compile-schemas"
3600 declare -- GNOME2_LA_PUNT="yes"
3601 declare -x GNOME_KEYRING_CONTROL="/home/gevis/.cache/keyring-I5T2CY"
3602 declare -- GNOME_ORG_MODULE="subtitleeditor"
3603 declare -- GNOME_ORG_PVP="0.52"
3604 declare -- GNOME_TARBALL_SUFFIX="xz"
3605 declare -x GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
3606 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
3607 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
3608 tripmate tnt ublox ubx"
3609 declare -x GRUB_PLATFORMS=""
3610 declare -x GSETTINGS_BACKEND="memory"
3611 declare -x GST_REGISTRY="/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/registry.xml"
3612 declare -- GTK_UPDATE_ICON_CACHE="/usr/bin/gtk-update-icon-cache"
3613 declare -x GUILE_LOAD_PATH="/usr/share/guile/1.8"
3614 declare -x G_HOME="/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp"
3615 declare HDEPEND=""
3616 declare HOMEPAGE="http://home.gna.org/subtitleeditor/"
3617 declare -x HUSHLOGIN="FALSE"
3618 declare -x INHERITED=" multilib toolchain-funcs eutils flag-o-matic
3619 libtool versionator gnome.org xdg-utils gnome2-utils xdg gnome2"
3620 declare -x INPUT_DEVICES="evdev"
3621 declare -x INSDESTTREE=""
3622 declare -x INSOPTIONS="-m0644"
3623 declare IUSE="debug nls "
3624 declare -x IUSE_EFFECTIVE="abi_x86_64 alpha amd64 amd64-fbsd
3625 amd64-linux arm arm-linux arm64 debug elibc_AIX elibc_Cygwin
3626 elibc_Darwin elibc_DragonFly elibc_FreeBSD elibc_HPUX elibc_Interix
3627 elibc_NetBSD elibc_OpenBSD elibc_SunOS elibc_Winnt elibc_glibc
3628 elibc_mintlib elibc_musl elibc_uclibc hppa hppa-hpux ia64 ia64-hpux
3629 ia64-linux kernel_AIX kernel_Darwin kernel_FreeBSD kernel_HPUX
3630 kernel_NetBSD kernel_OpenBSD kernel_SunOS kernel_Winnt kernel_freemint
3631 kernel_linux m68k m68k-mint mips nios2 nls ppc ppc-aix ppc-macos
3632 ppc-openbsd ppc64 ppc64-linux prefix prefix-guest riscv s390 sh sparc
3633 sparc-fbsd sparc-solaris sparc64-freebsd sparc64-solaris userland_BSD
3634 userland_GNU x64-cygwin x64-freebsd x64-macos x64-openbsd x64-solaris
3635 x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos
3636 x86-netbsd x86-openbsd x86-solaris x86-winnt"
3637 declare -x IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest"
3638 declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
3639 declare -x JAVA_HOME="/etc/java-config-2/current-system-vm"
3640 declare -x JDK_HOME="/etc/java-config-2/current-system-vm"
3641 declare -x KERNEL="linux"
3642 declare -x KERNEL_ABI="amd64"
3643 declare -x KEYWORDS="amd64 ~x86"
3644 declare -x LANG="en_US.UTF-8"
3645 declare -x LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
3646 lcdm001 mtxorb ncurses text"
3647 declare -x LC_ADDRESS="en_US.UTF-8"
3648 declare -x LC_COLLATE="C"
3649 declare -x LC_CTYPE="en_US.UTF-8"
3650 declare -x LC_IDENTIFICATION="en_US.UTF-8"
3651 declare -x LC_MEASUREMENT="en_US.UTF-8"
3652 declare -x LC_MESSAGES="C"
3653 declare -x LC_MONETARY="en_US.UTF-8"
3654 declare -x LC_NAME="en_US.UTF-8"
3655 declare -x LC_NUMERIC="en_US.UTF-8"
3656 declare -x LC_PAPER="en_US.UTF-8"
3657 declare -x LC_TELEPHONE="en_US.UTF-8"
3658 declare -x LC_TIME="en_US.UTF-8"
3659 declare -x LDFLAGS="-Wl,-O1 -Wl,--as-needed"
3660 declare -x LDFLAGS_amd64="-m elf_x86_64"
3661 declare -x LDFLAGS_default
3662 declare -x LDFLAGS_x32="-m elf32_x86_64"
3663 declare -x LDFLAGS_x86="-m elf_i386"
3664 declare -x LIBDIR_amd64="lib64"
3665 declare -x LIBDIR_amd64_fbsd="lib64"
3666 declare -x LIBDIR_arm="lib"
3667 declare -x LIBDIR_arm64="lib64"
3668 declare -x LIBDIR_default="lib"
3669 declare -x LIBDIR_n32="lib32"
3670 declare -x LIBDIR_n64="lib64"
3671 declare -x LIBDIR_o32="lib"
3672 declare -x LIBDIR_ppc="lib32"
3673 declare -x LIBDIR_ppc64="lib64"
3674 declare -x LIBDIR_s390="lib32"
3675 declare -x LIBDIR_s390x="lib64"
3676 declare -x LIBDIR_sparc32="lib32"
3677 declare -x LIBDIR_sparc64="lib64"
3678 declare -x LIBDIR_x32="libx32"
3679 declare -x LIBDIR_x86="lib32"
3680 declare -x LIBDIR_x86_fbsd="lib32"
3681 declare -x LIBOPTIONS="-m0644"
3682 declare -x LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
3683 declare -x LICENSE="GPL-3+"
3684 declare -x MAIL="/var/mail/gevis"
3685 declare -x MAKEOPTS="-j3"
3686 declare -- MIMEINFO_DATABASE_DIR="/usr/share/mime"
3687 declare -- MIMEINFO_DATABASE_UPDATE_BIN="/usr/bin/update-mime-database"
3688 declare -x MULTILIB_ABIS="amd64 x86"
3689 declare -x MULTILIB_STRICT_DENY="64-bit.*shared object"
3690 declare -x MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib
3691 /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib
3692 /usr/X11R6/lib32 /usr/X11R6/lib"
3693 declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec)"
3694 declare -x MULTIOSDIRS="../lib64:../lib32"
3695 declare -x NETBEANS="apisupport cnd groovy gsf harness ide identity
3696 j2ee java mobility nb php profiler soa visualweb webcommon
3697 websvccommon xml"
3698 declare -x OFFICE_IMPLEMENTATION="libreoffice"
3699 declare -x OPENGL_PROFILE="xorg-x11"
3700 declare -x PATH="/usr/lib/portage/python3.4/ebuild-helpers/xattr:/usr/lib/portage/python3.4/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3"
3701 declare PDEPEND=""
3702 declare -x PHP_TARGETS="php5-5"
3703 declare -x PKG_CONFIG_PATH="/usr/lib64/pkgconfig"
3704 declare -a PORTAGE_DOCOMPRESS='([0]="/usr/share/doc"
3705 [1]="/usr/share/info" [2]="/usr/share/man")'
3706 declare -x PORTAGE_DOCOMPRESS_SIZE_LIMIT="128"
3707 declare -a PORTAGE_DOCOMPRESS_SKIP='([0]="/usr/share/doc/subtitleeditor-0.52.1/html")'
3708 declare -x PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL
3709 USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED
3710 USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC
3711 USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
3712 declare -x PROPERTIES=""
3713 declare -x PROVIDE=""
3714 declare -x PYTHONDONTWRITEBYTECODE="1"
3715 declare -x PYTHON_SINGLE_TARGET="python2_7"
3716 declare -x PYTHON_TARGETS="python2_7 python3_4"
3717 declare -x QT_GRAPHICSSYSTEM="raster"
3718 declare RDEPEND="
3719 >=app-text/enchant-1.4
3720 app-text/iso-codes
3721 >=dev-cpp/cairomm-1.12
3722 >=dev-cpp/glibmm-2.46:2
3723 >=dev-cpp/gtkmm-3.18:3.0
3724 >=dev-cpp/gstreamermm-1.0:1.0
3725 >=dev-cpp/libxmlpp-2.40:2.6
3726 dev-libs/glib:2
3727 >=dev-libs/libsigc++-2.6:2
3728 media-libs/gst-plugins-base:1.0[X,pango]
3729 media-libs/gst-plugins-good:1.0
3730 media-libs/gstreamer:1.0
3731 media-plugins/gst-plugins-meta:1.0
3732 x11-libs/gtk+:3
3733 virtual/libintl
3734 "
3735 declare REPOSITORY
3736 declare REQUIRED_USE=""
3737 declare -x RESTRICT=""
3738 declare -x RESUMECOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ;
3739 host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[
3740 \\\${host} = \\\${port} ]] && port=22 ; exec rsync --rsh=\\\"ssh
3741 -p\\\${port} \\\${3}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\"
3742 \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\"
3743 \"\${PORTAGE_SSH_OPTS}\""
3744 declare -x RUBY_TARGETS="ruby20 ruby21"
3745 declare -x R_HOME="/usr/lib64/R"
3746 declare -x S="/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1"
3747 declare -x SANDBOX_DEBUG="0"
3748 declare -x SANDBOX_DENY=""
3749 declare -x SANDBOX_PREDICT="/var/tmp/portage/media-video/subtitleeditor-0.52.1/homedir:/dev/crypto:/proc/self/coredump_filter:/var/cache/fontconfig"
3750 declare -x SANDBOX_READ="/:/var/tmp"
3751 declare -x SANDBOX_VERBOSE="1"
3752 declare -x SANDBOX_WRITE=":/dev/console:/dev/fd:/dev/full:/dev/null:/dev/ptmx:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp:/var/tmp/:/var/tmp/portage/media-video/subtitleeditor-0.52.1/homedir/.bash_history:/var/tmp/portage/.gnome2"
3753 declare -x SANE_BACKENDS="hp3500"
3754 declare -- SCROLLKEEPER_DIR="/var/lib/scrollkeeper"
3755 declare -- SCROLLKEEPER_UPDATE_BIN="/usr/bin/scrollkeeper-update"
3756 declare -x SESSION_MANAGER="local/cosmo:@/tmp/.ICE-unix/1563,unix/cosmo:/tmp/.ICE-unix/1563"
3757 declare -x SGML_CATALOG_FILES="/etc/sgml/xml-docbook-4.2.cat:/etc/sgml/xml-docbook-4.5.cat:/etc/sgml/xml-docbook-4.3.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-docbook-3.1.cat"
3758 declare -x SHELL="/bin/bash"
3759 declare -x SLOT="0"
3760 declare SRC_URI="http://download.gna.org/subtitleeditor/0.52/subtitleeditor-0.52.1.tar.gz"
3761 declare -x SYMLINK_LIB="yes"
3762 declare -x USE="abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU"
3763 declare -x USERLAND="GNU"
3764 declare -x USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
3765 declare -x USE_EXPAND_UNPREFIXED="ARCH"
3766 declare -x USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux
3767 arm arm-linux arm64 hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k
3768 m68k-mint mips nios2 ppc ppc64 ppc64-linux ppc-aix ppc-macos
3769 ppc-openbsd riscv s390 sh sparc sparc64-freebsd sparc64-solaris
3770 sparc-fbsd sparc-solaris x64-cygwin x64-freebsd x64-macos x64-openbsd
3771 x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux
3772 x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
3773 declare -x USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin DragonFly
3774 FreeBSD glibc HPUX Interix mintlib musl NetBSD OpenBSD SunOS uclibc
3775 Winnt"
3776 declare -x USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX
3777 linux NetBSD OpenBSD SunOS Winnt"
3778 declare -x USE_EXPAND_VALUES_USERLAND="BSD GNU"
3779 declare -x VBOX_APP_HOME="/usr/lib64/virtualbox"
3780 declare -x VIDEO_CARDS="radeon"
3781 declare -x WINDOWID="23068676"
3782 declare -x WINDOWPATH="7"
3783 declare -x XDG_CACHE_HOME="/var/tmp/portage/media-video/subtitleeditor-0.52.1/homedir/.cache"
3784 declare -x XDG_CONFIG_DIRS="/etc/xdg:/etc/xdg"
3785 declare -x XDG_CONFIG_HOME="/var/tmp/portage/media-video/subtitleeditor-0.52.1/homedir/.config"
3786 declare -x XDG_CURRENT_DESKTOP="XFCE"
3787 declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share"
3788 declare -x XDG_DATA_HOME="/var/tmp/portage/media-video/subtitleeditor-0.52.1/homedir/.local/share"
3789 declare -x XDG_MENU_PREFIX="xfce-"
3790 declare -x XDG_RUNTIME_DIR="/var/tmp/portage/media-video/subtitleeditor-0.52.1/temp/run"
3791 declare -x XDG_SESSION_COOKIE="cosmo-1456117360.224946-817059208"
3792 declare -x XSESSION="XFCE"
3793 declare -x XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options
3794 ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
3795 logmark ipmark dhcpmac delude chaos account"
3796 declare -- _ELT_NOTED_TMP="true"
3797 declare -- _EUTILS_ECLASS="1"
3798 declare -- _EUTILS_ECLASSDIR_LOCAL="/usr/portage/eclass"
3799 declare -x _E_DOCDESTTREE_=""
3800 declare -x _E_EXEDESTTREE_=""
3801 declare -- _FLAG_O_MATIC_ECLASS="1"
3802 declare -- _LIBTOOL_ECLASS="1"
3803 declare -- _LIBTOOL_ECLASSDIR_LOCAL="/usr/portage/eclass"
3804 declare -- _MULTILIB_ECLASS="1"
3805 declare -- _TOOLCHAIN_FUNCS_ECLASS="1"
3806 declare -- _VERSIONATOR_ECLASS="1"
3807 declare -- omf="/var/tmp/portage/media-video/subtitleeditor-0.52.1/work/subtitleeditor-0.52.1/src/Makefile.in"
3808 declare -- phase_func
3809 ELT_libtool_version ()
3810 {
3811 ( unset VERSION;
3812 eval $(grep -e '^[[:space:]]*VERSION=' "$1");
3813 echo "${VERSION:-0}" )
3814 }
3815 ELT_try_and_apply_patch ()
3816 {
3817 local ret=0;
3818 local file=$1;
3819 local patch=$2;
3820 local src=$3;
3821 local disp="${src} patch";
3822 local log="${T}/elibtool.log";
3823 if [[ -z ${_ELT_NOTED_TMP} ]]; then
3824 _ELT_NOTED_TMP=true;
3825 printf 'temp patch: %s\n' "${patch}" > "${log}";
3826 fi;
3827 printf '\nTrying %s\n' "${disp}" >> "${log}";
3828 if [[ ! -e ${file} ]]; then
3829 echo "File not found: ${file}" >> "${log}";
3830 return 1;
3831 fi;
3832 local perms="$(find ${file} -maxdepth 0 -printf '%m')";
3833 if patch -p0 --dry-run "${file}" "${patch}" >> "${log}" 2>&1; then
3834 einfo " Applying ${disp} ...";
3835 patch -p0 -g0 --no-backup-if-mismatch "${file}" "${patch}" >>
3836 "${log}" 2>&1;
3837 ret=$?;
3838 export ELT_APPLIED_PATCHES="${ELT_APPLIED_PATCHES} ${src}";
3839 else
3840 ret=1;
3841 fi;
3842 chmod "${perms}" "${file}";
3843 return "${ret}"
3844 }
3845 ELT_walk_patches ()
3846 {
3847 local patch tmp;
3848 local ret=1;
3849 local file=$1;
3850 local patch_set=$2;
3851 local patch_dir="$(libtool_elt_patch_dir)/${patch_set}";
3852 local rem_int_dep=$3;
3853 [[ -z ${patch_set} ]] && return 1;
3854 [[ ! -d ${patch_dir} ]] && return 1;
3855 local sed_args=(-e "s:@GENTOO_LIBDIR@:$(get_libdir):g");
3856 if [[ -n ${rem_int_dep} ]]; then
3857 sed_args+=(-e "s|@REM_INT_DEP@|${rem_int_dep}|g");
3858 fi;
3859 pushd "$(libtool_elt_patch_dir)" > /dev/null || die;
3860 for patch in $(find "${patch_set}" -maxdepth 1 -type f | LC_ALL=C sort -r);
3861 do
3862 tmp="${T}/libtool-elt.patch";
3863 sed "${sed_args[@]}" "${patch}" > "${tmp}" || die;
3864 if ELT_try_and_apply_patch "${file}" "${tmp}" "${patch}"; then
3865 ret=0;
3866 break;
3867 fi;
3868 done;
3869 popd > /dev/null;
3870 return ${ret}
3871 }
3872 VER_major ()
3873 {
3874 [[ -z $1 ]] && return 1;
3875 local VER=$@;
3876 echo "${VER%%[^[:digit:]]*}"
3877 }
3878 VER_micro ()
3879 {
3880 [[ -z $1 ]] && return 1;
3881 local VER=$@;
3882 VER=${VER#*.*.};
3883 echo "${VER%%[^[:digit:]]*}"
3884 }
3885 VER_minor ()
3886 {
3887 [[ -z $1 ]] && return 1;
3888 local VER=$@;
3889 VER=${VER#*.};
3890 echo "${VER%%[^[:digit:]]*}"
3891 }
3892 VER_to_int ()
3893 {
3894 [[ -z $1 ]] && return 1;
3895 local VER_MAJOR=$(VER_major "$1");
3896 local VER_MINOR=$(VER_minor "$1");
3897 local VER_MICRO=$(VER_micro "$1");
3898 local VER_int=$(( VER_MAJOR * 65536 + VER_MINOR * 256 + VER_MICRO ));
3899 if [[ ${VER_int} -ge 65536 ]]; then
3900 echo "${VER_int}";
3901 return 0;
3902 fi;
3903 echo 1;
3904 return 1
3905 }
3906 __eapi6_src_install ()
3907 {
3908 if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then
3909 emake DESTDIR="${D}" install;
3910 fi;
3911 einstalldocs
3912 }
3913 __eapi6_src_prepare ()
3914 {
3915 if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]]; then
3916 eapply "${PATCHES[@]}";
3917 else
3918 if [[ -n ${PATCHES} ]]; then
3919 eapply ${PATCHES};
3920 fi;
3921 fi;
3922 eapply_user
3923 }
3924 _epatch_draw_line ()
3925 {
3926 [[ -z $1 ]] && set "$(printf "%65s" '')";
3927 echo "${1//?/=}"
3928 }
3929 _eutils_eprefix_init ()
3930 {
3931 has "${EAPI:-0}" 0 1 2 && : ${ED:=${D}} ${EPREFIX:=} ${EROOT:=${ROOT}}
3932 }
3933 _filter-hardened ()
3934 {
3935 local f;
3936 for f in "$@";
3937 do
3938 case "${f}" in
3939 -fPIC | -fpic | -fPIE | -fpie | -Wl,pie | -pie)
3940 gcc-specs-pie || continue;
3941 is-flagq -nopie || append-flags -nopie
3942 ;;
3943 -fstack-protector)
3944 gcc-specs-ssp || continue;
3945 is-flagq -fno-stack-protector || append-flags
3946 $(test-flags -fno-stack-protector)
3947 ;;
3948 -fstack-protector-all)
3949 gcc-specs-ssp-to-all || continue;
3950 is-flagq -fno-stack-protector-all || append-flags
3951 $(test-flags -fno-stack-protector-all)
3952 ;;
3953 -fno-strict-overflow)
3954 gcc-specs-nostrict || continue;
3955 is-flagq -fstrict-overflow || append-flags
3956 $(test-flags -fstrict-overflow)
3957 ;;
3958 esac;
3959 done
3960 }
3961 _filter-var ()
3962 {
3963 local f x var=$1 new=();
3964 shift;
3965 for f in ${!var};
3966 do
3967 for x in "$@";
3968 do
3969 [[ ${f} == ${x} ]] && continue 2;
3970 done;
3971 new+=("${f}");
3972 done;
3973 eval export ${var}=\""${new[*]}"\"
3974 }
3975 _gcc-install-dir ()
3976 {
3977 echo "$(LC_ALL=C $(tc-getCC) -print-search-dirs 2> /dev/null |
3978 awk '$1=="install:" {print $2}')"
3979 }
3980 _gcc-specs-directive_raw ()
3981 {
3982 local cc=$(tc-getCC);
3983 local specfiles=$(LC_ALL=C ${cc} -v 2>&1 | awk '$1=="Reading" {print $NF}');
3984 ${cc} -dumpspecs 2> /dev/null | cat - ${specfiles} | awk -v
3985 directive=$1 'BEGIN { pspec=""; spec=""; outside=1 }
3986 $1=="*"directive":" { pspec=spec; spec=""; outside=0; next }
3987 outside || NF==0 || ( substr($1,1,1)=="*" &&
3988 substr($1,length($1),1)==":" ) { outside=1; next }
3989 spec=="" && substr($0,1,1)=="+" { spec=pspec " " substr($0,2); next }
3990 { spec=spec $0 }
3991 END { print spec }';
3992 return 0
3993 }
3994 _gcc-specs-exists ()
3995 {
3996 [[ -f $(_gcc-install-dir)/$1 ]]
3997 }
3998 _gcc_fullversion ()
3999 {
4000 local ver="$1";
4001 shift;
4002 set -- `$(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__
4003 __GNUC_PATCHLEVEL__"`;
4004 eval echo "$ver"
4005 }
4006 _iconins ()
4007 {
4008 ( local funcname=$1;
4009 shift;
4010 local size dir;
4011 local context=apps;
4012 local theme=hicolor;
4013 while [[ $# -gt 0 ]]; do
4014 case $1 in
4015 -s | --size)
4016 if [[ ${2%%x*}x${2%%x*} == "$2" ]]; then
4017 size=${2%%x*};
4018 else
4019 size=${2};
4020 fi;
4021 case ${size} in
4022 16 | 22 | 24 | 32 | 36 | 48 | 64 | 72 | 96 | 128 |
4023 192 | 256 | 512)
4024 size=${size}x${size}
4025 ;;
4026 scalable)
4027
4028 ;;
4029 *)
4030 eerror "${size} is an unsupported icon size!";
4031 exit 1
4032 ;;
4033 esac;
4034 shift 2
4035 ;;
4036 -t | --theme)
4037 theme=${2};
4038 shift 2
4039 ;;
4040 -c | --context)
4041 context=${2};
4042 shift 2
4043 ;;
4044 *)
4045 if [[ -z ${size} ]]; then
4046 insinto /usr/share/pixmaps;
4047 else
4048 insinto /usr/share/icons/${theme}/${size}/${context};
4049 fi;
4050 if [[ ${funcname} == doicon ]]; then
4051 if [[ -f $1 ]]; then
4052 doins "${1}";
4053 else
4054 if [[ -d $1 ]]; then
4055 shopt -s nullglob;
4056 doins "${1}"/*.{png,svg};
4057 shopt -u nullglob;
4058 else
4059 eerror "${1} is not a valid file/directory!";
4060 exit 1;
4061 fi;
4062 fi;
4063 else
4064 break;
4065 fi;
4066 shift 1
4067 ;;
4068 esac;
4069 done;
4070 if [[ ${funcname} == newicon ]]; then
4071 newins "$@";
4072 fi ) || die
4073 }
4074 _is_flagq ()
4075 {
4076 local x var;
4077 eval var=\""\${$1[*]}"\";
4078 for x in ${var};
4079 do
4080 [[ ${x} == $2 ]] && return 0;
4081 done;
4082 return 1
4083 }
4084 _tc-getPROG ()
4085 {
4086 local tuple=$1;
4087 local v var vars=$2;
4088 local prog=$3;
4089 var=${vars%% *};
4090 for v in ${vars};
4091 do
4092 if [[ -n ${!v} ]]; then
4093 export ${var}="${!v}";
4094 echo "${!v}";
4095 return 0;
4096 fi;
4097 done;
4098 local search=;
4099 [[ -n $4 ]] && search=$(type -p "$4-${prog}");
4100 [[ -z ${search} && -n ${!tuple} ]] && search=$(type -p "${!tuple}-${prog}");
4101 [[ -n ${search} ]] && prog=${search##*/};
4102 export ${var}=${prog};
4103 echo "${!var}"
4104 }
4105 all-flag-vars ()
4106 {
4107 echo {C,CPP,CXX,CCAS,F,FC,LD}FLAGS
4108 }
4109 append-cflags ()
4110 {
4111 [[ $# -eq 0 ]] && return 0;
4112 export CFLAGS+=" $*";
4113 return 0
4114 }
4115 append-cppflags ()
4116 {
4117 [[ $# -eq 0 ]] && return 0;
4118 export CPPFLAGS+=" $*";
4119 return 0
4120 }
4121 append-cxxflags ()
4122 {
4123 [[ $# -eq 0 ]] && return 0;
4124 export CXXFLAGS+=" $*";
4125 return 0
4126 }
4127 append-fflags ()
4128 {
4129 [[ $# -eq 0 ]] && return 0;
4130 export FFLAGS+=" $*";
4131 export FCFLAGS+=" $*";
4132 return 0
4133 }
4134 append-flags ()
4135 {
4136 [[ $# -eq 0 ]] && return 0;
4137 case " $* " in
4138 *' '-[DIU]*)
4139 eqawarn 'please use append-cppflags for preprocessor flags'
4140 ;;
4141 *' '-L* | *' '-Wl,*)
4142 eqawarn 'please use append-ldflags for linker flags'
4143 ;;
4144 esac;
4145 append-cflags "$@";
4146 append-cxxflags "$@";
4147 append-fflags "$@";
4148 return 0
4149 }
4150 append-ldflags ()
4151 {
4152 [[ $# -eq 0 ]] && return 0;
4153 local flag;
4154 for flag in "$@";
4155 do
4156 [[ ${flag} == -l* ]] && eqawarn "Appending a library link
4157 instruction (${flag}); libraries to link to should not be passed
4158 through LDFLAGS";
4159 done;
4160 export LDFLAGS="${LDFLAGS} $*";
4161 return 0
4162 }
4163 append-lfs-flags ()
4164 {
4165 [[ $# -ne 0 ]] && die "append-lfs-flags takes no arguments";
4166 append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
4167 -D_LARGEFILE64_SOURCE
4168 }
4169 append-libs ()
4170 {
4171 [[ $# -eq 0 ]] && return 0;
4172 local flag;
4173 for flag in "$@";
4174 do
4175 if [[ -z "${flag// }" ]]; then
4176 eqawarn "Appending an empty argument to LIBS is invalid! Skipping.";
4177 continue;
4178 fi;
4179 case $flag in
4180 -[lL]*)
4181 export LIBS="${LIBS} ${flag}"
4182 ;;
4183 -*)
4184 eqawarn "Appending non-library to LIBS (${flag});
4185 Other linker flags should be passed via LDFLAGS";
4186 export LIBS="${LIBS} ${flag}"
4187 ;;
4188 *)
4189 export LIBS="${LIBS} -l${flag}"
4190 ;;
4191 esac;
4192 done;
4193 return 0
4194 }
4195 built_with_use ()
4196 {
4197 _eutils_eprefix_init;
4198 local hidden="no";
4199 if [[ $1 == "--hidden" ]]; then
4200 hidden="yes";
4201 shift;
4202 fi;
4203 local missing_action="die";
4204 if [[ $1 == "--missing" ]]; then
4205 missing_action=$2;
4206 shift;
4207 shift;
4208 case ${missing_action} in
4209 true | false | die)
4210
4211 ;;
4212 *)
4213 die "unknown action '${missing_action}'"
4214 ;;
4215 esac;
4216 fi;
4217 local opt=$1;
4218 [[ ${opt:0:1} = "-" ]] && shift || opt="-a";
4219 local PKG=$(best_version $1);
4220 [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package";
4221 shift;
4222 local USEFILE=${EROOT}/var/db/pkg/${PKG}/USE;
4223 local IUSEFILE=${EROOT}/var/db/pkg/${PKG}/IUSE;
4224 if [[ ! -e ${USEFILE} ]] || [[ ! -e ${IUSEFILE} && ${hidden} ==
4225 "no" ]]; then
4226 case ${missing_action} in
4227 true)
4228 return 0
4229 ;;
4230 false)
4231 return 1
4232 ;;
4233 die)
4234 die "Unable to determine what USE flags $PKG was built with"
4235 ;;
4236 esac;
4237 fi;
4238 if [[ ${hidden} == "no" ]]; then
4239 local IUSE_BUILT=($(<"${IUSEFILE}"));
4240 local expand;
4241 for expand in $(echo ${USE_EXPAND} | tr '[:upper:]' '[:lower:]');
4242 do
4243 if [[ $1 == ${expand}_* ]]; then
4244 expand="";
4245 break;
4246 fi;
4247 done;
4248 if [[ -n ${expand} ]]; then
4249 if ! has $1 ${IUSE_BUILT[@]#[-+]}; then
4250 case ${missing_action} in
4251 true)
4252 return 0
4253 ;;
4254 false)
4255 return 1
4256 ;;
4257 die)
4258 die "$PKG does not actually support the $1 USE flag!"
4259 ;;
4260 esac;
4261 fi;
4262 fi;
4263 fi;
4264 local USE_BUILT=$(<${USEFILE});
4265 while [[ $# -gt 0 ]]; do
4266 if [[ ${opt} = "-o" ]]; then
4267 has $1 ${USE_BUILT} && return 0;
4268 else
4269 has $1 ${USE_BUILT} || return 1;
4270 fi;
4271 shift;
4272 done;
4273 [[ ${opt} = "-a" ]]
4274 }
4275 check_license ()
4276 {
4277 die "you no longer need this as portage supports ACCEPT_LICENSE itself"
4278 }
4279 darwintoolize ()
4280 {
4281 die "Use elibtoolize"
4282 }
4283 delete_all_version_separators ()
4284 {
4285 replace_all_version_separators "" "${1}"
4286 }
4287 delete_version_separator ()
4288 {
4289 replace_version_separator "${1}" "" "${2}"
4290 }
4291 doicon ()
4292 {
4293 _iconins ${FUNCNAME} "$@"
4294 }
4295 domenu ()
4296 {
4297 ( local i j ret=0;
4298 insinto /usr/share/applications;
4299 for i in "$@";
4300 do
4301 if [[ -f ${i} ]]; then
4302 doins "${i}";
4303 ((ret+=$?));
4304 else
4305 if [[ -d ${i} ]]; then
4306 for j in "${i}"/*.desktop;
4307 do
4308 doins "${j}";
4309 ((ret+=$?));
4310 done;
4311 else
4312 ((++ret));
4313 fi;
4314 fi;
4315 done;
4316 exit ${ret} )
4317 }
4318 ebeep ()
4319 {
4320 ewarn "QA Notice: ebeep is not defined in EAPI=${EAPI}, please
4321 file a bug at https://bugs.gentoo.org"
4322 }
4323 econf_build ()
4324 {
4325 local CBUILD=${CBUILD:-${CHOST}};
4326 tc-env_build econf --build=${CBUILD} --host=${CBUILD} "$@"
4327 }
4328 ecvs_clean ()
4329 {
4330 [[ $# -eq 0 ]] && set -- .;
4331 find "$@" -type d -name 'CVS' -prune -print0 | xargs -0 rm -rf;
4332 find "$@" -type f -name '.cvs*' -print0 | xargs -0 rm -rf
4333 }
4334 edos2unix ()
4335 {
4336 [[ $# -eq 0 ]] && return 0;
4337 sed -i 's/\r$//' -- "$@" || die
4338 }
4339 egit_clean ()
4340 {
4341 [[ $# -eq 0 ]] && set -- .;
4342 find "$@" -type d -name '.git*' -prune -print0 | xargs -0 rm -rf
4343 }
4344 einstalldocs ()
4345 {
4346 debug-print-function ${FUNCNAME} "${@}";
4347 local dodoc_opts=-r;
4348 has ${EAPI} 0 1 2 3 && dodoc_opts=;
4349 if ! declare -p DOCS &> /dev/null; then
4350 local d;
4351 for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS
4352 BUGS FAQ CREDITS CHANGELOG;
4353 do
4354 if [[ -s ${d} ]]; then
4355 dodoc "${d}" || die;
4356 fi;
4357 done;
4358 else
4359 if [[ $(declare -p DOCS) == "declare -a"* ]]; then
4360 if [[ -n ${DOCS[@]} ]]; then
4361 dodoc ${dodoc_opts} "${DOCS[@]}" || die;
4362 fi;
4363 else
4364 if [[ -n ${DOCS} ]]; then
4365 dodoc ${dodoc_opts} ${DOCS} || die;
4366 fi;
4367 fi;
4368 fi;
4369 if [[ $(declare -p HTML_DOCS 2>/dev/null) == "declare -a"* ]]; then
4370 if [[ -n ${HTML_DOCS[@]} ]]; then
4371 dohtml -r "${HTML_DOCS[@]}" || die;
4372 fi;
4373 else
4374 if [[ -n ${HTML_DOCS} ]]; then
4375 dohtml -r ${HTML_DOCS} || die;
4376 fi;
4377 fi;
4378 return 0
4379 }
4380 elibtoolize ()
4381 {
4382 local x;
4383 local dirs=();
4384 local do_portage="no";
4385 local do_reversedeps="no";
4386 local do_only_patches="no";
4387 local do_uclibc="yes";
4388 local deptoremove=;
4389 local do_shallow="no";
4390 local force="false";
4391 local elt_patches="install-sh ltmain portage relink max_cmd_len
4392 sed test tmp cross as-needed target-nm";
4393 for x in "$@";
4394 do
4395 case ${x} in
4396 --portage)
4397 do_portage="yes"
4398 ;;
4399 --reverse-deps)
4400 do_reversedeps="yes";
4401 elt_patches+=" fix-relink"
4402 ;;
4403 --patch-only)
4404 do_only_patches="yes"
4405 ;;
4406 --remove-internal-dep=*)
4407 deptoremove=${x#--remove-internal-dep=};
4408 [[ -n ${deptoremove} ]] && elt_patches+=" rem-int-dep"
4409 ;;
4410 --shallow)
4411 do_shallow="yes"
4412 ;;
4413 --no-uclibc)
4414 do_uclibc="no"
4415 ;;
4416 --force)
4417 force="true"
4418 ;;
4419 -*)
4420 eerror "Invalid elibtoolize option: ${x}";
4421 die "elibtoolize called with ${x} ??"
4422 ;;
4423 *)
4424 dirs+=("${x}")
4425 ;;
4426 esac;
4427 done;
4428 [[ ${do_uclibc} == "yes" ]] && elt_patches+=" uclibc-conf uclibc-ltconf";
4429 case ${CHOST} in
4430 *-aix*)
4431 elt_patches+=" hardcode aixrtl"
4432 ;;
4433 *-darwin*)
4434 elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf"
4435 ;;
4436 *-solaris*)
4437 elt_patches+=" sol2-conf sol2-ltmain"
4438 ;;
4439 *-freebsd*)
4440 elt_patches+=" fbsd-conf fbsd-ltconf"
4441 ;;
4442 *-hpux*)
4443 elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode
4444 hardcode-relink relink-prog no-lc"
4445 ;;
4446 *-irix*)
4447 elt_patches+=" irix-ltmain"
4448 ;;
4449 *-mint*)
4450 elt_patches+=" mint-conf"
4451 ;;
4452 esac;
4453 if $(tc-getLD) --version 2>&1 | grep -qs 'GNU gold'; then
4454 elt_patches+=" gold-conf";
4455 fi;
4456 if [[ ${do_shallow} == "yes" ]]; then
4457 [[ ${#dirs[@]} -ne 0 ]] && die "Using --shallow with explicit
4458 dirs doesn't make sense";
4459 [[ -f ${S}/ltmain.sh || -f ${S}/configure ]] && dirs+=("${S}");
4460 else
4461 [[ ${#dirs[@]} -eq 0 ]] && dirs+=("${S}");
4462 dirs=($(find "${dirs[@]}" '(' -name ltmain.sh -o -name
4463 configure ')' -printf '%h\n' | sort -u));
4464 fi;
4465 local d p ret;
4466 for d in "${dirs[@]}";
4467 do
4468 export ELT_APPLIED_PATCHES=;
4469 if [[ -f ${d}/.elibtoolized ]]; then
4470 ${force} || continue;
4471 fi;
4472 local outfunc="einfo";
4473 [[ -f ${d}/.elibtoolized ]] && outfunc="ewarn";
4474 ${outfunc} "Running elibtoolize in: ${d#${WORKDIR}/}/";
4475 if [[ ${outfunc} == "ewarn" ]]; then
4476 ewarn " We've already been run in this tree; you should";
4477 ewarn " avoid this if possible (perhaps by filing a bug)";
4478 fi;
4479 [[ -f ${d}/ltmain.sh ]] && for p in ${elt_patches};
4480 do
4481 ret=0;
4482 case ${p} in
4483 portage)
4484 if ! grep -qs 'We do not want portage'
4485 "${d}/ltmain.sh"; then
4486 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4487 ret=$?;
4488 fi
4489 ;;
4490 rem-int-dep)
4491 ELT_walk_patches "${d}/ltmain.sh" "${p}" "${deptoremove}";
4492 ret=$?
4493 ;;
4494 fix-relink)
4495 if grep -qs 'inst_prefix_dir' "${d}/ltmain.sh"; then
4496 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4497 ret=$?;
4498 fi
4499 ;;
4500 max_cmd_len)
4501 if grep -qs 'max_cmd_len' "${d}/ltmain.sh"; then
4502 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4503 ret=$?;
4504 fi
4505 ;;
4506 as-needed)
4507 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4508 ret=$?
4509 ;;
4510 uclibc-ltconf)
4511 if [[ -s ${d}/ltconfig ]]; then
4512 ELT_walk_patches "${d}/ltconfig" "${p}";
4513 ret=$?;
4514 fi
4515 ;;
4516 fbsd-ltconf)
4517 if [[ -s ${d}/ltconfig ]]; then
4518 ELT_walk_patches "${d}/ltconfig" "${p}";
4519 ret=$?;
4520 fi
4521 ;;
4522 darwin-ltconf)
4523 if [[ -s ${d}/ltconfig ]]; then
4524 ELT_walk_patches "${d}/ltconfig" "${p}";
4525 ret=$?;
4526 fi
4527 ;;
4528 darwin-ltmain)
4529 if [[ -e ${d}/ltmain.sh ]] && ! grep -qs
4530 'verstring="-compatibility_version' "${d}/ltmain.sh"; then
4531 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4532 ret=$?;
4533 fi
4534 ;;
4535 install-sh)
4536 ELT_walk_patches "${d}/install-sh" "${p}";
4537 ret=$?
4538 ;;
4539 cross)
4540 if tc-is-cross-compiler; then
4541 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4542 ret=$?;
4543 fi
4544 ;;
4545 *)
4546 ELT_walk_patches "${d}/ltmain.sh" "${p}";
4547 ret=$?
4548 ;;
4549 esac;
4550 if [[ ${ret} -ne 0 ]]; then
4551 case ${p} in
4552 relink)
4553 local version=$(ELT_libtool_version "${d}/ltmain.sh");
4554 if ! grep -qs 'inst_prefix_dir'
4555 "${d}/ltmain.sh" && [[ $(VER_to_int "${version}") -ge $(VER_to_int
4556 "1.4.0") ]]; then
4557 ewarn " Could not apply relink.patch!";
4558 fi
4559 ;;
4560 portage)
4561 if [[ ${do_portage} == "yes" ]]; then
4562 if ! grep -qs 'We do not want portage'
4563 "${d}/ltmain.sh"; then
4564 echo;
4565 eerror "Portage patch requested, but
4566 failed to apply!";
4567 eerror "Please file a bug report to
4568 add a proper patch.";
4569 die "Portage patch requested, but
4570 failed to apply!";
4571 fi;
4572 else
4573 if grep -qs 'We do not want portage'
4574 "${d}/ltmain.sh"; then
4575 :;
4576 else
4577 local version=$(ELT_libtool_version
4578 "${d}"/ltmain.sh);
4579 echo;
4580 eerror "Portage patch failed to apply
4581 (ltmain.sh version ${version})!";
4582 eerror "Please file a bug report to
4583 add a proper patch.";
4584 die "Portage patch failed to apply!";
4585 fi;
4586 ELT_APPLIED_PATCHES="portage";
4587 fi
4588 ;;
4589 darwin-*)
4590 [[ ${CHOST} == *"-darwin"* ]] && ewarn "
4591 Darwin patch set '${p}' failed to apply!"
4592 ;;
4593 esac;
4594 fi;
4595 done;
4596 [[ -f ${d}/ltmain.sh ]] && if [[ -z ${ELT_APPLIED_PATCHES} ]]; then
4597 if [[ ${do_portage} == "no" && ${do_reversedeps} == "no"
4598 && ${do_only_patches} == "no" && ${deptoremove} == "" ]]; then
4599 ewarn "Cannot apply any patches, please file a bug about this";
4600 die;
4601 fi;
4602 fi;
4603 [[ -f ${d}/configure ]] && for p in ${elt_patches};
4604 do
4605 ret=0;
4606 case ${p} in
4607 uclibc-conf)
4608 if grep -qs 'Transform linux' "${d}/configure"; then
4609 ELT_walk_patches "${d}/configure" "${p}";
4610 ret=$?;
4611 fi
4612 ;;
4613 fbsd-conf)
4614 if grep -qs 'version_type=freebsd-' "${d}/configure"; then
4615 ELT_walk_patches "${d}/configure" "${p}";
4616 ret=$?;
4617 fi
4618 ;;
4619 darwin-conf)
4620 if grep -qs '&& echo \.so ||' "${d}/configure"; then
4621 ELT_walk_patches "${d}/configure" "${p}";
4622 ret=$?;
4623 fi
4624 ;;
4625 aixrtl | hpux-conf)
4626 ret=1;
4627 local subret=0;
4628 while [[ $subret -eq 0 ]]; do
4629 subret=1;
4630 if [[ -e ${d}/configure ]]; then
4631 ELT_walk_patches "${d}/configure" "${p}";
4632 subret=$?;
4633 fi;
4634 if [[ $subret -eq 0 ]]; then
4635 ret=0;
4636 fi;
4637 done
4638 ;;
4639 mint-conf | gold-conf | sol2-conf)
4640 ELT_walk_patches "${d}/configure" "${p}";
4641 ret=$?
4642 ;;
4643 target-nm)
4644 ELT_walk_patches "${d}/configure" "${p}";
4645 ret=$?
4646 ;;
4647 *)
4648
4649 ;;
4650 esac;
4651 if [[ ${ret} -ne 0 ]]; then
4652 case ${p} in
4653 uclibc-*)
4654 [[ ${CHOST} == *-uclibc ]] && ewarn " uClibc
4655 patch set '${p}' failed to apply!"
4656 ;;
4657 fbsd-*)
4658 if [[ ${CHOST} == *-freebsd* ]]; then
4659 if [[ -z $(grep 'Handle Gentoo/FreeBSD as
4660 it was Linux' "${d}/configure"
4661 2>/dev/null) ]]; then
4662 eerror " FreeBSD patch set '${p}'
4663 failed to apply!";
4664 die "FreeBSD patch set '${p}' failed to apply!";
4665 fi;
4666 fi
4667 ;;
4668 darwin-*)
4669 [[ ${CHOST} == *"-darwin"* ]] && ewarn "
4670 Darwin patch set '${p}' failed to apply!"
4671 ;;
4672 esac;
4673 fi;
4674 done;
4675 rm -f "${d}/libtool";
4676 > "${d}/.elibtoolized";
4677 done
4678 }
4679 emktemp ()
4680 {
4681 local exe="touch";
4682 [[ $1 == -d ]] && exe="mkdir" && shift;
4683 local topdir=$1;
4684 if [[ -z ${topdir} ]]; then
4685 [[ -z ${T} ]] && topdir="/tmp" || topdir=${T};
4686 fi;
4687 if ! type -P mktemp > /dev/null; then
4688 local tmp=/;
4689 while [[ -e ${tmp} ]]; do
4690 tmp=${topdir}/tmp.${RANDOM}.${RANDOM}.${RANDOM};
4691 done;
4692 ${exe} "${tmp}" || ${exe} -p "${tmp}";
4693 echo "${tmp}";
4694 else
4695 if [[ ${exe} == "touch" ]]; then
4696 TMPDIR="${topdir}" mktemp -t tmp.XXXXXXXXXX;
4697 else
4698 TMPDIR="${topdir}" mktemp -dt tmp.XXXXXXXXXX;
4699 fi;
4700 fi
4701 }
4702 epatch ()
4703 {
4704 function _epatch_draw_line ()
4705 {
4706 [[ -z $1 ]] && set "$(printf "%65s" '')";
4707 echo "${1//?/=}"
4708 };
4709 unset P4CONFIG P4PORT P4USER;
4710 local EPATCH_OPTS=(${EPATCH_OPTS[*]});
4711 while [[ $# -gt 0 ]]; do
4712 case $1 in
4713 -*)
4714 EPATCH_OPTS+=("$1")
4715 ;;
4716 *)
4717 break
4718 ;;
4719 esac;
4720 shift;
4721 done;
4722 if [[ $# -gt 1 ]]; then
4723 local m;
4724 for m in "$@";
4725 do
4726 epatch "${m}";
4727 done;
4728 return 0;
4729 fi;
4730 local SINGLE_PATCH="no";
4731 [[ $# -eq 0 ]] && set -- "${EPATCH_SOURCE}";
4732 if [[ -f $1 ]]; then
4733 SINGLE_PATCH="yes";
4734 set -- "$1";
4735 local EPATCH_SUFFIX=$1;
4736 else
4737 if [[ -d $1 ]]; then
4738 evar_push_set LC_COLLATE C;
4739 set -- "$1"/*${EPATCH_SUFFIX:+."${EPATCH_SUFFIX}"};
4740 evar_pop;
4741 else
4742 if [[ -f ${EPATCH_SOURCE}/$1 ]]; then
4743 epatch "${EPATCH_SOURCE}/$1";
4744 return $?;
4745 else
4746 [[ $# -ne 0 ]] && EPATCH_SOURCE=$1;
4747 echo;
4748 eerror "Cannot find \$EPATCH_SOURCE! Value for
4749 \$EPATCH_SOURCE is:";
4750 eerror;
4751 eerror " ${EPATCH_SOURCE}";
4752 eerror " ( ${EPATCH_SOURCE##*/} )";
4753 echo;
4754 die "Cannot find \$EPATCH_SOURCE!";
4755 fi;
4756 fi;
4757 fi;
4758 EPATCH_OPTS="${EPATCH_COMMON_OPTS} ${EPATCH_OPTS[*]}";
4759 local PIPE_CMD;
4760 case ${EPATCH_SUFFIX##*\.} in
4761 xz)
4762 PIPE_CMD="xz -dc"
4763 ;;
4764 lzma)
4765 PIPE_CMD="lzma -dc"
4766 ;;
4767 bz2)
4768 PIPE_CMD="bzip2 -dc"
4769 ;;
4770 gz | Z | z)
4771 PIPE_CMD="gzip -dc"
4772 ;;
4773 ZIP | zip)
4774 PIPE_CMD="unzip -p"
4775 ;;
4776 *)
4777
4778 ;;
4779 esac;
4780 [[ ${SINGLE_PATCH} == "no" ]] && einfo "${EPATCH_MULTI_MSG}";
4781 local x;
4782 for x in "$@";
4783 do
4784 [[ ! -f ${x} ]] && continue;
4785 local patchname=${x##*/};
4786 local a=${patchname#*_};
4787 a=${a%%_*};
4788 if ! [[ ${SINGLE_PATCH} == "yes" || ${EPATCH_FORCE} == "yes"
4789 || ${a} == all || ${a} == ${ARCH} ]]; then
4790 continue;
4791 fi;
4792 if [[ -n ${EPATCH_EXCLUDE}${EPATCH_USER_EXCLUDE} ]]; then
4793 eshopts_push -o noglob;
4794 local ex;
4795 for ex in ${EPATCH_EXCLUDE};
4796 do
4797 if [[ ${patchname} == ${ex} ]]; then
4798 einfo " Skipping ${patchname} due to EPATCH_EXCLUDE ...";
4799 eshopts_pop;
4800 continue 2;
4801 fi;
4802 done;
4803 for ex in ${EPATCH_USER_EXCLUDE};
4804 do
4805 if [[ ${patchname} == ${ex} ]]; then
4806 einfo " Skipping ${patchname} due to
4807 EPATCH_USER_EXCLUDE ...";
4808 eshopts_pop;
4809 continue 2;
4810 fi;
4811 done;
4812 eshopts_pop;
4813 fi;
4814 if [[ ${SINGLE_PATCH} == "yes" ]]; then
4815 if [[ -n ${EPATCH_SINGLE_MSG} ]]; then
4816 einfo "${EPATCH_SINGLE_MSG}";
4817 else
4818 einfo "Applying ${patchname} ...";
4819 fi;
4820 else
4821 einfo " ${patchname} ...";
4822 fi;
4823 local patch="patch";
4824 eval $(alias patch 2>/dev/null | sed 's:^alias ::');
4825 local STDERR_TARGET="${T}/${patchname}.out";
4826 if [[ -e ${STDERR_TARGET} ]]; then
4827 STDERR_TARGET="${T}/${patchname}-$$.out";
4828 fi;
4829 printf "***** %s *****\nPWD: %s\nPATCH TOOL: %s -> %s\nVERSION
4830 INFO:\n%s\n\n" "${patchname}" "${PWD}" "${patch}" "$(type -P
4831 "${patch}")" "$(${patch} --version)" > "${STDERR_TARGET}";
4832 local count=0;
4833 local PATCH_TARGET;
4834 if [[ -n ${PIPE_CMD} ]]; then
4835 PATCH_TARGET="${T}/$$.patch";
4836 echo "PIPE_COMMAND: ${PIPE_CMD} ${x} > ${PATCH_TARGET}"
4837 >> "${STDERR_TARGET}";
4838 if ! ( ${PIPE_CMD} "${x}" > "${PATCH_TARGET}" ) >>
4839 "${STDERR_TARGET}" 2>&1; then
4840 echo;
4841 eerror "Could not extract patch!";
4842 count=5;
4843 break;
4844 fi;
4845 else
4846 PATCH_TARGET=${x};
4847 fi;
4848 local abs_paths=$(egrep -n '^[-+]{3} /' "${PATCH_TARGET}" |
4849 awk '$2 != "/dev/null" { print }');
4850 if [[ -n ${abs_paths} ]]; then
4851 count=1;
4852 printf "NOTE: skipping -p0 due to absolute paths in
4853 patch:\n%s\n" "${abs_paths}" >> "${STDERR_TARGET}";
4854 fi;
4855 local rel_paths=$(egrep -n '^[-+]{3} [^ ]*[.][.]/'
4856 "${PATCH_TARGET}");
4857 if [[ -n ${rel_paths} ]]; then
4858 echo;
4859 eerror "Rejected Patch: ${patchname} !";
4860 eerror " ( ${PATCH_TARGET} )";
4861 eerror;
4862 eerror "Your patch uses relative paths '../':";
4863 eerror "${rel_paths}";
4864 echo;
4865 die "you need to fix the relative paths in patch";
4866 fi;
4867 local patch_cmd;
4868 while [[ ${count} -lt 5 ]]; do
4869 patch_cmd="${patch} -p${count} ${EPATCH_OPTS}";
4870 ( _epatch_draw_line "***** ${patchname} *****";
4871 echo;
4872 echo "PATCH COMMAND: ${patch_cmd} --dry-run -f <
4873 '${PATCH_TARGET}'";
4874 echo;
4875 _epatch_draw_line "***** ${patchname} *****";
4876 ${patch_cmd} --dry-run -f < "${PATCH_TARGET}" 2>&1;
4877 ret=$?;
4878 echo;
4879 echo "patch program exited with status ${ret}";
4880 exit ${ret} ) >> "${STDERR_TARGET}";
4881 if [ $? -eq 0 ]; then
4882 ( _epatch_draw_line "***** ${patchname} *****";
4883 echo;
4884 echo "ACTUALLY APPLYING ${patchname} ...";
4885 echo "PATCH COMMAND: ${patch_cmd} < '${PATCH_TARGET}'";
4886 echo;
4887 _epatch_draw_line "***** ${patchname} *****";
4888 ${patch_cmd} < "${PATCH_TARGET}" 2>&1;
4889 ret=$?;
4890 echo;
4891 echo "patch program exited with status ${ret}";
4892 exit ${ret} ) >> "${STDERR_TARGET}";
4893 if [ $? -ne 0 ]; then
4894 echo;
4895 eerror "A dry-run of patch command succeeded, but actually";
4896 eerror "applying the patch failed!";
4897 count=5;
4898 fi;
4899 break;
4900 fi;
4901 : $(( count++ ));
4902 done;
4903 if [[ -n ${PIPE_CMD} ]]; then
4904 rm -f "${PATCH_TARGET}";
4905 fi;
4906 if [[ ${count} -ge 5 ]]; then
4907 echo;
4908 eerror "Failed Patch: ${patchname} !";
4909 eerror " ( ${PATCH_TARGET} )";
4910 eerror;
4911 eerror "Include in your bugreport the contents of:";
4912 eerror;
4913 eerror " ${STDERR_TARGET}";
4914 echo;
4915 die "Failed Patch: ${patchname}!";
4916 fi;
4917 rm -f "${STDERR_TARGET}";
4918 cat >> "${T}/epatch.log" <<-EOF
4919 PATCH: ${x}
4920 CMD: ${patch_cmd}
4921 PWD: ${PWD}
4922
4923 EOF
4924
4925 eend 0;
4926 done;
4927 [[ ${SINGLE_PATCH} == "no" ]] && einfo "Done with patching";
4928 :
4929 }
4930 epatch_user ()
4931 {
4932 [[ $# -ne 0 ]] && die "epatch_user takes no options";
4933 local applied="${T}/epatch_user.log";
4934 [[ -e ${applied} ]] && return 2;
4935 local EPATCH_SOURCE check;
4936 for check in ${CATEGORY}/{${P}-${PR},${P},${PN}}{,:${SLOT%/*}};
4937 do
4938 EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${CTARGET}/${check};
4939 [[ -r ${EPATCH_SOURCE} ]] ||
4940 EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${CHOST}/${check};
4941 [[ -r ${EPATCH_SOURCE} ]] ||
4942 EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${check};
4943 if [[ -d ${EPATCH_SOURCE} ]]; then
4944 EPATCH_SOURCE=${EPATCH_SOURCE} EPATCH_SUFFIX="patch"
4945 EPATCH_FORCE="yes" EPATCH_MULTI_MSG="Applying user patches from
4946 ${EPATCH_SOURCE} ..." epatch;
4947 echo "${EPATCH_SOURCE}" > "${applied}";
4948 has epatch_user_death_notice ${EBUILD_DEATH_HOOKS} ||
4949 EBUILD_DEATH_HOOKS+=" epatch_user_death_notice";
4950 return 0;
4951 fi;
4952 done;
4953 echo "none" > "${applied}";
4954 return 1
4955 }
4956 epatch_user_death_notice ()
4957 {
4958 ewarn "!!! User patches were applied to this build!"
4959 }
4960 epause ()
4961 {
4962 ewarn "QA Notice: epause is not defined in EAPI=${EAPI}, please
4963 file a bug at https://bugs.gentoo.org"
4964 }
4965 epunt_cxx ()
4966 {
4967 local dir=$1;
4968 [[ -z ${dir} ]] && dir=${S};
4969 ebegin "Removing useless C++ checks";
4970 local f p any_found;
4971 while IFS= read -r -d '' f; do
4972 for p in "$(eutils_elt_patch_dir)"/nocxx/*.patch;
4973 do
4974 if patch --no-backup-if-mismatch -p1 "${f}" "${p}" > /dev/null; then
4975 any_found=1;
4976 break;
4977 fi;
4978 done;
4979 done < <(find "${dir}" -name configure -print0);
4980 if [[ -z ${any_found} ]]; then
4981 eqawarn "epunt_cxx called unnecessarily (no C++ checks to punt).";
4982 fi;
4983 eend 0
4984 }
4985 eshopts_pop ()
4986 {
4987 local s;
4988 estack_pop eshopts s || die "${FUNCNAME}: unbalanced push";
4989 if [[ ${s} == "shopt -"* ]]; then
4990 eval "${s}" || die "${FUNCNAME}: sanity: invalid shopt options: ${s}";
4991 else
4992 set +$- || die "${FUNCNAME}: sanity: invalid shell settings: $-";
4993 set -${s} || die "${FUNCNAME}: sanity: unable to restore saved
4994 shell settings: ${s}";
4995 fi
4996 }
4997 eshopts_push ()
4998 {
4999 if [[ $1 == -[su] ]]; then
5000 estack_push eshopts "$(shopt -p)";
5001 [[ $# -eq 0 ]] && return 0;
5002 shopt "$@" || die "${FUNCNAME}: bad options to shopt: $*";
5003 else
5004 estack_push eshopts $-;
5005 [[ $# -eq 0 ]] && return 0;
5006 set "$@" || die "${FUNCNAME}: bad options to set: $*";
5007 fi
5008 }
5009 estack_pop ()
5010 {
5011 [[ $# -eq 0 || $# -gt 2 ]] && die "estack_pop: incorrect # of arguments";
5012 local _estack_name="_ESTACK_$1_";
5013 shift;
5014 local _estack_retvar=$1;
5015 shift;
5016 eval local _estack_i=\${#${_estack_name}\[@\]};
5017 [[ $(( --_estack_i )) -eq -1 ]] && return 1;
5018 if [[ -n ${_estack_retvar} ]]; then
5019 eval ${_estack_retvar}=\"\${${_estack_name}\[${_estack_i}\]}\";
5020 fi;
5021 eval unset \"${_estack_name}\[${_estack_i}\]\"
5022 }
5023 estack_push ()
5024 {
5025 [[ $# -eq 0 ]] && die "estack_push: incorrect # of arguments";
5026 local stack_name="_ESTACK_$1_";
5027 shift;
5028 eval ${stack_name}+=\( \"\$@\" \)
5029 }
5030 esvn_clean ()
5031 {
5032 [[ $# -eq 0 ]] && set -- .;
5033 find "$@" -type d -name '.svn' -prune -print0 | xargs -0 rm -rf
5034 }
5035 eumask_pop ()
5036 {
5037 [[ $# -eq 0 ]] || die "${FUNCNAME}: we take no options";
5038 local s;
5039 estack_pop eumask s || die "${FUNCNAME}: unbalanced push";
5040 umask ${s} || die "${FUNCNAME}: sanity: could not restore umask: ${s}"
5041 }
5042 eumask_push ()
5043 {
5044 estack_push eumask "$(umask)";
5045 umask "$@" || die "${FUNCNAME}: bad options to umask: $*"
5046 }
5047 eutils_elt_patch_dir ()
5048 {
5049 local d="${ECLASSDIR}/ELT-patches";
5050 if [[ ! -d ${d} ]]; then
5051 d="${_EUTILS_ECLASSDIR_LOCAL}/ELT-patches";
5052 fi;
5053 echo "${d}"
5054 }
5055 evar_pop ()
5056 {
5057 local cnt=${1:-bad};
5058 case $# in
5059 0)
5060 cnt=1
5061 ;;
5062 1)
5063 isdigit "${cnt}" || die "${FUNCNAME}: first arg must be a
5064 number: $*"
5065 ;;
5066 *)
5067 die "${FUNCNAME}: only accepts one arg: $*"
5068 ;;
5069 esac;
5070 local var val;
5071 while (( cnt-- )); do
5072 estack_pop evar val || die "${FUNCNAME}: unbalanced push";
5073 estack_pop evar var || die "${FUNCNAME}: unbalanced push";
5074 [[ ${val} == "unset_76fc3c462065bb4ca959f939e6793f94" ]] &&
5075 unset ${var} || printf -v "${var}" '%s' "${val}";
5076 done
5077 }
5078 evar_push ()
5079 {
5080 local var val;
5081 for var in "$@";
5082 do
5083 [[ ${!var+set} == "set" ]] && val=${!var} ||
5084 val="unset_76fc3c462065bb4ca959f939e6793f94";
5085 estack_push evar "${var}" "${val}";
5086 done
5087 }
5088 evar_push_set ()
5089 {
5090 local var=$1;
5091 evar_push ${var};
5092 case $# in
5093 1)
5094 unset ${var}
5095 ;;
5096 2)
5097 printf -v "${var}" '%s' "$2"
5098 ;;
5099 *)
5100 die "${FUNCNAME}: incorrect # of args: $*"
5101 ;;
5102 esac
5103 }
5104 filter-flags ()
5105 {
5106 _filter-hardened "$@";
5107 local v;
5108 for v in $(all-flag-vars);
5109 do
5110 _filter-var ${v} "$@";
5111 done;
5112 return 0
5113 }
5114 filter-ldflags ()
5115 {
5116 _filter-var LDFLAGS "$@";
5117 return 0
5118 }
5119 filter-lfs-flags ()
5120 {
5121 [[ $# -ne 0 ]] && die "filter-lfs-flags takes no arguments";
5122 filter-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
5123 -D_LARGEFILE64_SOURCE
5124 }
5125 filter-mfpmath ()
5126 {
5127 local orig_mfpmath new_math prune_math;
5128 orig_mfpmath=$(get-flag -mfpmath);
5129 new_math=$(get-flag mfpmath);
5130 new_math=${new_math/both/387,sse};
5131 new_math=" ${new_math//[,+]/ } ";
5132 prune_math="";
5133 for prune_math in "$@";
5134 do
5135 new_math=${new_math/ ${prune_math} / };
5136 done;
5137 new_math=$(echo ${new_math});
5138 new_math=${new_math// /,};
5139 if [[ -z ${new_math} ]]; then
5140 filter-flags ${orig_mfpmath};
5141 else
5142 replace-flags ${orig_mfpmath} -mfpmath=${new_math};
5143 fi;
5144 return 0
5145 }
5146 gcc-fullversion ()
5147 {
5148 _gcc_fullversion '$1.$2.$3' "$@"
5149 }
5150 gcc-major-version ()
5151 {
5152 _gcc_fullversion '$1' "$@"
5153 }
5154 gcc-micro-version ()
5155 {
5156 _gcc_fullversion '$3' "$@"
5157 }
5158 gcc-minor-version ()
5159 {
5160 _gcc_fullversion '$2' "$@"
5161 }
5162 gcc-specs-directive ()
5163 {
5164 local directive subdname subdirective;
5165 directive="$(_gcc-specs-directive_raw $1)";
5166 while [[ ${directive} == *%\(*\)* ]]; do
5167 subdname=${directive/*%\(};
5168 subdname=${subdname/\)*};
5169 subdirective="$(_gcc-specs-directive_raw ${subdname})";
5170 directive="${directive//\%(${subdname})/${subdirective}}";
5171 done;
5172 echo "${directive}";
5173 return 0
5174 }
5175 gcc-specs-nostrict ()
5176 {
5177 local directive;
5178 directive=$(gcc-specs-directive cc1);
5179 [[ "${directive/\{!fstrict-overflow:}" != "${directive}" ]]
5180 }
5181 gcc-specs-now ()
5182 {
5183 local directive;
5184 directive=$(gcc-specs-directive link_command);
5185 [[ "${directive/\{!nonow:}" != "${directive}" ]]
5186 }
5187 gcc-specs-pie ()
5188 {
5189 local directive;
5190 directive=$(gcc-specs-directive cc1);
5191 [[ "${directive/\{!nopie:}" != "${directive}" ]]
5192 }
5193 gcc-specs-relro ()
5194 {
5195 local directive;
5196 directive=$(gcc-specs-directive link_command);
5197 [[ "${directive/\{!norelro:}" != "${directive}" ]]
5198 }
5199 gcc-specs-ssp ()
5200 {
5201 local directive;
5202 directive=$(gcc-specs-directive cc1);
5203 [[ "${directive/\{!fno-stack-protector:}" != "${directive}" ]]
5204 }
5205 gcc-specs-ssp-to-all ()
5206 {
5207 local directive;
5208 directive=$(gcc-specs-directive cc1);
5209 [[ "${directive/\{!fno-stack-protector-all:}" != "${directive}" ]]
5210 }
5211 gcc-specs-stack-check ()
5212 {
5213 local directive;
5214 directive=$(gcc-specs-directive cc1);
5215 [[ "${directive/\{!fno-stack-check:}" != "${directive}" ]]
5216 }
5217 gcc-version ()
5218 {
5219 _gcc_fullversion '$1.$2' "$@"
5220 }
5221 gen_usr_ldscript ()
5222 {
5223 local lib libdir=$(get_libdir) output_format="" auto=false
5224 suffix=$(get_libname);
5225 [[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/;
5226 tc-is-static-only && return;
5227 case ${CTARGET:-${CHOST}} in
5228 *-darwin*)
5229
5230 ;;
5231 *-android*)
5232 return 0
5233 ;;
5234 *linux* | *-freebsd* | *-openbsd* | *-netbsd*)
5235 use prefix && return 0
5236 ;;
5237 *)
5238 return 0
5239 ;;
5240 esac;
5241 dodir /usr/${libdir};
5242 if [[ $1 == "-a" ]]; then
5243 auto=true;
5244 shift;
5245 dodir /${libdir};
5246 fi;
5247 local flags=(${CFLAGS} ${LDFLAGS} -Wl,--verbose);
5248 if $(tc-getLD) --version | grep -q 'GNU gold'; then
5249 local d="${T}/bfd-linker";
5250 mkdir -p "${d}";
5251 ln -sf $(which ${CHOST}-ld.bfd) "${d}"/ld;
5252 flags+=(-B"${d}");
5253 fi;
5254 output_format=$($(tc-getCC) "${flags[@]}" 2>&1 | sed -n
5255 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p');
5256 [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT (
5257 ${output_format} )";
5258 for lib in "$@";
5259 do
5260 local tlib;
5261 if ${auto}; then
5262 lib="lib${lib}${suffix}";
5263 else
5264 [[ -r ${ED}/${libdir}/${lib} ]] || continue;
5265 fi;
5266 case ${CTARGET:-${CHOST}} in
5267 *-darwin*)
5268 if ${auto}; then
5269 tlib=$(scanmacho -qF'%S#F' "${ED}"/usr/${libdir}/${lib});
5270 else
5271 tlib=$(scanmacho -qF'%S#F' "${ED}"/${libdir}/${lib});
5272 fi;
5273 [[ -z ${tlib} ]] && die "unable to read install_name
5274 from ${lib}";
5275 tlib=${tlib##*/};
5276 if ${auto}; then
5277 mv
5278 "${ED}"/usr/${libdir}/${lib%${suffix}}.*${suffix#.} "${ED}"/${libdir}/
5279 || die;
5280 if [[ ${tlib} != ${lib%${suffix}}.*${suffix#.} ]]; then
5281 mv
5282 "${ED}"/usr/${libdir}/${tlib%${suffix}}.*${suffix#.}
5283 "${ED}"/${libdir}/ || die;
5284 fi;
5285 rm -f "${ED}"/${libdir}/${lib};
5286 fi;
5287 if [[ ! -w "${ED}/${libdir}/${tlib}" ]]; then
5288 chmod u+w "${ED}${libdir}/${tlib}";
5289 local nowrite=yes;
5290 fi;
5291 install_name_tool -id "${EPREFIX}"/${libdir}/${tlib}
5292 "${ED}"/${libdir}/${tlib} || die "install_name_tool failed";
5293 [[ -n ${nowrite} ]] && chmod u-w "${ED}${libdir}/${tlib}";
5294 pushd "${ED}/usr/${libdir}" > /dev/null;
5295 ln -snf "../../${libdir}/${tlib}" "${lib}";
5296 popd > /dev/null
5297 ;;
5298 *)
5299 if ${auto}; then
5300 tlib=$(scanelf -qF'%S#F' "${ED}"/usr/${libdir}/${lib});
5301 [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}";
5302 mv "${ED}"/usr/${libdir}/${lib}* "${ED}"/${libdir}/ || die;
5303 if [[ ${tlib} != ${lib}* ]]; then
5304 mv "${ED}"/usr/${libdir}/${tlib}*
5305 "${ED}"/${libdir}/ || die;
5306 fi;
5307 rm -f "${ED}"/${libdir}/${lib};
5308 else
5309 tlib=${lib};
5310 fi;
5311 cat > "${ED}/usr/${libdir}/${lib}" <<-END_LDSCRIPT
5312 /* GNU ld script
5313 Since Gentoo has critical dynamic libraries in /lib, and the static versions
5314 in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we
5315 run into linking problems. This "fake" dynamic lib is a linker script that
5316 redirects the linker to the real lib. And yes, this works in the cross-
5317 compiling scenario as the sysroot-ed linker will prepend the real path.
5318
5319 See bug https://bugs.gentoo.org/4411 for more info.
5320 */
5321 ${output_format}
5322 GROUP ( ${EPREFIX}/${libdir}/${tlib} )
5323 END_LDSCRIPT
5324
5325 ;;
5326 esac
5327 fperms a+x "/usr/${libdir}/${lib}" || die "could not change
5328 perms on ${lib}";
5329 done
5330 }
5331 get-flag ()
5332 {
5333 local f var findflag="$1";
5334 for var in $(all-flag-vars);
5335 do
5336 for f in ${!var};
5337 do
5338 if [ "${f/${findflag}}" != "${f}" ]; then
5339 printf "%s\n" "${f/-${findflag}=}";
5340 return 0;
5341 fi;
5342 done;
5343 done;
5344 return 1
5345 }
5346 get_abi_CFLAGS ()
5347 {
5348 get_abi_var CFLAGS "$@"
5349 }
5350 get_abi_CHOST ()
5351 {
5352 get_abi_var CHOST "$@"
5353 }
5354 get_abi_CTARGET ()
5355 {
5356 get_abi_var CTARGET "$@"
5357 }
5358 get_abi_FAKE_TARGETS ()
5359 {
5360 get_abi_var FAKE_TARGETS "$@"
5361 }
5362 get_abi_LDFLAGS ()
5363 {
5364 get_abi_var LDFLAGS "$@"
5365 }
5366 get_abi_LIBDIR ()
5367 {
5368 get_abi_var LIBDIR "$@"
5369 }
5370 get_abi_var ()
5371 {
5372 local flag=$1;
5373 local abi=${2:-${ABI:-${DEFAULT_ABI:-default}}};
5374 local var="${flag}_${abi}";
5375 echo ${!var}
5376 }
5377 get_after_major_version ()
5378 {
5379 echo $(get_version_component_range 2- "${1:-${PV}}")
5380 }
5381 get_all_abis ()
5382 {
5383 local x order="" mvar dvar;
5384 mvar="MULTILIB_ABIS";
5385 dvar="DEFAULT_ABI";
5386 if [[ -n $1 ]]; then
5387 mvar="$1_${mvar}";
5388 dvar="$1_${dvar}";
5389 fi;
5390 if [[ -z ${!mvar} ]]; then
5391 echo "default";
5392 return 0;
5393 fi;
5394 for x in ${!mvar};
5395 do
5396 if [[ ${x} != ${!dvar} ]]; then
5397 order="${order:+${order} }${x}";
5398 fi;
5399 done;
5400 order="${order:+${order} }${!dvar}";
5401 echo ${order};
5402 return 0
5403 }
5404 get_all_libdirs ()
5405 {
5406 local libdirs abi;
5407 for abi in ${MULTILIB_ABIS};
5408 do
5409 libdirs+=" $(get_abi_LIBDIR ${abi})";
5410 done;
5411 [[ " ${libdirs} " != *" lib "* ]] && libdirs+=" lib";
5412 echo "${libdirs}"
5413 }
5414 get_all_version_components ()
5415 {
5416 eshopts_push -s extglob;
5417 local ver_str=${1:-${PV}} result;
5418 result=();
5419 if [[ ${VERSIONATOR_CACHE_VER_STR} == ${ver_str} ]]; then
5420 echo ${VERSIONATOR_CACHE_RESULT};
5421 eshopts_pop;
5422 return;
5423 fi;
5424 export VERSIONATOR_CACHE_VER_STR=${ver_str};
5425 while [[ -n $ver_str ]]; do
5426 case "${ver_str::1}" in
5427 [[:digit:]])
5428 result+=("${ver_str%%[^[:digit:]]*}");
5429 ver_str=${ver_str##+([[:digit:]])}
5430 ;;
5431 [-_.])
5432 result+=("${ver_str::1}");
5433 ver_str=${ver_str:1}
5434 ;;
5435 [[:alpha:]])
5436 local not_match=${ver_str##+([[:alpha:]])*([[:digit:]])};
5437 result+=("${ver_str::${#ver_str} - ${#not_match}}");
5438 ver_str=${not_match}
5439 ;;
5440 *)
5441 result+=("${ver_str::1}");
5442 ver_str=${ver_str:1}
5443 ;;
5444 esac;
5445 done;
5446 export VERSIONATOR_CACHE_RESULT=${result[*]};
5447 echo ${result[@]};
5448 eshopts_pop
5449 }
5450 get_install_abis ()
5451 {
5452 local x order="";
5453 if [[ -z ${MULTILIB_ABIS} ]]; then
5454 echo "default";
5455 return 0;
5456 fi;
5457 if [[ ${EMULTILIB_PKG} == "true" ]]; then
5458 for x in ${MULTILIB_ABIS};
5459 do
5460 if [[ ${x} != "${DEFAULT_ABI}" ]]; then
5461 has ${x} ${ABI_DENY} || order="${order} ${x}";
5462 fi;
5463 done;
5464 has ${DEFAULT_ABI} ${ABI_DENY} || order="${order} ${DEFAULT_ABI}";
5465 if [[ -n ${ABI_ALLOW} ]]; then
5466 local ordera="";
5467 for x in ${order};
5468 do
5469 if has ${x} ${ABI_ALLOW}; then
5470 ordera="${ordera} ${x}";
5471 fi;
5472 done;
5473 order=${ordera};
5474 fi;
5475 else
5476 order=${DEFAULT_ABI};
5477 fi;
5478 if [[ -z ${order} ]]; then
5479 die "The ABI list is empty. Are you using a proper multilib
5480 profile? Perhaps your USE flags or MULTILIB_ABIS are too restrictive
5481 for this package.";
5482 fi;
5483 echo ${order};
5484 return 0
5485 }
5486 get_last_version_component_index ()
5487 {
5488 echo $(($(get_version_component_count "${1:-${PV}}" ) - 1))
5489 }
5490 get_libdir ()
5491 {
5492 local CONF_LIBDIR;
5493 if [ -n "${CONF_LIBDIR_OVERRIDE}" ]; then
5494 echo ${CONF_LIBDIR_OVERRIDE};
5495 else
5496 get_abi_LIBDIR;
5497 fi
5498 }
5499 get_libname ()
5500 {
5501 local libname;
5502 local ver=$1;
5503 case ${CHOST} in
5504 *-cygwin | mingw* | *-mingw*)
5505 libname="dll"
5506 ;;
5507 *-darwin*)
5508 libname="dylib"
5509 ;;
5510 *-mint*)
5511 libname="irrelevant"
5512 ;;
5513 hppa*-hpux*)
5514 libname="sl"
5515 ;;
5516 *)
5517 libname="so"
5518 ;;
5519 esac;
5520 if [[ -z $* ]]; then
5521 echo ".${libname}";
5522 else
5523 for ver in "$@";
5524 do
5525 case ${CHOST} in
5526 *-darwin*)
5527 echo ".${ver}.${libname}"
5528 ;;
5529 *-mint*)
5530 echo ".${libname}"
5531 ;;
5532 *)
5533 echo ".${libname}.${ver}"
5534 ;;
5535 esac;
5536 done;
5537 fi
5538 }
5539 get_major_version ()
5540 {
5541 local c=($(get_all_version_components "${1:-${PV}}"));
5542 echo ${c[0]}
5543 }
5544 get_modname ()
5545 {
5546 local modname;
5547 local ver=$1;
5548 case ${CHOST} in
5549 *-darwin*)
5550 modname="bundle"
5551 ;;
5552 *)
5553 modname="so"
5554 ;;
5555 esac;
5556 echo ".${modname}"
5557 }
5558 get_version_component_count ()
5559 {
5560 local a=($(get_version_components "${1:-${PV}}"));
5561 echo ${#a[@]}
5562 }
5563 get_version_component_range ()
5564 {
5565 eshopts_push -s extglob;
5566 local c v="${2:-${PV}}" range="${1}" range_start range_end;
5567 local -i i=-1 j=0;
5568 c=($(get_all_version_components "${v}"));
5569 range_start=${range%-*};
5570 range_start=${range_start:-1};
5571 range_end=${range#*-};
5572 range_end=${range_end:-${#c[@]}};
5573 while ((j < range_start)); do
5574 i+=1;
5575 ((i > ${#c[@]})) && eshopts_pop && return;
5576 [[ -n "${c[i]//[-._]}" ]] && j+=1;
5577 done;
5578 while ((j <= range_end)); do
5579 echo -n ${c[i]};
5580 ((i > ${#c[@]})) && eshopts_pop && return;
5581 [[ -n "${c[i]//[-._]}" ]] && j+=1;
5582 i+=1;
5583 done;
5584 eshopts_pop
5585 }
5586 get_version_components ()
5587 {
5588 local c=$(get_all_version_components "${1:-${PV}}");
5589 echo ${c//[-._]/ }
5590 }
5591 gnome2_disable_deprecation_warning ()
5592 {
5593 local retval=0;
5594 local fails=();
5595 local makefile;
5596 ebegin "Disabling deprecation warnings";
5597 while read makefile; do
5598 if ! grep -qE "(DISABLE_DEPRECATED|GSEAL_ENABLE)" "${makefile}"; then
5599 continue;
5600 fi;
5601 LC_ALL=C sed -r -i -e
5602 's:-D[A-Z_]+_DISABLE_DEPRECATED:$(/bin/true):g' -e
5603 's:-DGSEAL_ENABLE(=[A-Za-z0-9_]*)?:$(/bin/true):g' -i "${makefile}";
5604 if [[ $? -ne 0 ]]; then
5605 fails+=("${makefile}");
5606 retval=2;
5607 fi;
5608 done < <(find "${S}" -name "Makefile.in" -o -name
5609 "Makefile.am" -o -name "Makefile.decl" | sort; [[ -f
5610 "${S}"/configure ]] && echo configure);
5611 eend ${retval};
5612 for makefile in "${fails[@]}";
5613 do
5614 ewarn "Failed to disable deprecation warnings in ${makefile}";
5615 done
5616 }
5617 gnome2_environment_reset ()
5618 {
5619 xdg_environment_reset;
5620 export G_HOME="${T}";
5621 export GST_REGISTRY="${T}/registry.xml";
5622 export GSETTINGS_BACKEND="memory"
5623 }
5624 gnome2_gconf_install ()
5625 {
5626 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5627 local updater="${EROOT}${GCONFTOOL_BIN}";
5628 if [[ ! -x "${updater}" ]]; then
5629 debug-print "${updater} is not executable";
5630 return;
5631 fi;
5632 if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
5633 debug-print "No GNOME 2 GConf schemas found";
5634 return;
5635 fi;
5636 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL;
5637 export GCONF_CONFIG_SOURCE="$("${updater}" --get-default-source |
5638 sed "s;:/;:${ROOT};")";
5639 einfo "Installing GNOME 2 GConf schemas";
5640 local F;
5641 for F in ${GNOME2_ECLASS_SCHEMAS};
5642 do
5643 if [[ -e "${EROOT}${F}" ]]; then
5644 debug-print "Installing schema: ${F}";
5645 "${updater}" --makefile-install-rule "${EROOT}${F}" > /dev/null;
5646 fi;
5647 done;
5648 pids=$(pgrep -x gconfd-2);
5649 if [[ $? == 0 ]]; then
5650 ebegin "Reloading GConf schemas";
5651 kill -HUP ${pids};
5652 eend $?;
5653 fi
5654 }
5655 gnome2_gconf_savelist ()
5656 {
5657 has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}";
5658 pushd "${ED}" > /dev/null || die;
5659 export GNOME2_ECLASS_SCHEMAS=$(find 'etc/gconf/schemas/' -name
5660 '*.schemas' 2> /dev/null);
5661 popd > /dev/null || die
5662 }
5663 gnome2_gconf_uninstall ()
5664 {
5665 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5666 local updater="${EROOT}${GCONFTOOL_BIN}";
5667 if [[ ! -x "${updater}" ]]; then
5668 debug-print "${updater} is not executable";
5669 return;
5670 fi;
5671 if [[ -z "${GNOME2_ECLASS_SCHEMAS}" ]]; then
5672 debug-print "No GNOME 2 GConf schemas found";
5673 return;
5674 fi;
5675 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL;
5676 export GCONF_CONFIG_SOURCE="$("${updater}" --get-default-source |
5677 sed "s;:/;:${ROOT};")";
5678 einfo "Uninstalling GNOME 2 GConf schemas";
5679 local F;
5680 for F in ${GNOME2_ECLASS_SCHEMAS};
5681 do
5682 if [[ -e "${EROOT}${F}" ]]; then
5683 debug-print "Uninstalling gconf schema: ${F}";
5684 "${updater}" --makefile-uninstall-rule "${EROOT}${F}" > /dev/null;
5685 fi;
5686 done;
5687 pids=$(pgrep -x gconfd-2);
5688 if [[ $? == 0 ]]; then
5689 ebegin "Reloading GConf schemas";
5690 kill -HUP ${pids};
5691 eend $?;
5692 fi
5693 }
5694 gnome2_gdk_pixbuf_savelist ()
5695 {
5696 has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}";
5697 pushd "${ED}" > /dev/null || die;
5698 export GNOME2_ECLASS_GDK_PIXBUF_LOADERS=$(find
5699 usr/lib*/gdk-pixbuf-2.0 -type f 2>/dev/null);
5700 popd > /dev/null || die
5701 }
5702 gnome2_gdk_pixbuf_update ()
5703 {
5704 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5705 local updater="${EROOT}/usr/bin/${CHOST}-gdk-pixbuf-query-loaders";
5706 if [[ ! -x ${updater} ]]; then
5707 updater="${EROOT}/usr/bin/gdk-pixbuf-query-loaders";
5708 fi;
5709 if [[ ! -x ${updater} ]]; then
5710 debug-print "${updater} is not executable";
5711 return;
5712 fi;
5713 if [[ -z ${GNOME2_ECLASS_GDK_PIXBUF_LOADERS} ]]; then
5714 debug-print "gdk-pixbuf loader cache does not need an update";
5715 return;
5716 fi;
5717 ebegin "Updating gdk-pixbuf loader cache";
5718 local tmp_file=$(emktemp);
5719 ${updater} > "${tmp_file}" && chmod 0644 "${tmp_file}" && cp -f
5720 "${tmp_file}" "${EROOT}usr/$(get_libdir)/gdk-pixbuf-2.0/2.10.0/loaders.cache"
5721 && rm "${tmp_file}";
5722 eend $?
5723 }
5724 gnome2_giomodule_cache_update ()
5725 {
5726 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5727 local updater="${EROOT}/usr/bin/${CHOST}-gio-querymodules";
5728 if [[ ! -x ${updater} ]]; then
5729 updater="${EROOT}/usr/bin/gio-querymodules";
5730 fi;
5731 if [[ ! -x ${updater} ]]; then
5732 debug-print "${updater} is not executable";
5733 return;
5734 fi;
5735 ebegin "Updating GIO modules cache";
5736 ${updater} "${EROOT%/}"/usr/$(get_libdir)/gio/modules;
5737 eend $?
5738 }
5739 gnome2_icon_cache_update ()
5740 {
5741 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5742 local updater="${EROOT}${GTK_UPDATE_ICON_CACHE}";
5743 if [[ ! -x "${updater}" ]]; then
5744 debug-print "${updater} is not executable";
5745 return;
5746 fi;
5747 if [[ -z "${GNOME2_ECLASS_ICONS}" ]]; then
5748 debug-print "No icon cache to update";
5749 return;
5750 fi;
5751 ebegin "Updating icons cache";
5752 local retval=0;
5753 local fails=();
5754 for dir in ${GNOME2_ECLASS_ICONS};
5755 do
5756 if [[ -f "${EROOT}${dir}/index.theme" ]]; then
5757 local rv=0;
5758 "${updater}" -qf "${EROOT}${dir}";
5759 rv=$?;
5760 if [[ ! $rv -eq 0 ]]; then
5761 debug-print "Updating cache failed on ${EROOT}${dir}";
5762 fails[$(( ${#fails[@]} + 1 ))]="${EROOT}${dir}";
5763 retval=2;
5764 fi;
5765 else
5766 if [[ $(ls "${EROOT}${dir}") = "icon-theme.cache" ]]; then
5767 rm "${EROOT}${dir}/icon-theme.cache";
5768 fi;
5769 fi;
5770 if [[ -z $(ls "${EROOT}${dir}") ]]; then
5771 rmdir "${EROOT}${dir}";
5772 fi;
5773 done;
5774 eend ${retval};
5775 for f in "${fails[@]}";
5776 do
5777 eerror "Failed to update cache with icon $f";
5778 done
5779 }
5780 gnome2_icon_savelist ()
5781 {
5782 has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}";
5783 pushd "${ED}" > /dev/null || die;
5784 export GNOME2_ECLASS_ICONS=$(find 'usr/share/icons' -maxdepth 1
5785 -mindepth 1 -type d 2> /dev/null);
5786 popd > /dev/null || die
5787 }
5788 gnome2_omf_fix ()
5789 {
5790 local omf_makefiles filename;
5791 omf_makefiles="$@";
5792 if [[ -f ${S}/omf.make ]]; then
5793 omf_makefiles="${omf_makefiles} ${S}/omf.make";
5794 fi;
5795 if [[ -f ${S}/gnome-doc-utils.make ]]; then
5796 omf_makefiles="${omf_makefiles} ${S}/gnome-doc-utils.make";
5797 fi;
5798 for filename in $(find "${S}" -name "Makefile.in" -o -name
5799 "Makefile.am" |sort);
5800 do
5801 omf_makefiles="${omf_makefiles} ${filename}";
5802 done;
5803 ebegin "Fixing OMF Makefiles";
5804 local retval=0;
5805 local fails=();
5806 for omf in ${omf_makefiles};
5807 do
5808 sed -i -e 's:scrollkeeper-update:true:' "${omf}";
5809 retval=$?;
5810 if [[ $retval -ne 0 ]]; then
5811 debug-print "updating of ${omf} failed";
5812 fails[$(( ${#fails[@]} + 1 ))]=$omf;
5813 retval=2;
5814 fi;
5815 done;
5816 eend $retval;
5817 for f in "${fails[@]}";
5818 do
5819 eerror "Failed to update OMF Makefile $f";
5820 done
5821 }
5822 gnome2_pkg_postinst ()
5823 {
5824 xdg_pkg_postinst;
5825 gnome2_gconf_install;
5826 gnome2_icon_cache_update;
5827 gnome2_schemas_update;
5828 gnome2_scrollkeeper_update;
5829 gnome2_gdk_pixbuf_update;
5830 if [[ ${#GNOME2_ECLASS_GIO_MODULES[@]} -gt 0 ]]; then
5831 gnome2_giomodule_cache_update;
5832 fi
5833 }
5834 gnome2_pkg_postrm ()
5835 {
5836 xdg_pkg_postrm;
5837 gnome2_icon_cache_update;
5838 gnome2_schemas_update;
5839 gnome2_scrollkeeper_update;
5840 if [[ ${#GNOME2_ECLASS_GIO_MODULES[@]} -gt 0 ]]; then
5841 gnome2_giomodule_cache_update;
5842 fi
5843 }
5844 gnome2_pkg_preinst ()
5845 {
5846 xdg_pkg_preinst;
5847 gnome2_gconf_savelist;
5848 gnome2_icon_savelist;
5849 gnome2_schemas_savelist;
5850 gnome2_scrollkeeper_savelist;
5851 gnome2_gdk_pixbuf_savelist;
5852 local f;
5853 GNOME2_ECLASS_GIO_MODULES=();
5854 while IFS= read -r -d '' f; do
5855 GNOME2_ECLASS_GIO_MODULES+=(${f});
5856 done < <(cd "${D}" && find usr/$(get_libdir)/gio/modules -type f
5857 -print0 2>/dev/null);
5858 export GNOME2_ECLASS_GIO_MODULES
5859 }
5860 gnome2_query_immodules_gtk2 ()
5861 {
5862 local updater=${EPREFIX}/usr/bin/${CHOST}-gtk-query-immodules-2.0;
5863 [[ ! -x ${updater} ]] && updater=${EPREFIX}/usr/bin/gtk-query-immodules-2.0;
5864 ebegin "Updating gtk2 input method module cache";
5865 GTK_IM_MODULE_FILE="${EROOT}usr/$(get_libdir)/gtk-2.0/2.10.0/immodules.cache"
5866 "${updater}" --update-cache;
5867 eend $?
5868 }
5869 gnome2_query_immodules_gtk3 ()
5870 {
5871 local updater=${EPREFIX}/usr/bin/${CHOST}-gtk-query-immodules-3.0;
5872 [[ ! -x ${updater} ]] && updater=${EPREFIX}/usr/bin/gtk-query-immodules-3.0;
5873 ebegin "Updating gtk3 input method module cache";
5874 GTK_IM_MODULE_FILE="${EROOT}usr/$(get_libdir)/gtk-3.0/3.0.0/immodules.cache"
5875 "${updater}" --update-cache;
5876 eend $?
5877 }
5878 gnome2_schemas_savelist ()
5879 {
5880 has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}";
5881 pushd "${ED}" > /dev/null || die;
5882 export GNOME2_ECLASS_GLIB_SCHEMAS=$(find
5883 'usr/share/glib-2.0/schemas' -name '*.gschema.xml' 2>/dev/null);
5884 popd > /dev/null || die
5885 }
5886 gnome2_schemas_update ()
5887 {
5888 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5889 local updater="${EROOT}${GLIB_COMPILE_SCHEMAS}";
5890 if [[ ! -x ${updater} ]]; then
5891 debug-print "${updater} is not executable";
5892 return;
5893 fi;
5894 if [[ -z ${GNOME2_ECLASS_GLIB_SCHEMAS} ]]; then
5895 debug-print "No GSettings schemas to update";
5896 return;
5897 fi;
5898 ebegin "Updating GSettings schemas";
5899 ${updater} --allow-any-name "$@"
5900 "${EROOT%/}/usr/share/glib-2.0/schemas" &> /dev/null;
5901 eend $?
5902 }
5903 gnome2_scrollkeeper_savelist ()
5904 {
5905 has ${EAPI:-0} 0 1 2 && ! use prefix && ED="${D}";
5906 pushd "${ED}" > /dev/null || die;
5907 export GNOME2_ECLASS_SCROLLS=$(find 'usr/share/omf' -type f -name
5908 "*.omf" 2> /dev/null);
5909 popd > /dev/null || die
5910 }
5911 gnome2_scrollkeeper_update ()
5912 {
5913 has ${EAPI:-0} 0 1 2 && ! use prefix && EROOT="${ROOT}";
5914 local updater="${EROOT}${SCROLLKEEPER_UPDATE_BIN}";
5915 if [[ ! -x "${updater}" ]]; then
5916 debug-print "${updater} is not executable";
5917 return;
5918 fi;
5919 if [[ -z "${GNOME2_ECLASS_SCROLLS}" ]]; then
5920 debug-print "No scroll cache to update";
5921 return;
5922 fi;
5923 ebegin "Updating scrollkeeper database ...";
5924 "${updater}" -q -p "${EROOT}${SCROLLKEEPER_DIR}";
5925 eend $?
5926 }
5927 gnome2_src_compile ()
5928 {
5929 emake
5930 }
5931 gnome2_src_configure ()
5932 {
5933 if [[ -n ${G2CONF} ]]; then
5934 eqawarn "G2CONF set, please review documentation at
5935 https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#G2CONF_and_src_configure";
5936 fi;
5937 local g2conf=();
5938 if [[ ${GCONF_DEBUG} != 'no' ]]; then
5939 if use debug; then
5940 g2conf+=(--enable-debug=yes);
5941 fi;
5942 fi;
5943 if grep -q "enable-gtk-doc" "${ECONF_SOURCE:-.}"/configure; then
5944 if has ${EAPI:-0} 4 && in_iuse doc; then
5945 g2conf+=($(use_enable doc gtk-doc));
5946 else
5947 g2conf+=(--disable-gtk-doc);
5948 fi;
5949 fi;
5950 if grep -q "^[[:space:]]*AM_MAINTAINER_MODE(\[enable\])"
5951 "${ECONF_SOURCE:-.}"/configure.*; then
5952 g2conf+=(--disable-maintainer-mode);
5953 fi;
5954 if grep -q "disable-scrollkeeper" "${ECONF_SOURCE:-.}"/configure; then
5955 g2conf+=(--disable-scrollkeeper);
5956 fi;
5957 if has ${EAPI:-0} 4; then
5958 if grep -q "disable-silent-rules" "${ECONF_SOURCE:-.}"/configure; then
5959 g2conf+=(--disable-silent-rules);
5960 fi;
5961 fi;
5962 if grep -q "disable-schemas-install" "${ECONF_SOURCE:-.}"/configure; then
5963 g2conf+=(--disable-schemas-install);
5964 fi;
5965 if grep -q "disable-schemas-compile" "${ECONF_SOURCE:-.}"/configure; then
5966 g2conf+=(--disable-schemas-compile);
5967 fi;
5968 if grep -q "disable-update-mimedb" "${ECONF_SOURCE:-.}"/configure; then
5969 g2conf+=(--disable-update-mimedb);
5970 fi;
5971 if grep -q "enable-compile-warnings" "${ECONF_SOURCE:-.}"/configure; then
5972 g2conf+=(--enable-compile-warnings=minimum);
5973 fi;
5974 if grep -q "^ *--docdir=" "${ECONF_SOURCE:-.}"/configure; then
5975 g2conf+=(--docdir="${EPREFIX}"/usr/share/doc/${PF});
5976 fi;
5977 addwrite "$(unset HOME; echo ~)/.gnome2";
5978 econf ${g2conf[@]} ${G2CONF} "$@"
5979 }
5980 gnome2_src_install ()
5981 {
5982 local sk_tmp_dir="/var/lib/scrollkeeper";
5983 dodir "${sk_tmp_dir}" || die "dodir failed";
5984 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1";
5985 debug-print "Installing with 'make install'";
5986 emake DESTDIR="${D}"
5987 "scrollkeeper_localstate_dir=${ED}${sk_tmp_dir} " "$@" install || die
5988 "install failed";
5989 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL;
5990 if has ${EAPI:-0} 4; then
5991 if [[ -n "${DOCS}" ]]; then
5992 dodoc ${DOCS} || die "dodoc failed";
5993 fi;
5994 else
5995 einstalldocs;
5996 fi;
5997 rm -rf "${ED}${sk_tmp_dir}";
5998 rmdir "${ED}/var/lib" 2> /dev/null;
5999 rmdir "${ED}/var" 2> /dev/null;
6000 rm -fr "${ED}/usr/share/applications/mimeinfo.cache";
6001 if has ${EAPI:-0} 4; then
6002 if [[ "${GNOME2_LA_PUNT}" != "no" ]]; then
6003 ebegin "Removing .la files";
6004 if ! use_if_iuse static-libs; then
6005 find "${D}" -name '*.la' -exec rm -f {} + || die "la
6006 file removal failed";
6007 fi;
6008 eend;
6009 fi;
6010 else
6011 case "${GNOME2_LA_PUNT}" in
6012 yes)
6013 prune_libtool_files --modules
6014 ;;
6015 no)
6016
6017 ;;
6018 *)
6019 prune_libtool_files
6020 ;;
6021 esac;
6022 fi
6023 }
6024 gnome2_src_prepare ()
6025 {
6026 xdg_src_prepare;
6027 gnome2_environment_reset;
6028 gnome2_omf_fix;
6029 gnome2_disable_deprecation_warning;
6030 elibtoolize ${ELTCONF}
6031 }
6032 gnome2_src_unpack ()
6033 {
6034 unpack ${A};
6035 cd "${S}"
6036 }
6037 has_m32 ()
6038 {
6039 die "${FUNCNAME}: don't use this anymore"
6040 }
6041 has_m64 ()
6042 {
6043 eqawarn "${FUNCNAME}: don't use this anymore";
6044 local temp="$(emktemp)";
6045 echo "int main() { return(0); }" > "${temp}".c;
6046 MY_CC=$(tc-getCC);
6047 ${MY_CC/ .*/} -m64 -o "$(emktemp)" "${temp}".c > /dev/null 2>&1;
6048 local ret=$?;
6049 rm -f "${temp}".c;
6050 [[ ${ret} != 1 ]] && return 0;
6051 return 1
6052 }
6053 has_multilib_profile ()
6054 {
6055 [ -n "${MULTILIB_ABIS}" -a "${MULTILIB_ABIS}" != "${MULTILIB_ABIS/ /}" ]
6056 }
6057 in_iuse ()
6058 {
6059 debug-print-function ${FUNCNAME} "${@}";
6060 [[ ${#} -eq 1 ]] || die "Invalid args to ${FUNCNAME}()";
6061 local flag=${1};
6062 local liuse=(${IUSE});
6063 has "${flag}" "${liuse[@]#[+-]}"
6064 }
6065 is-flag ()
6066 {
6067 is-flagq "$@" && echo true
6068 }
6069 is-flagq ()
6070 {
6071 [[ -n $2 ]] && die "Usage: is-flag <flag>";
6072 local var;
6073 for var in $(all-flag-vars);
6074 do
6075 _is_flagq ${var} "$1" && return 0;
6076 done;
6077 return 1
6078 }
6079 is-ldflag ()
6080 {
6081 is-ldflagq "$@" && echo true
6082 }
6083 is-ldflagq ()
6084 {
6085 [[ -n $2 ]] && die "Usage: is-ldflag <flag>";
6086 _is_flagq LDFLAGS $1
6087 }
6088 is_final_abi ()
6089 {
6090 has_multilib_profile || return 0;
6091 set -- $(get_install_abis);
6092 local LAST_ABI=$#;
6093 [[ ${!LAST_ABI} == ${ABI} ]]
6094 }
6095 isdigit ()
6096 {
6097 local d;
6098 for d in "$@";
6099 do
6100 [[ ${d:-bad} == *[!0-9]* ]] && return 1;
6101 done;
6102 return 0
6103 }
6104 libtool_elt_patch_dir ()
6105 {
6106 local d="${ECLASSDIR}/ELT-patches";
6107 if [[ ! -d ${d} ]]; then
6108 d="${_LIBTOOL_ECLASSDIR_LOCAL}/ELT-patches";
6109 fi;
6110 echo "${d}"
6111 }
6112 make_desktop_entry ()
6113 {
6114 [[ -z $1 ]] && die "make_desktop_entry: You must specify the executable";
6115 local exec=${1};
6116 local name=${2:-${PN}};
6117 local icon=${3:-${PN}};
6118 local type=${4};
6119 local fields=${5};
6120 if [[ -z ${type} ]]; then
6121 local catmaj=${CATEGORY%%-*};
6122 local catmin=${CATEGORY##*-};
6123 case ${catmaj} in
6124 app)
6125 case ${catmin} in
6126 accessibility)
6127 type="Utility;Accessibility"
6128 ;;
6129 admin)
6130 type=System
6131 ;;
6132 antivirus)
6133 type=System
6134 ;;
6135 arch)
6136 type="Utility;Archiving"
6137 ;;
6138 backup)
6139 type="Utility;Archiving"
6140 ;;
6141 cdr)
6142 type="AudioVideo;DiscBurning"
6143 ;;
6144 dicts)
6145 type="Office;Dictionary"
6146 ;;
6147 doc)
6148 type=Documentation
6149 ;;
6150 editors)
6151 type="Utility;TextEditor"
6152 ;;
6153 emacs)
6154 type="Development;TextEditor"
6155 ;;
6156 emulation)
6157 type="System;Emulator"
6158 ;;
6159 laptop)
6160 type="Settings;HardwareSettings"
6161 ;;
6162 office)
6163 type=Office
6164 ;;
6165 pda)
6166 type="Office;PDA"
6167 ;;
6168 vim)
6169 type="Development;TextEditor"
6170 ;;
6171 xemacs)
6172 type="Development;TextEditor"
6173 ;;
6174 esac
6175 ;;
6176 dev)
6177 type="Development"
6178 ;;
6179 games)
6180 case ${catmin} in
6181 action | fps)
6182 type=ActionGame
6183 ;;
6184 arcade)
6185 type=ArcadeGame
6186 ;;
6187 board)
6188 type=BoardGame
6189 ;;
6190 emulation)
6191 type=Emulator
6192 ;;
6193 kids)
6194 type=KidsGame
6195 ;;
6196 puzzle)
6197 type=LogicGame
6198 ;;
6199 roguelike)
6200 type=RolePlaying
6201 ;;
6202 rpg)
6203 type=RolePlaying
6204 ;;
6205 simulation)
6206 type=Simulation
6207 ;;
6208 sports)
6209 type=SportsGame
6210 ;;
6211 strategy)
6212 type=StrategyGame
6213 ;;
6214 esac;
6215 type="Game;${type}"
6216 ;;
6217 gnome)
6218 type="Gnome;GTK"
6219 ;;
6220 kde)
6221 type="KDE;Qt"
6222 ;;
6223 mail)
6224 type="Network;Email"
6225 ;;
6226 media)
6227 case ${catmin} in
6228 gfx)
6229 type=Graphics
6230 ;;
6231 *)
6232 case ${catmin} in
6233 radio)
6234 type=Tuner
6235 ;;
6236 sound)
6237 type=Audio
6238 ;;
6239 tv)
6240 type=TV
6241 ;;
6242 video)
6243 type=Video
6244 ;;
6245 esac;
6246 type="AudioVideo;${type}"
6247 ;;
6248 esac
6249 ;;
6250 net)
6251 case ${catmin} in
6252 dialup)
6253 type=Dialup
6254 ;;
6255 ftp)
6256 type=FileTransfer
6257 ;;
6258 im)
6259 type=InstantMessaging
6260 ;;
6261 irc)
6262 type=IRCClient
6263 ;;
6264 mail)
6265 type=Email
6266 ;;
6267 news)
6268 type=News
6269 ;;
6270 nntp)
6271 type=News
6272 ;;
6273 p2p)
6274 type=FileTransfer
6275 ;;
6276 voip)
6277 type=Telephony
6278 ;;
6279 esac;
6280 type="Network;${type}"
6281 ;;
6282 sci)
6283 case ${catmin} in
6284 astro*)
6285 type=Astronomy
6286 ;;
6287 bio*)
6288 type=Biology
6289 ;;
6290 calc*)
6291 type=Calculator
6292 ;;
6293 chem*)
6294 type=Chemistry
6295 ;;
6296 elec*)
6297 type=Electronics
6298 ;;
6299 geo*)
6300 type=Geology
6301 ;;
6302 math*)
6303 type=Math
6304 ;;
6305 physics)
6306 type=Physics
6307 ;;
6308 visual*)
6309 type=DataVisualization
6310 ;;
6311 esac;
6312 type="Education;Science;${type}"
6313 ;;
6314 sys)
6315 type="System"
6316 ;;
6317 www)
6318 case ${catmin} in
6319 client)
6320 type=WebBrowser
6321 ;;
6322 esac;
6323 type="Network;${type}"
6324 ;;
6325 *)
6326 type=
6327 ;;
6328 esac;
6329 fi;
6330 local slot=${SLOT%/*};
6331 if [[ ${slot} == "0" ]]; then
6332 local desktop_name="${PN}";
6333 else
6334 local desktop_name="${PN}-${slot}";
6335 fi;
6336 local desktop="${T}/$(echo ${exec} | sed
6337 's:[[:space:]/:]:_:g')-${desktop_name}.desktop";
6338 type=${type%;}${type:+;};
6339 eshopts_push -s extglob;
6340 if [[ -n ${icon} && ${icon} != /* ]] && [[ ${icon} == *.xpm ||
6341 ${icon} == *.png || ${icon} == *.svg ]]; then
6342 ewarn "As described in the Icon Theme Specification, icon file
6343 extensions are not";
6344 ewarn "allowed in .desktop files if the value is not an absolute path.";
6345 icon=${icon%.@(xpm|png|svg)};
6346 fi;
6347 eshopts_pop;
6348 cat > "${desktop}" <<-EOF
6349 [Desktop Entry]
6350 Name=${name}
6351 Type=Application
6352 Comment=${DESCRIPTION}
6353 Exec=${exec}
6354 TryExec=${exec%% *}
6355 Icon=${icon}
6356 Categories=${type}
6357 EOF
6358
6359 if [[ ${fields:-=} != *=* ]]; then
6360 ewarn "make_desktop_entry: update your 5th arg to read Path=${fields}";
6361 fields="Path=${fields}";
6362 fi;
6363 [[ -n ${fields} ]] && printf '%b\n' "${fields}" >> "${desktop}";
6364 ( insinto /usr/share/applications;
6365 doins "${desktop}" ) || die "installing desktop file failed"
6366 }
6367 make_session_desktop ()
6368 {
6369 [[ -z $1 ]] && eerror "$0: You must specify the title" && return 1;
6370 [[ -z $2 ]] && eerror "$0: You must specify the command" && return 1;
6371 local title=$1;
6372 local command=$2;
6373 local desktop=${T}/${wm:-${PN}}.desktop;
6374 shift 2;
6375 cat > "${desktop}" <<-EOF
6376 [Desktop Entry]
6377 Name=${title}
6378 Comment=This session logs you into ${title}
6379 Exec=${command} $*
6380 TryExec=${command}
6381 Type=XSession
6382 EOF
6383
6384 ( insinto /usr/share/xsessions;
6385 doins "${desktop}" )
6386 }
6387 make_wrapper ()
6388 {
6389 _eutils_eprefix_init;
6390 local wrapper=$1 bin=$2 chdir=$3 libdir=$4 path=$5;
6391 local tmpwrapper=$(emktemp);
6392 ( echo '#!/bin/sh';
6393 [[ -n ${chdir} ]] && printf 'cd "%s"\n' "${EPREFIX}${chdir}";
6394 if [[ -n ${libdir} ]]; then
6395 local var;
6396 if [[ ${CHOST} == *-darwin* ]]; then
6397 var=DYLD_LIBRARY_PATH;
6398 else
6399 var=LD_LIBRARY_PATH;
6400 fi;
6401 cat <<-EOF
6402 if [ "\${${var}+set}" = "set" ] ; then
6403 export ${var}="\${${var}}:${EPREFIX}${libdir}"
6404 else
6405 export ${var}="${EPREFIX}${libdir}"
6406 fi
6407 EOF
6408
6409 fi
6410 printf 'exec %s "$@"\n' "${bin/#\//${EPREFIX}/}" ) > "${tmpwrapper}";
6411 chmod go+rx "${tmpwrapper}";
6412 if [[ -n ${path} ]]; then
6413 ( exeinto "${path}";
6414 newexe "${tmpwrapper}" "${wrapper}" ) || die;
6415 else
6416 newbin "${tmpwrapper}" "${wrapper}" || die;
6417 fi
6418 }
6419 multilib_env ()
6420 {
6421 local CTARGET=${1:-${CTARGET}};
6422 local cpu=${CTARGET%%*-};
6423 case ${cpu} in
6424 aarch64*)
6425 export CFLAGS_arm=${CFLAGS_arm-};
6426 case ${cpu} in
6427 aarch64*be)
6428 export CHOST_arm="armv8b-${CTARGET#*-}"
6429 ;;
6430 *)
6431 export CHOST_arm="armv8l-${CTARGET#*-}"
6432 ;;
6433 esac;
6434 CHOST_arm=${CHOST_arm/%-gnu/-gnueabi};
6435 export CTARGET_arm=${CHOST_arm};
6436 export LIBDIR_arm="lib";
6437 export CFLAGS_arm64=${CFLAGS_arm64-};
6438 export CHOST_arm64=${CTARGET};
6439 export CTARGET_arm64=${CHOST_arm64};
6440 export LIBDIR_arm64="lib64";
6441 : ${MULTILIB_ABIS=arm64};
6442 : ${DEFAULT_ABI=arm64}
6443 ;;
6444 x86_64*)
6445 export CFLAGS_x86=${CFLAGS_x86--m32};
6446 export CHOST_x86=${CTARGET/x86_64/i686};
6447 CHOST_x86=${CHOST_x86/%-gnux32/-gnu};
6448 export CTARGET_x86=${CHOST_x86};
6449 if [[ ${SYMLINK_LIB} == "yes" ]]; then
6450 export LIBDIR_x86="lib32";
6451 else
6452 export LIBDIR_x86="lib";
6453 fi;
6454 export CFLAGS_amd64=${CFLAGS_amd64--m64};
6455 export CHOST_amd64=${CTARGET/%-gnux32/-gnu};
6456 export CTARGET_amd64=${CHOST_amd64};
6457 export LIBDIR_amd64="lib64";
6458 export CFLAGS_x32=${CFLAGS_x32--mx32};
6459 export CHOST_x32=${CTARGET/%-gnu/-gnux32};
6460 export CTARGET_x32=${CHOST_x32};
6461 export LIBDIR_x32="libx32";
6462 case ${CTARGET} in
6463 *-gnux32)
6464 : ${MULTILIB_ABIS=x32 amd64 x86};
6465 : ${DEFAULT_ABI=x32}
6466 ;;
6467 *)
6468 : ${MULTILIB_ABIS=amd64 x86};
6469 : ${DEFAULT_ABI=amd64}
6470 ;;
6471 esac
6472 ;;
6473 mips64*)
6474 export CFLAGS_o32=${CFLAGS_o32--mabi=32};
6475 export CHOST_o32=${CTARGET/mips64/mips};
6476 export CTARGET_o32=${CHOST_o32};
6477 export LIBDIR_o32="lib";
6478 export CFLAGS_n32=${CFLAGS_n32--mabi=n32};
6479 export CHOST_n32=${CTARGET};
6480 export CTARGET_n32=${CHOST_n32};
6481 export LIBDIR_n32="lib32";
6482 export CFLAGS_n64=${CFLAGS_n64--mabi=64};
6483 export CHOST_n64=${CTARGET};
6484 export CTARGET_n64=${CHOST_n64};
6485 export LIBDIR_n64="lib64";
6486 : ${MULTILIB_ABIS=n64 n32 o32};
6487 : ${DEFAULT_ABI=n32}
6488 ;;
6489 powerpc64*)
6490 export CFLAGS_ppc=${CFLAGS_ppc--m32};
6491 export CHOST_ppc=${CTARGET/powerpc64/powerpc};
6492 export CTARGET_ppc=${CHOST_ppc};
6493 export LIBDIR_ppc="lib";
6494 export CFLAGS_ppc64=${CFLAGS_ppc64--m64};
6495 export CHOST_ppc64=${CTARGET};
6496 export CTARGET_ppc64=${CHOST_ppc64};
6497 export LIBDIR_ppc64="lib64";
6498 : ${MULTILIB_ABIS=ppc64 ppc};
6499 : ${DEFAULT_ABI=ppc64}
6500 ;;
6501 s390x*)
6502 export CFLAGS_s390=${CFLAGS_s390--m31};
6503 export CHOST_s390=${CTARGET/s390x/s390};
6504 export CTARGET_s390=${CHOST_s390};
6505 export LIBDIR_s390="lib";
6506 export CFLAGS_s390x=${CFLAGS_s390x--m64};
6507 export CHOST_s390x=${CTARGET};
6508 export CTARGET_s390x=${CHOST_s390x};
6509 export LIBDIR_s390x="lib64";
6510 : ${MULTILIB_ABIS=s390x s390};
6511 : ${DEFAULT_ABI=s390x}
6512 ;;
6513 sparc64*)
6514 export CFLAGS_sparc32=${CFLAGS_sparc32--m32};
6515 export CHOST_sparc32=${CTARGET/sparc64/sparc};
6516 export CTARGET_sparc32=${CHOST_sparc32};
6517 export LIBDIR_sparc32="lib";
6518 export CFLAGS_sparc64=${CFLAGS_sparc64--m64};
6519 export CHOST_sparc64=${CTARGET};
6520 export CTARGET_sparc64=${CHOST_sparc64};
6521 export LIBDIR_sparc64="lib64";
6522 : ${MULTILIB_ABIS=sparc64 sparc32};
6523 : ${DEFAULT_ABI=sparc64}
6524 ;;
6525 *)
6526 : ${MULTILIB_ABIS=default};
6527 : ${DEFAULT_ABI=default}
6528 ;;
6529 esac;
6530 export MULTILIB_ABIS DEFAULT_ABI
6531 }
6532 multilib_toolchain_setup ()
6533 {
6534 local v vv;
6535 export ABI=$1;
6536 if [[ ${_DEFAULT_ABI_SAVED} == "true" ]]; then
6537 for v in CHOST CBUILD AS CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH};
6538 do
6539 vv="_abi_saved_${v}";
6540 [[ ${!vv+set} == "set" ]] && export ${v}="${!vv}" || unset ${v};
6541 unset ${vv};
6542 done;
6543 unset _DEFAULT_ABI_SAVED;
6544 fi;
6545 if [[ ${ABI} != ${DEFAULT_ABI} ]]; then
6546 for v in CHOST CBUILD AS CC CXX F77 FC LD PKG_CONFIG_{LIBDIR,PATH};
6547 do
6548 vv="_abi_saved_${v}";
6549 [[ ${!v+set} == "set" ]] && export ${vv}="${!v}" || unset ${vv};
6550 done;
6551 export _DEFAULT_ABI_SAVED="true";
6552 export CHOST=$(get_abi_CHOST ${DEFAULT_ABI});
6553 export CC="$(tc-getCC) $(get_abi_CFLAGS)";
6554 export CXX="$(tc-getCXX) $(get_abi_CFLAGS)";
6555 export F77="$(tc-getF77) $(get_abi_CFLAGS)";
6556 export FC="$(tc-getFC) $(get_abi_CFLAGS)";
6557 export LD="$(tc-getLD) $(get_abi_LDFLAGS)";
6558 export CHOST=$(get_abi_CHOST $1);
6559 export CBUILD=$(get_abi_CHOST $1);
6560 export PKG_CONFIG_LIBDIR=${EPREFIX}/usr/$(get_libdir)/pkgconfig;
6561 export PKG_CONFIG_PATH=${EPREFIX}/usr/share/pkgconfig;
6562 fi
6563 }
6564 newicon ()
6565 {
6566 _iconins ${FUNCNAME} "$@"
6567 }
6568 newmenu ()
6569 {
6570 ( insinto /usr/share/applications;
6571 newins "$@" )
6572 }
6573 no-as-needed ()
6574 {
6575 case $($(tc-getLD) -v 2>&1 </dev/null) in
6576 *GNU*)
6577 echo "-Wl,--no-as-needed"
6578 ;;
6579 esac
6580 }
6581 number_abis ()
6582 {
6583 set -- `get_install_abis`;
6584 echo $#
6585 }
6586 optfeature ()
6587 {
6588 debug-print-function ${FUNCNAME} "$@";
6589 local i j msg;
6590 local desc=$1;
6591 local flag=0;
6592 shift;
6593 for i in "$@";
6594 do
6595 for j in ${i};
6596 do
6597 if has_version "${j}"; then
6598 flag=1;
6599 else
6600 flag=0;
6601 break;
6602 fi;
6603 done;
6604 if [[ ${flag} -eq 1 ]]; then
6605 break;
6606 fi;
6607 done;
6608 if [[ ${flag} -eq 0 ]]; then
6609 for i in "$@";
6610 do
6611 msg=" ";
6612 for j in ${i};
6613 do
6614 msg+=" ${j} and";
6615 done;
6616 msg="${msg:0: -4} for ${desc}";
6617 elog "${msg}";
6618 done;
6619 fi
6620 }
6621 path_exists ()
6622 {
6623 local opt=$1;
6624 [[ ${opt} == -[ao] ]] && shift || opt="-a";
6625 [[ $# -eq 0 ]] && return 1;
6626 local p r=0;
6627 for p in "$@";
6628 do
6629 [[ -e ${p} ]];
6630 : $(( r += $? ));
6631 done;
6632 case ${opt} in
6633 -a)
6634 return $(( r != 0 ))
6635 ;;
6636 -o)
6637 return $(( r == $# ))
6638 ;;
6639 esac
6640 }
6641 pkg_nofetch ()
6642 {
6643 default
6644 }
6645 pkg_postinst ()
6646 {
6647 gnome2_pkg_postinst "$@"
6648 }
6649 pkg_postrm ()
6650 {
6651 gnome2_pkg_postrm "$@"
6652 }
6653 pkg_preinst ()
6654 {
6655 gnome2_pkg_preinst "$@"
6656 }
6657 preserve_old_lib ()
6658 {
6659 _eutils_eprefix_init;
6660 if [[ ${EBUILD_PHASE} != "preinst" ]]; then
6661 eerror "preserve_old_lib() must be called from pkg_preinst() only";
6662 die "Invalid preserve_old_lib() usage";
6663 fi;
6664 [[ -z $1 ]] && die "Usage: preserve_old_lib <library to preserve>
6665 [more libraries to preserve]";
6666 has preserve-libs ${FEATURES} && return 0;
6667 local lib dir;
6668 for lib in "$@";
6669 do
6670 [[ -e ${EROOT}/${lib} ]] || continue;
6671 dir=${lib%/*};
6672 dodir ${dir} || die "dodir ${dir} failed";
6673 cp "${EROOT}"/${lib} "${ED}"/${lib} || die "cp ${lib} failed";
6674 touch "${ED}"/${lib};
6675 done
6676 }
6677 preserve_old_lib_notify ()
6678 {
6679 if [[ ${EBUILD_PHASE} != "postinst" ]]; then
6680 eerror "preserve_old_lib_notify() must be called from
6681 pkg_postinst() only";
6682 die "Invalid preserve_old_lib_notify() usage";
6683 fi;
6684 has preserve-libs ${FEATURES} && return 0;
6685 _eutils_eprefix_init;
6686 local lib notice=0;
6687 for lib in "$@";
6688 do
6689 [[ -e ${EROOT}/${lib} ]] || continue;
6690 if [[ ${notice} -eq 0 ]]; then
6691 notice=1;
6692 ewarn "Old versions of installed libraries were detected
6693 on your system.";
6694 ewarn "In order to avoid breaking packages that depend on
6695 these old libs,";
6696 ewarn "the libraries are not being removed. You need to
6697 run revdep-rebuild";
6698 ewarn "in order to remove these old dependencies. If you
6699 do not have this";
6700 ewarn "helper program, simply emerge the 'gentoolkit' package.";
6701 ewarn;
6702 fi;
6703 ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'";
6704 done
6705 }
6706 prune_libtool_files ()
6707 {
6708 debug-print-function ${FUNCNAME} "$@";
6709 local removing_all removing_modules opt;
6710 _eutils_eprefix_init;
6711 for opt in "$@";
6712 do
6713 case "${opt}" in
6714 --all)
6715 removing_all=1;
6716 removing_modules=1
6717 ;;
6718 --modules)
6719 removing_modules=1
6720 ;;
6721 *)
6722 die "Invalid argument to ${FUNCNAME}(): ${opt}"
6723 ;;
6724 esac;
6725 done;
6726 local f;
6727 local queue=();
6728 while IFS= read -r -d '' f; do
6729 local archivefile=${f/%.la/.a};
6730 if ! sed -n -e '/^# Generated by .*libtool/q0;4q1' "${f}"; then
6731 continue;
6732 fi;
6733 [[ ${f} != ${archivefile} ]] || die 'regex sanity check failed';
6734 local reason= pkgconfig_scanned=;
6735 local snotlink=$(sed -n -e 's:^shouldnotlink=::p' "${f}");
6736 if [[ ${snotlink} == yes ]]; then
6737 if [[ -f ${archivefile} ]]; then
6738 einfo "Removing unnecessary ${archivefile#${D%/}}
6739 (static plugin)";
6740 queue+=("${archivefile}");
6741 fi;
6742 if [[ -n ${removing_modules} ]]; then
6743 reason='module';
6744 fi;
6745 else
6746 if [[ -n ${removing_all} ]]; then
6747 reason='requested';
6748 else
6749 if [[ ! -f ${archivefile} ]]; then
6750 reason='no static archive';
6751 else
6752 if [[ ! -n $(sed -nre
6753 "s/^(dependency_libs|inherited_linker_flags)='(.*)'$/\2/p"
6754 "${f}") ]]; then
6755 reason='no libs & flags';
6756 else
6757 if [[ ! -n ${pkgconfig_scanned} ]]; then
6758 local pc_libs=();
6759 if [[ ! -n ${removing_all} ]]; then
6760 local pc;
6761 local tf=${T}/prune-lt-files.pc;
6762 local pkgconf=$(tc-getPKG_CONFIG);
6763 while IFS= read -r -d '' pc; do
6764 local arg libs;
6765 if ${pkgconf} --exists "${pc}" &>
6766 /dev/null; then
6767 sed -e '/^Requires:/d' "${pc}"
6768 > "${tf}";
6769 libs=$(${pkgconf} --libs "${tf}");
6770 else
6771 libs=$(sed -ne 's/^Libs://p' "${pc}");
6772 fi;
6773 for arg in ${libs};
6774 do
6775 if [[ ${arg} == -l* ]]; then
6776 if [[ ${arg} == '*$*' ]]; then
6777 eqawarn "${FUNCNAME}:
6778 variable substitution likely failed in ${pc}";
6779 eqawarn "(arg: ${arg})";
6780 eqawarn "Most likely,
6781 you need to add virtual/pkgconfig to DEPEND.";
6782 fi;
6783 pc_libs+=(lib${arg#-l}.la);
6784 fi;
6785 done;
6786 done < <(find "${D}" -type f -name
6787 '*.pc' -print0);
6788 rm -f "${tf}";
6789 fi;
6790 pkgconfig_scanned=1;
6791 fi;
6792 has "${f##*/}" "${pc_libs[@]}" &&
6793 reason='covered by .pc';
6794 fi;
6795 fi;
6796 fi;
6797 fi;
6798 if [[ -n ${reason} ]]; then
6799 einfo "Removing unnecessary ${f#${D%/}} (${reason})";
6800 queue+=("${f}");
6801 fi;
6802 done < <(find "${ED}" -xtype f -name '*.la' -print0);
6803 if [[ -n ${queue[@]} ]]; then
6804 rm -f "${queue[@]}";
6805 fi
6806 }
6807 raw-ldflags ()
6808 {
6809 local x input="$@";
6810 [[ -z ${input} ]] && input=${LDFLAGS};
6811 set --;
6812 for x in ${input};
6813 do
6814 case ${x} in
6815 -Wl,*)
6816 x=${x#-Wl,};
6817 set -- "$@" ${x//,/ }
6818 ;;
6819 *)
6820
6821 ;;
6822 esac;
6823 done;
6824 echo "$@"
6825 }
6826 replace-cpu-flags ()
6827 {
6828 local newcpu="$#";
6829 newcpu="${!newcpu}";
6830 while [ $# -gt 1 ]; do
6831 replace-flags "-march=${1}" "-march=${newcpu}";
6832 replace-flags "-mcpu=${1}" "-mcpu=${newcpu}";
6833 replace-flags "-mtune=${1}" "-mtune=${newcpu}";
6834 shift;
6835 done;
6836 return 0
6837 }
6838 replace-flags ()
6839 {
6840 [[ $# != 2 ]] && die "Usage: replace-flags <old flag> <new flag>";
6841 local f var new;
6842 for var in $(all-flag-vars);
6843 do
6844 new=();
6845 for f in ${!var};
6846 do
6847 [[ ${f} == ${1} ]] && f=${2};
6848 new+=("${f}");
6849 done;
6850 eval export ${var}=\""${new[*]}"\";
6851 done;
6852 return 0
6853 }
6854 replace-sparc64-flags ()
6855 {
6856 local SPARC64_CPUS="ultrasparc3 ultrasparc v9";
6857 if [ "${CFLAGS/mtune}" != "${CFLAGS}" ]; then
6858 for x in ${SPARC64_CPUS};
6859 do
6860 CFLAGS="${CFLAGS/-mcpu=${x}/-mcpu=v8}";
6861 done;
6862 else
6863 for x in ${SPARC64_CPUS};
6864 do
6865 CFLAGS="${CFLAGS/-mcpu=${x}/-mcpu=v8 -mtune=${x}}";
6866 done;
6867 fi;
6868 if [ "${CXXFLAGS/mtune}" != "${CXXFLAGS}" ]; then
6869 for x in ${SPARC64_CPUS};
6870 do
6871 CXXFLAGS="${CXXFLAGS/-mcpu=${x}/-mcpu=v8}";
6872 done;
6873 else
6874 for x in ${SPARC64_CPUS};
6875 do
6876 CXXFLAGS="${CXXFLAGS/-mcpu=${x}/-mcpu=v8 -mtune=${x}}";
6877 done;
6878 fi;
6879 export CFLAGS CXXFLAGS
6880 }
6881 replace_all_version_separators ()
6882 {
6883 local c=($(get_all_version_components "${2:-${PV}}"));
6884 c=${c[@]//[-._]/$1};
6885 echo ${c// }
6886 }
6887 replace_version_separator ()
6888 {
6889 eshopts_push -s extglob;
6890 local w c v="${3:-${PV}}";
6891 declare -i i found=0;
6892 w=${1:-1};
6893 c=($(get_all_version_components ${v}));
6894 if [[ ${w} != *[[:digit:]]* ]]; then
6895 for ((i = 0; i < ${#c[@]}; i++))
6896 do
6897 if [[ ${c[i]} == ${w} ]]; then
6898 c[i]=${2};
6899 break;
6900 fi;
6901 done;
6902 else
6903 for ((i = 0; i < ${#c[@]}; i++))
6904 do
6905 if [[ -n "${c[i]//[^-._]}" ]]; then
6906 found+=1;
6907 if ((found == w)); then
6908 c[i]=${2};
6909 break;
6910 fi;
6911 fi;
6912 done;
6913 fi;
6914 c=${c[*]};
6915 echo ${c// };
6916 eshopts_pop
6917 }
6918 setup-allowed-flags ()
6919 {
6920 ALLOWED_FLAGS=(-pipe -O '-O[12sg]' -mcpu -march -mtune
6921 '-fstack-protector*' '-fsanitize*' -fbounds-check -fbounds-checking
6922 -fno-strict-overflow -fno-PIE -fno-pie -nopie -fno-unit-at-a-time -g
6923 '-g[0-9]' -ggdb '-ggdb[0-9]' '-gdwarf-*' gstabs -gstabs+ -fno-ident
6924 -fpermissive -frecord-gcc-switches '-fdiagnostics*' '-W*' -w
6925 '-[DUILR]*' '-Wl,*');
6926 ALLOWED_FLAGS+=('-fno-stack-protector*' '-fabi-version=*'
6927 -fno-strict-aliasing -fno-bounds-check -fno-bounds-checking
6928 -fstrict-overflow -fno-omit-frame-pointer '-fno-builtin*');
6929 ALLOWED_FLAGS+=(-mregparm -mno-app-regs -mapp-regs -mno-mmx
6930 -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1
6931 -mno-sse4.2 -mno-avx -mno-aes -mno-pclmul -mno-sse4a -mno-3dnow
6932 -mno-popcnt -mno-abm -mips1 -mips2 -mips3 -mips4 -mips32 -mips64
6933 -mips16 -mplt -msoft-float -mno-soft-float -mhard-float
6934 -mno-hard-float -mfpu -mieee -mieee-with-inexact -mschedule
6935 -mfloat-gprs -mspe -mno-spe -mtls-direct-seg-refs
6936 -mno-tls-direct-seg-refs -mflat -mno-flat -mno-faster-structs
6937 -mfaster-structs -m32 -m64 -mx32 -mabi -mlittle-endian -mbig-endian
6938 -EL -EB -fPIC -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias
6939 -msecure-plt '-m*-toc' -mfloat-abi -mfix-r10000 -mno-fix-r10000
6940 -mno-fma4 -mno-movbe -mno-xop -mno-lwp -mno-fsgsbase -mno-rdrnd
6941 -mno-f16c -mno-bmi -mno-tbm -mno-avx2 -mno-bmi2 -mno-fma -mno-lzcnt
6942 -mno-fxsr -mno-hle -mno-rtm -mno-xsave -mno-xsaveopt -mno-avx512cd
6943 -mno-avx512er -mno-avx512f -mno-avx512pf -mno-sha)
6944 }
6945 src_compile ()
6946 {
6947 gnome2_src_compile "$@"
6948 }
6949 src_configure ()
6950 {
6951 append-cxxflags -std=c++11;
6952 use debug && append-cxxflags -DDEBUG;
6953 gnome2_src_configure --disable-debug --disable-gl $(use_enable nls)
6954 }
6955 src_install ()
6956 {
6957 gnome2_src_install "$@"
6958 }
6959 src_prepare ()
6960 {
6961 sed 's/\(CXXFLAGS\) -ansi/\1/' -i configure.ac configure || die;
6962 epatch "${FILESDIR}"/${PN}-0.52.1-build-fix.patch;
6963 gnome2_src_prepare
6964 }
6965 src_test ()
6966 {
6967 default
6968 }
6969 src_unpack ()
6970 {
6971 gnome2_src_unpack "$@"
6972 }
6973 strip-flags ()
6974 {
6975 local x y var;
6976 local ALLOWED_FLAGS;
6977 setup-allowed-flags;
6978 set -f;
6979 for var in $(all-flag-vars);
6980 do
6981 local new=();
6982 for x in ${!var};
6983 do
6984 local flag=${x%%=*};
6985 for y in "${ALLOWED_FLAGS[@]}";
6986 do
6987 if [[ -z ${flag%%${y}} ]]; then
6988 new+=("${x}");
6989 break;
6990 fi;
6991 done;
6992 done;
6993 if _is_flagq ${var} "-O*" && ! _is_flagq new "-O*"; then
6994 new+=(-O2);
6995 fi;
6996 if [[ ${!var} != "${new[*]}" ]]; then
6997 einfo "strip-flags: ${var}: changed '${!var}' to '${new[*]}'";
6998 fi;
6999 eval export ${var}=\""${new[*]}"\";
7000 done;
7001 set +f;
7002 return 0
7003 }
7004 strip-linguas ()
7005 {
7006 local ls newls nols;
7007 if [[ $1 == "-i" ]] || [[ $1 == "-u" ]]; then
7008 local op=$1;
7009 shift;
7010 ls=$(find "$1" -name '*.po' -exec basename {} .po ';');
7011 shift;
7012 local d f;
7013 for d in "$@";
7014 do
7015 if [[ ${op} == "-u" ]]; then
7016 newls=${ls};
7017 else
7018 newls="";
7019 fi;
7020 for f in $(find "$d" -name '*.po' -exec basename {} .po ';');
7021 do
7022 if [[ ${op} == "-i" ]]; then
7023 has ${f} ${ls} && newls="${newls} ${f}";
7024 else
7025 has ${f} ${ls} || newls="${newls} ${f}";
7026 fi;
7027 done;
7028 ls=${newls};
7029 done;
7030 else
7031 ls="$@";
7032 fi;
7033 nols="";
7034 newls="";
7035 for f in ${LINGUAS};
7036 do
7037 if has ${f} ${ls}; then
7038 newls="${newls} ${f}";
7039 else
7040 nols="${nols} ${f}";
7041 fi;
7042 done;
7043 [[ -n ${nols} ]] && einfo "Sorry, but ${PN} does not support the
7044 LINGUAS:" ${nols};
7045 export LINGUAS=${newls:1}
7046 }
7047 strip-unsupported-flags ()
7048 {
7049 export CFLAGS=$(test-flags-CC ${CFLAGS});
7050 export CXXFLAGS=$(test-flags-CXX ${CXXFLAGS});
7051 export FFLAGS=$(test-flags-F77 ${FFLAGS});
7052 export FCFLAGS=$(test-flags-FC ${FCFLAGS})
7053 }
7054 tc-arch ()
7055 {
7056 tc-ninja_magic_to_arch portage "$@"
7057 }
7058 tc-arch-kernel ()
7059 {
7060 tc-ninja_magic_to_arch kern "$@"
7061 }
7062 tc-endian ()
7063 {
7064 local host=$1;
7065 [[ -z ${host} ]] && host=${CTARGET:-${CHOST}};
7066 host=${host%%-*};
7067 case ${host} in
7068 aarch64*be)
7069 echo big
7070 ;;
7071 aarch64)
7072 echo little
7073 ;;
7074 alpha*)
7075 echo big
7076 ;;
7077 arm*b*)
7078 echo big
7079 ;;
7080 arm*)
7081 echo little
7082 ;;
7083 cris*)
7084 echo little
7085 ;;
7086 hppa*)
7087 echo big
7088 ;;
7089 i?86*)
7090 echo little
7091 ;;
7092 ia64*)
7093 echo little
7094 ;;
7095 m68*)
7096 echo big
7097 ;;
7098 mips*l*)
7099 echo little
7100 ;;
7101 mips*)
7102 echo big
7103 ;;
7104 powerpc*le)
7105 echo little
7106 ;;
7107 powerpc*)
7108 echo big
7109 ;;
7110 s390*)
7111 echo big
7112 ;;
7113 sh*b*)
7114 echo big
7115 ;;
7116 sh*)
7117 echo little
7118 ;;
7119 sparc*)
7120 echo big
7121 ;;
7122 x86_64*)
7123 echo little
7124 ;;
7125 *)
7126 echo wtf
7127 ;;
7128 esac
7129 }
7130 tc-env_build ()
7131 {
7132 tc-export_build_env;
7133 CFLAGS=${BUILD_CFLAGS} CXXFLAGS=${BUILD_CXXFLAGS}
7134 CPPFLAGS=${BUILD_CPPFLAGS} LDFLAGS=${BUILD_LDFLAGS}
7135 AR=$(tc-getBUILD_AR) AS=$(tc-getBUILD_AS) CC=$(tc-getBUILD_CC)
7136 CPP=$(tc-getBUILD_CPP) CXX=$(tc-getBUILD_CXX) LD=$(tc-getBUILD_LD)
7137 NM=$(tc-getBUILD_NM) PKG_CONFIG=$(tc-getBUILD_PKG_CONFIG)
7138 RANLIB=$(tc-getBUILD_RANLIB) "$@"
7139 }
7140 tc-export ()
7141 {
7142 local var;
7143 for var in "$@";
7144 do
7145 [[ $(type -t tc-get${var}) != "function" ]] && die "tc-export:
7146 invalid export variable '${var}'";
7147 eval tc-get${var} > /dev/null;
7148 done
7149 }
7150 tc-export_build_env ()
7151 {
7152 tc-export "$@";
7153 : ${BUILD_CFLAGS:=-O1 -pipe};
7154 : ${BUILD_CXXFLAGS:=-O1 -pipe};
7155 : ${BUILD_CPPFLAGS:= };
7156 : ${BUILD_LDFLAGS:= };
7157 export BUILD_{C,CXX,CPP,LD}FLAGS;
7158 local v;
7159 for v in BUILD_{C,CXX,CPP,LD}FLAGS;
7160 do
7161 export ${v#BUILD_}_FOR_BUILD="${!v}";
7162 done
7163 }
7164 tc-getAR ()
7165 {
7166 tc-getPROG AR ar "$@"
7167 }
7168 tc-getAS ()
7169 {
7170 tc-getPROG AS as "$@"
7171 }
7172 tc-getBUILD_AR ()
7173 {
7174 tc-getBUILD_PROG AR ar "$@"
7175 }
7176 tc-getBUILD_AS ()
7177 {
7178 tc-getBUILD_PROG AS as "$@"
7179 }
7180 tc-getBUILD_CC ()
7181 {
7182 tc-getBUILD_PROG CC gcc "$@"
7183 }
7184 tc-getBUILD_CPP ()
7185 {
7186 tc-getBUILD_PROG CPP cpp "$@"
7187 }
7188 tc-getBUILD_CXX ()
7189 {
7190 tc-getBUILD_PROG CXX g++ "$@"
7191 }
7192 tc-getBUILD_LD ()
7193 {
7194 tc-getBUILD_PROG LD ld "$@"
7195 }
7196 tc-getBUILD_NM ()
7197 {
7198 tc-getBUILD_PROG NM nm "$@"
7199 }
7200 tc-getBUILD_OBJCOPY ()
7201 {
7202 tc-getBUILD_PROG OBJCOPY objcopy "$@"
7203 }
7204 tc-getBUILD_PKG_CONFIG ()
7205 {
7206 tc-getBUILD_PROG PKG_CONFIG pkg-config "$@"
7207 }
7208 tc-getBUILD_PROG ()
7209 {
7210 _tc-getPROG CBUILD "BUILD_$1 $1_FOR_BUILD HOST$1" "${@:2}"
7211 }
7212 tc-getBUILD_RANLIB ()
7213 {
7214 tc-getBUILD_PROG RANLIB ranlib "$@"
7215 }
7216 tc-getBUILD_STRIP ()
7217 {
7218 tc-getBUILD_PROG STRIP strip "$@"
7219 }
7220 tc-getCC ()
7221 {
7222 tc-getPROG CC gcc "$@"
7223 }
7224 tc-getCPP ()
7225 {
7226 tc-getPROG CPP cpp "$@"
7227 }
7228 tc-getCXX ()
7229 {
7230 tc-getPROG CXX g++ "$@"
7231 }
7232 tc-getDLLWRAP ()
7233 {
7234 tc-getPROG DLLWRAP dllwrap "$@"
7235 }
7236 tc-getF77 ()
7237 {
7238 tc-getPROG F77 gfortran "$@"
7239 }
7240 tc-getFC ()
7241 {
7242 tc-getPROG FC gfortran "$@"
7243 }
7244 tc-getGCJ ()
7245 {
7246 tc-getPROG GCJ gcj "$@"
7247 }
7248 tc-getGO ()
7249 {
7250 tc-getPROG GO gccgo "$@"
7251 }
7252 tc-getLD ()
7253 {
7254 tc-getPROG LD ld "$@"
7255 }
7256 tc-getNM ()
7257 {
7258 tc-getPROG NM nm "$@"
7259 }
7260 tc-getOBJCOPY ()
7261 {
7262 tc-getPROG OBJCOPY objcopy "$@"
7263 }
7264 tc-getOBJDUMP ()
7265 {
7266 tc-getPROG OBJDUMP objdump "$@"
7267 }
7268 tc-getPKG_CONFIG ()
7269 {
7270 tc-getPROG PKG_CONFIG pkg-config "$@"
7271 }
7272 tc-getPROG ()
7273 {
7274 _tc-getPROG CHOST "$@"
7275 }
7276 tc-getRANLIB ()
7277 {
7278 tc-getPROG RANLIB ranlib "$@"
7279 }
7280 tc-getRC ()
7281 {
7282 tc-getPROG RC windres "$@"
7283 }
7284 tc-getSTRIP ()
7285 {
7286 tc-getPROG STRIP strip "$@"
7287 }
7288 tc-has-openmp ()
7289 {
7290 local base="${T}/test-tc-openmp";
7291 cat > "${base}.c" <<-EOF
7292 #include <omp.h>
7293 int main() {
7294 int nthreads, tid, ret = 0;
7295 #pragma omp parallel private(nthreads, tid)
7296 {
7297 tid = omp_get_thread_num();
7298 nthreads = omp_get_num_threads(); ret += tid + nthreads;
7299 }
7300 return ret;
7301 }
7302 EOF
7303
7304 $(tc-getCC "$@") -fopenmp "${base}.c" -o "${base}" &> /dev/null;
7305 local ret=$?;
7306 rm -f "${base}"*;
7307 return ${ret}
7308 }
7309 tc-has-tls ()
7310 {
7311 local base="${T}/test-tc-tls";
7312 cat > "${base}.c" <<-EOF
7313 int foo(int *i) {
7314 static __thread int j = 0;
7315 return *i ? j : *i;
7316 }
7317 EOF
7318
7319 local flags;
7320 case $1 in
7321 -s)
7322 flags="-S"
7323 ;;
7324 -c)
7325 flags="-c"
7326 ;;
7327 -l)
7328
7329 ;;
7330 -*)
7331 die "Usage: tc-has-tls [-c|-l] [toolchain prefix]"
7332 ;;
7333 esac;
7334 : ${flags:=-fPIC -shared -Wl,-z,defs};
7335 [[ $1 == -* ]] && shift;
7336 $(tc-getCC "$@") ${flags} "${base}.c" -o "${base}" &> /dev/null;
7337 local ret=$?;
7338 rm -f "${base}"*;
7339 return ${ret}
7340 }
7341 tc-is-cross-compiler ()
7342 {
7343 [[ ${CBUILD:-${CHOST}} != ${CHOST} ]]
7344 }
7345 tc-is-softfloat ()
7346 {
7347 local CTARGET=${CTARGET:-${CHOST}};
7348 case ${CTARGET} in
7349 bfin* | h8300*)
7350 echo "only"
7351 ;;
7352 *)
7353 if [[ ${CTARGET//_/-} == *-softfloat-* ]]; then
7354 echo "yes";
7355 else
7356 if [[ ${CTARGET//_/-} == *-softfp-* ]]; then
7357 echo "softfp";
7358 else
7359 echo "no";
7360 fi;
7361 fi
7362 ;;
7363 esac
7364 }
7365 tc-is-static-only ()
7366 {
7367 local host=${CTARGET:-${CHOST}};
7368 [[ ${host} == *-mint* ]]
7369 }
7370 tc-ld-disable-gold ()
7371 {
7372 if ! tc-ld-is-gold "$@"; then
7373 return;
7374 fi;
7375 ewarn "Forcing usage of the BFD linker instead of GOLD";
7376 local ld=$(tc-getLD "$@");
7377 local bfd_ld="${ld%% *}.bfd";
7378 local path_ld=$(which "${bfd_ld}" 2>/dev/null);
7379 [[ -e ${path_ld} ]] && export LD=${bfd_ld};
7380 local major=$(gcc-major-version "$@");
7381 local minor=$(gcc-minor-version "$@");
7382 if [[ ${major} -lt 4 ]] || [[ ${major} -eq 4 && ${minor} -lt 8 ]]; then
7383 if [[ -e ${path_ld} ]]; then
7384 local d="${T}/bfd-linker";
7385 mkdir -p "${d}";
7386 ln -sf "${path_ld}" "${d}"/ld;
7387 export LDFLAGS="${LDFLAGS} -B${d}";
7388 else
7389 die "unable to locate a BFD linker to bypass gold";
7390 fi;
7391 else
7392 export LDFLAGS="${LDFLAGS} -fuse-ld=bfd";
7393 fi
7394 }
7395 tc-ld-is-gold ()
7396 {
7397 local out;
7398 out=$($(tc-getLD "$@") --version 2>&1);
7399 if [[ ${out} == *"GNU gold"* ]]; then
7400 return 0;
7401 fi;
7402 local base="${T}/test-tc-gold";
7403 cat > "${base}.c" <<-EOF
7404 int main() { return 0; }
7405 EOF
7406
7407 out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}
7408 -Wl,--version "${base}.c" -o "${base}" 2>&1);
7409 rm -f "${base}"*;
7410 if [[ ${out} == *"GNU gold"* ]]; then
7411 return 0;
7412 fi;
7413 return 1
7414 }
7415 tc-ninja_magic_to_arch ()
7416 {
7417 function ninj ()
7418 {
7419 [[ ${type} == "kern" ]] && echo $1 || echo $2
7420 };
7421 local type=$1;
7422 local host=$2;
7423 [[ -z ${host} ]] && host=${CTARGET:-${CHOST}};
7424 local KV=${KV:-${KV_FULL}};
7425 [[ ${type} == "kern" ]] && [[ -z ${KV} ]] && ewarn "QA: Kernel
7426 version could not be determined, please inherit kernel-2 or
7427 linux-info";
7428 case ${host} in
7429 aarch64*)
7430 echo arm64
7431 ;;
7432 alpha*)
7433 echo alpha
7434 ;;
7435 arm*)
7436 echo arm
7437 ;;
7438 avr*)
7439 ninj avr32 avr
7440 ;;
7441 bfin*)
7442 ninj blackfin bfin
7443 ;;
7444 c6x*)
7445 echo c6x
7446 ;;
7447 cris*)
7448 echo cris
7449 ;;
7450 frv*)
7451 echo frv
7452 ;;
7453 hexagon*)
7454 echo hexagon
7455 ;;
7456 hppa*)
7457 ninj parisc hppa
7458 ;;
7459 i?86*)
7460 if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt
7461 $(KV_to_int 2.6.24) || ${host} == *freebsd* ]]; then
7462 echo i386;
7463 else
7464 echo x86;
7465 fi
7466 ;;
7467 ia64*)
7468 echo ia64
7469 ;;
7470 m68*)
7471 echo m68k
7472 ;;
7473 metag*)
7474 echo metag
7475 ;;
7476 microblaze*)
7477 echo microblaze
7478 ;;
7479 mips*)
7480 echo mips
7481 ;;
7482 nios2*)
7483 echo nios2
7484 ;;
7485 nios*)
7486 echo nios
7487 ;;
7488 or32*)
7489 echo openrisc
7490 ;;
7491 powerpc*)
7492 if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge
7493 $(KV_to_int 2.6.16) ]]; then
7494 echo powerpc;
7495 else
7496 if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV})
7497 -eq $(KV_to_int 2.6.15) ]]; then
7498 if [[ ${host} == powerpc64* ]] || [[
7499 ${PROFILE_ARCH} == "ppc64" ]]; then
7500 echo powerpc;
7501 else
7502 echo ppc;
7503 fi;
7504 else
7505 if [[ ${host} == powerpc64* ]]; then
7506 echo ppc64;
7507 else
7508 if [[ ${PROFILE_ARCH} == "ppc64" ]]; then
7509 ninj ppc64 ppc;
7510 else
7511 echo ppc;
7512 fi;
7513 fi;
7514 fi;
7515 fi
7516 ;;
7517 riscv*)
7518 echo riscv
7519 ;;
7520 s390*)
7521 echo s390
7522 ;;
7523 score*)
7524 echo score
7525 ;;
7526 sh64*)
7527 ninj sh64 sh
7528 ;;
7529 sh*)
7530 echo sh
7531 ;;
7532 sparc64*)
7533 ninj sparc64 sparc
7534 ;;
7535 sparc*)
7536 [[ ${PROFILE_ARCH} == "sparc64" ]] && ninj sparc64 sparc
7537 || echo sparc
7538 ;;
7539 tile*)
7540 echo tile
7541 ;;
7542 vax*)
7543 echo vax
7544 ;;
7545 x86_64*freebsd*)
7546 echo amd64
7547 ;;
7548 x86_64*)
7549 if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge
7550 $(KV_to_int 2.6.24) ]]; then
7551 echo x86;
7552 else
7553 ninj x86_64 amd64;
7554 fi
7555 ;;
7556 xtensa*)
7557 echo xtensa
7558 ;;
7559 *)
7560 echo unknown
7561 ;;
7562 esac
7563 }
7564 test-flag-CC ()
7565 {
7566 test-flag-PROG "CC" c "$1"
7567 }
7568 test-flag-CXX ()
7569 {
7570 test-flag-PROG "CXX" c++ "$1"
7571 }
7572 test-flag-F77 ()
7573 {
7574 test-flag-PROG "F77" f77 "$1"
7575 }
7576 test-flag-FC ()
7577 {
7578 test-flag-PROG "FC" f95 "$1"
7579 }
7580 test-flag-PROG ()
7581 {
7582 local comp=$1;
7583 local lang=$2;
7584 local flag=$3;
7585 [[ -z ${comp} || -z ${flag} ]] && return 1;
7586 local cmdline=($(tc-get${comp}) -Werror -c -o /dev/null);
7587 if "${cmdline[@]}" -x${lang} - < /dev/null > /dev/null 2>&1; then
7588 "${cmdline[@]}" "${flag}" -x${lang} - < /dev/null > /dev/null 2>&1;
7589 else
7590 "${cmdline[@]}" "${flag}" -c -o /dev/null /dev/null > /dev/null 2>&1;
7591 fi
7592 }
7593 test-flags ()
7594 {
7595 test-flags-CC "$@"
7596 }
7597 test-flags-CC ()
7598 {
7599 test-flags-PROG "CC" "$@"
7600 }
7601 test-flags-CXX ()
7602 {
7603 test-flags-PROG "CXX" "$@"
7604 }
7605 test-flags-F77 ()
7606 {
7607 test-flags-PROG "F77" "$@"
7608 }
7609 test-flags-FC ()
7610 {
7611 test-flags-PROG "FC" "$@"
7612 }
7613 test-flags-PROG ()
7614 {
7615 local comp=$1;
7616 local flags=();
7617 local x;
7618 shift;
7619 [[ -z ${comp} ]] && return 1;
7620 for x in "$@";
7621 do
7622 test-flag-${comp} "${x}" && flags+=("${x}");
7623 done;
7624 echo "${flags[*]}";
7625 [[ ${#flags[@]} -gt 0 ]]
7626 }
7627 test_version_info ()
7628 {
7629 if [[ $($(tc-getCC) --version 2>&1) == *$1* ]]; then
7630 return 0;
7631 else
7632 return 1;
7633 fi
7634 }
7635 uclibctoolize ()
7636 {
7637 die "Use elibtoolize"
7638 }
7639 use_if_iuse ()
7640 {
7641 in_iuse $1 || return 1;
7642 use $1
7643 }
7644 validate_desktop_entries ()
7645 {
7646 _eutils_eprefix_init;
7647 if [[ -x "${EPREFIX}"/usr/bin/desktop-file-validate ]]; then
7648 einfo "Checking desktop entry validity";
7649 local directories="";
7650 for d in /usr/share/applications $@;
7651 do
7652 [[ -d ${ED}${d} ]] && directories="${directories} ${ED}${d}";
7653 done;
7654 if [[ -n ${directories} ]]; then
7655 for FILE in $(find ${directories} -name "*\.desktop"
7656 -not -path '*.hidden*' | sort -u 2>/dev/null);
7657 do
7658 local temp=$(desktop-file-validate ${FILE} | grep -v
7659 "warning:" | sed -e "s|error: ||" -e
7660 "s|${FILE}:|--|g" );
7661 [[ -n $temp ]] && elog ${temp/--/${FILE/${ED}/}:};
7662 done;
7663 fi;
7664 echo "";
7665 else
7666 einfo "Passing desktop entry validity check. Install
7667 dev-util/desktop-file-utils, if you want to help to improve Gentoo.";
7668 fi
7669 }
7670 version_compare ()
7671 {
7672 eshopts_push -s extglob;
7673 local ver_a=${1} ver_b=${2} parts_a parts_b;
7674 local cur_tok_a cur_tok_b num_part_a num_part_b;
7675 local -i cur_idx_a=0 cur_idx_b=0 prev_idx_a prev_idx_b;
7676 parts_a=($(get_all_version_components "${ver_a}" ));
7677 parts_b=($(get_all_version_components "${ver_b}" ));
7678 local -i inf_loop=0;
7679 while true; do
7680 inf_loop+=1;
7681 ((inf_loop > 20)) && die "versionator compare bug [numbers,
7682 ${ver_a}, ${ver_b}]";
7683 prev_idx_a=cur_idx_a;
7684 prev_idx_b=cur_idx_b;
7685 cur_tok_a=${parts_a[cur_idx_a]};
7686 cur_tok_b=${parts_b[cur_idx_b]};
7687 if [[ -n ${cur_tok_a} ]] && [[ -z ${cur_tok_a//[[:digit:]]} ]]; then
7688 cur_idx_a+=1;
7689 [[ ${parts_a[cur_idx_a]} == . ]] && cur_idx_a+=1;
7690 else
7691 cur_tok_a=;
7692 fi;
7693 if [[ -n ${cur_tok_b} ]] && [[ -z ${cur_tok_b//[[:digit:]]} ]]; then
7694 cur_idx_b+=1;
7695 [[ ${parts_b[cur_idx_b]} == . ]] && cur_idx_b+=1;
7696 else
7697 cur_tok_b=;
7698 fi;
7699 [[ -z ${cur_tok_a} && -z ${cur_tok_b} ]] && break;
7700 [[ -z ${cur_tok_a} ]] && eshopts_pop && return 1;
7701 [[ -z ${cur_tok_b} ]] && eshopts_pop && return 3;
7702 if (( prev_idx_a != 0 && prev_idx_b != 0 )) && [[ ${cur_tok_a}
7703 == 0* || ${cur_tok_b} == 0* ]]; then
7704 cur_tok_a=${cur_tok_a%%+(0)};
7705 cur_tok_b=${cur_tok_b%%+(0)};
7706 [[ ${cur_tok_a} < ${cur_tok_b} ]] && eshopts_pop && return 1;
7707 [[ ${cur_tok_a} > ${cur_tok_b} ]] && eshopts_pop && return 3;
7708 else
7709 cur_tok_a=${cur_tok_a##+(0)};
7710 cur_tok_b=${cur_tok_b##+(0)};
7711 : ${cur_tok_a:=0};
7712 : ${cur_tok_b:=0};
7713 ((cur_tok_a < cur_tok_b)) && eshopts_pop && return 1;
7714 ((cur_tok_a > cur_tok_b)) && eshopts_pop && return 3;
7715 fi;
7716 done;
7717 local letter_a=;
7718 letter_a=${parts_a[cur_idx_a]};
7719 if [[ ${#letter_a} -eq 1 && -z ${letter_a/[a-z]} ]]; then
7720 cur_idx_a+=1;
7721 else
7722 letter_a=@;
7723 fi;
7724 local letter_b=;
7725 letter_b=${parts_b[cur_idx_b]};
7726 if [[ ${#letter_b} -eq 1 && -z ${letter_b/[a-z]} ]]; then
7727 cur_idx_b+=1;
7728 else
7729 letter_b=@;
7730 fi;
7731 [[ ${letter_a} < ${letter_b} ]] && eshopts_pop && return 1;
7732 [[ ${letter_a} > ${letter_b} ]] && eshopts_pop && return 3;
7733 inf_loop=0;
7734 while true; do
7735 inf_loop+=1;
7736 ((inf_loop > 20)) && die "versionator compare bug [numbers,
7737 ${ver_a}, ${ver_b}]";
7738 [[ ${parts_a[cur_idx_a]} == _ ]] && ((cur_idx_a++));
7739 [[ ${parts_b[cur_idx_b]} == _ ]] && ((cur_idx_b++));
7740 cur_tok_a=${parts_a[cur_idx_a]};
7741 cur_tok_b=${parts_b[cur_idx_b]};
7742 num_part_a=0;
7743 num_part_b=0;
7744 if has ${cur_tok_a%%+([0-9])} "alpha" "beta" "pre" "rc" "p"; then
7745 cur_idx_a+=1;
7746 num_part_a=${cur_tok_a##+([a-z])};
7747 num_part_a=${num_part_a##+(0)};
7748 : ${num_part_a:=0};
7749 cur_tok_a=${cur_tok_a%%+([0-9])};
7750 else
7751 cur_tok_a=;
7752 fi;
7753 if has ${cur_tok_b%%+([0-9])} alpha beta pre rc p; then
7754 cur_idx_b+=1;
7755 num_part_b=${cur_tok_b##+([a-z])};
7756 num_part_b=${num_part_b##+(0)};
7757 : ${num_part_b:=0};
7758 cur_tok_b=${cur_tok_b%%+([0-9])};
7759 else
7760 cur_tok_b=;
7761 fi;
7762 if [[ ${cur_tok_a} != ${cur_tok_b} ]]; then
7763 local suffix;
7764 for suffix in alpha beta pre rc "" p;
7765 do
7766 [[ ${cur_tok_a} == ${suffix} ]] && eshopts_pop && return 1;
7767 [[ ${cur_tok_b} == ${suffix} ]] && eshopts_pop && return 3;
7768 done;
7769 else
7770 if [[ -z ${cur_tok_a} && -z ${cur_tok_b} ]]; then
7771 break;
7772 else
7773 ((num_part_a < num_part_b)) && eshopts_pop && return 1;
7774 ((num_part_a > num_part_b)) && eshopts_pop && return 3;
7775 fi;
7776 fi;
7777 done;
7778 [[ ${parts_a[cur_idx_a]} == - ]] && ((cur_idx_a++));
7779 [[ ${parts_b[cur_idx_b]} == - ]] && ((cur_idx_b++));
7780 if [[ -n ${parts_a[cur_idx_a]/r+([0-9])} || -n
7781 ${parts_b[cur_idx_b]/r+([0-9])} ]]; then
7782 die "versionator compare bug [revisions, ${ver_a}, ${ver_b}]";
7783 fi;
7784 num_part_a=${parts_a[cur_idx_a]#r};
7785 num_part_a=${num_part_a##+(0)};
7786 : ${num_part_a:=0};
7787 num_part_b=${parts_b[cur_idx_b]#r};
7788 num_part_b=${num_part_b##+(0)};
7789 : ${num_part_b:=0};
7790 ((num_part_a < num_part_b)) && eshopts_pop && return 1;
7791 ((num_part_a > num_part_b)) && eshopts_pop && return 3;
7792 eshopts_pop;
7793 return 2
7794 }
7795 version_format_string ()
7796 {
7797 local fstr=$1;
7798 shift;
7799 set -- $(get_version_components "$@");
7800 eval echo "${fstr}"
7801 }
7802 version_is_at_least ()
7803 {
7804 local want_s="$1" have_s="${2:-${PVR}}" r;
7805 version_compare "${want_s}" "${have_s}";
7806 r=$?;
7807 case $r in
7808 1 | 2)
7809 return 0
7810 ;;
7811 3)
7812 return 1
7813 ;;
7814 *)
7815 die "versionator compare bug [atleast, ${want_s}, ${have_s}, ${r}]"
7816 ;;
7817 esac
7818 }
7819 version_sort ()
7820 {
7821 eshopts_push -s extglob;
7822 local items=;
7823 local -i left=0;
7824 items=("$@");
7825 while ((left < ${#items[@]})); do
7826 local -i lowest_idx=left;
7827 local -i idx=lowest_idx+1;
7828 while ((idx < ${#items[@]})); do
7829 version_compare "${items[lowest_idx]}" "${items[idx]}";
7830 [[ $? -eq 3 ]] && lowest_idx=idx;
7831 idx+=1;
7832 done;
7833 local tmp=${items[lowest_idx]};
7834 items[lowest_idx]=${items[left]};
7835 items[left]=${tmp};
7836 left+=1;
7837 done;
7838 echo ${items[@]};
7839 eshopts_pop
7840 }
7841 xdg_desktop_database_update ()
7842 {
7843 local updater="${EROOT}${DESKTOP_DATABASE_UPDATE_BIN}";
7844 if [[ ${EBUILD_PHASE} != post* ]]; then
7845 die "xdg_desktop_database_update must be used in pkg_post* phases.";
7846 fi;
7847 if [[ ! -x "${updater}" ]]; then
7848 debug-print "${updater} is not executable";
7849 return;
7850 fi;
7851 ebegin "Updating .desktop files database";
7852 "${updater}" -q "${EROOT}${DESKTOP_DATABASE_DIR}";
7853 eend $?
7854 }
7855 xdg_environment_reset ()
7856 {
7857 export XDG_DATA_HOME="${HOME}/.local/share";
7858 export XDG_CONFIG_HOME="${HOME}/.config";
7859 export XDG_CACHE_HOME="${HOME}/.cache";
7860 export XDG_RUNTIME_DIR="${T}/run";
7861 mkdir -p "${XDG_DATA_HOME}" "${XDG_CONFIG_HOME}"
7862 "${XDG_CACHE_HOME}" "${XDG_RUNTIME_DIR}" || die;
7863 chmod 0700 "${XDG_RUNTIME_DIR}" || die;
7864 unset DBUS_SESSION_BUS_ADDRESS
7865 }
7866 xdg_mimeinfo_database_update ()
7867 {
7868 local updater="${EROOT}${MIMEINFO_DATABASE_UPDATE_BIN}";
7869 if [[ ${EBUILD_PHASE} != post* ]]; then
7870 die "xdg_mimeinfo_database_update must be used in pkg_post* phases.";
7871 fi;
7872 if [[ ! -x "${updater}" ]]; then
7873 debug-print "${updater} is not executable";
7874 return;
7875 fi;
7876 ebegin "Updating shared mime info database";
7877 "${updater}" "${EROOT}${MIMEINFO_DATABASE_DIR}";
7878 eend $?
7879 }
7880 xdg_pkg_postinst ()
7881 {
7882 if [[ ${#XDG_ECLASS_DESKTOPFILES[@]} -gt 0 ]]; then
7883 xdg_desktop_database_update;
7884 else
7885 debug-print "No .desktop files to add to database";
7886 fi;
7887 if [[ ${#XDG_ECLASS_MIMEINFOFILES[@]} -gt 0 ]]; then
7888 xdg_mimeinfo_database_update;
7889 else
7890 debug-print "No mime info files to add to database";
7891 fi
7892 }
7893 xdg_pkg_postrm ()
7894 {
7895 if [[ ${#XDG_ECLASS_DESKTOPFILES[@]} -gt 0 ]]; then
7896 xdg_desktop_database_update;
7897 else
7898 debug-print "No .desktop files to add to database";
7899 fi;
7900 if [[ ${#XDG_ECLASS_MIMEINFOFILES[@]} -gt 0 ]]; then
7901 xdg_mimeinfo_database_update;
7902 else
7903 debug-print "No mime info files to add to database";
7904 fi
7905 }
7906 xdg_pkg_preinst ()
7907 {
7908 local f;
7909 XDG_ECLASS_DESKTOPFILES=();
7910 while IFS= read -r -d '' f; do
7911 XDG_ECLASS_DESKTOPFILES+=(${f});
7912 done < <(cd "${D}" && find 'usr/share/applications' -type f
7913 -print0 2>/dev/null);
7914 XDG_ECLASS_MIMEINFOFILES=();
7915 while IFS= read -r -d '' f; do
7916 XDG_ECLASS_MIMEINFOFILES+=(${f});
7917 done < <(cd "${D}" && find 'usr/share/mime' -type f -print0 2>/dev/null);
7918 export XDG_ECLASS_DESKTOPFILES XDG_ECLASS_MIMEINFOFILES
7919 }
7920 xdg_src_prepare ()
7921 {
7922 xdg_environment_reset;
7923 has ${EAPI:-0} 6 && default
7924 }

Replies

Subject Author
Re: [gentoo-user] subtitleeditor failed to compile/update Neil Bothwick <neil@××××××××××.uk>